/* Hero Section Full Width - 1340px and smaller */
@media screen and (max-width: 1340px) {
  .hero-section {
    margin: 0 !important;
    border-radius: 0 !important;
    max-width: 100% !important;
    padding: 0 !important;
  }
}

/* Small Desktop and Large Tablet */
@media screen and (max-width: 1200px) {
  /* Footer adjustments for smaller desktop */
  .footer-columns:has(.footer-menu) {
    grid-template-columns: 1.8fr 1fr 1.5fr !important;
    gap: 35px !important;
  }

  .footer-columns:not(:has(.footer-menu)) {
    grid-template-columns: 1.8fr 1.5fr !important;
    gap: 35px !important;
  }
}

/* Tablet Styles */
@media screen and (max-width: 1024px) {
  .container {
    padding: 0 30px;
  }

  /* Footer adjustments for tablet */
  .footer-columns:has(.footer-menu) {
    grid-template-columns: 1.5fr 1fr 1.5fr !important;
    gap: 30px !important;
  }

  .footer-columns:not(:has(.footer-menu)) {
    grid-template-columns: 1.5fr 1.5fr !important;
    gap: 30px !important;
  }

  .footer-main {
    padding: 60px 0 40px;
  }

  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.75rem;
  }
  h3 {
    font-size: 1.5rem;
  }

  .header-main-content {
    gap: 20px;
  }

  .nav-menu {
    gap: 20px;
  }

  .footer-columns {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-column.footer-about {
    grid-column: 1 / -1;
  }

  .footer-column.footer-menu {
    order: 2;
  }

  .footer-column.footer-contact {
    order: 3;
  }

  /* 3 columns when footer menu exists - tablet responsive */
  .footer-columns:has(.footer-menu) {
    grid-template-columns: 2fr 1fr 1.5fr;
  }

  .footer-columns:has(.footer-menu) .footer-column.footer-about {
    grid-column: unset;
    order: 1;
  }

  /* Fallback for browsers that don't support :has() - tablet */
  @supports not (selector(:has(*))) {
    .footer-columns {
      grid-template-columns: 2fr 1fr 1.5fr;
    }

    .footer-column.footer-about {
      grid-column: unset;
      order: 1;
    }
  }

  .section {
    padding: 60px 0;
  }

  /* Hero Section Tablet */
  .hero-section {
    height: calc(100vh - 142px);
  }

  .hero-section::before {
    width: 70%;
  }

  .hero-text {
    margin-left: 0;
    max-width: 450px;
  }

  .hero-title {
    font-size: 2.75rem;
  }

  .hero-description {
    font-size: 1.15rem;
  }

  /* Achievements Section Tablet */
  .achievements-title {
    font-size: 2.25rem;
    margin-bottom: 3rem;
  }

  .achievements-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
  }

  .achievement-icon {
    width: 70px;
    height: 70px;
  }

  .achievement-icon img,
  .achievement-icon-placeholder svg {
    width: 42px;
    height: 42px;
  }

  /* Benefits Section Tablet */
  .benefits-title {
    font-size: 2.25rem;
    margin-bottom: 3rem;
  }

  .benefits-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
  }

  .benefit-card {
    padding: 35px 25px;
  }
}

