:root {
    --theme-bg: #2C2F32;
    --gradient-start: #2C2F32;
    --gradient-end: #1E2022;
    --overlay1-start: rgba(0, 102, 204, 0.9);
    --overlay1-end: rgba(0, 60, 150, 0.6);
    --overlay2-start: rgba(0, 80, 170, 0.5);
    --overlay2-end: rgba(0, 40, 100, 0.2);
    --overlay3-start: rgba(0, 120, 255, 0.3);
    --overlay3-end: rgba(0, 60, 140, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Montserrat", sans-serif;
    color: white;
    background-color: #2C2F32;
}

.product-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Hero Section */
.hero-section {
    background: #0074B7;
    color: white;
    padding: 60px 40px;
    border-radius: 15px;
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: #2C2F32;
    letter-spacing: 2px;
}

.hero-content .subtitle {
    font-size: 1.4rem;
    margin-bottom: 30px;
    color: rgb(216, 212, 212);
    opacity: 0.9;
}

.highlights {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.highlight-item {
    background: #2C2F32;
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.highlight-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #3498db;
}

.hero-image {
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Application Section */
.application-section {
    background: #2C2F32;
    padding: 50px 40px;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 5px 15px rgba(34, 112, 131, 0.63);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.section-title {
    font-size: 2.5rem;
    color: #0074B7;
    margin-bottom: 30px;
    font-weight: 700;
}

.application-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: white;
}

.application-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Features Section */
.features-section {
    background: #2C2F32;
    padding: 50px 40px;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 5px 15px rgba(34, 112, 131, 0.63);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-item {
    padding: 25px 0;
    border-top: 2px dotted #3498db;
    background: #2C2F32;
}

.feature-item h3 {
    color: #0074B7;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-item p {
    color: #FFFFFF;
    line-height: 1.6;
}

/* Specifications Section */
.specs-section {
    background: #2C2F32;
    padding: 50px 40px;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 5px 15px rgba(34, 112, 131, 0.63);
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
}

.specs-table th {
    background: #3498db;
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.specs-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e0e0e0;
}

.specs-table tr:nth-child(even) {
    background: #2C2F32;
}

.note {
    background: #2C2F32;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 4px solid #0074B7;
}

/* Loading State */
.loading {
    text-align: center;
    padding: 60px 20px;
    font-size: 1.2rem;
    color: #666;
}

.error {
    text-align: center;
    padding: 60px 20px;
    color: #e74c3c;
    font-size: 1.2rem;
}

/* Back to Products */
.back-button {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    margin-bottom: 20px;
    transition: background 0.3s ease;
}

.back-button:hover {
    background: #2980b9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 40px 20px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .application-section {
        grid-template-columns: 1fr;
        padding: 30px 20px;
    }

    .section-title {
        font-size: 2rem;
    }

    .specs-table {
        font-size: 0.9rem;
    }

    .specs-table th,
    .specs-table td {
        padding: 8px 10px;
    }
}

@media (max-width: 480px) {
    .product-page {
        padding: 10px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Small Mobile Screens (320px to 480px) */
/* Small Mobile Screens (320px to 480px) */
@media (max-width: 480px) {
    .product-page {
        padding: 10px;
    }
    
    .hero-section {
        padding: 20px 15px;
        gap: 20px;
        margin-bottom: 25px;
        border-radius: 12px;
        display: flex;
        flex-direction: column;
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-image {
        order: 2;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }
    
    .hero-content .subtitle {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    .highlights {
        gap: 12px;
    }
    
    .highlight-item {
        padding: 12px;
        border-radius: 8px;
    }
    
    .highlight-item h3 {
        font-size: 1rem;
        margin-bottom: 5px;
    }
    
    .highlight-item p {
        font-size: 0.9rem;
    }
    
    .hero-image img {
        border-radius: 8px;
        width: 100%;
        height: auto;
        max-height: 250px;
        object-fit: cover;
    }
    
    .application-section {
        padding: 20px 15px;
        gap: 20px;
        margin-bottom: 25px;
        border-radius: 12px;
        display: flex;
        flex-direction: column;
    }
    
    .application-content {
        order: 1;
    }
    
    .application-image {
        order: 2;
        text-align: center;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .application-content {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .application-image img {
        border-radius: 8px;
        width: 100%;
        height: auto;
        max-height: 200px;
        object-fit: cover;
    }
    
    /* Fix Features Section for Mobile */
    .features-section {
        padding: 20px 15px;
        margin-bottom: 25px;
        border-radius: 12px;
    }
    
    .features-grid {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .feature-item {
        padding: 15px;
        margin: 0;
    }
    
    .feature-item h3 {
        font-size: 1rem;
        margin-bottom: 8px;
        font-weight: 600;
        line-height: 1.3;
    }
    
    .feature-item p {
        font-size: 0.85rem;
        line-height: 1.5;
        margin: 0;
    }
    
    .specs-section {
        padding: 20px 15px;
        margin-bottom: 25px;
        border-radius: 12px;
    }

    /* Table adjustments for small screens - NO SCROLL */
    .specs-table {
        width: 100%;
        font-size: 0.75rem;
    }
    
    .specs-table th {
        padding: 8px 6px;
        font-size: 0.7rem;
    }
    
    .specs-table td {
        padding: 6px 4px;
        font-size: 0.7rem;
    }
    
    .note {
        padding: 12px;
        margin: 15px 0;
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .back-button {
        padding: 8px 16px;
        font-size: 0.85rem;
        margin-bottom: 15px;
    }
    
    .loading,
    .error {
        padding: 30px 15px;
        font-size: 0.9rem;
    }
}

/* Extra Small Mobile Screens (below 320px) */
@media (max-width: 319px) {
    .product-page {
        padding: 8px;
    }
    
    .hero-section {
        padding: 15px 10px;
    }
    
    .hero-content h1 {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .features-section {
        padding: 15px 10px;
    }
    
    .feature-item {
        padding: 12px;
    }
    
    .feature-item h3 {
        font-size: 0.95rem;
    }
    
    .feature-item p {
        font-size: 0.8rem;
    }
    
    .specs-table th,
    .specs-table td {
        padding: 5px 3px;
        font-size: 0.65rem;
    }
}
  
.info-bar {
    background: #2C2F32;
    /* Primary dark charcoal */
    color: #FFFFFF;
    font-size: 14px;
    margin-top: 0;
}

.info-container {
    display: flex;
    justify-content: space-between;
    background-color: #3E4347;
    padding: 5px;
    margin-top: 0;
    align-items: center;
    width: 90%;
    margin: auto;
}

.info-links a {
    color: #EAECEE;
    /* Off-white text */
    margin-left: 15px;
    text-decoration: none;
    transition: color 0.3s;
}

.info-links a:hover {
    color: #0074B7;
    /* Steel blue hover */
}

.info-links a i {
    margin-right: 5px;
    color: #0074B7;
    /* Accent icons */
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #2C2F32;
    /* Primary dark */
    color: #FFFFFF;
    position: sticky;
    top: 0;
    z-index: 999;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    margin: 10px;
}

.nav-logo img {
    height: 60px;
    width: auto;
    padding: 5px;
    filter: brightness(1.65) contrast(1.3);
    /* Slightly stronger boost */
    transition: filter 0.3s ease, transform 0.3s ease;
}


.logo i {
    color: #0074B7;
    /* Accent color */
}

/* Links */
.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: #FFFFFF;
    padding: 10px 15px;
    display: flex;
    gap: 5px;
    align-items: center;
    transition: color 0.3s;
}

.nav-links a i {
    margin-right: 5px;
    color: #0074B7;
    /* Subtle blue icon accent */
}

.nav-links a:hover {
    color: #0074B7;
    /* Steel blue hover */
    border-radius: 5px;
}

/* Get in Touch Button */
.get-in-touch-btn {
    background: #0074B7;
    /* Primary blue accent */
    color: #FFFFFF;
    border: none;
    margin-right: 5px;
    padding: 10px;
    border-radius: 45px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s;
}

.get-in-touch-btn:hover {
    background: #005A8E;
    /* Deep marine hover */
}

/* Dropdown */
.dropdown-menu {
    display: none;
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #3E4347;
    /* Graphite gray dropdown */
    color: #FFFFFF;
    flex-direction: column;
    min-width: 150px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.dropdown-menu li a {
    padding: 10px;
    color: #FFFFFF;
    transition: background 0.3s, color 0.3s;
}

.dropdown-menu li a:hover {
    background: #0074B7;
    /* Highlight hover */
    color: #FFFFFF;
}

/* Burger */
/* Burger - Fixed Spacing */
.burger {
    display: none;
    cursor: pointer;
    background: #3E4347;
    /* Graphite gray dropdown */
    color: #FFFFFF;
    border: none;
    border-radius: 5px;
    padding: 12px 15px;
    margin: 10px 15px;
    transition: all 0.3s ease;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    height: 44px;
}

.burger span {
    font-size: 24px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive Spacing Fixes */
@media (max-width: 768px) {
    .burger {
        display: flex;
        margin: 8px 12px;
        padding: 10px 13px;
        height: 42px;
        min-width: 46px;
    }

    .burger span {
        font-size: 22px;
    }
}

@media (max-width: 650px) {
    .burger {
        margin: 6px 10px;
        padding: 8px 11px;
        height: 40px;
        min-width: 44px;
    }

    .burger span {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .burger {
        margin: 5px 8px;
        padding: 7px 10px;
        height: 38px;
        min-width: 42px;
    }

    .burger span {
        font-size: 18px;
    }
}

@media (max-width: 375px) {
    .burger {
        margin: 4px 6px;
        padding: 6px 8px;
        height: 36px;
        min-width: 40px;
    }

    .burger span {
        font-size: 16px;
    }
}

@media (max-width: 320px) {
    .burger {
        margin: 3px 5px;
        padding: 5px 7px;
        height: 34px;
        min-width: 38px;
    }

    .burger span {
        font-size: 14px;
    }
}

/* Enhanced Responsive Design for All Screens */

/* Large Desktop (1200px+) */
@media (min-width: 1201px) {
    .navbar {
        padding: 0 40px;
    }

    .nav-logo img {
        height: 65px;
    }

    .nav-links a {
        padding: 12px 18px;
        font-size: 1.05rem;
    }

    .get-in-touch-btn {
        padding: 12px 24px;
        font-size: 1.05rem;
    }
}

/* Standard Desktop (1024px - 1200px) */
@media (max-width: 1200px) and (min-width: 1025px) {
    .navbar {
        padding: 0 30px;
    }

    .nav-links a {
        padding: 10px 14px;
        font-size: 1rem;
    }

    .get-in-touch-btn {
        padding: 10px 20px;
    }
}

/* Small Desktop (900px - 1024px) */
@media (max-width: 1024px) and (min-width: 901px) {
    .navbar {
        padding: 0 25px;
    }

    .nav-links a {
        padding: 8px 12px;
        font-size: 0.95rem;
    }

    .get-in-touch-btn {
        padding: 8px 18px;
        font-size: 0.95rem;
    }

    .nav-logo img {
        height: 55px;
    }
}

/* Tablet Landscape (768px - 900px) */
@media (max-width: 900px) and (min-width: 769px) {
    .navbar {
        padding: 0 20px;
    }

    .nav-links a {
        padding: 8px 10px;
        font-size: 0.9rem;
    }

    .get-in-touch-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .nav-logo img {
        height: 50px;
    }

    .info-container {
        width: 95%;
    }
}

/* Tablet (768px) - Your existing breakpoint */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0;
        top: 100%;
        background: #2C2F32;
        height: 0;
        overflow: hidden;
        flex-direction: column;
        width: 100%;
        transition: height 0.3s ease;
    }

    .nav-links.open {
        height: auto;
    }

    .nav-links li {
        text-align: center;
        width: 100%;
    }

    .nav-links a {
        padding: 15px 20px;
        justify-content: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .dropdown-menu {
        position: relative;
        top: 0;
        width: 100%;
        background: #3E4347;
    }

    .burger {
        display: flex;
        align-items: center;
        padding: 10px 15px;
    }

    /* Info Bar Responsive */
    .info-container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        padding: 10px;
    }

    .info-links a {
        margin: 0 10px;
        display: inline-block;
    }

    .nav-logo img {
        height: 50px;
    }

    .get-in-touch-btn {
        background-color: transparent;
    }
}

/* Large Mobile (650px - 768px) */
@media (max-width: 768px) and (min-width: 651px) {
    .navbar {
        padding: 0 15px;
    }

    .nav-logo img {
        height: 48px;
    }

    .burger {
        padding: 8px 12px;
    }

    .info-container {
        padding: 8px;
    }

    .get-in-touch-btn {
        background-color: transparent;
    }
}

/* Mobile (480px - 650px) */
@media (max-width: 650px) and (min-width: 481px) {
    .navbar {
        padding: 0 12px;
    }

    .nav-logo img {
        height: 45px;
    }

    .burger {
        padding: 6px 10px;
        font-size: 0.9rem;
    }

    .nav-links a {
        padding: 12px 15px;
        font-size: 0.95rem;
    }

    .info-container {
        padding: 6px;
    }

    .info-links a {
        margin: 0 8px;
        font-size: 0.9rem;
    }

    .get-in-touch-btn {
        background-color: transparent;
    }
}

/* Small Mobile (375px - 480px) */
@media (max-width: 480px) and (min-width: 376px) {
    .navbar {
        padding: 0 10px;
    }

    .nav-logo img {
        height: 42px;
    }

    .burger {
        padding: 5px 8px;
        font-size: 0.85rem;
    }

    .nav-links a {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .info-container {
        padding: 5px;
    }

    .info-links a {
        margin: 0 6px;
        font-size: 0.85rem;
    }

    .get-in-touch-btn {
        margin-right: 3px;
        padding: 8px 12px;
        font-size: 0.85rem;
        background-color: transparent;
    }
}

/* Extra Small Mobile (320px - 375px) */
@media (max-width: 375px) and (min-width: 321px) {
    .navbar {
        padding: 0 8px;
    }

    .nav-logo img {
        height: 40px;
    }

    .burger {
        padding: 4px 6px;
        font-size: 0.8rem;
    }

    .nav-links a {
        padding: 8px 10px;
        font-size: 0.85rem;
    }

    .info-container {
        padding: 4px;
        width: 98%;
    }

    .info-links a {
        margin: 0 4px;
        font-size: 0.8rem;
    }

    .get-in-touch-btn {
        margin-right: 2px;
        padding: 6px 10px;
        font-size: 0.8rem;
        background-color: transparent;
    }
}

/* Ultra Small Mobile (below 320px) */
@media (max-width: 320px) {
    .navbar {
        padding: 0 5px;
    }

    .nav-logo img {
        height: 38px;
    }

    .burger {
        padding: 3px 5px;
        font-size: 0.75rem;
    }

    .nav-links a {
        padding: 6px 8px;
        font-size: 0.8rem;
    }

    .info-container {
        padding: 3px;
        width: 99%;
        flex-direction: column;
        gap: 5px;
    }

    .info-links a {
        margin: 0 3px;
        font-size: 0.75rem;
        display: block;
    }

    .get-in-touch-btn {
        margin-right: 1px;
        padding: 5px 8px;
        font-size: 0.75rem;
        background-color: transparent;
    }
}

/* Ultra Wide Screens (1920px+) */
@media (min-width: 1920px) {
    .navbar {
        padding: 0 60px;
    }

    .nav-logo img {
        height: 70px;
    }

    .nav-links a {
        padding: 15px 22px;
        font-size: 1.1rem;
    }

    .get-in-touch-btn {
        padding: 15px 28px;
        font-size: 1.1rem;
    }

    .info-container {
        width: 85%;
        padding: 8px;
    }
}

/* Info Bar Specific Responsive */
@media (max-width: 480px) {
    .info-bar {
        font-size: 12px;
    }

    .info-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }

    .info-links a {
        margin: 2px 4px;
    }
}

/* Landscape Mobile Optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .nav-links {
        max-height: 70vh;
        overflow-y: auto;
    }

    .nav-links a {
        padding: 10px 15px;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {

    .nav-links,
    .nav-logo img,
    .info-links a,
    .get-in-touch-btn {
        transition: none;
    }

    .nav-links a:hover,
    .get-in-touch-btn:hover {
        transform: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .navbar {
        background: #000000;
        border-bottom: 2px solid #FFFFFF;
    }

    .nav-links a {
        color: #FFFFFF;
    }

    .nav-links a:hover {
        background: #FFFFFF;
        color: #000000;
    }
}

/* Print Styles */
@media print {

    .info-bar,
    .navbar {
        display: none;
    }
}

/* Contact Drawer - High Specificity */
.contact-drawer {
    position: fixed !important;
    top: 0 !important;
    right: -450px !important;
    width: 450px !important;
    height: 100vh !important;
    background: #2C2F32 !important;
    /* Core dark charcoal */
    box-shadow: -2px 0 15px rgba(0, 0, 0, 0.25) !important;
    color: #FFFFFF !important;
    z-index: 10000 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    pointer-events: auto !important;
    isolation: isolate !important;
    box-sizing: border-box !important;
}

.contact-drawer-content {
    padding: 2rem;
    position: relative;
    color: #FFFFFF;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.contact-drawer-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #EAECEE;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    transition: color 0.3s;
}

.contact-drawer-close:hover {
    color: #0074B7;
    /* Accent blue hover */
}

/* Contact Form Overlay */
.contact-drawer-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.6) !important;
    z-index: 9999 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.contact-drawer-overlay.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* Contact Form Styles */
.contact-form-header {
    margin-bottom: 2rem;
    padding-right: 2rem;
    width: 100%;
    box-sizing: border-box;
}

.contact-form-header h2 {
    color: #FFFFFF;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.contact-form-header p {
    color: #B0B3B8;
    margin: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    color: #FFFFFF;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
}

.form-group {
    display: flex;
    flex-direction: column;
    color: #FFFFFF;
    width: 100%;
    box-sizing: border-box;
}

.error-message {
    color: #E53935;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: block;
    min-height: 1rem;
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

.error-message.show {
    opacity: 1;
    transform: translateY(0);
}

/* Field Focus States */
.form-group input:focus:invalid,
.form-group select:focus:invalid,
.form-group textarea:focus:invalid {
    box-shadow: 0 0 0 0.2rem rgba(229, 57, 53, 0.25);
}

.form-group input:focus:valid,
.form-group select:focus:valid,
.form-group textarea:focus:valid {
    box-shadow: 0 0 0 0.2rem rgba(0, 116, 183, 0.25);
}

/* Form Row with Side-by-Side Fields */
.form-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1rem;
    width: 100%;
    box-sizing: border-box;
}

/* Ensure form groups within form-row stay contained */
.form-row .form-group {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #EAECEE;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 1px solid #555A5F;
    background-color: transparent;
    color: #FFFFFF;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0074B7;
    /* Steel blue focus */
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
    color: #FFFFFF;
}

/* Submit Button */
.submit-btn {
    background: #0074B7;
    /* Primary blue accent */
    color: #FFFFFF;
    border: none;
    padding: 15px;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 1rem;
    width: 100%;
    box-sizing: border-box;
}

.submit-btn:hover {
    background: #005A8E;
    /* Deep hover */
}

.submit-btn:disabled {
    background: #A0A0A0;
    cursor: not-allowed;
}

/* Loading state for submit button */
.submit-btn.loading {
    background: #5C636A;
    cursor: not-allowed;
    position: relative;
}

.submit-btn.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid #FFFFFF;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    right: 20px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Body scroll lock */
body.contact-drawer-open {
    overflow: hidden !important;
}

/* Success and Error States */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #E53935;
}

.form-group input.success,
.form-group select.success,
.form-group textarea.success {
    border-color: #28a745;
}

/* Success Message */
.form-success-message {
    width: 100%;
    box-sizing: border-box;
}

/* Responsive Design for All Screens */
@media (max-width: 1200px) {
    .contact-drawer {
        width: 400px !important;
        right: -400px !important;
    }
}

@media (max-width: 992px) {
    .contact-drawer {
        width: 380px !important;
        right: -380px !important;
    }

    .contact-drawer-content {
        padding: 1.75rem;
    }
}

@media (max-width: 768px) {
    .contact-drawer {
        width: 100% !important;
        right: -100% !important;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .contact-drawer-content {
        padding: 1.5rem;
    }

    .contact-form-header {
        margin-bottom: 1.5rem;
        padding-right: 1rem;
    }

    .contact-form-header h2 {
        font-size: 1.375rem;
    }

    .contact-form {
        gap: 8px;
    }
}

@media (max-width: 576px) {
    .contact-drawer-content {
        padding: 1.25rem;
    }

    .contact-drawer-close {
        top: 0.75rem;
        right: 0.75rem;
        width: 35px;
        height: 35px;
        font-size: 1.75rem;
    }

    .contact-form-header {
        margin-bottom: 1.25rem;
        padding-right: 0;
    }

    .contact-form-header h2 {
        font-size: 1.25rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px;
        font-size: 0.95rem;
    }

    .submit-btn {
        padding: 12px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .contact-drawer-content {
        padding: 1rem;
    }

    .contact-drawer-close {
        top: 0.5rem;
        right: 0.5rem;
        width: 32px;
        height: 32px;
        font-size: 1.5rem;
    }

    .contact-form-header {
        margin-bottom: 1rem;
    }

    .contact-form-header h2 {
        font-size: 1.125rem;
    }

    .contact-form-header p {
        font-size: 0.9rem;
    }

    .form-group label {
        font-size: 0.85rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 8px;
        font-size: 0.9rem;
    }

    .submit-btn {
        padding: 10px;
        font-size: 0.9rem;
    }

    .error-message {
        font-size: 0.75rem;
    }

    .form-row {
        gap: 0.5rem;
    }
}

@media (max-width: 360px) {
    .contact-drawer-content {
        padding: 0.75rem;
    }

    .contact-form {
        gap: 8px;
    }

    .form-row {
        gap: 0.75rem;
    }

    .contact-form-header h2 {
        font-size: 1rem;
    }

    .contact-form-header p {
        font-size: 0.85rem;
    }
}

/* Large screens above 1200px */
@media (min-width: 1201px) {
    .contact-drawer {
        width: 450px !important;
        right: -450px !important;
    }
}

/* Extra large screens */
@media (min-width: 1440px) {
    .contact-drawer {
        width: 500px !important;
        right: -500px !important;
    }

    .contact-drawer-content {
        padding: 2.5rem;
    }
}

/* Ultra-wide screens */
@media (min-width: 1920px) {
    .contact-drawer {
        width: 550px !important;
        right: -550px !important;
    }
}

/* Height-based responsiveness */
@media (max-height: 600px) {
    .contact-drawer-content {
        padding: 1rem;
    }

    .contact-form-header {
        margin-bottom: 1rem;
    }

    .form-group textarea {
        min-height: 80px;
    }
}

/* Orientation-based adjustments */
@media (max-width: 768px) and (orientation: landscape) {
    .contact-drawer {
        height: 100vh !important;
        overflow-y: auto !important;
    }

    .contact-drawer-content {
        min-height: fit-content;
    }

    .form-group textarea {
        min-height: 60px;
    }
}

/* High DPI screens */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .contact-drawer {
        box-shadow: -2px 0 20px rgba(0, 0, 0, 0.3) !important;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {

    .contact-drawer,
    .contact-drawer-overlay,
    .submit-btn,
    .error-message {
        transition: none !important;
        animation: none !important;
    }
}

/* Dark mode consistency (already dark but ensuring consistency) */
@media (prefers-color-scheme: dark) {
    .contact-drawer {
        background: #2C2F32 !important;
        color: #FFFFFF !important;
    }
}

/* Print styles */
@media print {

    .contact-drawer,
    .contact-drawer-overlay {
        display: none !important;
    }
}

.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  font-size: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: white;
}


.footer {
    background: #2C2F32;
    /* Primary dark */
    color: #FFFFFF;
    padding: 40px 20px 20px;
    width: 100%;
    box-sizing: border-box;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
    width: 100%;
    box-sizing: border-box;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin: 0;
    box-sizing: border-box;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
    border-bottom: 2px solid #0074B7;
    /* Steel Blue accent */
    color: #0074B7;
    /* Steel Blue accent */
    padding-bottom: 8px;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 12px;
    transition: transform 0.3s ease;
}

.footer-section ul li:hover {
    transform: translateX(5px);
}

.footer-section ul li a {
    text-decoration: none;
    color: #EAECEE;
    /* Off-white text */
    transition: color 0.3s ease;
    display: block;
    width: 100%;
}

.footer-section ul li:hover a {
    color: #0074B7;
}

.footer-section ul li:hover {
    color: #0074B7;
    cursor: pointer;
}

.footer-section.about {
    flex: 1.5;
    min-width: 300px;
}

.logo {
    margin-bottom: 20px;
    display: inline-block;
}

.logo img {
    width: auto;
    height: 60px;
    max-width: 100%;
    filter: brightness(1.65) contrast(1.3);
    /* Slightly stronger boost */
    transition: filter 0.3s ease, transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.about-text {
    line-height: 1.6;
    margin-bottom: 20px;
    color: #D3D5D8;
    /* Muted light gray text */
    text-align: left;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    color: #FFFFFF;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.social-icons a:hover {
    background: #0074B7;
    /* Blue hover */
    color: #FFFFFF;
    transform: translateY(-3px);
}

.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: #D3D5D8;
    text-align: left;
}

.contact-info li i {
    margin-right: 10px;
    color: #0074B7;
    /* Accent icons */
    min-width: 20px;
    flex-shrink: 0;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: #D3D5D8;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
}

/* Enhanced Responsive Design */
@media (max-width: 1200px) {
    .footer-container {
        max-width: 1000px;
        gap: 25px;
    }

    .footer-section {
        min-width: 220px;
    }
}

@media (max-width: 1024px) {
    .footer-container {
        gap: 20px;
    }

    .footer-section {
        min-width: 200px;
    }

    .footer-section.about {
        min-width: 280px;
    }
}

@media (max-width: 900px) {
    .footer-container {
        justify-content: space-around;
    }

    .footer-section {
        flex: 0 1 calc(50% - 20px);
        min-width: 250px;
    }

    .footer-section.about {
        flex: 0 1 100%;
        min-width: 100%;
        text-align: center;
    }

    .about-text {
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 30px 15px 15px;
    }

    .footer-container {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-section {
        min-width: 100%;
        text-align: center;
    }

    .footer-section h3 {
        font-size: 1.2rem;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    .contact-info li {
        justify-content: center;
        text-align: center;
    }

    .about-text {
        text-align: center;
    }

    .footer-section ul li {
        text-align: center;
    }
}

@media (max-width: 650px) {
    .footer-container {
        gap: 25px;
    }

    .footer-section {
        margin-bottom: 10px;
    }

    .social-icons {
        gap: 12px;
    }

    .social-icons a {
        width: 38px;
        height: 38px;
        font-size: 17px;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 25px 12px 15px;
    }

    .footer-section h3 {
        font-size: 1.1rem;
        margin-bottom: 15px;
        padding-bottom: 6px;
    }

    .logo img {
        height: 50px;
    }

    .social-icons a {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .footer-bottom {
        font-size: 13px;
        margin-top: 30px;
        padding-top: 15px;
    }

    .footer-section ul li {
        margin-bottom: 10px;
    }

    .contact-info li {
        margin-bottom: 12px;
        font-size: 0.95rem;
    }
}

@media (max-width: 375px) {
    .footer {
        padding: 20px 10px 15px;
    }

    .footer-section h3 {
        font-size: 1rem;
    }

    .social-icons {
        gap: 10px;
    }

    .social-icons a {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }

    .logo img {
        height: 45px;
    }

    .footer-bottom {
        font-size: 12px;
    }
}

@media (max-width: 320px) {
    .footer {
        padding: 15px 8px 12px;
    }

    .footer-container {
        gap: 20px;
    }

    .social-icons {
        gap: 8px;
    }

    .social-icons a {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
}

/* Large screens above 1200px */
@media (min-width: 1201px) {
    .footer-container {
        max-width: 1200px;
    }
}

/* Extra large screens */
@media (min-width: 1440px) {
    .footer {
        padding: 50px 20px 25px;
    }

    .footer-container {
        max-width: 1400px;
    }
}

/* Ultra-wide screens */
@media (min-width: 1920px) {
    .footer-container {
        max-width: 1600px;
    }

    .footer-section h3 {
        font-size: 1.4rem;
    }

    .about-text,
    .footer-section ul li a,
    .contact-info li {
        font-size: 1.1rem;
    }
}

/* Print styles */
@media print {
    .footer {
        background: #FFFFFF !important;
        color: #000000 !important;
        border-top: 2px solid #000000;
    }

    .footer-section h3 {
        color: #000000 !important;
        border-bottom-color: #000000;
    }

    .social-icons {
        display: none;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {

    .footer-section ul li,
    .social-icons a,
    .logo img {
        transition: none;
        transform: none;
    }

    .footer-section ul li:hover {
        transform: none;
    }

    .social-icons a:hover {
        transform: none;
    }

    .logo img:hover {
        transform: none;
    }
}



/* Custom Scrollbar for Entire Website */
/* Webkit Browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: #1E1E1E;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: #0074B7;
    border-radius: 6px;
    border: 2px solid #1E1E1E;
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: #005A8E;
    border: 2px solid #1E1E1E;
}

::-webkit-scrollbar-thumb:active {
    background: #004A7A;
}

::-webkit-scrollbar-corner {
    background: #1E1E1E;
}

/* Firefox */
html {
    scrollbar-width: thin;
    scrollbar-color: #0074B7 #1E1E1E;
}

/* Apply to all elements that can scroll */
* {
    scrollbar-width: thin;
    scrollbar-color: #0074B7 #1E1E1E;
}

/* Smooth scrolling for entire site */
html {
    scroll-behavior: smooth;
}

/* Specific styling for body */
body {
    scrollbar-width: thin;
    scrollbar-color: #0074B7 #1E1E1E;
}

/* Textareas */
textarea::-webkit-scrollbar {
    width: 8px;
}

textarea::-webkit-scrollbar-track {
    background: #2C2F32;
    border-radius: 4px;
}

textarea::-webkit-scrollbar-thumb {
    background: #0074B7;
    border-radius: 4px;
}

/* Contact drawer specific (already in your code but ensuring consistency) */
.contact-drawer::-webkit-scrollbar {
    width: 8px;
}

.contact-drawer::-webkit-scrollbar-track {
    background: #2C2F32;
    border-radius: 4px;
}

.contact-drawer::-webkit-scrollbar-thumb {
    background: #0074B7;
    border-radius: 4px;
}

/* Firefox for contact drawer */
.contact-drawer {
    scrollbar-width: thin;
    scrollbar-color: #0074B7 #2C2F32;
}

/* Any element with overflow */
div::-webkit-scrollbar,
section::-webkit-scrollbar,
main::-webkit-scrollbar,
aside::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

div::-webkit-scrollbar-track,
section::-webkit-scrollbar-track,
main::-webkit-scrollbar-track,
aside::-webkit-scrollbar-track {
    background: #1E1E1E;
    border-radius: 4px;
}

div::-webkit-scrollbar-thumb,
section::-webkit-scrollbar-thumb,
main::-webkit-scrollbar-thumb,
aside::-webkit-scrollbar-thumb {
    background: #0074B7;
    border-radius: 4px;
}

/* Responsive scrollbars */
@media (max-width: 768px) {
    ::-webkit-scrollbar {
        width: 8px;
        height: 8px;
    }

    ::-webkit-scrollbar-thumb {
        border: 1px solid #1E1E1E;
    }

    .contact-drawer::-webkit-scrollbar {
        width: 6px;
    }

    textarea::-webkit-scrollbar {
        width: 6px;
    }
}

@media (max-width: 480px) {
    ::-webkit-scrollbar {
        width: 6px;
        height: 6px;
    }

    ::-webkit-scrollbar-thumb {
        border: 1px solid #1E1E1E;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    ::-webkit-scrollbar-thumb {
        background: #005A8E;
        border: 1px solid #FFFFFF;
    }

    ::-webkit-scrollbar-track {
        background: #000000;
    }

    html {
        scrollbar-color: #005A8E #000000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    ::-webkit-scrollbar-thumb {
        transition: none;
    }
}

/* Print styles - hide scrollbars */
@media print {
    ::-webkit-scrollbar {
        display: none;
    }

    html {
        scrollbar-width: none;
    }
}

/* Ensure scrollbars work on all possible scrollable elements */
[style*="overflow: auto"]::-webkit-scrollbar,
[style*="overflow: scroll"]::-webkit-scrollbar,
[style*="overflow-x: auto"]::-webkit-scrollbar,
[style*="overflow-y: auto"]::-webkit-scrollbar,
[style*="overflow-x: scroll"]::-webkit-scrollbar,
[style*="overflow-y: scroll"]::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

[style*="overflow: auto"]::-webkit-scrollbar-track,
[style*="overflow: scroll"]::-webkit-scrollbar-track,
[style*="overflow-x: auto"]::-webkit-scrollbar-track,
[style*="overflow-y: auto"]::-webkit-scrollbar-track,
[style*="overflow-x: scroll"]::-webkit-scrollbar-track,
[style*="overflow-y: scroll"]::-webkit-scrollbar-track {
    background: #1E1E1E;
    border-radius: 4px;
}

[style*="overflow: auto"]::-webkit-scrollbar-thumb,
[style*="overflow: scroll"]::-webkit-scrollbar-thumb,
[style*="overflow-x: auto"]::-webkit-scrollbar-thumb,
[style*="overflow-y: auto"]::-webkit-scrollbar-thumb,
[style*="overflow-x: scroll"]::-webkit-scrollbar-thumb,
[style*="overflow-y: scroll"]::-webkit-scrollbar-thumb {
    background: #0074B7;
    border-radius: 4px;
}