/**
 * Full HD Optimization Stylesheet
 * AJ Capital Advisory Website
 * Target: 1920x1080 and higher resolutions
 * Created: 2025-12-30
 */

/* ========================================
   FULL HD OPTIMIZATION (1920px and above)
   ======================================== */

@media (min-width: 1920px) {

  /* ============ HERO SLIDER ============ */

  /* Increase slider minimum height for Full HD */
  .slider-wrapper {
    min-height: 850px;
    height: 100vh;
    max-height: 1080px;
    margin-top: 0 !important;
    padding: 0;
  }

  .slider-wrapper .items,
  .slider-wrapper .carousel-item {
    min-height: 850px;
    height: 100%;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }

  .carousel-inner {
    min-height: 850px;
    height: 100%;
  }

  .slider {
    height: 100%;
    min-height: 850px;
    background: transparent !important;
  }

  /* Ensure carousel items fill entire space */
  .carousel-item.active {
    display: flex !important;
  }

  /* Adjust slider item padding for better vertical centering */
  .items {
    padding-top: 15%;
    padding-bottom: 8%;
  }

  /* Hero heading typography enhancement */
  .hero-content h1 {
    font-size: 52px !important;
    letter-spacing: 4px !important;
    margin-bottom: 20px !important;
    line-height: 1.3;
  }

  /* Hero subheading (h7) enhancement */
  .hero-content h7 {
    font-size: 20px;
    line-height: 1.6;
    display: block;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
  }

  /* Hero logo sizing */
  .hero-content .img-center {
    width: 60px !important;
    margin-top: 30px;
    margin-bottom: 30px;
  }

  /* Hero CTA button enhancement */
  .hero-content .btn {
    margin-top: 80px !important;
    padding: 12px 35px !important;
    font-size: 14px !important;
    letter-spacing: 2px;
  }

  /* Slider navigation arrows positioning */
  .slick-arrow.slick-prev {
    left: 120px;
  }

  .slick-arrow.slick-next {
    right: 120px;
  }

  /* Slider dots/indicators enhancement */
  .slider .carousel-indicators li {
    width: 14px;
    height: 14px;
    margin: 0 10px;
  }

  .slider .carousel-indicators li.active {
    width: 16px;
    height: 16px;
  }

  .slider .carousel-indicators {
    bottom: 40px;
  }


  /* ============ SERVICES SECTION ============ */

  /* Services section container optimization */
  #services {
    padding-top: 60px;
    padding-bottom: 80px;
    margin-bottom: 300px;
  }

  /* Section heading enhancement */
  h2.whatwedo,
  h4.whatwedo {
    font-size: 32px;
    letter-spacing: 5px;
    margin-bottom: 60px;
  }

  /* Services card deck with better spacing */
  #services .card-deck {
    max-width: 1600px;
    margin: 0 auto;
    gap: 30px;
    display: flex;
    justify-content: center;
    padding: 0 40px;
  }

  /* Individual service cards optimization */
  #services .card {
    width: 100%;
    max-width: 380px;
    min-height: 450px;
    height: 450px;
    margin: 0 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  /* Card hover effect enhancement */
  #services .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(6, 131, 42, 0.3);
  }

  /* Card content padding */
  #services .card-block {
    padding: 50px 20px 20px 20px;
  }

  /* Card title typography */
  #services .card-title.services-head-sm {
    font-size: 26px;
    letter-spacing: 2px;
    margin-top: 40px;
    margin-bottom: 20px;
  }

  /* Card description text */
  #services .card-text.text-sm {
    font-size: 15px;
    line-height: 1.7;
    letter-spacing: 1px;
    padding: 0 10px;
  }

  /* Card CTA button positioning */
  #services .services-end {
    bottom: 30px;
    padding: 0 20px;
  }

  /* Card CTA button styling */
  #services .services-end .btn {
    padding: 10px 28px;
    font-size: 13px;
    letter-spacing: 1.5px;
  }


  /* ============ TAG-LINE SECTION ============ */

  #tag-line {
    margin-top: 300px;
    padding-top: 120px;
    padding-bottom: 120px;
    background-size: cover;
    background-position: center;
  }

  /* Tag-line content container */
  #tag-line .container-fluid {
    max-width: 1600px;
    margin: 0 auto;
  }

  /* Tag-line heading */
  #tag-line h3 {
    font-size: 28px;
    letter-spacing: 5px !important;
    margin-bottom: 30px;
    line-height: 1.4;
  }

  /* Tag-line description text */
  #tag-line p {
    font-size: 17px;
    line-height: 1.9;
    letter-spacing: 0.5px;
    max-width: 1200px;
    margin: 0 auto 40px auto;
  }

  /* Tag-line logo */
  #tag-line .img-small-logo-center {
    width: 60px !important;
  }


  /* ============ NAVIGATION ============ */

  /* Navbar brand logo sizing */
  .navbar-brand > img {
    width: 180px;
    margin-left: 40px;
  }

  /* Navbar items spacing */
  ul.navbar-nav {
    font-size: 14px;
    margin-right: 40px;
  }

  ul.navbar-nav li.nav-item {
    margin-left: 25px;
    padding: 0px 12px;
  }

  /* Language bar positioning */
  .lang-bar {
    margin-right: 40px;
    font-size: 13px;
  }


  /* ============ MOBILE CARDS (Hidden on Full HD) ============ */

  /* Enhanced mobile card section for tablets */
  .container-fluid.d-sm-block.d-md-none .card {
    max-width: 450px;
    margin: 0 auto 20px auto;
  }


  /* ============ GENERAL ENHANCEMENTS ============ */

  /* Body typography */
  body {
    font-size: 15px;
    letter-spacing: 1px;
  }

  /* Container fluid max-width for better centering */
  .container-fluid {
    max-width: 1920px;
    margin: 0 auto;
  }

  /* Overlay enhancement */
  .hero-overlay {
    background-color: rgba(0, 0, 0, 0.45);
  }

  .overlay-tag {
    background-color: rgba(0, 0, 0, 0.3);
  }

  /* Card image filter adjustment */
  .card-img {
    filter: brightness(35%);
    transition: filter 0.3s ease;
  }

  .card:hover .card-img {
    filter: brightness(45%);
  }

  /* Overlay div opacity */
  .overlay-div {
    opacity: 0.7;
    transition: opacity 0.3s ease;
  }

  .card:hover .overlay-div {
    opacity: 0.8;
  }
}