/* Header Compact Layout - 1300px and below */
@media screen and (max-width: 1300px) {
  .header-main-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
  }

  .site-branding {
    flex: 0 0 auto;
  }

  /* Hide main navigation on desktop but show hamburger */
  .main-navigation .nav-menu-wrapper {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: #ffffff;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 9999;
    overflow-y: auto;
    padding: 80px 0 40px 0;
    transform: translateZ(0); /* Create new stacking context */
  }

  .main-navigation .nav-menu-wrapper.active {
    right: 0;
  }

  .header-main-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
  }

  .menu-toggle {
    display: block !important;
    position: relative;
    z-index: 10000;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    order: 5;
    margin-left: auto;
  }

  .menu-toggle-icon {
    width: 24px;
    height: 18px;
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
  }

  .menu-toggle-icon span {
    display: block !important;
    width: 100%;
    height: 2px;
    background: #ffffff !important;
    margin: 0;
    transition: all 0.3s ease;
    border-radius: 1px;
  }

  /* Close button transformation */
  .menu-open .menu-toggle-icon span {
    background: var(--primary-color) !important;
  }

  .menu-open .menu-toggle-icon span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-open .menu-toggle-icon span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
  }

  .menu-open .menu-toggle-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  /* Disable body scroll when menu is open */
  body.menu-open {
    overflow: hidden;
  }

  /* Show only essential header items */
  .header-search {
    order: 2;
    margin-left: auto;
  }

  .header-calculator {
    order: 3;
  }

  .header-cta {
    order: 4;
  }

  .main-navigation {
    order: 5;
  }

  /* Style the mobile menu */
  .nav-menu {
    display: flex;
    flex-direction: column;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .nav-menu li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
  }

  .nav-menu li:last-child {
    border-bottom: none;
  }

  .nav-menu li:hover {
    background: rgba(180, 138, 71, 0.05);
  }

  .nav-menu a {
    display: flex;
    align-items: center;
    padding: 20px 30px;
    font-size: 1.1rem;
    font-weight: 500;
    color: #333333;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
  }

  .nav-menu a:hover::before,
  .nav-menu a:focus::before {
    width: 4px;
  }

  .nav-menu .current-menu-item > a,
  .nav-menu .current_page_item > a {
    color: var(--secondary-color);
    font-weight: 600;
    background: rgba(180, 138, 71, 0.1);
  }

  .nav-menu .current-menu-item > a::before,
  .nav-menu .current_page_item > a::before {
    width: 4px;
  }

  /* Submenu styling */
  .nav-menu .sub-menu {
    background: rgba(0, 0, 0, 0.03);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
  }

  .nav-menu .sub-menu a {
    font-size: 1rem;
    padding: 16px 30px 16px 50px;
    color: #666666;
    font-weight: 400;
  }

  .nav-menu .sub-menu a:hover {
    background: rgba(180, 138, 71, 0.06);
    color: var(--secondary-color);
  }
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  h1 {
    font-size: 1.75rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  h3 {
    font-size: 1.25rem;
  }
  h4 {
    font-size: 1.125rem;
  }

  .btn {
    padding: 10px 24px;
    font-size: 0.9rem;
    width: 100%;
  }

  /* Header Mobile */
  .header-top {
    display: none;
  }

  .header-main {
    padding: 15px 0;
  }

  .header-main-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
  }

  .site-branding {
    flex: 0 1 auto;
  }

  .site-title {
    font-size: 1.5rem;
  }

  /* Mobile Logo Sizing */
  .site-logo,
  .site-branding img {
    max-height: 40px;
    max-width: 150px;
  }

  .footer-logo-img,
  .footer-logo img {
    max-height: 40px;
    max-width: 150px;
  }

  .main-navigation {
    position: static;
    order: 3;
  }

  .menu-toggle {
    display: block !important;
    position: relative;
    z-index: 10000;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
  }

  .menu-toggle-icon {
    width: 24px;
    height: 18px;
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
  }

  .menu-toggle-icon span {
    display: block !important;
    width: 100%;
    height: 2px;
    background: #ffffff !important;
    margin: 0;
    transition: all 0.3s ease;
    border-radius: 1px;
  }

  /* Close button transformation */
  .menu-open .menu-toggle-icon span {
    background: var(--primary-color) !important;
  }

  .menu-open .menu-toggle-icon span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-open .menu-toggle-icon span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
  }

  .menu-open .menu-toggle-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  .nav-menu-wrapper {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 100%;
    height: 100vh;
    background: #ffffff;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 9999;
    overflow-y: auto;
    padding: 80px 0 40px 0;
  }

  .nav-menu-wrapper.active {
    right: 0;
  }

  .nav-menu {
    flex-direction: column;
    gap: 0;
    padding: 0;
  }

  .nav-menu li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    margin: 0;
    transition: all 0.3s ease;
  }

  .nav-menu li:hover {
    background: rgba(180, 138, 71, 0.05);
  }

  .nav-menu a {
    display: flex;
    align-items: center;
    padding: 18px 20px;
    font-size: 1.1rem;
    font-weight: 500;
    color: #333333;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
  }

  .nav-menu a:hover::before,
  .nav-menu a:focus::before {
    width: 4px;
  }

  .nav-menu .current-menu-item > a,
  .nav-menu .current_page_item > a {
    color: var(--secondary-color);
    font-weight: 600;
    background: rgba(180, 138, 71, 0.1);
  }

  .nav-menu .current-menu-item > a::before,
  .nav-menu .current_page_item > a::before {
    width: 4px;
  }

  .nav-menu .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(0, 0, 0, 0.03);
    margin: 0;
    padding: 0;
    border-radius: 0;
    min-width: 100%;
  }

  .nav-menu .sub-menu a {
    padding: 15px 20px 15px 40px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 1rem;
    color: #666666;
    font-weight: 400;
  }

  .nav-menu .sub-menu a:hover {
    background: rgba(180, 138, 71, 0.06);
    color: var(--secondary-color);
  }

  .header-cta {
    order: 2;
    margin-left: auto;
  }

  .header-cta .btn,
  .header-cta .btn-cta {
    padding: 8px 16px;
    font-size: 0.8rem;
    letter-spacing: 0.2px;
  }

  /* Footer Mobile */
  .site-footer {
    margin: 0;
    border-radius: 0;
    padding: 0;
  }

  .footer-main {
    padding: 40px 0 30px;
  }

  /* Override all grid layouts for mobile */
  .footer-columns,
  .footer-columns:has(.footer-menu),
  .footer-columns:not(:has(.footer-menu)) {
    display: flex !important;
    flex-direction: column !important;
    gap: 30px !important;
    max-width: 100% !important;
    grid-template-columns: unset !important;
  }

  .footer-column {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    grid-column: unset !important;
  }

  .footer-column.footer-about {
    text-align: center;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    order: 1;
  }

  .footer-column.footer-menu {
    order: 2;
    text-align: center;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .footer-column.footer-contact {
    order: 3;
    text-align: center;
  }

  .footer-logo {
    text-align: center;
    margin-bottom: 20px;
  }

  .footer-logo img {
    max-height: 50px;
    width: auto;
  }

  .footer-description {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
    padding: 0 10px;
  }

  .footer-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
  }

  .footer-title {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--white);
    font-weight: 700;
  }

  .footer-title::after {
    display: none;
  }

  .footer-links {
    text-align: center;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .footer-links li {
    margin-bottom: 12px;
    text-align: left;
  }

  .footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
  }

  .footer-links a:hover {
    color: var(--white);
  }

  .contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 12px 0;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
  }

  .contact-item:hover {
    background: none;
    color: var(--white);
  }

  .contact-item svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    color: var(--secondary-color);
  }

  .contact-item a {
    color: inherit;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
  }

  .contact-item address {
    font-style: normal;
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0;
  }

  .footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .footer-bottom-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: center;
    align-items: center;
  }

  .copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
  }

  .footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 15px;
    align-items: center;
  }

  .footer-legal a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
  }

  .footer-legal a:hover {
    color: var(--white);
  }

  .footer-legal .separator {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
  }

  /* Small Mobile Footer - Additional Adjustments for 480px */
  @media screen and (max-width: 480px) {
    .btn-large,
    .btn-large.btn-cta {
      justify-content: center;
    }
    .footer-main .container {
      padding: 0px 24px;
    }
    .footer-main {
      padding: 35px 0 25px;
    }

    .footer-columns {
      gap: 25px;
    }

    .footer-description {
      font-size: 0.9rem;
      padding: 0 5px;
    }

    .footer-title {
      font-size: 1rem;
      margin-bottom: 15px;
      text-align: left;
    }

    .footer-links li {
      margin-bottom: 10px;
    }

    .footer-links a {
      font-size: 0.9rem;
    }

    .contact-item {
      justify-content: center;
      padding: 10px 0;
      margin-bottom: 12px;
    }

    .contact-item svg {
      width: 26px;
      height: 26px;
    }

    .contact-item a,
    .contact-item address {
      font-size: 0.9rem;
    }

    .footer-bottom {
      padding: 15px 0;
    }

    .copyright {
      font-size: 0.85rem;
    }

    .footer-legal a {
      font-size: 0.85rem;
    }

    .footer-bottom-content {
      gap: 12px;
    }
  }

  /* Content */
  .site-main {
    padding: 0;
  }

  .section {
    padding: 40px 0;
  }

  .section-title h2 {
    font-size: 1.75rem;
  }

  /* Hero Section Mobile */
  .hero-section {
    height: calc(100vh - 142px);
    background-attachment: scroll;
  }

  .hero-section::before {
    width: 100%;
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.6) 0%,
      rgba(0, 0, 0, 0.3) 70%,
      transparent 100%
    );
  }

  .hero-text {
    max-width: 90%;
    margin-left: 20px;
    text-align: left;
  }

  .hero-title {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }

  .btn-large,
  .btn-large.btn-cta {
    padding: 10px 32px;
    font-size: 1rem;
    border-radius: 20px;
  }

  /* Achievements Section Mobile */
  .achievements-title {
    font-size: 2rem;
    margin-bottom: 2.5rem;
  }

  .achievements-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .achievement-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
  }

  .achievement-icon img,
  .achievement-icon-placeholder svg {
    width: 36px;
    height: 36px;
  }

  .achievement-description {
    font-size: 1rem;
  }

  /* Benefits Section Mobile */
  .benefits-title {
    font-size: 2rem;
    margin-bottom: 2.5rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .benefit-card {
    padding: 30px 20px;
  }

  .benefit-title {
    font-size: 1.2rem;
    margin-bottom: 12px;
  }

  .benefit-description {
    font-size: 0.95rem;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
}

/* Small Mobile */
@media screen and (max-width: 480px) {
  .container {
    padding: 0 20px;
  }

  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.25rem;
  }

  .btn {
    padding: 10px 20px;
  }

  .site-title {
    font-size: 1.25rem;
  }

  .header-cta .btn,
  .header-cta .btn-cta {
    padding: 8px 12px;
    font-size: 0.75rem;
    letter-spacing: 0.2px;
  }

  .site-logo,
  .site-branding img {
    max-height: 35px;
    max-width: 120px;
  }

  .footer-title {
    font-size: 1rem;
  }

  .footer-columns {
    gap: 25px;
  }

  .footer-description {
    font-size: 0.9rem;
  }

  .contact-item {
    font-size: 0.9rem;
  }

  .footer-legal {
    flex-direction: column;
    gap: 8px;
  }

  .footer-legal .separator {
    display: none;
  }

  /* Hero Section Small Mobile */
  .hero-section {
    height: calc(100vh - 142px);
  }

  .hero-text {
    margin-left: 15px;
    max-width: 85%;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .btn-large,
  .btn-large.btn-cta {
    padding: 10px 28px;
    font-size: 0.9rem;
    border-radius: 20px;
  }

  /* Achievements Section Small Mobile */
  .achievements-title {
    font-size: 1.5rem;
  }

  .achievement-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
  }

  .achievement-icon img,
  .achievement-icon-placeholder svg {
    width: 28px;
    height: 28px;
  }

  .achievement-description {
    font-size: 0.95rem;
  }

  /* Benefits Section Small Mobile */
  .benefits-title {
    font-size: 1.5rem;
  }

  .benefit-card {
    padding: 25px 15px;
  }

  .benefit-title {
    font-size: 1.1rem;
  }

  .benefit-description {
    font-size: 0.9rem;
  }

  /* Project Videos Mobile */
  .project-videos-section {
    padding: 80px 0 60px;
  }

  .project-videos-section .section-title,
  .videos-title {
    font-size: 2rem;
    margin-bottom: 3rem;
  }

  .project-videos-section .section-subtitle {
    margin: -2rem auto 2rem;
    font-size: 16px;
  }

  .videos-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .videos-sidebar {
    order: 2;
    max-height: 400px;
  }

  .videos-player {
    order: 1;
  }

  .video-item {
    gap: 12px;
    padding: 12px;
  }

  .video-thumbnail {
    width: 60px;
    height: 45px;
  }

  .video-title {
    font-size: 0.9rem;
  }

  .video-description {
    font-size: 0.8rem;
  }

  .current-video-title {
    font-size: 1.3rem;
  }

  .current-video-description {
    font-size: 0.95rem;
  }
}

