/* Mobile Responsive Styles for Glaze Coats Revamp - Professional Design */

/* Mobile Menu Toggle - Always hidden by default, shown on mobile */
.mobile-menu-toggle,
.mobile-menu-close-btn {
    display: none !important;
}

/* Reset nav for mobile - Ensure it's visible on desktop */
@media (min-width: 1025px) {
    .nav-links {
        display: flex !important;
        position: static !important;
        flex-direction: row !important;
        width: auto !important;
        height: auto !important;
        padding: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        gap: 5px !important;
    }

    .nav-links li {
        border: none !important;
    }

    .nav-links a {
        padding: 8px 12px !important;
        font-size: 15px !important;
    }

    .menu-overlay {
        display: none !important;
    }

    .menu-overlay.active {
        display: none !important;
    }
}

/* Tablet and Below */
@media (max-width: 1200px) {
    .features {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 25px;
        gap: 20px;
    }

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

    .services {
        padding: 60px 35px;
        margin: 20px;
    }

    .who-we-are {
        padding: 60px 30px;
    }

    .hero {
        height: 550px;
    }

    .hero h1 {
        font-size: 42px;
    }
}

/* Mobile Menu Styles - Premium */
@media (max-width: 1024px) {

    /* Header - Layered below menu but above page content */
    .header {
        padding: 8px 15px;
        z-index: 9999 !important;
        background: #fff !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
        position: sticky !important;
    }

    .header-container {
        position: relative;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 10px;
        z-index: 10001 !important;
    }

    /* Mobile Menu Toggle - Show on mobile - highest z-index to stay above menu */
    .mobile-menu-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 45px;
        height: 45px;
        background: #1b2587;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        z-index: 100005 !important;
        position: relative !important;
    }

    .mobile-menu-toggle span {
        width: 26px;
        height: 3px;
        background: #ffffff;
        transition: all 0.3s ease;
        border-radius: 3px;
        display: block;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
        background: #c9a227;
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
        background: #c9a227;
    }

    /* Logo - Center */
    .logo {
        order: 2;
        flex: 1;
        display: flex !important;
        justify-content: center;
        align-items: center;
    }

    .logo img {
        height: 50px !important;
    }

    .logo-text h1 {
        font-size: 14px !important;
    }

    .logo-text span {
        display: none;
    }

    /* Menu Toggle - Left */
    .mobile-menu-toggle {
        order: 1;
    }

    /* Contact - Right */
    .contact-info {
        order: 3;
    }

    .contact-info .phone,
    .contact-info .phone-icon {
        display: none;
    }

    .contact-info .get-touch-btn {
        padding: 8px 12px !important;
        font-size: 12px;
    }

    .contact-info .get-touch-btn span:first-child {
        display: none;
    }

    .contact-info .arrow-circle {
        width: 32px;
        height: 32px;
        display: flex !important;
    }

    /* Navigation Menu - Slide-in from left */
    body .header .nav-links,
    body ul.nav-links,
    body .nav-links,
    header.header .nav-links {
        display: flex !important;
        position: fixed !important;
        top: 0 !important;
        left: -320px !important;
        /* Fixed width hidden state */
        height: 100vh !important;
        width: 280px !important;
        background: #ffffff !important;
        flex-direction: column !important;
        padding: 80px 25px 40px !important;
        box-shadow: 10px 0 50px rgba(0, 0, 0, 0.3) !important;
        z-index: 1000001 !important;
        overflow-y: auto !important;
        margin: 0 !important;
        list-style: none !important;
        transition: left 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
        pointer-events: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }

    /* When active, slide the menu in */
    body.menu-open .nav-links,
    body .nav-links.active,
    .nav-links.active,
    ul.nav-links.active,
    header.header .nav-links.active,
    header.header .nav-links.active {
        left: 0 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        opacity: 1 !important;
        display: flex !important;
    }

    /* Mobile Menu Close Button - Premium Style */
    .mobile-menu-close-btn {
        display: flex !important;
        position: absolute !important;
        top: 20px !important;
        right: 20px !important;
        width: 40px !important;
        height: 40px !important;
        background: #1b2587 !important;
        color: white !important;
        border-radius: 50% !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 20px !important;
        cursor: pointer !important;
        z-index: 1000003 !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
    }

    /* Menu Overlay - Layered below everything else fixed */
    .menu-overlay {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: rgba(0, 0, 0, 0.8) !important;
        z-index: 9990 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: all 0.3s ease !important;
    }

    .menu-overlay.active {
        opacity: 1 !important;
        visibility: visible !important;
    }

    ul.nav-links li {
        width: 100% !important;
        margin: 0 !important;
        border-bottom: 1px solid #eeeeee !important;
        display: block !important;
    }

    ul.nav-links li:last-child {
        border-bottom: none !important;
    }

    ul.nav-links a {
        display: block !important;
        width: 100% !important;
        padding: 18px 15px !important;
        font-size: 17px !important;
        font-weight: 700 !important;
        color: #000000 !important;
        text-decoration: none !important;
        background: #ffffff !important;
        border-radius: 0 !important;
        box-sizing: border-box !important;
        border-bottom: 1px solid #f0f0f0 !important;
    }

    ul.nav-links a:hover,
    ul.nav-links a:focus,
    ul.nav-links a:active {
        background: #1b2587 !important;
        color: #ffffff !important;
    }

    ul.nav-links a::after {
        display: none !important;
    }

    /* Mobile dropdown - Add chevron icon */
    .dropdown {
        position: relative !important;
        width: 100% !important;
        overflow: visible !important;
    }

    .dropdown>a .bi-chevron-down {
        float: right;
        transition: transform 0.3s;
    }

    .dropdown.active>a .bi-chevron-down {
        transform: rotate(180deg);
    }

    .dropdown-menu-new {
        display: none !important;
        position: static !important;
        width: 100% !important;
        background: #f5f7fa !important;
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
        opacity: 0;
        visibility: hidden;
    }

    .dropdown.active>.dropdown-menu-new,
    .nav-links .dropdown.active .dropdown-menu-new {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        max-height: none !important;
    }

    .dropdown-menu-new li {
        border-bottom: 1px solid #e8e8e8 !important;
    }

    .dropdown-menu-new li a {
        padding: 13px 25px !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        color: #444 !important;
        background: transparent !important;
    }

    .dropdown-menu-new li a:hover {
        color: #1b2587 !important;
        background: #e8eef4 !important;
    }

    body.menu-open {
        overflow: hidden !important;
    }

    .features {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 20px;
        margin-top: 30px;
        gap: 15px;
    }

    .services {
        padding: 50px 25px;
        margin: 15px;
        border-radius: 18px;
    }

    .service-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .hero {
        margin: 15px;
        border-radius: 18px;
        height: 500px;
    }
}