/* ========================================
   2K RESOLUTION OPTIMIZATION (2560px and above)
   ======================================== */

@media (min-width: 2560px) {

  /* Hero slider for 2K */
  .slider-wrapper {
    min-height: 1000px;
    height: 100vh;
    max-height: 1440px;
  }

  .slider-wrapper .items,
  .slider-wrapper .carousel-item {
    min-height: 1000px;
    height: 100%;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }

  .carousel-inner {
    min-height: 1000px;
    height: 100%;
  }

  .slider {
    height: 100%;
    min-height: 1000px;
  }

  .items {
    padding-top: 18%;
  }

  /* Hero typography for 2K */
  .hero-content h1 {
    font-size: 64px !important;
    letter-spacing: 5px !important;
  }

  .hero-content h7 {
    font-size: 24px;
    max-width: 1200px;
  }

  .hero-content .img-center {
    width: 80px !important;
  }

  /* Services for 2K */
  #services .card-deck {
    max-width: 2200px;
    gap: 40px;
  }

  #services .card {
    max-width: 480px;
    height: 520px;
    min-height: 520px;
  }

  h2.whatwedo,
  h4.whatwedo {
    font-size: 38px;
    letter-spacing: 6px;
  }

  /* Tag-line for 2K */
  #tag-line .container-fluid {
    max-width: 2200px;
  }

  #tag-line h3 {
    font-size: 34px;
  }

  #tag-line p {
    font-size: 19px;
    max-width: 1600px;
  }

  /* Navigation for 2K */
  .navbar-brand > img {
    width: 200px;
  }

  ul.navbar-nav {
    font-size: 15px;
  }

  /* Slider arrows for 2K */
  .slick-arrow.slick-prev {
    left: 160px;
  }

  .slick-arrow.slick-next {
    right: 160px;
  }
}


/* ========================================
   4K RESOLUTION OPTIMIZATION (3840px and above)
   ======================================== */