/* Small Mobile Styles */
@media screen and (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.25rem;
  }

  .btn {
    padding: 10px 20px;
  }

  .site-title {
    font-size: 1.25rem;
  }

  .header-cta .btn,
  .header-cta .btn-cta {
    padding: 8px 12px;
    font-size: 0.75rem;
    letter-spacing: 0.2px;
  }

  .site-logo,
  .site-branding img {
    max-height: 35px;
    max-width: 120px;
  }

  .footer-title {
    font-size: 1rem;
  }

  .footer-columns {
    gap: 25px;
  }

  .footer-description {
    font-size: 0.9rem;
    text-align: left;
  }

  .contact-item {
    font-size: 0.9rem;
  }

  .footer-legal {
    flex-direction: column;
    gap: 8px;
  }

  .footer-legal .separator {
    display: none;
  }

  /* Hero Section Small Mobile */
  .hero-section {
    height: calc(100vh - 142px);
  }

  .hero-text {
    margin-left: 15px;
    max-width: 85%;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .btn-large,
  .btn-large.btn-cta {
    padding: 10px 28px;
    font-size: 0.9rem;
    border-radius: 20px;
  }

  /* Achievements Section Small Mobile */
  .achievements-title {
    font-size: 1.5rem;
  }

  .achievement-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
  }

  .achievement-icon img,
  .achievement-icon-placeholder svg {
    width: 28px;
    height: 28px;
  }

  .achievement-description {
    font-size: 0.95rem;
  }

  /* Benefits Section Small Mobile */
  .benefits-title {
    font-size: 1.5rem;
  }

  .benefit-card {
    padding: 25px 15px;
  }

  .benefit-title {
    font-size: 1.1rem;
  }

  .benefit-description {
    font-size: 0.9rem;
  }

  /* Project Videos Small Mobile */
  .project-videos-section {
    padding: 60px 0 40px;
  }

  .project-videos-section .section-title,
  .videos-title {
    font-size: 1.75rem;
  }

  .videos-sidebar {
    padding: 20px;
  }

  .video-player-container {
    padding: 20px;
  }

  .video-item {
    gap: 10px;
    padding: 10px;
  }

  .video-thumbnail {
    width: 50px;
    height: 38px;
  }
}