/* Tablet Portrait and Below - Premium Mobile */
@media (max-width: 768px) {
    .header {
        padding: 8px 12px;
    }

    .header-container {
        padding: 0 10px;
    }

    .logo img {
        height: 45px !important;
    }

    .logo-text h1 {
        font-size: 12px !important;
    }

    .logo-text span {
        display: none;
    }

    /* Mobile Menu Toggle */
    .mobile-menu-toggle {
        width: 38px;
        height: 38px;
        padding: 8px;
    }

    .mobile-menu-toggle span {
        width: 20px;
        height: 2.5px;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(4px, 4px);
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* Contact Info */
    .contact-info .get-touch-btn {
        padding: 6px 10px !important;
    }

    .contact-info .arrow-circle {
        width: 28px;
        height: 28px;
    }

    /* Hero */
    .hero {
        height: 400px;
        margin: 10px;
        border-radius: 14px;
    }

    .hero h1 {
        font-size: 26px;
        line-height: 1.3;
    }

    .slide-content {
        width: 92%;
        left: 4%;
        top: 38%;
    }

    .slide-label {
        font-size: 9px;
        padding: 5px 12px;
        margin-bottom: 10px;
    }

    .subtitle {
        font-size: 14px;
        margin-bottom: 18px;
    }

    .contact-btn {
        font-size: 12px;
        padding: 8px 14px 8px 16px;
    }

    .contact-btn img {
        width: 28px;
        height: 28px;
    }

    .slider-nav {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .slider-nav.prev {
        left: 8px;
    }

    .slider-nav.next {
        right: 8px;
    }

    .slider-dots-container {
        right: 8px;
        padding: 10px 6px;
    }

    /* Features */
    .features {
        grid-template-columns: 1fr;
        padding: 0 15px;
        margin-top: 25px;
        gap: 14px;
    }

    .feature-card {
        padding: 18px;
    }

    .feature-icon {
        height: 45px;
    }

    .feature-card h3 {
        font-size: 15px;
    }

    .feature-card p {
        font-size: 13px;
    }

    /* Who We Are */
    .who-we-are {
        padding: 40px 15px;
    }

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

    .who-image-column {
        padding-right: 0;
        padding-bottom: 15px;
    }

    .main-image {
        height: 250px;
        border-radius: 14px;
    }

    .experience-badge {
        padding: 12px 16px;
        bottom: 12px;
        right: 12px;
        border-radius: 12px;
    }

    .experience-badge .years {
        font-size: 24px;
    }

    .experience-badge .text {
        font-size: 8px;
    }

    .who-content-column h2 {
        font-size: 22px;
        margin: 12px 0 15px;
    }

    .who-description p {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .tabs-new {
        gap: 6px;
        overflow-x: auto;
        padding-bottom: 8px;
    }

    .tab-item {
        font-size: 12px;
        padding: 8px 12px;
        white-space: nowrap;
    }

    .tab-content-wrapper {
        margin-top: 15px;
    }

    .feature-list li {
        font-size: 13px;
    }

    .who-stats {
        flex-direction: column;
        gap: 12px;
        padding: 15px;
        border-radius: 12px;
    }

    .stat-item h4 {
        font-size: 20px;
    }

    .stat-item p {
        font-size: 11px;
    }

    .who-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        margin-top: 20px;
    }

    .btn-primary-new {
        width: 100%;
        justify-content: space-between;
        padding: 12px 18px;
        font-size: 14px;
    }

    /* Services */
    .services {
        padding: 35px 15px;
        margin: 12px;
        margin-bottom: 0;
        border-radius: 14px;
    }

    .services h2 {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .services p {
        font-size: 13px;
    }

    .services-header-revamp {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        margin-bottom: 25px;
    }

    .services-header-revamp h2 {
        font-size: 22px;
    }

    .header-action {
        width: 100%;
    }

    .explore-btn {
        width: 100%;
        justify-content: space-between;
        padding: 10px 14px 10px 18px;
        font-size: 13px;
    }

    .services-grid-revamp {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .service-item-revamp {
        border-radius: 16px;
    }

    .item-visual {
        height: 160px;
    }

    .item-number {
        width: 36px;
        height: 36px;
        font-size: 13px;
        top: 12px;
        right: 12px;
    }

    .item-content {
        padding: 18px;
    }

    .item-content h3 {
        font-size: 16px;
    }

    .item-content p {
        font-size: 12px;
        margin-bottom: 14px;
    }

    /* How We Work */
    .how-we-work {
        padding: 35px 15px;
        margin-top: 25px;
    }

    .how-we-work h2 {
        font-size: 20px;
        margin-bottom: 18px;
    }

    .latest-blog-badge {
        font-size: 10px;
        padding: 4px 10px;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .step-number .number {
        font-size: 50px;
    }

    .step h3 {
        font-size: 15px;
    }

    .step p {
        font-size: 13px;
    }

    .step-divider {
        display: none;
    }

    /* FAQ */
    .faq {
        flex-direction: column;
        padding: 25px 15px;
        gap: 18px;
    }

    .faq-image {
        width: 100%;
        height: 200px;
        border-radius: 12px;
    }

    .faq-question h3 {
        font-size: 13px;
    }

    /* Testimonials */
    .testimonials {
        padding: 35px 15px;
    }

    .testimonials h2 {
        font-size: 20px;
    }

    .testimonial-cards {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    /* Partners */
    .partners {
        padding: 25px 15px;
    }

    .partners .get-touch-btn {
        margin-top: -30px;
    }

    .partners-details {
        flex-direction: column;
        gap: 8px;
        margin: 18px 0;
    }

    .partners-details p {
        font-size: 14px;
    }

    .partners-logo {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .partners-logo img {
        max-width: 80px;
        height: auto;
    }

    /* Gallery */
    .gallery {
        padding: 25px 15px;
    }

    .gallery h2 {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .gallery-container {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .gallery-item {
        height: 220px;
        border-radius: 12px;
    }

    /* Articles */
    .articles {
        padding: 25px 15px;
    }

    .articles h2 {
        font-size: 20px;
    }

    .articles-header-new {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .articles-header-new h2 {
        font-size: 20px;
    }

    .articles-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .article-card-new {
        flex-direction: column;
    }

    .article-card-new h3 {
        font-size: 14px;
    }

    .article-img {
        height: 140px;
        width: 100%;
    }

    .article-info {
        padding: 14px;
    }

    .article-meta {
        font-size: 11px;
        gap: 10px;
    }

    .article-excerpt {
        font-size: 13px;
    }

    .bg-img-town {
        display: none;
    }

    /* Footer */
    .footer {
        padding: 30px 12px 18px;
        margin: 10px;
        border-radius: 16px 16px 0 0;
    }

    .footer-top {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .footer-logo-section {
        text-align: left;
        min-width: auto;
        width: 100%;
        flex-direction: row;
        gap: 8px;
    }

    .footer-logo img {
        height: 45px;
    }

    .footer-columns {
        width: 100%;
        flex-direction: column;
        gap: 20px;
        margin-top: 8px;
    }

    .footer-col {
        width: 100%;
    }

    .footer-col h3 {
        font-size: 14px;
        margin-bottom: 12px;
        padding-bottom: 6px;
    }

    .footer-col ul li {
        margin-bottom: 8px;
    }

    .footer-col ul li a {
        font-size: 13px;
    }

    .contact-info-list li {
        font-size: 12px;
    }

    .contact-info-list img {
        width: 16px !important;
        height: 16px !important;
    }

    /* Newsletter */
    .footer-newsletter {
        flex-direction: column;
        gap: 15px;
        padding: 18px 15px;
        align-items: flex-start;
        border-radius: 12px;
        margin-bottom: 25px;
    }

    .newsletter-text {
        width: 100%;
        min-width: auto;
    }

    .newsletter-text p {
        font-size: 16px;
    }

    .newsletter-divider {
        display: none;
    }

    .newsletter-form-wrapper {
        width: 100%;
        min-width: auto;
        justify-content: flex-start;
    }

    .newsletter-form {
        max-width: 100%;
        flex-direction: row;
        gap: 5px;
        padding: 4px;
        border-radius: 50px;
    }

    .newsletter-form input {
        padding: 8px 10px;
        font-size: 12px;
    }

    .newsletter-form button {
        padding: 8px 14px;
        font-size: 11px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        align-items: center;
        font-size: 11px;
    }

    .footer-links {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .header {
        padding: 6px 10px;
    }

    .header-container {
        padding: 0 8px;
    }

    .logo img {
        height: 40px !important;
    }

    .logo-text h1 {
        font-size: 11px !important;
    }

    .logo-text span {
        display: none;
    }

    /* Mobile Menu Toggle */
    .mobile-menu-toggle {
        width: 34px;
        height: 34px;
    }

    .mobile-menu-toggle span {
        width: 18px;
        height: 2px;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(3px, 3px);
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(4px, -4px);
    }

    /* Contact Info */
    .contact-info .get-touch-btn {
        padding: 5px 8px !important;
    }

    .contact-info .arrow-circle {
        width: 26px;
        height: 26px;
    }

    .contact-info .arrow-circle svg {
        width: 14px;
        height: 14px;
    }

    /* Hero */
    .hero {
        height: 320px;
        margin: 8px;
        border-radius: 12px;
    }

    .hero h1 {
        font-size: 22px;
    }

    .slide-content {
        width: 95%;
        left: 2.5%;
    }

    .slide-label {
        font-size: 8px;
        padding: 3px 10px;
    }

    .subtitle {
        font-size: 12px;
    }

    .contact-btn {
        font-size: 11px;
        padding: 6px 10px 6px 12px;
    }

    .contact-btn img {
        width: 24px;
        height: 24px;
    }

    .slider-nav {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    /* Nav Links - Mobile */
    .nav-links {
        width: 80%;
        max-width: 280px;
        padding: 70px 20px 25px;
    }

    .nav-links a {
        padding: 12px 8px;
        font-size: 14px;
    }

    .dropdown-menu-new li a {
        padding: 10px 12px;
        font-size: 13px;
    }

    /* Features */
    .feature-card {
        padding: 15px;
    }

    .feature-card h3 {
        font-size: 14px;
    }

    .feature-card p {
        font-size: 12px;
    }

    .feature-icon {
        height: 40px;
    }

    .feature-icon img {
        width: 20px;
        height: 20px;
    }

    /* Who We Are */
    .who-container {
        gap: 20px;
    }

    .main-image {
        height: 200px;
    }

    .who-content-column h2 {
        font-size: 20px;
    }

    .tab-item {
        font-size: 11px;
        padding: 7px 10px;
    }

    /* Services */
    .services h2 {
        font-size: 20px;
    }

    .services {
        padding: 28px 12px;
        margin: 10px;
    }

    .item-visual {
        height: 140px;
    }

    .item-content h3 {
        font-size: 15px;
    }

    /* How We Work */
    .how-we-work h2 {
        font-size: 18px;
    }

    .how-we-work {
        padding: 28px 12px;
    }

    .step h3 {
        font-size: 14px;
    }

    .step p {
        font-size: 12px;
    }

    /* FAQ */
    .faq-question h3 {
        font-size: 13px;
    }

    /* Testimonials */
    .testimonials h2,
    .gallery h2,
    .articles h2 {
        font-size: 18px;
    }

    .testimonial-card {
        padding: 15px;
    }

    .testimonial-card p {
        font-size: 13px;
    }

    /* Gallery */
    .gallery-item {
        height: 180px;
    }

    /* Articles */
    .article-img {
        height: 120px;
    }

    .article-info h3 {
        font-size: 13px;
    }

    /* Footer */
    .footer {
        padding: 25px 10px 15px;
        margin: 8px;
    }

    .footer-logo img {
        height: 40px;
    }

    .footer-col h3 {
        font-size: 13px;
    }

    .footer-col ul li a {
        font-size: 12px;
    }

    .newsletter-text p {
        font-size: 14px;
    }

    .newsletter-form input {
        padding: 7px 8px;
        font-size: 11px;
    }

    .newsletter-form button {
        padding: 7px 12px;
        font-size: 10px;
    }

    .footer-bottom {
        font-size: 10px;
    }

    .partners-logo img {
        max-width: 70px;
    }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
    .hero {
        height: 280px;
    }

    .hero h1 {
        font-size: 18px;
    }

    .logo img {
        height: 36px !important;
    }

    .logo-text h1 {
        font-size: 10px !important;
    }

    .mobile-menu-toggle {
        width: 32px;
        height: 32px;
    }

    .mobile-menu-toggle span {
        width: 16px;
    }

    .who-content-column h2 {
        font-size: 18px;
    }

    .services h2,
    .how-we-work h2 {
        font-size: 16px;
    }

    .services,
    .how-we-work {
        padding: 22px 10px;
    }

    .item-visual {
        height: 120px;
    }

    .item-content h3 {
        font-size: 14px;
    }
}