@media (min-width: 3840px) {

  /* Hero slider for 4K */
  .slider-wrapper {
    min-height: 1400px;
    height: 100vh;
    max-height: 2160px;
  }

  .slider-wrapper .items,
  .slider-wrapper .carousel-item {
    min-height: 1400px;
    height: 100%;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }

  .carousel-inner {
    min-height: 1400px;
    height: 100%;
  }

  .slider {
    height: 100%;
    min-height: 1400px;
  }

  /* Hero typography for 4K */
  .hero-content h1 {
    font-size: 80px !important;
    letter-spacing: 6px !important;
  }

  .hero-content h7 {
    font-size: 28px;
    max-width: 1600px;
  }

  .hero-content .img-center {
    width: 100px !important;
  }

  .hero-content .btn {
    padding: 16px 45px !important;
    font-size: 16px !important;
  }

  /* Services for 4K */
  #services .card-deck {
    max-width: 3200px;
    gap: 50px;
  }

  #services .card {
    max-width: 680px;
    height: 700px;
    min-height: 700px;
  }

  #services .card-title.services-head-sm {
    font-size: 34px;
    margin-top: 60px;
  }

  #services .card-text.text-sm {
    font-size: 20px;
    padding: 0 30px;
  }

  h2.whatwedo,
  h4.whatwedo {
    font-size: 48px;
    letter-spacing: 8px;
  }

  /* Tag-line for 4K */
  #tag-line h3 {
    font-size: 42px;
  }

  #tag-line p {
    font-size: 24px;
    max-width: 2200px;
  }

  /* Navigation for 4K */
  .navbar-brand > img {
    width: 240px;
  }

  ul.navbar-nav {
    font-size: 17px;
  }

  ul.navbar-nav li.nav-item {
    margin-left: 30px;
    padding: 0px 16px;
  }
}


/* ========================================
   PERFORMANCE OPTIMIZATIONS
   ======================================== */

/* Hardware acceleration for smooth animations */
.card,
.slider,
.carousel-item,
.hero-content {
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Smooth scrolling for better UX */
html {
  scroll-behavior: smooth;
}

/* Optimize font rendering for larger screens */
@media (min-width: 1920px) {
  body,
  h1, h2, h3, h4, h5, h6 {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
  }
}


/* ========================================
   ACCESSIBILITY ENHANCEMENTS
   ======================================== */

/* Focus states for keyboard navigation */
@media (min-width: 1920px) {
  .btn:focus,
  .nav-link:focus,
  .card:focus {
    outline: 3px solid #06832a;
    outline-offset: 4px;
  }

  /* Skip to content link for accessibility */
  .skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: #06832a;
    color: white;
    padding: 12px 20px;
    text-decoration: none;
    z-index: 100;
  }

  .skip-to-content:focus {
    top: 0;
  }
}


/* ========================================
   CONTENT PAGES OPTIMIZATION (Services, etc.)
   ======================================== */

@media (min-width: 1920px) {

  /* General content page container - ensure minimum height to push footer down */
  #content {
    min-height: 650px;
  }

  /* Content pages with minimal content */
  #content .container-fluid,
  #content .container {
    padding-bottom: 80px;
  }

  /* Page images full width */
  #content img[width="100%"],
  #content img.img-fluid {
    margin-bottom: 30px;
  }

  /* Page content text */
  #content p.pages-content,
  #content p[style*="font-size: 14px"],
  #content p.lead {
    font-size: 15px !important;
    line-height: 1.9;
    letter-spacing: 0.5px;
    margin-bottom: 40px;
  }

  /* Hero sections in content pages */
  #content .hero-section img {
    max-height: 550px !important;
  }

  /* Paragraph spacing in content pages */
  #content p:not(.pages-content) {
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 25px;
  }

  /* Client Insights page */
  #content .display-4 {
    font-size: 4rem;
    margin-bottom: 20px;
  }

  #content .carousel-inner {
    min-height: 250px;
    padding: 40px 0;
  }

  #content .carousel-item p.h5 {
    font-size: 1.4rem;
    line-height: 1.8;
  }

  /* Contact Us page */
  #content .contact-us-border {
    padding-right: 40px;
    padding-bottom: 60px;
  }

  #content .contact-us-border h5 {
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 20px;
  }

  #content .contact-us-border h6 {
    font-size: 15px;
    margin-bottom: 25px;
  }

  #content .contact-us-border address {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 30px;
  }

  #content form {
    padding-bottom: 80px;
  }

  #content form .form-group {
    margin-bottom: 35px;
  }

  #content form .col-form-label {
    font-size: 15px;
    letter-spacing: 1px;
  }

  #content form .form-control {
    font-size: 15px;
    padding: 14px 18px;
    min-height: 48px;
  }

  #content form textarea.form-control {
    min-height: 180px;
  }

  #content form .btn {
    padding: 12px 40px;
    font-size: 15px;
    letter-spacing: 1.5px;
    margin-top: 20px;
  }
}