/* Projects Section Responsive Styles */
@media (max-width: 1200px) {
  .projects-grid,
  .projects-archive-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }

  .project-content-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .project-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
  }
}

@media (max-width: 992px) {
  .projects-gallery-section {
    padding: 60px 0;
  }

  .projects-gallery-section .section-title {
    font-size: 36px;
  }

  .filter-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .filter-groups {
    width: auto;
    max-width: 100%;
  }

  .filter-buttons {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .projects-search {
    max-width: 100%;
  }

  .project-hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .single-project-hero h1 {
    font-size: 32px;
  }

  .project-hero-stats {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: left;
  }

  .stat-box {
    display: flex;
    align-items: center;
    gap: 15px;
  }

  .stat-value {
    font-size: 28px;
  }

  .modal-content {
    width: 95%;
  }

  .gallery-main {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .projects-grid,
  .projects-archive-grid,
  .videos-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
  }

  .projects-gallery-section .section-header {
    margin-bottom: 40px;
  }

  .projects-gallery-section .section-title {
    font-size: 28px;
  }

  .projects-gallery-section .section-subtitle {
    font-size: 16px;
  }

  .project-image-wrapper {
    height: 220px;
  }

  .project-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
    justify-content: flex-end;
    padding: 15px;
  }

  .project-actions {
    display: none;
  }

  .project-quick-info .project-title {
    font-size: 18px;
  }

  .projects-archive-header {
    padding: 80px 0 40px;
  }

  .projects-archive-header h1 {
    font-size: 36px;
  }

  .projects-archive-header p {
    font-size: 18px;
  }

  .filter-btn {
    padding: 8px 16px;
    font-size: 13px;
    width: max-content;
  }

  .team-header-section {
    padding: 60px 0 40px;
    text-align: center;
  }

  .team-header-section .page-title {
    font-size: 2rem;
    margin-bottom: 20px;
  }

  .team-header-section .page-description {
    font-size: 1rem;
    max-width: 90%;
    margin: 0 auto;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 20px;
  }

  .member-image-wrapper {
    height: 320px;
  }

  .member-image {
    object-position: center top;
  }

  .member-info {
    padding: 25px 20px 20px;
  }

  .member-name {
    font-size: 1.2rem;
  }

  .single-project-hero {
    padding: 80px 0 40px;
  }

  .project-hero-image {
    height: 300px;
  }

  .project-gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .project-gallery-grid .gallery-item {
    width: 100%;
    max-width: 100%;
  }

  .project-gallery-grid .gallery-item img {
    width: 100%;
    max-width: 100%;
  }

  .gallery-item {
    height: 200px;
  }

  .related-projects-section .projects-grid {
    grid-template-columns: 1fr;
  }

  .share-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
  }

  .gallery-nav {
    width: 40px;
    height: 40px;
  }

  .gallery-prev {
    left: 10px;
  }

  .gallery-next {
    right: 10px;
  }

  .gallery-thumbs {
    padding: 5px 0;
  }

  .gallery-thumb {
    width: 80px;
    height: 60px;
  }
}

@media (max-width: 576px) {
  .warranty-title {
    font-size: 2rem;
  }
  .benefit-icon {
    margin-bottom: 0;
  }
  .projects-grid,
  .projects-archive-grid,
  .videos-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .projects-gallery-section {
    padding: 40px 0;
  }

  .projects-gallery-section .section-title {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .project-card-title {
    font-size: 16px;
  }

  .savings-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .savings-info .value {
    font-size: 14px;
  }

  .view-all-btn {
    padding: 12px 24px;
    font-size: 14px;
  }

  .projects-archive-header h1 {
    font-size: 28px;
  }

  .projects-archive-header p {
    font-size: 16px;
    padding: 0 20px;
  }

  .projects-filter-bar {
    padding: 20px 0;
  }

  .filter-buttons {
    width: 100%;
  }

  .single-project-hero h1 {
    font-size: 24px;
  }

  /* Team Section Small Mobile */
  .team-header-section {
    padding: 40px 0 30px;
  }

  .team-header-section .page-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }

  .team-header-section .page-description {
    font-size: 0.95rem;
  }

  .team-members-section {
    padding: 50px 0;
  }

  .team-grid {
    gap: 25px;
    padding: 0 15px;
  }

  .member-image-wrapper {
    height: 280px;
  }

  .member-info {
    padding: 20px 15px 15px;
  }

  .member-name {
    font-size: 1.1rem;
  }

  /* Solar Systems Page Mobile */
  .solar-systems-header {
    margin: 0;
    border-radius: 0;
    min-height: 50vh;
    padding: 80px 0 60px;
  }

  .solar-systems-header .page-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
  }

  .solar-systems-header .page-subtitle {
    font-size: 1.1rem;
    margin-bottom: 30px;
  }

  .solar-systems-header .header-cta {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .solar-systems-header .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .solar-section {
    padding: 60px 0;
  }

  .solar-section .section-title {
    font-size: 2rem;
  }

  .content-grid {
    gap: 25px;
  }

  .content-sidebar {
    grid-template-columns: 1fr;
  }

  .content-main {
    padding: 30px 25px;
  }

  .content-main h3 {
    font-size: 1.2rem;
  }

  .info-box {
    padding: 25px 20px;
  }

  /* Ensure lists show properly on mobile */
  .content-main ul,
  .content-main ol,
  .process-content ul,
  .process-content ol,
  .info-box ul,
  .info-box ol,
  .considerations-section ul,
  .considerations-section ol,
  .payback-section ul,
  .payback-section ol {
    padding-left: 15px;
  }

  .considerations-section,
  .payback-section {
    padding: 30px 25px;
    margin-top: 30px;
  }

  .project-meta-badges {
    flex-wrap: wrap;
    gap: 10px;
  }

  .meta-badge {
    font-size: 12px;
    padding: 6px 12px;
  }

  .stat-value {
    font-size: 24px;
  }

  .stat-label {
    font-size: 12px;
  }

  .sidebar-widget {
    padding: 20px;
  }

  .modal-content {
    border-radius: 0;
    width: 100%;
    height: 100vh;
    max-height: 100vh;
  }

  .modal-close {
    top: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
  }

  .gallery-main {
    height: 300px;
  }

  .gallery-nav {
    display: none;
  }

  .gallery-thumbs {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .video-card-title {
    font-size: 16px;
  }

  .video-card-description {
    font-size: 13px;
  }

  .video-card-meta {
    font-size: 12px;
  }
}

/* Touch Device Optimizations */
@media (hover: none) {
  .project-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 70%);
  }

  /* .project-actions {
    position: absolute;
    top: 10px;
    right: 10px;
  } */

  .project-card:hover {
    transform: none;
  }

  .video-card:hover {
    transform: none;
  }
}