/* 2K Resolution - Content Pages */
@media (min-width: 2560px) {
  #content {
    min-height: 800px;
  }

  #content .container-fluid,
  #content .container {
    padding-bottom: 120px;
  }

  #content p[style*="font-size: 14px"],
  #content p:not(.pages-content) {
    font-size: 17px !important;
  }

  #content .hero-section img {
    max-height: 650px !important;
  }

  /* Client Insights - 2K */
  #content .display-4 {
    font-size: 5rem;
  }

  #content .carousel-inner {
    min-height: 300px;
    padding: 60px 0;
  }

  #content .carousel-item p.h5 {
    font-size: 1.6rem;
  }

  /* Contact Us - 2K */
  #content .contact-us-border {
    padding-bottom: 80px;
  }

  #content .contact-us-border h5 {
    font-size: 20px;
  }

  #content .contact-us-border h6 {
    font-size: 17px;
  }

  #content .contact-us-border address {
    font-size: 16px;
  }

  #content form {
    padding-bottom: 100px;
  }

  #content form .form-group {
    margin-bottom: 45px;
  }

  #content form .col-form-label {
    font-size: 17px;
  }

  #content form .form-control {
    font-size: 17px;
    padding: 16px 20px;
    min-height: 54px;
  }

  #content form textarea.form-control {
    min-height: 200px;
  }

  #content form .btn {
    padding: 14px 50px;
    font-size: 17px;
  }
}


/* 4K Resolution - Content Pages */
@media (min-width: 3840px) {
  #content {
    min-height: 1100px;
  }

  #content .container-fluid,
  #content .container {
    padding-bottom: 180px;
  }

  #content p[style*="font-size: 14px"],
  #content p:not(.pages-content) {
    font-size: 22px !important;
  }

  #content .hero-section img {
    max-height: 800px !important;
  }

  /* Client Insights - 4K */
  #content .display-4 {
    font-size: 6.5rem;
  }

  #content .carousel-inner {
    min-height: 400px;
    padding: 80px 0;
  }

  #content .carousel-item p.h5 {
    font-size: 2rem;
  }

  /* Contact Us - 4K */
  #content .contact-us-border {
    padding-bottom: 100px;
  }

  #content .contact-us-border h5 {
    font-size: 26px;
  }

  #content .contact-us-border h6 {
    font-size: 22px;
  }

  #content .contact-us-border address {
    font-size: 20px;
  }

  #content form {
    padding-bottom: 140px;
  }

  #content form .form-group {
    margin-bottom: 60px;
  }

  #content form .col-form-label {
    font-size: 22px;
  }

  #content form .form-control {
    font-size: 22px;
    padding: 20px 28px;
    min-height: 64px;
  }

  #content form textarea.form-control {
    min-height: 260px;
  }

  #content form .btn {
    padding: 18px 60px;
    font-size: 22px;
  }
}


/* ========================================
   OUR LEADERSHIP PAGE OPTIMIZATION
   ======================================== */