/* Print Styles */
@media print {
  .site-header,
  .site-footer,
  .back-to-top,
  .header-cta,
  .social-links,
  .projects-filter-bar,
  .project-actions,
  .modal-close,
  .gallery-nav,
  .share-widget,
  .cta-widget,
  #project-zoom-modal,
  #video-player-modal {
    display: none !important;
  }

  .projects-grid,
  .projects-archive-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-overlay {
    display: none;
  }

  .project-card {
    break-inside: avoid;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
  }

  .container {
    max-width: 100%;
    padding: 0;
  }

  a {
    color: inherit;
    text-decoration: underline;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    page-break-after: avoid;
  }

  img {
    max-width: 100%;
    page-break-inside: avoid;
  }
}

/* Privacy Policy Responsive Styles */
@media (max-width: 1024px) {
  .privacy-title {
    font-size: 2.5rem;
  }

  .privacy-section {
    padding: 40px 30px;
  }

  .privacy-contact {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .privacy-hero {
    padding: 80px 0 50px;
  }

  .privacy-title {
    font-size: 2rem;
  }

  .privacy-intro {
    font-size: 1rem;
  }

  .privacy-content {
    padding: 50px 0;
  }

  .privacy-section {
    padding: 30px 20px;
    margin-bottom: 20px;
  }

  .privacy-section h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .privacy-section h2::after {
    display: none;
  }

  .privacy-subsection h3 {
    font-size: 1.2rem;
  }

  .privacy-subsection h4 {
    font-size: 1.1rem;
  }

  .privacy-contact {
    padding: 25px 20px;
  }

  .privacy-contact h2 {
    font-size: 1.4rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .privacy-hero {
    padding: 60px 0 40px;
  }

  .privacy-title {
    font-size: 1.75rem;
  }

  .privacy-section {
    padding: 25px 15px;
  }

  .privacy-contact {
    padding: 20px 15px;
  }

  .privacy-section h2 {
    font-size: 1.3rem;
  }

  .privacy-subsection h3 {
    font-size: 1.1rem;
  }

  .privacy-subsection h4 {
    font-size: 1rem;
  }
}

/* Tablet Footer Responsive Styles (768px and below) */
@media screen and (max-width: 768px) {
  /* Override the main.css grid layout - stack all columns vertically on mobile */
  .footer-columns,
  .footer-columns:has(.footer-menu),
  .footer-columns:not(:has(.footer-menu)) {
    display: flex !important;
    flex-direction: column !important;
    gap: 35px !important;
    align-items: stretch !important;
    grid-template-columns: unset !important;
  }

  .footer-column {
    width: 100% !important;
    max-width: 100% !important;
  }

  .footer-column.footer-about {
    text-align: center;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    margin-bottom: 5px;
    order: 1;
  }

  .footer-column.footer-menu {
    text-align: center;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    order: 2;
  }

  .footer-column.footer-contact {
    text-align: left;
    order: 3;
  }
  .footer-contact {
    align-items: start;
  }

  .footer-description {
    font-size: 0.95rem;
    max-width: 500px;
    margin: 0 auto 20px;
  }

  .footer-title {
    font-size: 1.1rem;
    margin-bottom: 18px;
  }

  .footer-links {
    text-align: center;
  }

  .contact-item {
    justify-content: center;
  }

  .contact-item svg {
    width: 28px;
    height: 28px;
  }

  .footer-bottom-content {
    justify-content: space-between;
    align-items: center;
    gap: 20px;
  }

  .footer-legal {
    gap: 5px 12px;
  }
}

/* Mobile Header Elements in Menu (600px and smaller) */
@media screen and (max-width: 600px) {
  /* Hide top header completely on mobile */
  .header-top {
    display: none !important;
  }

  /* Hide all header elements except logo and hamburger menu */
  .header-search,
  .header-calculator,
  .header-phone,
  .header-cta {
    display: none !important;
  }

  /* Ensure mobile header content is properly laid out */
  .header-main-content {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 15px !important;
  }

  /* Make sure logo and hamburger are visible */
  .site-branding {
    display: flex !important;
  }

  .main-navigation {
    display: flex !important;
  }

  .menu-toggle {
    display: flex !important;
  }

  /* Adjust header spacing for mobile-only content */
  .header-main {
    padding: 15px 0;
  }

  .header-main .container {
    padding: 0 20px;
  }

  /* Make sure site logo is properly sized on mobile */
  .site-logo,
  .site-branding img {
    max-height: 40px;
    width: auto;
  }

  /* Ensure header has lower z-index than mobile menu */
  .site-header {
    position: relative !important;
    z-index: 1000 !important;
  }

  /* Ensure mobile menu is full width and proper structure */
  .nav-menu-wrapper,
  .main-navigation .nav-menu-wrapper {
    position: fixed !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100vh !important;
    right: -100vw;
    top: 0 !important;
    left: auto !important;
    bottom: 0 !important;
    background: var(--white) !important;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    padding: 0;
    padding-bottom: 100px !important;
    overflow-y: auto;
    z-index: 99999 !important;
  }

  /* Hide mobile nav icons by default */
  .mobile-nav-icons {
    display: none;
  }

  /* Show only on mobile */

  @media (max-width: 600px) {
    .main-navigation {
      display: flex;
      align-items: center;
      gap: 5px;
    }

    .mobile-nav-icons {
      display: flex;
      gap: 10px;
      align-items: center;
      order: 1;
    }

    .menu-toggle {
      order: 2;
    }

    .mobile-nav-phone-btn,
    .mobile-nav-calc-btn,
    .mobile-nav-quote-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 38px;
      height: 38px;
      text-decoration: none;
      transition: all 0.3s ease;
      flex-shrink: 0;
    }

    .mobile-nav-phone-btn {
      background: var(--secondary-color);
      color: var(--white);
      border-radius: 50%;
      position: relative;
      overflow: hidden;
      animation: phone-pulse 2s infinite;
    }

    .mobile-nav-calc-btn {
      background: var(--primary-color);
      color: var(--white);
      border-radius: 50%;
    }

    .mobile-nav-quote-btn {
      background: var(--secondary-color);
      color: var(--white);
      border-radius: 16px;
    }

    .mobile-nav-phone-btn:hover {
      background: color-mix(in srgb, var(--secondary-color) 85%, black);
      transform: scale(1.05);
      animation: none;
    }

    .mobile-nav-calc-btn:hover {
      background: var(--primary-dark);
      transform: translateY(-1px);
    }

    .mobile-nav-quote-btn:hover {
      background: var(--secondary-dark);
      transform: translateY(-1px);
    }

    .mobile-nav-phone-btn svg {
      width: 20px;
      height: 20px;
      fill: currentColor;
    }

    .mobile-nav-calc-btn svg {
      width: 40px;
      height: 40px;
      fill: currentColor;
    }

    .mobile-nav-quote-btn svg {
      width: 22px;
      height: 24px;
      fill: currentColor;
    }
  }

  /* Mobile menu action buttons */
  .mobile-menu-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding:  20px 0px;
    
  }

  .mobile-menu-calc-btn,
  .mobile-menu-quote-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
  }

  .mobile-menu-calc-btn {
    background: var(--secondary-color);
    color: var(--white);
  }

  .mobile-menu-quote-btn {
    background: var(--primary-color);
    color: var(--white);
  }

  .mobile-menu-calc-btn:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
  }

  .mobile-menu-quote-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
  }

  .mobile-menu-calc-btn svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
    flex-shrink: 0;
  }

  .mobile-menu-quote-btn svg {
    width: 20px;
    height: 22px;
    fill: currentColor;
    flex-shrink: 0;
  }

  /* Mobile menu header with close button */
  .mobile-menu-header {
    position: sticky;
    top: 0;
    background: var(--white);
    padding: 15px 20px;
    border-bottom: 1px solid rgba(0, 53, 113, 0.1);
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 10;
    flex-shrink: 0;
  }

  .mobile-menu-close {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
  }

  .mobile-menu-close:hover {
    background: rgba(0, 53, 113, 0.1);
    color: var(--primary-color);
    transform: rotate(90deg);
  }

  .nav-menu-wrapper.active,
  .main-navigation .nav-menu-wrapper.active {
    right: 0;
  }

  /* Mobile menu navigation items */
  .nav-menu {
    display: flex !important;
    flex-direction: column !important;
    padding: 20px 20px 0 20px !important;
    margin: 0 !important;
    width: 100% !important;
    gap: 0 !important;
    flex: 1 !important;
  }

  .nav-menu li {
    width: 100% !important;
    margin: 0 !important;
  }

  .nav-menu li a {
    display: block !important;
    width: 100% !important;
    padding: 15px 10 !important;
    text-align: left !important;
  }

  /* Mobile Submenu Functionality */
  .nav-menu .menu-item-has-children {
    position: relative;
  }

  .nav-menu .menu-item-has-children > a {
    position: relative;
    padding-right: 40px !important;
  }

  /* Dropdown Arrow - Enhanced Visibility */
  .nav-menu .menu-item-has-children > a::after {
    content: "";
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 9px solid var(--secondary-color);
    transition: all 0.3s ease;
    opacity: 0.8;
  }

  /* Hover effect for dropdown arrow */
  .nav-menu .menu-item-has-children > a:hover::after {
    opacity: 1;
    border-top-color: var(--primary-color);
  }

  /* Submenu Styling */
  .nav-menu .sub-menu {
    display: none !important;
    flex-direction: column !important;
    background: rgba(0, 53, 113, 0.05) !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 8px;
    margin-top: 10px !important;
    overflow: hidden;
    max-height: 0;
    transition: all 0.3s ease;
  }

  .nav-menu .sub-menu.mobile-submenu-open {
    display: flex !important;
    max-height: 500px;
    padding: 10px 0 !important;
  }

  .nav-menu .sub-menu li {
    width: 100% !important;
    margin: 0 !important;
  }

  .nav-menu .sub-menu li a {
    padding: 12px 20px !important;
    font-size: 0.9rem !important;
    color: var(--text-color) !important;
    border-left: 3px solid transparent !important;
    transition: all 0.3s ease !important;
  }

  .nav-menu .sub-menu li a:hover {
    background: rgba(0, 53, 113, 0.1) !important;
    border-left-color: var(--secondary-color) !important;
    padding-left: 25px !important;
  }

  /* Rotate arrow when submenu is open */
  .nav-menu .menu-item-has-children.mobile-submenu-active > a::after {
    transform: translateY(-50%) rotate(180deg);
    border-top-color: var(--primary-color) !important;
    opacity: 1 !important;
  }

  /* Parent menu item styling when submenu is open */
  .nav-menu .menu-item-has-children.mobile-submenu-active > a {
    color: var(--primary-color) !important;
    font-weight: 600 !important;
    background: rgba(0, 53, 113, 0.05) !important;
    border-radius: 8px !important;
  }

  .mobile-header-elements {
    display: block;
    padding: 20px;
    border-top: 1px solid rgba(0, 53, 113, 0.1);
    margin-top: 10px;
    flex-shrink: 0;
  }

  .mobile-contact-section {
    margin-bottom: 30px;
  }

  .mobile-contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .mobile-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 53, 113, 0.05);
  }

  .mobile-contact-item:hover {
    color: var(--primary-color);
    padding-left: 5px;
  }

  .mobile-contact-item svg {
    flex-shrink: 0;
    color: var(--secondary-color);
  }

  .mobile-contact-item span {
    font-size: 0.95rem;
    font-weight: 500;
  }

  /* Actions Section */
  .mobile-actions-section {
    margin-bottom: 30px;
  }

  .mobile-actions-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  /* Side by side layout for calculator and CTA */
  .mobile-calculator-cta-row {
    display: flex;
    gap: 10px;
    align-items: stretch;
  }

  .mobile-calculator-cta-row .mobile-calculator-btn,
  .mobile-calculator-cta-row .mobile-cta-wrapper {
    /* flex: 1; */
  }

  /* Mobile Search */
  .mobile-search-wrapper {
    width: 100%;
  }

  .mobile-search-form {
    width: 100%;
  }

  .mobile-search-input-wrapper {
    position: relative;
    width: 100%;
  }

  .mobile-search-field {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    background: var(--white);
    color: var(--text-color);
    transition: all 0.3s ease;
    box-sizing: border-box;
  }

  .mobile-search-field:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(180, 138, 71, 0.1);
  }

  .mobile-search-submit {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    background: var(--secondary-color);
    border: none;
    border-radius: 8px;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
  }

  .mobile-search-submit:hover {
    background: var(--primary-color);
    transform: translateY(-50%) scale(1.05);
  }

  /* Mobile Action Buttons */
  .mobile-action-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 18px;
    background: linear-gradient(
      135deg,
      var(--primary-color),
      color-mix(in srgb, var(--primary-color) 85%, black)
    );
    color: var(--white);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 53, 113, 0.2);
  }

  .mobile-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 53, 113, 0.3);
    color: var(--white);
    text-decoration: none;
  }

  .mobile-action-btn svg {
    flex-shrink: 0;
  }

  .mobile-calculator-btn svg {
    height: 40px;
    width: 40px;
  }

  /* Mobile CTA Wrapper */
  .mobile-cta-wrapper {
    width: 100%;
    display: flex;
  }

  .mobile-cta-wrapper .header-cta-btn {
    width: 100%;
    justify-content: center;
    padding: 15px 18px;
    font-size: 1rem;
    flex: 1;
  }

  /* When in side-by-side layout, adjust padding for better fit */
  .mobile-calculator-cta-row .mobile-calculator-btn,
  .mobile-calculator-cta-row .mobile-cta-wrapper .header-cta-btn {
    /* padding: 15px 12px; */
    font-size: 0.9rem;
  }

  /* Extras Section - Mobile Column Layout */
  .mobile-extras-section {
    display: flex;
    flex-direction: column;
    gap: 25px;
    border-top: 1px solid rgba(0, 53, 113, 0.1);
    padding-top: 20px;
  }

  /* Language Section */
  .mobile-language-section {
    width: 100%;
  }

  .mobile-language-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-start;
  }

  .mobile-lang-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    min-width: 40px;
    text-align: center;
  }

  .mobile-lang-link:hover,
  .mobile-lang-link.current {
    background: var(--secondary-color);
    color: var(--white);
  }

  .mobile-lang-separator {
    color: var(--text-light);
    font-weight: 300;
    margin: 0 5px;
  }

  /* Social Section */
  .mobile-social-section {
    width: 100%;
  }

  .mobile-social-links {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
    flex-wrap: wrap;
  }

  .mobile-social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-bg);
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
  }

  .mobile-social-link:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
  }

  .mobile-social-link .social-icon {
    width: 20px;
    height: 20px;
  }

  .mobile-social-link:hover .social-icon {
    filter: brightness(0) invert(1);
  }
}

/* Hide mobile header elements on larger screens */
@media screen and (min-width: 601px) {
  .mobile-menu-close {
    display: none !important;
  }

  .mobile-header-elements {
    display: none !important;
  }
}

@media (min-width: 600px) {
  .mobile-nav-icons {
    display: none !important;
  }
}