@media (min-width: 1920px) {

  /* Leadership page specific adjustments */
  #content.leadership-content {
    min-height: 600px;
  }

  /* Leadership section padding for Full HD */
  #leadership {
    padding-top: 60px;
    padding-bottom: 80px;
    min-height: auto;
  }

  /* Leadership profile images - larger for Full HD */
  .leader-link {
    width: 180px !important;
    height: 180px !important;
    margin-bottom: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .leader-link:hover {
    transform: scale(1.08);
    box-shadow: 0 10px 30px rgba(6, 131, 42, 0.4);
  }

  /* Leadership name and title typography */
  #leadership .p-txt {
    font-size: 20px;
    letter-spacing: 2px;
    margin-top: 20px;
  }

  #leadership .p-txt-desc {
    font-size: 15px;
    letter-spacing: 1.5px;
    margin-top: 10px;
  }

  /* Leadership rows spacing */
  #leadership .row {
    margin-bottom: 50px;
  }

  /* CV/Bio content styling */
  .text-cv {
    padding: 40px 80px;
    font-size: 15px;
    line-height: 1.8;
    letter-spacing: 0.5px;
  }

  .text-cv h4 {
    font-size: 22px;
    letter-spacing: 3px;
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .text-cv p {
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 20px;
  }

  .text-cv ul.leadership-list {
    font-size: 14px;
    line-height: 1.8;
    padding-left: 30px;
  }

  .text-cv ul.leadership-list li {
    margin-bottom: 12px;
  }

  /* Close button styling */
  .text-cv .btn-outline-green {
    padding: 10px 25px;
    font-size: 13px;
    letter-spacing: 2px;
  }

  /* Chevron up icon */
  .text-cv h2 i.fa-chevron-up {
    font-size: 24px;
  }

  /* Address section spacing */
  #leadership address {
    margin-top: 15px;
    margin-bottom: 40px;
  }

  /* Mobile leadership section - hidden on Full HD */
  .container-fluid.d-sm-block.d-md-none {
    padding-bottom: 60px;
  }

  /* Desktop leadership section */
  .container-fluid.d-none.d-md-block {
    padding-bottom: 60px;
  }

  /* Spacing between leadership profile rows */
  #leadership > .row:not(:last-child) {
    margin-bottom: 30px;
  }

  /* Additional spacing for collapsed content */
  .collapse {
    margin-bottom: 40px;
  }

  /* Leadership section bottom spacing */
  #leadership::after {
    content: '';
    display: block;
    height: 40px;
  }
}


/* 2K Resolution - Leadership Page */
@media (min-width: 2560px) {

  #content {
    min-height: 700px;
  }

  #leadership {
    padding-top: 80px;
    padding-bottom: 100px;
    min-height: auto;
  }

  .leader-link {
    width: 220px !important;
    height: 220px !important;
  }

  #leadership .p-txt {
    font-size: 24px;
    letter-spacing: 2.5px;
  }

  #leadership .p-txt-desc {
    font-size: 17px;
  }

  .text-cv {
    padding: 50px 120px;
    font-size: 17px;
  }

  .text-cv h4 {
    font-size: 26px;
    letter-spacing: 4px;
  }

  .text-cv p {
    font-size: 17px;
  }

  .text-cv ul.leadership-list {
    font-size: 16px;
  }
}


/* 4K Resolution - Leadership Page */
@media (min-width: 3840px) {

  #content {
    min-height: 900px;
  }

  #leadership {
    padding-top: 120px;
    padding-bottom: 150px;
    min-height: auto;
  }

  .leader-link {
    width: 300px !important;
    height: 300px !important;
  }

  #leadership .p-txt {
    font-size: 32px;
    letter-spacing: 3px;
  }

  #leadership .p-txt-desc {
    font-size: 22px;
  }

  .text-cv {
    padding: 70px 200px;
    font-size: 22px;
  }

  .text-cv h4 {
    font-size: 34px;
    letter-spacing: 5px;
  }

  .text-cv p {
    font-size: 22px;
  }

  .text-cv ul.leadership-list {
    font-size: 20px;
  }

  .text-cv ul.leadership-list li {
    margin-bottom: 16px;
  }
}


/* ========================================
   PRINT OPTIMIZATIONS
   ======================================== */

@media print {
  .slider-wrapper,
  .navbar,
  .footer-bg,
  .slick-arrow {
    display: none !important;
  }

  #services,
  #tag-line {
    page-break-inside: avoid;
  }

  .card {
    border: 1px solid #06832a;
  }
}
