/* ==================== CSS VARIABLES ==================== */
:root {
    /* Colors - Aquasafe Teal Gradient Theme */
    --primary-dark: #0a3d4c;
    --primary-blue: #156a78;
    --secondary-blue: #1d8a96;
    --accent-orange: #2aa8a4;
    --accent-orange-dark: #1d8a86;
    --accent-orange-light: #4fc4b8;
    --accent-blue: #7fcfb5;
    --accent-blue-dark: #5cb8a5;
    --accent-teal: #2aa8a4;
    --accent-teal-light: #7fcfb5;
    --gray-100: #f0f7f6;
    --gray-200: #e1efed;
    --gray-300: #c8e0dc;
    --gray-400: #a8ccc6;
    --gray-500: #7fb0a8;
    --gray-600: #5a8a82;
    --gray-700: #3d635d;
    --gray-800: #2a4440;
    --gray-900: #1a2c2a;
    --white: #ffffff;
    --black: #000000;
    
    /* Typography */
    --font-primary: 'Rajdhani', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
    
    /* Spacing - Responsive */
    --section-padding: clamp(40px, 8vw, 100px);
    --section-padding-sm: clamp(30px, 5vw, 60px);
    
    /* Transitions - Enhanced for smooth animations */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 5px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.2);
    --shadow-accent: 0 5px 20px rgba(42, 168, 164, 0.3);
    --shadow-glow: 0 0 30px rgba(42, 168, 164, 0.4);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
}

/* ==================== RESET & BASE ==================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 60px;
    overflow-x: hidden;
}

@media (max-width: 768px) {
    html {
        scroll-padding-top: 40px;
    }
}

body {
    font-family: var(--font-secondary);
    font-size: clamp(14px, 2.5vw, 16px);
    line-height: 1.7;
    color: var(--gray-700);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==================== LOADING STATE STYLES ==================== */
/* Hide scrollbar and content during loading - prevents CLS */
body.loading {
    overflow: hidden;
    background: linear-gradient(135deg, #0a3d4c 0%, #2aa8a4 100%);
}

/* Hide all page content during loading to prevent white flash */
body.loading > *:not(#page-loader) {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Smooth content reveal after loader completes */
body:not(.loading) {
    background: var(--white);
    transition: background 0.3s ease;
}

body:not(.loading) > *:not(#page-loader) {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease-out, visibility 0.4s ease-out;
}

p {
    margin-bottom: 1rem; /* 16px */
    line-height: 1.7;
}

p:last-child {
    margin-bottom: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-dark);
    margin-bottom: 0.75rem; /* Consistent spacing below headings */
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

.form-control,
.form-select {
    min-height: 48px;
    font-size: 16px;
    border: 2px solid var(--gray-300);
    border-radius: 8px;
    padding: 12px 16px;
    transition: all var(--transition-normal);
    font-family: var(--font-secondary);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 3px rgba(42, 168, 164, 0.1);
}

@media (max-width: 576px) {
    .form-control,
    .form-select {
        font-size: 16px;
        min-height: 44px;
        padding: 10px 14px;
    }
}

.text-accent {
    color: var(--accent-orange) !important;
}

.section-title {
    margin-bottom: 1rem;
}

.section-subtitle {
    margin-bottom: 0.5rem;
    margin-top: -0.5rem; /* Pulls subtitle closer to title */
    color: var(--gray-600);
}

.section-title + .lead,
.section-title + p,
.section-title + .section-description {
    margin-top: 1rem; /* Increased from 0.5rem for better breathing room */
}

.lead + p {
    margin-top: 1rem;
}


h2.section-title {
    margin-bottom: 1rem;
}

h3.section-subtitle {
    margin-bottom: 0.5rem;
}

.page-banner-title + nav {
    margin-top: 1rem;
}

.cta-title + .cta-text {
    margin-top: 0.5rem;
}

.product-feature-title + .product-feature-text {
    margin-top: 1rem;
}

.product-feature-text + .product-feature-list {
    margin-top: 1.5rem;
}

.product-feature-list li {
    display: flex;
    align-items: flex-start; /* Aligns items to the top */
    gap: 0.75rem; /* 12px space between icon and text */
    margin-bottom: 0.5rem;
}

.product-feature-list li i {
    margin-top: 4px; /* Fine-tunes icon vertical alignment with text */
    flex-shrink: 0; /* Prevents icon from shrinking */
}

.footer-contact li {
    display: flex;
    align-items: flex-start; /* Aligns items to the top */
    gap: 0.75rem; /* 12px space between icon and text */
    margin-bottom: 0.5rem;
}

.footer-contact li i {
    margin-top: 4px; /* Fine-tunes icon vertical alignment with text */
    flex-shrink: 0; /* Prevents icon from shrinking */
}

/* ==================== PAGE LOADER ==================== */
/* Ensure loader is visible immediately - critical for preventing flash */
#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
    display: flex;
    opacity: 1;
    visibility: visible;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#page-loader.fade-out {
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.645, 0.045, 0.355, 1);
    transform: scale(1.1);
}

#page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    text-align: center;
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.loader-spinner {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
}

.gear {
    position: absolute;
    color: var(--accent-orange);
    filter: drop-shadow(0 0 10px rgba(244, 121, 32, 0.5));
}

.gear-1 {
    font-size: 60px;
    top: 0;
    left: 10px;
    animation: spin 2s linear infinite;
}

.gear-2 {
    font-size: 45px;
    bottom: 5px;
    right: 10px;
    animation: spin-reverse 1.5s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes spin-reverse {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

.loader-text {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 8px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.loader-progress {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.loader-progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-orange-light));
    border-radius: 2px;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 10px rgba(244, 121, 32, 0.5);
}

/* Page Transition Effect */
body.page-transition-out {
    animation: pageOut 0.4s ease forwards;
}

@keyframes pageOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* Page entrance animation */
body:not(.loading) .top-bar,
body:not(.loading) #mainNavbar,
body:not(.loading) .page-banner,
body:not(.loading) .hero-section {
    animation: pageEnter 0.6s ease-out;
}

@keyframes pageEnter {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== TOP BAR ==================== */
.top-bar {
    background: var(--primary-dark);
    padding: clamp(8px, 2vw, 12px) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar .container {
    padding: 0 15px;
}

.top-bar-info {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(8px, 2vw, 20px);
    margin: 0;
    justify-content: center;
    text-align: center;
}

@media (max-width: 992px) {
    .top-bar-info {
        justify-content: center;
        gap: clamp(6px, 1.5vw, 15px);
    }
}

@media (max-width: 768px) {
    .top-bar {
        padding: 10px 0;
    }
    
    .top-bar-info {
        flex-direction: column;
        gap: 8px;
    }
    
    .top-bar-info li {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .top-bar-info li {
        font-size: 0.75rem;
    }
    
    .top-bar-info li i {
        font-size: 0.65rem;
    }
}

.top-bar-info li {
    display: flex;
    align-items: flex-start; /* Aligns items to the top */
    gap: 0.75rem; /* 12px space between icon and text */
    margin-bottom: 0.5rem;
    color: var(--gray-300);
    font-size: clamp(0.75rem, 1.5vw, 0.875rem);
    white-space: nowrap;
}

.top-bar-info li i {
    margin-top: 4px; /* Fine-tunes icon vertical alignment with text */
    flex-shrink: 0; /* Prevents icon from shrinking */
    color: var(--accent-orange);
    font-size: clamp(0.65rem, 1.2vw, 0.75rem);
    flex-shrink: 0;
}

.top-bar-info li a {
    color: var(--gray-300);
    transition: var(--transition-fast);
}

.top-bar-info li a:hover {
    color: var(--accent-orange);
}

.top-bar-social {
    display: flex;
    justify-content: center;
    gap: clamp(10px, 2vw, 15px);
    margin: 0;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .top-bar-social {
        justify-content: center;
        margin-top: 8px;
        order: 3;
        width: 100%;
    }
}

.top-bar-social li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(32px, 8vw, 40px);
    height: clamp(32px, 8vw, 40px);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    font-size: clamp(0.65rem, 1vw, 0.875rem);
    transition: var(--transition-normal);
    flex-shrink: 0;
    min-height: 44px;
    min-width: 44px;
    touch-action: manipulation;
}

.top-bar-social li a:active,
.top-bar-social li a:hover {
    background: var(--accent-orange);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(42, 168, 164, 0.3);
}

/* ==================== NAVBAR ==================== */
#mainNavbar {
    background: var(--white);
    padding: clamp(12px, 2vw, 15px) 0;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1030;
}

@media (max-width: 768px) {
    #mainNavbar {
        padding: 10px 0;
    }
}

#mainNavbar.scrolled {
    padding: 8px 0;
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    padding: 8px 12px;
    border-radius: 14px;
    transition: all var(--transition-normal);
    animation: brandPulseGlow 3s ease-in-out infinite;
    min-height: 44px;
}

@media (max-width: 576px) {
    .navbar-brand {
        min-height: 44px;
        padding: 5px 8px;
    }
}

.navbar-brand img {
    max-height: clamp(30px, 8vw, 50px);
    width: auto;
}

.nav-link {
    font-family: var(--font-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 20px !important;
    color: var(--primary-dark) !important;
    position: relative;
    font-size: clamp(0.85rem, 1.5vw, 1rem);
    transition: var(--transition-fast);
}

@media (max-width: 768px) {
    .nav-link {
        padding: 10px 16px !important;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .nav-link {
        padding: 8px 12px !important;
        font-size: 0.8rem;
    }
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: var(--accent-orange);
    border-radius: 1px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-fast);
}

@media (max-width: 768px) {
    .nav-link::after {
        display: none;
    }
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-link:hover {
    color: var(--accent-orange) !important;
}

.nav-link.active {
    color: var(--accent-orange) !important;
}

.navbar-toggler {
    border: 2px solid var(--primary-dark);
    padding: 8px 12px;
    min-height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(42, 168, 164, 0.1);
    border-color: var(--accent-orange);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(10, 61, 76, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 24px;
    height: 24px;
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-md);
    border-radius: 8px;
    padding: 8px 0;
    animation: slideDown 0.2s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991px) {
    .dropdown-menu {
        position: relative !important;
        box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
        background: var(--gray-100);
        margin-top: 0;
        animation: none;
    }
}

.dropdown-item {
    padding: 12px 20px;
    color: var(--primary-dark);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 576px) {
    .dropdown-item {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
}

.dropdown-item:hover {
    background: var(--gray-100);
    color: var(--accent-orange);
    padding-left: 30px;
    transform: translateX(2px);
}

@media (max-width: 991px) {
    .dropdown-item:hover {
        padding-left: 20px;
    }
}

.navbar-brand::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-blue) 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity var(--transition-normal);
}

.navbar-brand::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    border: 2px solid transparent;
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-blue) 100%) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    animation: borderGlowPulse 2s ease-in-out infinite;
}

.navbar-brand:hover {
    transform: scale(1.08) translateY(-2px);
    background: rgba(42, 168, 164, 0.05);
    box-shadow: 0 8px 25px rgba(42, 168, 164, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.navbar-brand:hover::before {
    opacity: 0.15;
}

.navbar-brand:hover::after {
    opacity: 1;
}

@keyframes brandPulseGlow {
    0%, 100% {
        box-shadow: 0 0 15px rgba(42, 168, 164, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    50% {
        box-shadow: 0 0 25px rgba(42, 168, 164, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    }
}

@keyframes borderGlowPulse {
    0%, 100% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
}

.brand-logo {
    height: 55px;
    min-width: 160px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-normal);
    filter: drop-shadow(0 2px 8px rgba(42, 168, 164, 0.2));
    position: relative;
    z-index: 1;
}

.navbar-brand:hover .brand-logo {
    filter: drop-shadow(0 4px 15px rgba(42, 168, 164, 0.4));
    transform: scale(1.05);
}

.brand-icon {
    font-size: 2rem;
    color: var(--accent-orange);
}

/* ==================== BRAND SHOWCASE STYLES ==================== */
.brand-showcase-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.brand-showcase-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(42, 168, 164, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(42, 168, 164, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.brand-showcase-item {
    background: white;
    border-radius: 15px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(42, 168, 164, 0.1);
    position: relative;
    overflow: hidden;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.brand-showcase-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(42, 168, 164, 0.1), transparent);
    transition: left 0.6s ease;
}

.brand-showcase-item:hover::before {
    left: 100%;
}

.brand-showcase-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(42, 168, 164, 0.15);
    border-color: var(--accent-color);
}

.brand-showcase-item img {
    max-height: 80px;
    width: auto;
    filter: brightness(0.8) contrast(1.1);
    transition: all 0.3s ease;
}

.brand-showcase-item:hover img {
    filter: brightness(1) contrast(1.2);
    transform: scale(1.1);
}

.brand-link {
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
}

.brand-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(42, 168, 164, 0.9), transparent);
    color: white;
    padding: 0.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.brand-showcase-item:hover .brand-overlay {
    transform: translateY(0);
}

.brand-category {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Brand logo container in individual brand pages */
.brand-logo-container {
    background: white;
    padding: 1.5rem 0.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(42, 168, 164, 0.1);
    border: 2px solid rgba(42, 168, 164, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.brand-logo-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(42, 168, 164, 0.05) 0%, 
        transparent 25%, 
        transparent 75%, 
        rgba(42, 168, 164, 0.05) 100%);
    z-index: 0;
    border-radius: 15px;
    overflow: hidden;
}

.brand-logo-container img {
    position: relative;
    z-index: 1;
}

/* Brand logo image sizing class */
.brand-logo-img {
    max-height: 190px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.featured-brand .brand-logo-img {
    max-height: 120px;
}

/* ==================== BRAND PAGE ENHANCEMENTS ==================== */

/* Visit Website Button Styling */
.btn-outline-accent {
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    background: transparent;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-outline-accent::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(42, 168, 164, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-outline-accent:hover::before {
    left: 100%;
}

.btn-outline-accent:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(42, 168, 164, 0.3);
}

/* Stats Counter Animation for Brand Pages */
.brand-stats-section {
    background: #f8f9fa; /* Light background for high contrast */
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
}

.brand-stats-section::before {
    content: '';
    background: none;
}

.brand-stat-item {
    text-align: center;
    padding: 1.5rem;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.brand-stat-item:hover {
    transform: translateY(-5px);
}

.brand-stat-number {
    font-size: 3.2rem;
    font-weight: 700;
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
    color: #343a40; /* Dark text color */
}

.brand-stat-label {
    font-size: 1rem;
    font-weight: 600; /* Bolder label */
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #5a6268; /* Slightly lighter dark color for label */
}

/* Animated Feature Cards */
.feature-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

/* Reduce spacing after brand-stats-section */
.brand-stats-section + .section-padding {
    padding-top: clamp(25px, 3vw, 40px);
}

/* Tighter spacing for consecutive sections on brand pages */
.brand-stats-section + .section-padding.bg-light {
    padding-top: clamp(30px, 4vw, 45px);
}

/* Better spacing between brand page sections */
.product-detail-intro + .brand-stats-section {
    margin-top: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Pulsing Icon Animation */
.feature-icon i,
.advantage-icon i,
.product-card-icon i {
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Floating Animation for Brand Logos - Disabled for better display */
/* .brand-logo-container img {
    animation: floatLogo 3s ease-in-out infinite;
}

@keyframes floatLogo {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
} */

/* Application Grid Styling */
.application-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.application-item {
    background: white;
    padding: 1.25rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(42, 168, 164, 0.1);
}

.application-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(42, 168, 164, 0.15);
    border-color: var(--accent-color);
}

.application-item i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 0.75rem;
    display: block;
}

.application-item span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
}

/* Certification Badges */
.certification-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.certification-badge {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.certification-badge:hover {
    border-color: var(--accent-color);
    transform: scale(1.05);
}

.certification-badge i {
    color: var(--accent-color);
    font-size: 1.25rem;
}

.certification-badge span {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Large Certification Cards */
.certification-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 2px solid transparent;
}

.certification-card:hover {
    border-color: var(--accent-teal);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.certification-icon-lg {
    font-size: 3.5rem;
    color: var(--accent-teal);
    margin-bottom: 1rem;
}

.certification-name-lg {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-dark);
}

/* ==================== PRODUCT CATEGORY CARDS ==================== */
.product-category-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.product-category-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.product-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.product-category-card:hover .product-category-image img {
    transform: scale(1.1);
}

.product-category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.brand-logo-overlay {
    max-height: 50px;
    max-width: 120px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.product-category-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-category-brand {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-teal);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.product-category-title {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
}

.product-category-desc {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.product-category-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.product-category-features span {
    font-size: 0.8rem;
    color: var(--gray-700);
    background: var(--gray-100);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
}

.product-category-features span i {
    color: var(--accent-teal);
    margin-right: 0.25rem;
}

.product-category-buttons {
    margin-top: auto;
    display: flex;
    gap: 0.75rem;
}

.product-category-buttons .btn {
    flex: 1;
}

.product-category-buttons .btn-outline-accent {
    flex: 0;
    padding: 0.5rem 0.75rem;
}

/* Brand Partner Logos */
.brand-partner-logo {
    max-height: 80px;
    max-width: 150px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all var(--transition-normal);
}

.brand-logo-link:hover .brand-partner-logo {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* Timeline Animation for History Section */
.brand-timeline {
    position: relative;
    padding-left: 30px;
}

.brand-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--accent-color), var(--primary-color));
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
    padding-left: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -36px;
    top: 5px;
    width: 15px;
    height: 15px;
    background: var(--accent-color);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px var(--accent-color);
    animation: timelinePulse 2s ease-in-out infinite;
}

@keyframes timelinePulse {
    0%, 100% {
        box-shadow: 0 0 0 3px var(--accent-color);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(42, 168, 164, 0.3);
    }
}

.timeline-year {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.brand-logo-container:hover {
    border-color: var(--accent-color);
    box-shadow: 0 12px 35px rgba(42, 168, 164, 0.2);
}

.brand-text {
    font-family: var(--font-primary);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.navbar-nav .nav-link {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    color: var(--primary-dark);
    padding: 10px 18px !important;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 18px;
    width: 0;
    height: 2px;
    background: var(--accent-orange);
    transition: var(--transition-normal);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: calc(100% - 36px);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--accent-orange);
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: 15px 0;
    min-width: 220px;
    animation: fadeInUp 0.3s ease;
}

/* ===== Nested Dropdown Styles ===== */
.dropdown-menu .dropdown {
    position: relative;
}

.dropdown-menu .dropdown-toggle::after {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    content: '›';
    font-size: 1.2rem;
    color: var(--accent-orange);
    transition: transform 0.3s ease;
}

.dropdown-menu .dropdown-toggle[aria-expanded="true"]::after {
    transform: translateY(-50%) rotate(90deg);
}

.dropdown-menu .dropdown-menu {
    position: absolute;
    left: 100%;
    top: -10px;
    min-width: 200px;
    margin-left: 5px;
    display: none;
    padding: 10px 0;
}

.dropdown-menu .dropdown:hover > .dropdown-menu {
    display: block;
}

.dropdown-menu .dropdown-submenu-item {
    padding: 10px 25px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.dropdown-menu .dropdown-submenu-item:hover {
    background-color: rgba(42, 168, 164, 0.1);
}

/* Mobile Responsive Dropdown Menu */
@media (max-width: 991px) {
    .dropdown-menu {
        min-width: auto;
        width: 100%;
        padding: 10px 0;
    }

    .dropdown-menu .dropdown-menu {
        position: static;
        left: auto;
        top: auto;
        margin-left: 0;
        background-color: rgba(42, 168, 164, 0.08);
        border-radius: 0;
        box-shadow: none;
        display: block !important;
        padding: 0;
        min-width: auto;
        border-left: 3px solid var(--accent-orange);
    }

    .dropdown-menu .dropdown-menu.show {
        display: block !important;
    }

    .dropdown-menu .dropdown:hover > .dropdown-menu {
        display: block !important;
    }

    .dropdown-menu .dropdown-submenu-item {
        padding: 12px 25px;
        font-size: 0.9rem;
        position: relative;
    }

    .dropdown-menu .dropdown-submenu-item::after {
        content: '›';
        font-size: 1.1rem;
        color: var(--accent-orange);
        margin-left: auto;
        transition: transform 0.3s ease;
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%) rotate(90deg);
        border: none;
    }

    .dropdown-menu .dropdown-submenu-item[aria-expanded="true"]::after {
        transform: translateY(-50%) rotate(90deg);
    }

    .dropdown-menu .dropdown-menu .dropdown-item {
        padding: 10px 40px;
        font-size: 0.85rem;
        background-color: transparent;
    }

    .dropdown-menu .dropdown-menu .dropdown-item:hover {
        background-color: rgba(42, 168, 164, 0.1);
        padding-left: 45px;
    }

    /* Ensure menu items are readable on mobile */
    .dropdown-item {
        min-height: 44px;
        display: flex;
        align-items: center;
        padding: 12px 25px !important;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    font-family: var(--font-primary);
    font-weight: 500;
    padding: 10px 25px;
    color: var(--gray-700);
    transition: var(--transition-fast);
}

.dropdown-item:hover {
    background: var(--gray-100);
    color: var(--accent-orange);
    padding-left: 30px;
}

.navbar-toggler {
    border: 2px solid var(--primary-dark);
    padding: 8px 12px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(10, 22, 40, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ==================== BUTTONS ==================== */
.btn {
    font-family: var(--font-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: clamp(10px, 2vw, 15px) clamp(20px, 4vw, 40px);
    border-radius: var(--radius-sm);
    transition: var(--transition-normal);
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(0.85rem, 1.5vw, 1rem);
    touch-action: manipulation;
    -webkit-user-select: none;
    user-select: none;
}

@media (max-width: 576px) {
    .btn {
        font-size: 0.8rem;
        padding: 10px 16px;
        letter-spacing: 0.5px;
    }
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-orange-dark) 100%);
    color: var(--white);
    border: none;
    box-shadow: var(--shadow-accent);
}

.btn-accent:hover,
.btn-accent:focus {
    background: linear-gradient(135deg, var(--accent-orange-light) 0%, var(--accent-orange) 100%);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(42, 168, 164, 0.4);
}

.btn-accent:active {
    transform: translateY(0);
}

.btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline-light:hover,
.btn-outline-light:focus {
    background: var(--white);
    color: var(--primary-dark);
}

.btn-lg {
    padding: clamp(12px, 2vw, 18px) clamp(30px, 5vw, 50px);
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
}

@media (max-width: 576px) {
    .btn-lg {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

/* ==================== HERO SECTION ==================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: url('https://images.unsplash.com/photo-1504328345606-18bbc8c9d7d1?w=1920&h=1080&fit=crop') center/cover no-repeat;
    display: flex;
    align-items: center;
    padding: clamp(40px, 8vw, 80px) 15px;
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 600px;
        padding: 60px 15px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 40px 15px;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 61, 76, 0.95) 0%, rgba(42, 168, 164, 0.85) 100%);
    z-index: 1;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .hero-content {
        text-align: center;
    }
}

.hero-subtitle {
    display: inline-block;
    font-family: var(--font-primary);
    font-size: clamp(0.75rem, 2vw, 0.95rem);
    font-weight: 600;
    color: var(--accent-orange);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: clamp(15px, 3vw, 30px);
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    animation: fadeInUp 0.6s ease-out 0.2s backwards;
}

.hero-title {
    font-size: clamp(2rem, 7vw, 4.5rem) !important;
    color: var(--white);
    margin-bottom: clamp(20px, 4vw, 40px);
    line-height: 1.2;
    animation: fadeInUp 0.6s ease-out 0.4s backwards;
    word-break: break-word;
}

.hero-description {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: clamp(30px, 5vw, 50px);
    max-width: 700px;
    line-height: 1.8;
    animation: fadeInUp 0.6s ease-out 0.6s backwards;
}

@media (max-width: 768px) {
    .hero-description {
        max-width: 100%;
    }
}

.hero-buttons {
    display: flex;
    gap: clamp(15px, 3vw, 30px);
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease-out 0.8s backwards;
}

@media (max-width: 768px) {
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        gap: 10px;
    }
    
    .hero-buttons .btn {
        font-size: 0.85rem;
        padding: 12px 20px;
    }
}

.hero-subtitle {
    display: inline-block;
    font-family: var(--font-primary);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--accent-orange);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    padding-left: 60px;
    position: relative;
}

.hero-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 45px;
    height: 2px;
    background: var(--accent-orange);
}

.hero-title {
    color: var(--white);
    font-size: clamp(2rem, 6vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 700;
}

.hero-description {
    font-size: clamp(0.95rem, 2.5vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero-scroll-indicator a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--white);
    opacity: 0.7;
    transition: var(--transition-normal);
}

.hero-scroll-indicator a:hover {
    opacity: 1;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--white);
    border-radius: 20px;
    position: relative;
}

.mouse-wheel {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 20px; }
}

.scroll-text {
    font-family: var(--font-primary);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ==================== CONTAINERS & RESPONSIVE LAYOUT ==================== */
.container {
    padding-left: 15px;
    padding-right: 15px;
}

@media (max-width: 576px) {
    .container {
        padding-left: 12px;
        padding-right: 12px;
    }
}

/* Responsive row gaps */
.row {
    --bs-gutter-x: clamp(15px, 3vw, 30px);
    --bs-gutter-y: clamp(15px, 3vw, 30px);
}

@media (max-width: 768px) {
    .row {
        --bs-gutter-x: 15px;
        --bs-gutter-y: 20px;
    }
}

/* Better responsive columns - add md breakpoint */
.col-md-6 {
    flex: 0 0 auto;
    width: 50%;
}

.col-md-4 {
    flex: 0 0 auto;
    width: 33.333333%;
}

.col-md-3 {
    flex: 0 0 auto;
    width: 25%;
}

@media (max-width: 768px) {
    .col-md-6,
    .col-md-4,
    .col-md-3 {
        width: 100%;
        margin-bottom: 15px;
    }
}

/* Responsive utilities for mobile */
@media (max-width: 576px) {
    [class*="col-"] {
        width: 100% !important;
        margin-bottom: 15px;
    }
    
    .row.no-stack [class*="col-"] {
        width: auto;
        margin-bottom: 0;
    }
}

/* ==================== SECTION STYLING ==================== */
.section-padding {
    padding: clamp(35px, 5vw, 60px) clamp(15px, 3vw, 0);
}

@media (max-width: 1199.98px) {
    .section-padding {
        padding: clamp(40px, 5vw, 60px) clamp(15px, 2vw, 0);
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: clamp(35px, 5vw, 50px) 15px;
    }
}

@media (max-width: 576px) {
    .section-padding {
        padding: clamp(28px, 4vw, 40px) 12px;
    }
}

/* Compact section padding variant */
.section-padding-sm {
    padding: clamp(25px, 4vw, 45px) clamp(15px, 3vw, 0);
}

/* Remove top padding when following specific sections */
.bg-light + .section-padding:not(.bg-light) {
    padding-top: clamp(35px, 5vw, 55px);
}

.section-subtitle {
    display: inline-block;
    font-family: var(--font-primary);
    font-size: clamp(0.8rem, 1.5vw, 1rem);
    font-weight: 600;
    color: var(--accent-orange);
    text-transform: uppercase;
    letter-spacing: clamp(1px, 0.5vw, 3px);
    margin-bottom: clamp(10px, 2vw, 15px);
    position: relative;
    padding-left: clamp(30px, 5vw, 50px);
}

.section-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 35px;
    height: 2px;
    background: var(--accent-orange);
}

.section-subtitle.light {
    color: var(--accent-orange);
}

.section-title {
    margin-bottom: 20px;
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
}

.section-title.light {
    color: var(--white);
}

.section-description {
    font-size: clamp(0.95rem, 2vw, 1.125rem);
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.section-description.light {
    color: var(--gray-400);
}

.bg-light {
    background-color: var(--gray-100) !important;
}

.bg-dark {
    background-color: var(--primary-dark) !important;
}

/* ==================== SERVICES SECTION ==================== */
.services-section {
    background: var(--white);
}

.service-card {
    background: var(--white);
    padding: clamp(20px, 4vw, 40px);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition-normal);
    border: 1px solid var(--gray-200);
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    touch-action: manipulation;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-orange-light));
    transform: scaleX(0);
    transition: var(--transition-normal);
}

@media (max-width: 768px) {
    .service-card {
        padding: 25px 15px;
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .service-card {
        padding: 20px 15px;
    }
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    transform: scaleX(1);
}

@media (hover: none) {
    .service-card {
        transform: none;
    }
}

.service-icon {
    width: clamp(60px, 15vw, 90px);
    height: clamp(60px, 15vw, 90px);
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
    flex-shrink: 0;
}

.service-icon i {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    color: var(--accent-orange);
    transition: var(--transition-normal);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-orange-dark) 100%);
}

.service-card:hover .service-icon i {
    color: var(--white);
    transform: scale(1.1);
}

.service-title {
    margin-bottom: 15px;
    font-size: clamp(1rem, 3vw, 1.375rem);
    font-weight: 600;
    flex-grow: 1;
}

.service-description {
    color: var(--gray-600);
    margin-bottom: 20px;
    font-size: clamp(0.9rem, 2vw, 0.9375rem);
    line-height: 1.6;
}

.service-link {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--accent-orange);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: clamp(0.75rem, 2vw, 0.875rem);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 12px;
    border-radius: 4px;
    transition: var(--transition-normal);
    min-height: 44px;
    min-width: 44px;
}

.service-link i {
    transition: var(--transition-normal);
}

.service-link:hover {
    color: var(--primary-dark);
    background: rgba(42, 168, 164, 0.1);
}

.service-link:hover i {
    margin-left: 5px;
}

/* ==================== ABOUT SECTION ==================== */
.about-image-wrapper {
    position: relative;
    padding: 20px;
}

.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: clamp(300px, 60vw, 500px);
    object-fit: cover;
}

.about-experience {
    position: absolute;
    bottom: 0;
    right: 0;
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-orange-dark) 100%);
    padding: 30px 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.experience-number {
    display: block;
    font-family: var(--font-primary);
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.experience-text {
    display: block;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 150px;
    height: 150px;
    background: url("data:image/svg+xml,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='2' cy='2' r='2' fill='%232aa8a4' fill-opacity='0.3'/%3E%3C/svg%3E") repeat;
    z-index: -1;
}

.about-content {
    padding-left: clamp(0px, 3vw, 30px);
}

.about-text {
    color: var(--gray-600);
    margin-bottom: 20px;
    font-size: 1.0625rem;
}

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

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-feature i {
    color: var(--accent-orange);
    font-size: 1.25rem;
}

.about-feature span {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--primary-dark);
}

/* ==================== COUNTER SECTION ==================== */
.counter-section {
    position: relative;
    padding: clamp(60px, 8vw, 80px) 0;
    background: url('https://images.unsplash.com/photo-1565793298595-6a879b1d9492?w=1920&h=600&fit=crop') center/cover no-repeat fixed;
    background-attachment: scroll;
}

@media (max-width: 768px) {
    .counter-section {
        padding: 50px 0;
        background-attachment: scroll;
    }
}

@media (max-width: 576px) {
    .counter-section {
        padding: 40px 0;
    }
}

.counter-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 61, 76, 0.95) 0%, rgba(42, 168, 164, 0.9) 100%);
}

.counter-item {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: clamp(20px, 3vw, 30px);
}

@media (max-width: 576px) {
    .counter-item {
        padding: 15px 10px;
    }
}

.counter-icon {
    width: clamp(60px, 12vw, 70px);
    height: clamp(60px, 12vw, 70px);
    margin: 0 auto 20px;
    background: rgba(42, 168, 164, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--accent-orange);
    flex-shrink: 0;
}

@media (max-width: 576px) {
    .counter-icon {
        margin-bottom: 15px;
    }
}

.counter-icon i {
    font-size: clamp(1.5rem, 3vw, 1.75rem);
    color: var(--accent-orange);
}

.counter-number {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: clamp(8px, 1.5vw, 10px);
}

.counter-number::after {
    content: '+';
}

.counter-label {
    font-family: var(--font-primary);
    font-size: clamp(0.85rem, 2vw, 1.125rem);
    font-weight: 600;
    color: var(--gray-300);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==================== PROJECTS SECTION ==================== */
.project-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.project-image {
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: clamp(150px, 40vw, 250px);
    object-fit: cover;
    transition: var(--transition-slow);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 61, 76, 0.9) 0%, rgba(42, 168, 164, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-link {
    width: clamp(45px, 10vw, 60px);
    height: clamp(45px, 10vw, 60px);
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-orange);
    font-size: 1.25rem;
    transform: scale(0);
    transition: var(--transition-normal);
}

.project-card:hover .project-link {
    transform: scale(1);
}

.project-link:hover {
    background: var(--accent-orange);
    color: var(--white);
}

.project-info {
    padding: 25px;
}

.project-category {
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-orange);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-title {
    margin-top: 8px;
    margin-bottom: 0;
    font-size: 1.25rem;
}

/* ==================== TESTIMONIALS SECTION ==================== */
.testimonials-section {
    position: relative;
    overflow: hidden;
}

.testimonials-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    padding: 0 15px;
}

@media (max-width: 576px) {
    .testimonials-slider {
        padding: 0 12px;
    }
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-item {
    flex: 0 0 100%;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .testimonial-item {
        padding: 0 15px;
    }
}

@media (max-width: 576px) {
    .testimonial-item {
        padding: 0 10px;
    }
}

.testimonial-content {
    background: var(--white);
    padding: clamp(25px, 5vw, 50px) clamp(20px, 4vw, 40px);
    border-radius: var(--radius-lg);
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-md);
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media (max-width: 576px) {
    .testimonial-content {
        padding: 20px;
    }
}

.testimonial-quote {
    position: absolute;
    top: clamp(15px, 3vw, 30px);
    left: clamp(20px, 3vw, 40px);
    font-size: clamp(1.5rem, 4vw, 3rem);
    color: var(--accent-orange);
    opacity: 0.3;
}

.testimonial-text {
    font-size: clamp(0.95rem, 2vw, 1.25rem);
    font-style: italic;
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: clamp(15px, 3vw, 25px);
    position: relative;
    z-index: 1;
}

@media (max-width: 576px) {
    .testimonial-text {
        margin-bottom: 15px;
    }
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(10px, 2vw, 15px);
    margin-bottom: 20px;
    flex-wrap: wrap;
}

@media (max-width: 576px) {
    .testimonial-author {
        flex-direction: column;
        gap: 10px;
    }
}

.author-image {
    width: clamp(50px, 12vw, 70px);
    height: clamp(50px, 12vw, 70px);
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-orange);
    flex-shrink: 0;
}

.author-info {
    text-align: left;
}

@media (max-width: 576px) {
    .author-info {
        text-align: center;
    }
}

.author-name {
    font-family: var(--font-primary);
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.author-title {
    font-size: clamp(0.8rem, 1.5vw, 0.875rem);
    color: var(--gray-600);
}

.testimonial-rating {
    color: var(--accent-orange);
}

.testimonial-rating i {
    margin: 0 clamp(1px, 0.5vw, 2px);
    font-size: clamp(0.85rem, 1.5vw, 1rem);
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(15px, 3vw, 20px);
    margin-top: clamp(30px, 5vw, 40px);
    flex-wrap: wrap;
}

@media (max-width: 576px) {
    .slider-controls {
        gap: 15px;
    }
}

.slider-btn {
    width: clamp(44px, 10vw, 50px);
    height: clamp(44px, 10vw, 50px);
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--accent-orange);
    border-radius: 50%;
    color: var(--accent-orange);
    font-size: clamp(0.9rem, 2vw, 1rem);
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
    min-height: 44px;
    min-width: 44px;
}

.slider-btn:hover,
.slider-btn:active {
    background: var(--accent-orange);
    color: var(--white);
}

@media (hover: none) {
    .slider-btn:hover {
        background: rgba(255, 255, 255, 0.1);
        color: var(--accent-orange);
    }
    
    .slider-btn:active {
        background: var(--accent-orange);
        color: var(--white);
    }
}

.slider-dots {
    display: flex;
    gap: clamp(8px, 2vw, 10px);
}

.slider-dot {
    width: clamp(10px, 2vw, 12px);
    height: clamp(10px, 2vw, 12px);
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-normal);
    touch-action: manipulation;
}

.slider-dot:active,
.slider-dot.active {
    background: var(--accent-orange);
    transform: scale(1.2);
}

/* ==================== CTA SECTION ==================== */
.cta-section {
    position: relative;
    padding: clamp(45px, 6vw, 65px) 0;
    background: url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?w=1920&h=400&fit=crop') center/cover no-repeat;
}

@media (max-width: 768px) {
    .cta-section {
        padding: 40px 0;
    }
}

@media (max-width: 576px) {
    .cta-section {
        padding: 35px 0;
    }
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-orange-dark) 100%);
    opacity: 0.95;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--white);
    margin-bottom: 15px;
    line-height: 1.3;
}

.cta-text {
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: clamp(20px, 3vw, 30px);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-btn {
    position: relative;
    z-index: 2;
    background: var(--white);
    color: var(--accent-orange);
    box-shadow: var(--shadow-lg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
}

@media (max-width: 576px) {
    .cta-btn {
        display: block;
        width: 100%;
        max-width: 300px;
    }
}

.cta-btn:hover,
.cta-btn:focus {
    background: var(--primary-dark);
    color: var(--white);
}

/* ==================== CONTACT SECTION ==================== */
.contact-info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 35px;
}

.contact-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-orange-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon i {
    font-size: 1.25rem;
    color: var(--white);
}

.contact-details h5 {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-details p {
    color: var(--gray-600);
    margin: 0;
    line-height: 1.8;
}

.contact-form-wrapper {
    background: var(--white);
    padding: clamp(25px, 5vw, 50px);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.form-label {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.form-control,
.form-select {
    padding: clamp(12px, 2vw, 15px) clamp(15px, 3vw, 20px);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: var(--transition-normal);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 3px rgba(42, 168, 164, 0.1);
}

textarea.form-control {
    resize: none;
}

.form-message {
    margin-top: 20px;
    padding: 15px 20px;
    border-radius: var(--radius-md);
    display: none;
}

.form-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--primary-dark);
}

.footer-main {
    padding: clamp(45px, 6vw, 65px) 0 clamp(30px, 4vw, 40px);
}

@media (max-width: 768px) {
    .footer-main {
        padding: 40px 0 28px;
    }
}

@media (max-width: 576px) {
    .footer-main {
        padding: 35px 0 25px;
    }
}

.footer-logo {
    display: none;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.footer-logo::before,
.footer-logo::after {
    display: none !important;
}

.footer-logo .brand-logo {
    height: 55px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-logo .brand-logo::before,
.footer-logo .brand-logo::after {
    display: none !important;
}

.footer-logo .brand-icon {
    font-size: 2rem;
    color: var(--accent-orange);
}

.footer-logo .brand-text {
    font-size: 1.75rem;
    color: var(--white);
}

.footer-about-text {
    color: var(--gray-400);
    margin-bottom: 25px;
    line-height: 1.8;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.footer-social {
    display: flex;
    gap: clamp(8px, 2vw, 12px);
    flex-wrap: wrap;
}

.footer-social a {
    width: clamp(40px, 8vw, 48px);
    height: clamp(40px, 8vw, 48px);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition-normal);
    min-height: 44px;
    min-width: 44px;
    touch-action: manipulation;
}

.footer-social a:hover,
.footer-social a:active {
    background: var(--accent-orange);
    transform: translateY(-3px);
}

@media (hover: none) {
    .footer-social a:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: none;
    }
    
    .footer-social a:active {
        background: var(--accent-orange);
        transform: scale(0.95);
    }
}

.footer-title {
    font-family: var(--font-primary);
    font-size: clamp(1rem, 2.5vw, 1.375rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-orange);
}

@media (max-width: 768px) {
    .footer-title {
        text-align: center;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

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

.footer-links li {
    margin-bottom: clamp(10px, 2vw, 12px);
}

.footer-links a {
    color: var(--gray-400);
    transition: var(--transition-normal);
    position: relative;
    padding-left: clamp(12px, 2vw, 15px);
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}

.footer-links a::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--accent-orange);
    transition: var(--transition-normal);
}

.footer-links a:hover {
    color: var(--accent-orange);
    padding-left: clamp(17px, 3vw, 20px);
}

@media (max-width: 768px) {
    .footer-links {
        text-align: center;
    }
    
    .footer-links a {
        display: block;
        padding-left: 0;
    }
    
    .footer-links a::before {
        display: none;
    }
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    color: var(--gray-400);
    align-items: flex-start;
}

.footer-contact i {
    color: var(--accent-orange);
    margin-top: 5px;
    flex-shrink: 0;
}

.footer-contact a {
    color: var(--gray-400);
    transition: var(--transition-normal);
    min-height: 44px;
    display: flex;
    align-items: center;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.footer-contact a:hover {
    color: var(--accent-orange);
}

@media (max-width: 768px) {
    .footer-contact {
        text-align: center;
    }
    
    .footer-contact li {
        justify-content: center;
    }
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: clamp(15px, 2vw, 20px) 0;
    padding-bottom: calc(20px + env(safe-area-inset-bottom));
}

@media (max-width: 768px) {
    .footer-bottom {
        padding-top: clamp(15px, 2vw, 20px);
        padding-bottom: calc(15px + env(safe-area-inset-bottom));
    }
}

.footer-bottom .row {
    row-gap: 15px;
}

.copyright {
    color: var(--gray-500);
    margin: 0;
    font-size: clamp(0.85rem, 1.5vw, 0.9375rem);
}

@media (max-width: 768px) {
    .copyright {
        text-align: center;
    }
}

.developer-credit {
    color: var(--gray-500);
    margin: 0;
    font-size: clamp(0.8rem, 1.2vw, 0.875rem);
    text-align: center;
}

.developer-credit a {
    color: var(--accent-orange);
    font-weight: 600;
    transition: var(--transition-normal);
    text-decoration: none;
}

.developer-credit a:hover {
    color: var(--accent-orange-light);
    text-decoration: underline;
}

.footer-bottom-links {
    display: flex;
    justify-content: flex-end;
    gap: clamp(15px, 3vw, 25px);
    margin: 0;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: var(--gray-500);
    font-size: clamp(0.85rem, 1.5vw, 0.9375rem);
    transition: var(--transition-normal);
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 12px;
}

.footer-bottom-links a:hover {
    color: var(--accent-orange);
}

@media (max-width: 768px) {
    .footer-bottom-links {
        justify-content: center;
        margin-top: 15px;
    }
}

/* ==================== MODERN FRAMED LOGO ==================== */
/* Premium short logo with modern frame - responsive design */

.logo-frame-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px 0;
}

.logo-frame {
    position: relative;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: transparent;
    border: 2px solid transparent;
    background-clip: padding-box;
    box-shadow: 0 10px 40px rgba(42, 168, 164, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden;
    animation: logoFrameHover 3s ease-in-out infinite;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    border: 2px solid;
    border-image: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-blue) 100%) 1;
    pointer-events: none;
}

.logo-frame::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-blue));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.logo-frame:hover::after {
    opacity: 0.15;
}

.logo-frame:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 50px rgba(42, 168, 164, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.logo-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 15px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-frame:hover img {
    filter: drop-shadow(0 8px 20px rgba(42, 168, 164, 0.4));
    transform: scale(1.1);
}

@keyframes logoFrameHover {
    0%, 100% {
        box-shadow: 0 10px 40px rgba(42, 168, 164, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    50% {
        box-shadow: 0 12px 45px rgba(42, 168, 164, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    }
}

/* Logo frame gradient border animation */
.logo-frame-border-glow {
    position: absolute;
    inset: -3px;
    border-radius: 16px;
    background: linear-gradient(45deg, var(--accent-orange), var(--accent-blue), var(--accent-orange));
    background-size: 300% 300%;
    opacity: 0;
    z-index: -2;
    animation: borderGlow 4s ease infinite;
}

@keyframes borderGlow {
    0% {
        opacity: 0;
        background-position: 0% 50%;
    }
    50% {
        opacity: 0.3;
        background-position: 100% 50%;
    }
    100% {
        opacity: 0;
        background-position: 0% 50%;
    }
}

/* Responsive sizing for different screen sizes */
@media (max-width: 768px) {
    .logo-frame {
        width: 110px;
        height: 110px;
    }
    
    .logo-frame img {
        padding: 12px;
    }
}

@media (max-width: 576px) {
    .logo-frame {
        width: 90px;
        height: 90px;
    }
    
    .logo-frame img {
        padding: 10px;
    }
}

/* Tablet size */
@media (min-width: 769px) and (max-width: 1024px) {
    .logo-frame {
        width: 120px;
        height: 120px;
    }
}

/* Large desktop size */
@media (min-width: 1400px) {
    .logo-frame {
        width: 150px;
        height: 150px;
    }
}

/* ==================== BACK TO TOP ==================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-orange-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    box-shadow: var(--shadow-accent);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-normal);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: linear-gradient(135deg, var(--accent-orange-light) 0%, var(--accent-orange) 100%);
    color: var(--white);
    transform: translateY(-5px);
}

/* ==================== SCROLL ANIMATIONS ==================== */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1199.98px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .counter-number {
        font-size: 3rem;
    }
}

@media (max-width: 991.98px) {
    .section-padding {
        padding: var(--section-padding-sm) 0;
    }
    
    .top-bar-info,
    .top-bar-social {
        justify-content: center;
    }
    
    .top-bar-info {
        margin-bottom: 10px;
    }
    
    .navbar-brand {
        padding: 8px 12px;
        border-radius: 12px;
    }
    
    .brand-logo {
        height: 48px;
        min-width: 140px;
    }
    
    .navbar-collapse {
        background: var(--white);
        padding: 20px;
        margin-top: 15px;
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-lg);
        max-height: 80vh;
        overflow-y: auto;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1000;
    }
    
    .navbar-collapse.show {
        animation: slideDown 0.3s ease;
    }
    
    .navbar-collapse.collapsing {
        transition: height 0.35s ease;
    }
    
    .dropdown-menu {
        position: static !important;
        transform: none !important;
        border: none;
        box-shadow: none;
        background: rgba(42, 168, 164, 0.1);
        border-radius: var(--radius-md);
        margin: 10px 0;
        padding: 10px 0;
    }
    
    .dropdown-item {
        padding: 12px 20px;
        color: var(--primary-dark);
        font-weight: 500;
        border-left: 3px solid transparent;
        transition: all 0.3s ease;
    }
    
    .dropdown-item:hover,
    .dropdown-item:focus {
        background: var(--accent-orange);
        color: var(--white);
        border-left-color: var(--primary-dark);
        padding-left: 25px;
    }
    
    .navbar-nav .dropdown {
        margin: 10px 0;
    }
    
    .navbar-nav .dropdown-toggle {
        background: var(--gray-100);
        border-radius: var(--radius-md);
        padding: 12px 20px !important;
        margin: 5px 0;
    }
    
    .navbar-nav .dropdown-toggle::after {
        margin-left: 10px;
        transition: transform 0.3s ease;
    }
    
    .navbar-nav .dropdown-toggle[aria-expanded="true"]::after {
        transform: rotate(180deg);
    }
    
    .navbar-nav .nav-link::after {
        display: none;
    }
    
    .btn-accent.ms-lg-4 {
        margin-left: 0 !important;
        margin-top: 15px;
        display: block;
        text-align: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .hero-buttons .ms-3 {
        margin-left: 0 !important;
    }
    
    .about-content {
        padding-left: 0;
        margin-top: 40px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .cta-section .text-lg-end {
        text-align: center !important;
        margin-top: 30px;
    }
}

@media (max-width: 767.98px) {
    .top-bar-info {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .navbar-brand {
        padding: 8px 12px;
        border-radius: 12px;
    }
    
    .brand-logo {
        height: 46px;
        min-width: 135px;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-scroll-indicator {
        display: none;
    }
    
    .about-image img {
        height: 400px;
    }
    
    .about-experience {
        padding: 20px 30px;
    }
    
    .experience-number {
        font-size: 2.5rem;
    }
    
    .counter-number {
        font-size: 2.5rem;
    }
    
    .contact-form-wrapper {
        padding: 30px 20px;
    }
    
    .testimonial-content {
        padding: 40px 25px;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
    
    .footer-bottom-links {
        justify-content: center;
        margin-top: 15px;
    }
    
    .footer-bottom .col-md-4 {
        text-align: center;
    }
    
    .copyright {
        text-align: center;
    }
    
    .developer-credit {
        margin-top: 10px;
    }
    
    .brand-logo {
        height: 48px;
        min-width: 140px;
    }
    
    .footer-logo .brand-logo {
        height: 45px;
    }
}

@media (max-width: 575.98px) {
    .section-subtitle {
        padding-left: 0;
    }
    
    .section-subtitle::before {
        display: none;
    }
    
    .hero-subtitle {
        padding-left: 0;
    }
    
    .hero-subtitle::before {
        display: none;
    }
    
    .brand-logo {
        height: 42px;
        min-width: 120px;
    }
    
    .footer-logo .brand-logo {
        height: 40px;
    }
    
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
}

/* Tablet specific responsive sizing (769px to 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .navbar-brand {
        padding: 9px 14px;
        border-radius: 13px;
    }
    
    .brand-logo {
        height: 50px;
        min-width: 145px;
    }
}

/* Desktop specific responsive sizing (1025px and above) */
@media (min-width: 1025px) {
    .navbar-brand {
        padding: 10px 16px;
        border-radius: 14px;
    }
    
    .brand-logo {
        height: 55px;
        min-width: 160px;
    }
}

/* Large desktop specific sizing (1400px and above) */
@media (min-width: 1400px) {
    .navbar-brand {
        padding: 12px 18px;
        border-radius: 15px;
    }
    
    .brand-logo {
        height: 60px;
        min-width: 175px;
    }
}

/* ==================== UTILITY CLASSES ==================== */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 2rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.w-100 { width: 100% !important; }
.d-none { display: none !important; }
.d-flex { display: flex !important; }
.align-items-center { align-items: center !important; }
.justify-content-center { justify-content: center !important; }

/* ==================== PAGE BANNER ==================== */
.page-banner {
    position: relative;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
    padding: 100px 0 60px;
    margin-top: 80px;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?w=1920') center/cover no-repeat;
    opacity: 0.15;
}

.page-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 61, 76, 0.95) 0%, rgba(42, 168, 164, 0.9) 100%);
}

.page-banner .container {
    position: relative;
    z-index: 2;
}

.page-banner-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.page-banner .breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
}

.page-banner .breadcrumb-item {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.page-banner .breadcrumb-item a {
    color: var(--accent-orange);
    transition: var(--transition-normal);
}

.page-banner .breadcrumb-item a:hover {
    color: var(--white);
}

.page-banner .breadcrumb-item.active {
    color: var(--white);
}

.page-banner .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* ==================== PRODUCT CARDS ==================== */
.product-filter,
.project-filter {
    margin-bottom: clamp(20px, 4vw, 30px);
    text-align: center;
    overflow-x: auto;
}

.filter-btn {
    background: var(--white);
    border: 2px solid var(--gray-200);
    color: var(--gray-700);
    padding: clamp(8px, 1.5vw, 12px) clamp(18px, 3vw, 25px);
    margin: clamp(5px, 1vw, 8px);
    border-radius: 30px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: clamp(0.85rem, 1.5vw, 0.95rem);
    cursor: pointer;
    transition: var(--transition-normal);
    white-space: nowrap;
    display: inline-block;
    min-height: 44px;
    touch-action: manipulation;
}

.filter-btn:hover,
.filter-btn:active,
.filter-btn.active {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
    color: var(--white);
}

@media (hover: none) {
    .filter-btn:hover {
        background: var(--white);
        color: var(--gray-700);
    }
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    height: 100%;
    margin-bottom: clamp(10px, 2vw, 20px);
}

@media (max-width: 576px) {
    .product-card {
        margin-bottom: 12px;
    }
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

@media (hover: none) {
    .product-card:active {
        transform: scale(0.98);
        box-shadow: var(--shadow-lg);
    }
}

.product-image {
    position: relative;
    overflow: hidden;
    height: clamp(150px, 40vw, 250px);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

@media (hover: none) {
    .product-card:active .product-image img {
        transform: scale(1.05);
    }
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 61, 76, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-info {
    padding: clamp(15px, 3vw, 25px);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

@media (max-width: 576px) {
    .product-info {
        padding: 15px;
    }
}

.product-category {
    display: inline-block;
    font-size: clamp(0.75rem, 1.5vw, 0.8rem);
    font-weight: 600;
    color: var(--accent-orange);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.product-title {
    font-size: clamp(1.1rem, 2.5vw, 1.25rem);
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 10px;
    line-height: 1.4;
    flex-grow: 1;
}

.product-desc {
    color: var(--gray-600);
    font-size: clamp(0.9rem, 1.5vw, 0.95rem);
    margin-bottom: 15px;
    line-height: 1.6;
}

.product-enquiry {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-orange);
    font-weight: 600;
    font-family: var(--font-primary);
    transition: var(--transition-normal);
    padding: 8px 12px;
    border-radius: 4px;
    min-height: 44px;
    touch-action: manipulation;
}

.product-enquiry:hover,
.product-enquiry:active {
    color: var(--primary-blue);
    gap: 12px;
}

@media (hover: none) {
    .product-enquiry:hover {
        color: var(--accent-orange);
        gap: 8px;
    }
}

/* ==================== PROJECT CARDS ==================== */
.project-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    height: 100%;
    margin-bottom: clamp(10px, 2vw, 20px);
}

@media (max-width: 576px) {
    .project-card {
        margin-bottom: 12px;
    }
}

.project-image {
    position: relative;
    height: clamp(200px, 50vw, 300px);
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

@media (hover: none) {
    .project-card:active .project-image img {
        transform: scale(1.05);
    }
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(10, 61, 76, 0.95) 0%, rgba(10, 61, 76, 0.3) 100%);
    display: flex;
    align-items: flex-end;
    padding: clamp(20px, 4vw, 25px);
    opacity: 0;
    transition: var(--transition-normal);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

@media (hover: none) {
    .project-overlay {
        opacity: 1;
    }
}

.project-overlay-content {
    transform: translateY(20px);
    transition: var(--transition-normal);
    width: 100%;
}

.project-card:hover .project-overlay-content {
    transform: translateY(0);
}

@media (hover: none) {
    .project-overlay-content {
        transform: translateY(0);
    }
}

.project-overlay .project-category {
    color: var(--accent-orange);
    font-size: clamp(0.75rem, 1.5vw, 0.85rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 8px;
}

.project-overlay .project-title {
    color: var(--white);
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    font-weight: 700;
    margin-bottom: 8px;
}

.project-overlay .project-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(0.85rem, 1.5vw, 0.9rem);
    margin-bottom: 15px;
    line-height: 1.6;
}

/* ==================== STAT CARDS ==================== */
.stat-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-orange-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.stat-icon i {
    font-size: 1.75rem;
    color: var(--white);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.stat-label {
    color: var(--gray-600);
    font-size: 1rem;
    margin: 0;
}

/* ==================== CONTACT INFO CARDS ==================== */
.contact-info-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--gray-200);
    transition: var(--transition-normal);
    height: 100%;
}

.contact-info-card:hover,
.contact-info-card.highlight {
    border-color: var(--accent-orange);
    box-shadow: var(--shadow-accent);
}

.contact-info-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-info-card:hover .contact-info-icon,
.contact-info-card.highlight .contact-info-icon {
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-orange-dark) 100%);
}

.contact-info-icon i {
    font-size: 2rem;
    color: var(--white);
}

.contact-info-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.contact-info-text {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.contact-info-text a {
    color: var(--accent-orange);
    font-weight: 600;
}

.contact-info-text a:hover {
    color: var(--primary-blue);
}

.contact-info-note {
    font-size: 0.9rem;
    color: var(--gray-500);
}

/* ==================== CONTACT FORM PAGE ==================== */
.form-section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.form-section-desc {
    color: var(--gray-600);
    margin-bottom: 30px;
}

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
}

.map-iframe {
    border: 0;
    border-radius: var(--radius-lg);
    display: block;
}

.business-hours {
    background: var(--gray-100);
    padding: 25px;
    border-radius: var(--radius-lg);
}

.hours-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.hours-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed var(--gray-300);
}

.hours-list li:last-child {
    border-bottom: none;
}

.hours-list .day {
    font-weight: 600;
    color: var(--primary-dark);
}

.hours-list .time {
    color: var(--gray-600);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
    border: none;
}

.btn-whatsapp:hover {
    background: #128C7E;
    color: var(--white);
}

/* ==================== BROCHURE CARDS ==================== */
.brochure-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border: 2px solid var(--gray-200);
}

.brochure-card:hover {
    border-color: var(--accent-orange);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.brochure-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.brochure-icon i {
    font-size: 2rem;
    color: var(--white);
}

.brochure-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 20px;
    min-height: 50px;
}

.btn-outline-accent {
    border: 2px solid var(--accent-orange);
    color: var(--accent-orange);
    background: transparent;
}

.btn-outline-accent:hover {
    background: var(--accent-orange);
    color: var(--white);
}

/* ==================== FAQ ACCORDION ==================== */
.accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: var(--radius-lg) !important;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.accordion-button {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary-dark);
    padding: 20px 25px;
    background: var(--white);
}

.accordion-button:not(.collapsed) {
    background: var(--primary-dark);
    color: var(--white);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-button::after {
    background-size: 1rem;
}

.accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

.accordion-body {
    padding: 20px 25px;
    color: var(--gray-600);
    line-height: 1.8;
}

/* ==================== TESTIMONIAL CARDS (PROJECT PAGE) ==================== */
.testimonial-card {
    background: var(--white);
    padding: 35px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--gray-200);
    transition: var(--transition-normal);
    height: 100%;
}

.testimonial-card:hover {
    border-color: var(--accent-orange);
    box-shadow: var(--shadow-md);
}

.testimonial-rating {
    margin-bottom: 20px;
}

.testimonial-rating i {
    color: #ffc107;
    font-size: 1.1rem;
}

.testimonial-card .testimonial-text {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-info .author-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.author-info .author-title {
    font-size: 0.9rem;
    color: var(--gray-500);
}

/* ==================== RESPONSIVE FOR NEW PAGES ==================== */
@media (max-width: 991.98px) {
    .page-banner {
        padding: 100px 0 60px;
    }
    
    .page-banner-title {
        font-size: 2rem;
    }
    
    .contact-info-card {
        padding: 30px 20px;
    }
    
    .stat-card {
        padding: 30px 20px;
    }
}

@media (max-width: 767.98px) {
    .page-banner {
        padding: 80px 0 50px;
    }
    
    .filter-btn {
        padding: 8px 18px;
        font-size: 0.85rem;
    }
    
    .product-image {
        height: 200px;
    }
    
    .project-image {
        height: 250px;
    }
}

/* ==================== PRODUCT DETAIL PAGES ==================== */
.product-detail-intro {
    background: var(--white);
}

.product-detail-image {
    position: relative;
    border-radius: var(--radius-lg);
}

.product-detail-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent-orange);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.875rem;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.product-badge i {
    font-size: 1rem;
}

/* Position relative wrapper for product images with badges */
.product-detail-image .position-relative {
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: inline-block;
    max-width: 100%;
}

.product-detail-image .position-relative img {
    border-radius: var(--radius-lg);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-weight: 500;
}

.feature-item i {
    font-size: 1.1rem;
}

/* Product Types Section */
.product-type-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    height: 100%;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 1px solid var(--gray-200);
}

.product-type-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-orange);
}

.product-type-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-blue));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.product-type-icon i {
    font-size: 1.8rem;
    color: var(--accent-orange);
}

.product-type-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.product-type-card p {
    color: var(--gray-600);
    margin-bottom: 20px;
}

.product-specs {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-specs li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: var(--gray-700);
    font-size: 0.95rem;
}

.product-specs li i {
    color: var(--accent-orange);
    font-size: 0.8rem;
}

/* Application Cards */
.application-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    height: 100%;
}

.application-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.application-card i {
    font-size: 2.5rem;
    color: var(--accent-orange);
    margin-bottom: 20px;
}

.application-card h5 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.application-card p {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin: 0;
}

/* Product CTA Section */
.product-cta {
    position: relative;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
    padding: 80px 0;
    text-align: center;
}

.product-cta .cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?w=1200') center/cover;
    opacity: 0.1;
}

.product-cta h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.product-cta p {
    color: var(--gray-300);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 30px;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    position: relative;
    z-index: 1;
}

/* Dropdown Active State */
.dropdown-item.active {
    background-color: var(--accent-orange);
    color: var(--white);
}

/* Responsive Product Detail */
@media (max-width: 991.98px) {
    .product-detail-image img {
        height: 300px;
    }
    
    .product-cta h2 {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .product-detail-image img {
        height: 250px;
    }
    
    .product-type-card {
        padding: 20px;
    }
    
    .application-card {
        padding: 20px;
    }
    
    .product-cta {
        padding: 60px 0;
    }
    
    .product-cta h2 {
        font-size: 1.8rem;
    }
    
    .cta-buttons .btn {
        display: block;
        width: 100%;
        margin: 10px 0 !important;
    }
}

/* ==================== ADDITIONAL RESPONSIVE ENHANCEMENTS ==================== */

/* Enhanced Mobile Navigation */
@media (max-width: 991.98px) {
    .navbar-toggler {
        border: 2px solid var(--accent-orange);
        padding: 8px 12px;
    }
    
    .navbar-toggler:focus {
        box-shadow: 0 0 0 3px rgba(42, 168, 164, 0.25);
    }
    
    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%232aa8a4' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
    
    .navbar-collapse {
        background: var(--white);
        padding: 20px;
        margin-top: 15px;
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-lg);
        max-height: 80vh;
        overflow-y: auto;
    }
    
    /* Mobile dropdown fixes */
    .dropdown-menu {
        position: static !important;
        transform: none !important;
        border: none;
        box-shadow: none;
        background: rgba(42, 168, 164, 0.1);
        border-radius: var(--radius-md);
        margin: 10px 0;
        padding: 10px 0;
        width: 100%;
        display: block;
    }
    
    .dropdown-menu.show {
        display: block !important;
    }
    
    .dropdown-item {
        padding: 12px 20px;
        color: var(--primary-dark);
        font-weight: 500;
        border-left: 3px solid transparent;
        transition: all 0.3s ease;
        display: block;
        width: 100%;
        clear: both;
        text-align: left;
        white-space: nowrap;
        background-color: transparent;
        border: 0;
    }
    
    .dropdown-item:hover,
    .dropdown-item:focus {
        background: var(--accent-orange);
        color: var(--white);
        border-left-color: var(--primary-dark);
        padding-left: 25px;
    }
    
    .navbar-nav .dropdown {
        margin: 10px 0;
    }
    
    .navbar-nav .dropdown-toggle {
        background: var(--gray-100);
        border-radius: var(--radius-md);
        padding: 12px 20px !important;
        margin: 5px 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        text-align: left;
    }
    
    .navbar-nav .dropdown-toggle::after {
        margin-left: auto;
        transition: transform 0.3s ease;
        border-top: 0.3em solid;
        border-right: 0.25em solid transparent;
        border-bottom: 0;
        border-left: 0.25em solid transparent;
    }
    
    .navbar-nav .dropdown-toggle[aria-expanded="true"] {
        background: var(--accent-orange);
        color: var(--white);
    }
    
    .navbar-nav .dropdown-toggle[aria-expanded="true"]::after {
        transform: rotate(180deg);
        color: var(--white);
    }
    
    /* Touch-friendly mobile navigation */
    .navbar-nav .nav-link {
        padding: 12px 20px !important;
        margin: 5px 0;
        border-radius: var(--radius-md);
        transition: all 0.3s ease;
        display: block;
        width: 100%;
        text-decoration: none;
        color: var(--primary-dark);
    }
    
    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link:focus {
        background: rgba(42, 168, 164, 0.1);
        color: var(--accent-orange);
    }
    
    .navbar-nav .nav-link.active {
        background: var(--accent-orange);
        color: var(--white) !important;
    }
    
    .dropdown-divider {
        margin: 10px 20px;
        border-color: var(--gray-300);
    }
    
    /* Ensure dropdown works on mobile */
    .navbar-nav .dropdown.show .dropdown-menu {
        display: block !important;
        animation: slideDown 0.3s ease;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* Enhanced Footer Responsive */
@media (max-width: 991.98px) {
    .footer-main {
        padding: 60px 0 40px;
    }
    
    .footer-widget {
        margin-bottom: 30px;
    }
    
    .footer-widget::before,
    .footer-widget::after {
        display: none !important;
    }
    
    .footer-bottom .row {
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
}

@media (max-width: 767.98px) {
    .footer-logo {
        justify-content: center;
        margin-bottom: 20px;
    }
    
    .footer-about-text {
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-title {
        text-align: center;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links {
        text-align: center;
    }
    
    .footer-contact {
        text-align: center;
    }
    
    .footer-contact li {
        justify-content: center;
    }
}

/* Enhanced Hero Section Responsive */
@media (max-width: 767.98px) {
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-buttons .btn {
        margin: 0 !important;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
}

/* Enhanced Cards Responsive */
@media (max-width: 767.98px) {
    .service-card,
    .product-card,
    .feature-card {
        margin-bottom: 20px;
    }
}

/* Enhanced Forms Responsive */
@media (max-width: 575.98px) {
    .form-control,
    .form-select {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* Touch Device Enhancements */
@media (hover: none) and (pointer: coarse) {
    .btn:hover,
    .nav-link:hover,
    .service-card:hover,
    .product-card:hover {
        transform: none;
    }
    
    .btn:active,
    .service-card:active,
    .product-card:active {
        transform: scale(0.98);
    }
}

/* Safe Area Insets for Modern Mobile Devices */
@supports (padding: env(safe-area-inset-bottom)) {
    .footer-bottom {
        padding-bottom: calc(20px + env(safe-area-inset-bottom));
    }
    
    .back-to-top {
        bottom: calc(30px + env(safe-area-inset-bottom));
    }
}

/* Print Styles */
@media print {
    .top-bar,
    .navbar,
    .back-to-top,
    .footer-social,
    .btn {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    a {
        text-decoration: underline;
    }
}

/* Additional Mobile Dropdown Enhancements */
@media (max-width: 576px) {
    .dropdown-item {
        font-size: 0.95rem;
        padding: 14px 20px;
    }
    
    .dropdown-item:hover {
        padding-left: 30px;
    }
    
    .navbar-nav .dropdown-toggle {
        font-size: 1rem;
    }
    
    .navbar-collapse {
        padding: 15px;
    }
    
    .brand-logo {
        height: 35px;
    }
}

/* Enhanced Dropdown Animation for Mobile */
@media (max-width: 991.98px) {
    /* Ensure navbar doesn't disappear or slide incorrectly */
    #mainNavbar {
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 1030 !important;
    }
    
    .navbar-toggler {
        border: 2px solid var(--accent-orange);
        padding: 8px 12px;
        z-index: 1031;
    }
    
    .dropdown-menu.show {
        display: block !important;
        animation: slideDown 0.3s ease;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    /* Ensure dropdown toggle works properly */
    .navbar-nav .dropdown-toggle.show {
        background: var(--accent-orange) !important;
        color: var(--white) !important;
    }
    
    .navbar-nav .dropdown-toggle.show::after {
        border-top-color: var(--white) !important;
    }
}

/* Force content visibility on all devices */
@media screen {
    body:not(.loading) {
        background: var(--white) !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    body:not(.loading) * {
        opacity: inherit !important;
        visibility: inherit !important;
    }
}

/* ==================== MODERN ANIMATIONS ==================== */
/* 
 * Professional, subtle animations for Aquasafe website
 * Designed to match water/industrial business theme
 */

/* ===== Reveal Animations ===== */
/* Fade In Up - Default reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Fade In Left */
.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Fade In Right */
.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Scale In */
.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

/* Stagger delay utilities */
.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }
.delay-5 { transition-delay: 0.5s !important; }

/* ===== Enhanced Button Animations ===== */
.btn {
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-accent {
    position: relative;
    z-index: 1;
}

.btn-accent::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-orange-light) 0%, var(--accent-orange) 100%);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-accent:hover::after {
    opacity: 1;
}

/* Water Ripple Effect on Buttons */
.btn-ripple {
    position: relative;
    overflow: hidden;
}

.btn-ripple .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: ripple-effect 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-effect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ===== Card Hover Effects ===== */
/* Enhanced Service Card Animation */
.service-card {
    will-change: transform, box-shadow;
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
}

.service-card:hover .service-icon {
    animation: pulse-glow 1s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(42, 168, 164, 0.4);
    }
    50% {
        box-shadow: 0 0 20px 10px rgba(42, 168, 164, 0.2);
    }
}

/* Project Card Enhanced Hover */
.project-card {
    will-change: transform, box-shadow;
}

.project-card:hover .project-overlay {
    background: linear-gradient(135deg, rgba(10, 61, 76, 0.85) 0%, rgba(42, 168, 164, 0.75) 100%);
}

.project-card:hover .project-link {
    transform: scale(1) rotate(0deg);
    animation: bounce-in 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes bounce-in {
    0% { transform: scale(0) rotate(-180deg); }
    50% { transform: scale(1.2) rotate(10deg); }
    100% { transform: scale(1) rotate(0deg); }
}

/* ===== Icon Animations ===== */
/* Floating animation for icons */
.icon-float {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Icon spin on hover */
.icon-hover-spin:hover i {
    animation: spin-once 0.5s ease-in-out;
}

@keyframes spin-once {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Icon pulse */
.icon-pulse {
    animation: icon-pulse 2s ease-in-out infinite;
}

@keyframes icon-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

/* ===== Water-Themed Animations ===== */
/* Water Wave Effect */
.water-wave {
    position: relative;
    overflow: hidden;
}

.water-wave::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 4px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--accent-blue), 
        transparent);
    animation: wave-flow 2s linear infinite;
}

@keyframes wave-flow {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
}

/* Droplet animation */
.droplet::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--accent-blue);
    border-radius: 50%;
    opacity: 0;
    animation: droplet-fall 2s ease-in-out infinite;
}

@keyframes droplet-fall {
    0% { top: -10px; opacity: 0; }
    20% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* ===== Text Animations ===== */
/* Gradient text animation */
.text-gradient-animate {
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-blue), var(--accent-orange));
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
    0% { background-position: 0% center; }
    50% { background-position: 100% center; }
    100% { background-position: 0% center; }
}

/* Typing cursor effect */
.typing-cursor::after {
    content: '|';
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    from, to { opacity: 1; }
    50% { opacity: 0; }
}

/* ===== Navigation Enhancements ===== */
/* Nav link underline animation */
.navbar-nav .nav-link {
    position: relative;
}

.navbar-nav .nav-link::after {
    transform-origin: right center;
    transform: scaleX(0);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    transform-origin: left center;
    transform: scaleX(1);
}

/* ===== Loading & Progress Animations ===== */
/* Shimmer loading effect */
.shimmer {
    background: linear-gradient(90deg, 
        var(--gray-200) 25%, 
        var(--gray-100) 50%, 
        var(--gray-200) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    from { background-position: 200% 0; }
    to { background-position: -200% 0; }
}

/* ===== Counter Section Enhancements ===== */
.counter-item {
    will-change: transform;
    transition: transform 0.3s ease;
}

.counter-item:hover {
    transform: translateY(-5px);
}

.counter-item:hover .counter-icon {
    animation: pulse-glow 1s ease-in-out infinite;
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* ===== Footer Animations ===== */
.footer-social a {
    will-change: transform, background;
}

.footer-social a:hover {
    transform: translateY(-5px) scale(1.1);
}

.footer-links a {
    will-change: padding-left, color;
}

/* ===== Scroll Progress Indicator ===== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-blue));
    z-index: 9999;
    transition: width 0.1s linear;
}

/* ===== Prefers Reduced Motion ===== */
/* Respect user's motion preferences for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .reveal,
    .reveal-left,
    .reveal-right,
    .reveal-scale {
        opacity: 1;
        transform: none;
    }
}

/* ===== Performance Optimizations ===== */
/* GPU acceleration for animated elements */
.service-card,
.project-card,
.btn,
.footer-social a,
.counter-item,
.navbar {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Disable animations on low-powered devices */
@media (max-width: 768px) {
    .icon-float,
    .water-wave::after {
        animation: none;
    }
}

/* ==================== AQUASAFE BUSINESS THEMED ANIMATIONS ==================== */
/* Water-themed animations specifically designed for piping & plumbing business */

/* ===== Water Flow Effect - For Hero & Section Headers ===== */
.water-flow-bg {
    position: relative;
    overflow: hidden;
}

.water-flow-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(42, 168, 164, 0.1) 25%,
        rgba(42, 168, 164, 0.2) 50%,
        rgba(42, 168, 164, 0.1) 75%,
        transparent 100%);
    animation: waterFlowHorizontal 8s linear infinite;
    pointer-events: none;
}

@keyframes waterFlowHorizontal {
    0% { transform: translateX(0); }
    100% { transform: translateX(50%); }
}

/* ===== Pipe Connection Animation - For Service Cards ===== */
.pipe-connect {
    position: relative;
}

.pipe-connect::before,
.pipe-connect::after {
    content: '';
    position: absolute;
    background: var(--accent-blue);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pipe-connect::before {
    top: 50%;
    left: -20px;
    width: 20px;
    height: 3px;
    transform: translateY(-50%) scaleX(0);
    transform-origin: right center;
}

.pipe-connect::after {
    top: 50%;
    right: -20px;
    width: 20px;
    height: 3px;
    transform: translateY(-50%) scaleX(0);
    transform-origin: left center;
}

.pipe-connect:hover::before,
.pipe-connect:hover::after {
    opacity: 1;
    transform: translateY(-50%) scaleX(1);
}

/* ===== Water Droplet Effect - For Product Cards ===== */
.droplet-effect {
    position: relative;
    overflow: hidden;
}

.droplet-effect::after {
    content: '💧';
    position: absolute;
    top: -30px;
    right: 20px;
    font-size: 1.5rem;
    opacity: 0;
    transition: all 0.5s ease;
    transform: translateY(0);
}

.droplet-effect:hover::after {
    opacity: 1;
    animation: dropletBounce 1s ease-in-out;
}

@keyframes dropletBounce {
    0% { transform: translateY(-20px); opacity: 0; }
    30% { transform: translateY(10px); opacity: 1; }
    50% { transform: translateY(0); }
    70% { transform: translateY(5px); }
    100% { transform: translateY(0); opacity: 1; }
}

/* ===== Flowing Pipe Divider - Section Separator ===== */
.pipe-divider {
    position: relative;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-blue), var(--primary-color));
    margin: 2rem 0;
    border-radius: 2px;
    overflow: hidden;
}

.pipe-divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    animation: pipeFlow 2s linear infinite;
}

@keyframes pipeFlow {
    0% { left: -50%; }
    100% { left: 100%; }
}

/* ===== Water Pressure Gauge Animation - For Counter Section ===== */
.pressure-gauge {
    position: relative;
}

.pressure-gauge .counter-icon {
    position: relative;
}

.pressure-gauge .counter-icon::before {
    content: '';
    position: absolute;
    inset: -5px;
    border: 3px solid transparent;
    border-top-color: var(--accent-orange);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pressure-gauge:hover .counter-icon::before {
    opacity: 1;
    animation: pressureSpin 1.5s linear infinite;
}

@keyframes pressureSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ===== Valve Turn Animation - For Interactive Elements ===== */
.valve-turn {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.valve-turn:hover {
    transform: rotate(90deg);
}

.valve-turn:hover i {
    animation: valvePulse 0.5s ease;
}

@keyframes valvePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* ===== Water Tank Fill Effect - For Progress/Stats ===== */
.tank-fill {
    position: relative;
    background: linear-gradient(to top, var(--accent-blue) 0%, transparent 0%);
    background-size: 100% 200%;
    background-position: bottom;
    transition: background-position 1s ease-out;
}

.tank-fill.filled {
    background-position: top;
}

/* ===== Bubble Rise Animation - For Background Accents ===== */
.bubble-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.bubble {
    position: absolute;
    bottom: -20px;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.8), rgba(42, 168, 164, 0.3));
    border-radius: 50%;
    opacity: 0;
    animation: bubbleRise 4s ease-in infinite;
}

.bubble:nth-child(1) { left: 10%; width: 20px; height: 20px; animation-delay: 0s; }
.bubble:nth-child(2) { left: 30%; width: 15px; height: 15px; animation-delay: 1s; }
.bubble:nth-child(3) { left: 50%; width: 25px; height: 25px; animation-delay: 2s; }
.bubble:nth-child(4) { left: 70%; width: 18px; height: 18px; animation-delay: 0.5s; }
.bubble:nth-child(5) { left: 90%; width: 12px; height: 12px; animation-delay: 1.5s; }

@keyframes bubbleRise {
    0% { transform: translateY(0) scale(0); opacity: 0; }
    10% { opacity: 0.6; }
    50% { opacity: 0.4; }
    100% { transform: translateY(-500px) scale(1); opacity: 0; }
}

/* ===== Water Ripple Click Effect ===== */
.water-ripple {
    position: relative;
    overflow: hidden;
}

.water-ripple::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle, rgba(42, 168, 164, 0.3) 0%, transparent 70%);
    transform: scale(0);
    opacity: 0;
    pointer-events: none;
}

.water-ripple:active::after {
    animation: waterRippleExpand 0.6s ease-out;
}

@keyframes waterRippleExpand {
    0% { transform: scale(0); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

/* ===== Pipe Joint Connector - Between Sections ===== */
.pipe-joint {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 0;
}

.pipe-joint::before,
.pipe-joint::after {
    content: '';
    flex: 1;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-blue));
}

.pipe-joint::before {
    background: linear-gradient(90deg, transparent, var(--primary-color));
}

.pipe-joint::after {
    background: linear-gradient(90deg, var(--accent-blue), transparent);
}

.pipe-joint-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0 1rem;
    box-shadow: 0 4px 15px rgba(42, 168, 164, 0.4);
    animation: jointPulse 2s ease-in-out infinite;
}

@keyframes jointPulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(42, 168, 164, 0.4); }
    50% { box-shadow: 0 4px 25px rgba(42, 168, 164, 0.6), 0 0 40px rgba(42, 168, 164, 0.2); }
}

/* ===== Service Card Water Theme Enhancement ===== */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(to top, rgba(42, 168, 164, 0.05), transparent);
    transition: height 0.5s ease;
}

.service-card:hover::before {
    height: 100%;
}

/* ===== Product Card Water Overlay ===== */
.project-card .project-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(10, 61, 76, 0) 0%,
        rgba(42, 168, 164, 0.1) 50%,
        rgba(10, 61, 76, 0) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.project-card:hover .project-image::before {
    opacity: 1;
    animation: waterShimmer 1.5s ease-in-out;
}

@keyframes waterShimmer {
    0% { background-position: -100% 0; }
    100% { background-position: 200% 0; }
}

/* ===== Hero Section Water Animation ===== */
.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='0.1' d='M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: cover;
    animation: heroWave 10s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes heroWave {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-20px); }
}

/* ===== Accessibility - Disable water animations for reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
    .water-flow-bg::before,
    .pipe-divider::before,
    .bubble,
    .hero-section::after,
    .pipe-joint-icon,
    .pressure-gauge .counter-icon::before {
        animation: none;
    }
    
    .droplet-effect:hover::after,
    .project-card:hover .project-image::before {
        animation: none;
        opacity: 0;
    }
}

/* ==================== WHATSAPP GLOW EFFECT ==================== */
.whatsapp-glow {
    animation: whatsapp-pulse 2s infinite;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ==================== FEATURED BRAND SECTION ==================== */
.featured-brand {
    position: relative;
    overflow: hidden;
}

.featured-brand .section-padding {
    padding: var(--section-padding) 0;
}

.featured-brand img {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.featured-brand:hover img {
    transform: scale(1.05);
    box-shadow: 0 15px 50px rgba(42, 168, 164, 0.4) !important;
}

.featured-brand .badge {
    font-family: var(--font-primary);
    font-weight: 600;
    letter-spacing: 1px;
    padding: 8px 16px;
    font-size: 0.85rem;
}

.featured-brand .section-title {
    margin-bottom: 20px;
    font-size: clamp(28px, 5vw, 42px);
}

.featured-brand .lead {
    font-size: 1.1rem;
    color: #3d635d;
    margin-bottom: 15px;
}

.brand-features {
    gap: 1rem;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-orange));
    color: white;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-icon:hover {
    transform: scale(1.15);
    box-shadow: 0 5px 20px rgba(42, 168, 164, 0.4);
}

.featured-brand .d-flex {
    align-items: flex-start;
    gap: 1rem;
}

.featured-brand strong {
    color: var(--primary-dark);
    display: block;
    margin-bottom: 4px;
}

.featured-brand .text-muted {
    font-size: 0.9rem;
    color: #7fb0a8;
}

.featured-brand .btn-accent {
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-orange));
    border: none;
    padding: 14px 32px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.featured-brand .btn-accent:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 30px rgba(42, 168, 164, 0.4);
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-teal));
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .featured-brand .col-lg-7 {
        padding-left: 0 !important;
    }
    
    .featured-brand:hover img {
        transform: scale(1.02);
    }
}

@media (max-width: 576px) {
    .featured-brand .section-title {
        font-size: 24px;
    }
    
    .feature-icon {
        width: 32px;
        height: 32px;
        min-width: 32px;
    }
    
    .featured-brand .d-flex {
        gap: 0.75rem;
    }
    
    .featured-brand .text-muted {
        font-size: 0.85rem;
    }
}

/* ==================== DESKTOP PROFESSIONAL EXPERIENCE (992px+) ==================== */
/* Enhanced corporate design for desktop and laptop screens */

@media (min-width: 992px) {
    /* ===== Base & Typography - Balanced ===== */
    body {
        font-size: 16px;
        line-height: 1.7;
    }
    
    h1 { font-size: 2.6rem !important; line-height: 1.2; letter-spacing: -0.3px; }
    h2 { font-size: 2rem !important; line-height: 1.25; letter-spacing: -0.2px; }
    h3 { font-size: 1.5rem !important; line-height: 1.3; }
    h4 { font-size: 1.2rem !important; }
    h5 { font-size: 1.1rem !important; }
    h6 { font-size: 1rem !important; }
    
    /* ===== Navigation & Header ===== */
    .top-bar {
        padding: 15px 0;
    }
    
    .top-bar-info {
        gap: 35px;
        justify-content: flex-start;
    }
    
    .top-bar-info li {
        font-size: 0.95rem;
        white-space: nowrap;
    }
    
    .top-bar-social {
        gap: 15px;
        justify-content: flex-end;
    }
    
    .top-bar-social li a {
        width: 40px;
        height: 40px;
    }
    
    #mainNavbar {
        padding: 15px 0;
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    }
    
    .navbar-brand {
        padding: 10px 16px;
        border-radius: 12px;
    }
    
    .brand-logo {
        height: 55px;
    }
    
    .nav-link {
        padding: 12px 24px !important;
        font-size: 0.95rem;
        font-weight: 600;
        letter-spacing: 0.5px;
        position: relative;
        font-size: clamp(0.85rem, 1.5vw, 1rem);
        transition: var(--transition-fast);
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .nav-link::after {
        bottom: 8px;
        left: 24px;
        right: 24px;
        height: 3px;
    }
    
    .dropdown-menu {
        min-width: 240px;
        padding: 15px 0;
        border-radius: 10px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
        border: 1px solid rgba(42, 168, 164, 0.1);
    }
    
    .dropdown-item {
        padding: 12px 25px;
        font-size: 0.95rem;
        transition: all 0.25s ease;
        display: block;
        width: 100%;
        clear: both;
        text-align: left;
        white-space: nowrap;
        background-color: transparent;
        border: 0;
    }
    
    .dropdown-item:hover {
        padding-left: 35px;
        background: linear-gradient(90deg, rgba(42, 168, 164, 0.05) 0%, transparent 100%);
    }
    
    /* ===== Hero Section ===== */
    .hero-section {
        min-height: 90vh;
        padding: 70px 0 50px;
        position: relative;
        overflow: hidden;
    }
    
    .hero-content {
        max-width: 750px;
        margin: 0;
        text-align: left;
        z-index: 2;
        position: relative;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        padding-left: 45px;
        margin-bottom: 15px;
    }
    
    .hero-subtitle::before {
        width: 35px;
    }
    
    .hero-title {
        font-size: 2.6rem;
        font-weight: 700;
        margin-bottom: 25px;
        line-height: 1.2;
        letter-spacing: -0.3px;
    }
    
    .hero-description {
        font-size: 1.05rem;
        max-width: 600px;
        margin-bottom: 35px;
        line-height: 1.7;
        color: var(--gray-600);
    }
    
    .hero-buttons {
        gap: 15px;
        flex-direction: row;
    }
    
    /* ===== Buttons ===== */
    .btn {
        padding: 11px 32px;
        font-size: 0.9rem;
        border-radius: 6px;
        font-weight: 600;
        letter-spacing: 0.4px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
    }
    
    .btn-accent {
        background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-orange-dark) 100%);
        box-shadow: 0 5px 15px rgba(42, 168, 164, 0.25);
    }
    
    .btn-accent:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 22px rgba(42, 168, 164, 0.35);
    }
    
    /* ===== Services Section ===== */
    .services-section {
        background: var(--white);
        padding: 70px 0;
    }
    
    .service-card {
        padding: 30px 25px;
        border-radius: 10px;
        border: 1px solid rgba(42, 168, 164, 0.1);
        background: var(--white);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
        transition: all 0.3s ease;
        height: 100%;
    }
    
    .service-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
        border-color: var(--accent-orange);
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 18px;
        font-size: 1.75rem;
    }
    
    .service-title {
        font-size: 1.1rem;
        font-weight: 700;
        margin-bottom: 12px;
    }
    
    .service-description {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 15px;
    }
    
    /* ===== About Section ===== */
    .about-image-wrapper {
        padding: 15px;
    }
    
    .about-image img {
        height: 350px;
        border-radius: 12px;
        box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
    }
    
    .about-experience {
        padding: 20px 28px;
        font-size: 0.95rem;
        border-radius: 10px;
    }
    
    .experience-number {
        font-size: 2.2rem;
    }
    
    .about-content {
        padding-left: 30px;
    }
    
    .about-text {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 20px;
    }
    
    .about-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-top: 25px;
    }
    
    /* ===== Counter Section ===== */
    .counter-section {
        padding: 60px 0;
    }
    
    .counter-item {
        padding: 25px 20px;
    }
    
    .counter-number {
        font-size: 2.2rem;
        margin-bottom: 10px;
    }
    
    .counter-label {
        font-size: 0.95rem;
        letter-spacing: 0.5px;
    }
    
    /* ===== Projects Section ===== */
    .project-card {
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 5px 18px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
    }
    
    .project-image {
        height: 240px;
    }
    
    .project-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    }
    
    .project-overlay .project-title {
        font-size: 1.15rem;
    }
    
    /* ===== Testimonials Section ===== */
    .testimonials-slider {
        max-width: 850px;
        padding: 0 20px;
    }
    
    .testimonial-content {
        padding: 35px 30px;
        box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
        border-radius: 10px;
    }
    
    .testimonial-text {
        font-size: 1rem;
        margin-bottom: 20px;
        line-height: 1.7;
    }
    
    .author-name {
        font-size: 1.05rem;
    }
    
    .slider-btn {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
    
    /* ===== CTA Section ===== */
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .cta-text {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    /* ===== Contact Section ===== */
    .contact-info-card {
        padding: 32px 25px;
        border: 2px solid var(--gray-200);
        border-radius: 10px;
        transition: all 0.3s ease;
    }
    
    .contact-info-card:hover,
    .contact-info-card.highlight {
        border-color: var(--accent-orange);
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(42, 168, 164, 0.2);
    }
    
    .contact-info-icon {
        width: 65px;
        height: 65px;
        font-size: 1.6rem;
    }
    
    .contact-info-title {
        font-size: 1.15rem;
        margin-bottom: 12px;
    }
    
    .contact-info-text {
        font-size: 0.95rem;
    }
    
    /* ===== Contact Form ===== */
    .contact-form-wrapper {
        padding: 35px 30px;
        border-radius: 10px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    }
    
    .form-label {
        font-size: 0.95rem;
        font-weight: 600;
        margin-bottom: 8px;
    }
    
    .form-control,
    .form-select {
        padding: 12px 15px;
        font-size: 0.95rem;
        border-radius: 6px;
        border: 2px solid var(--gray-200);
    }
    
    .form-control:focus,
    .form-select:focus {
        border-color: var(--accent-orange);
        box-shadow: 0 0 0 3px rgba(42, 168, 164, 0.12);
    }
    
    /* ===== Product Cards ===== */
    .product-card {
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
        transition: all 0.3s ease;
    }
    
    .product-image {
        height: 220px;
    }
    
    .product-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.15);
    }
    
    .product-info {
        padding: 22px 18px;
    }
    
    .product-title {
        font-size: 1.1rem;
        font-weight: 700;
        margin-bottom: 10px;
    }
    
    .product-desc {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    /* ===== Footer ===== */
    .footer-main {
        padding: 55px 0 35px;
    }
    
    .footer-title {
        font-size: 1.1rem;
        font-weight: 700;
        margin-bottom: 18px;
    }
    
    .footer-links li {
        margin-bottom: 8px;
    }
    
    .footer-links a,
    .footer-contact a {
        font-size: 0.95rem;
        transition: all 0.3s ease;
    }
    
    .footer-social a {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .footer-bottom {
        padding: 18px 0;
    }
    
    .copyright,
    .developer-credit {
        font-size: 0.85rem;
    }
    
    .footer-about-text {
        font-size: 0.95rem;
        margin-bottom: 18px;
    }
    
    /* ===== Sections ===== */
    .section-padding {
        padding: 55px 0;
    }
    
    .section-title {
        font-size: 2rem;
        font-weight: 700;
        margin-bottom: 15px;
        letter-spacing: -0.2px;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
        padding-left: 45px;
        margin-bottom: 12px;
    }
    
    .section-subtitle::before {
        width: 35px;
    }
    
    .section-description {
        font-size: 1rem;
        line-height: 1.7;
        max-width: 600px;
    }
    
    /* ===== Containers & Spacing ===== */
    .container {
        max-width: 1160px;
        padding: 0 20px;
    }
    
    .row {
        --bs-gutter-x: 22px;
        --bs-gutter-y: 22px;
    }
    
    /* ===== Page Banner ===== */
    .page-banner {
        padding: 95px 0 50px;
    }
    
    .page-banner-title {
        font-size: 2.6rem;
        font-weight: 700;
        letter-spacing: -0.3px;
        margin-bottom: 15px;
    }
    
    /* ===== Filter Buttons ===== */
    .filter-btn {
        padding: 9px 24px;
        font-size: 0.9rem;
        font-weight: 600;
        border-radius: 25px;
        transition: all 0.3s ease;
    }
    
    /* ===== Animations for Desktop - Subtle & Professional ===== */
    @keyframes slideInLeft {
        from {
            opacity: 0;
            transform: translateX(-30px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
    
    @keyframes slideInRight {
        from {
            opacity: 0;
            transform: translateX(30px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
    
    @keyframes slideInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .hero-subtitle {
        animation: slideInLeft 0.6s ease-out 0.1s backwards;
    }
    
    .hero-title {
        animation: slideInLeft 0.6s ease-out 0.25s backwards;
    }
    
    .hero-description {
        animation: slideInLeft 0.6s ease-out 0.4s backwards;
    }
    
    .hero-buttons {
        animation: slideInUp 0.6s ease-out 0.55s backwards;
    }
    
    .reveal {
        opacity: 0;
        transform: translateY(20px);
    }
    
    .reveal.revealed {
        animation: slideInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    }
}

/* ===== Large Desktop Enhancement (1200px+) - Refined ===== */
@media (min-width: 1200px) {
    .container {
        max-width: 1240px;
    }
    
    .row {
        --bs-gutter-x: 24px;
        --bs-gutter-y: 24px;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .service-card {
        padding: 30px 25px;
    }
    
    .hero-title {
        font-size: 2.8rem;
        margin-bottom: 24px;
        line-height: 1.2;
        letter-spacing: -0.3px;
    }
    
    .hero-section {
        padding: 65px 0 50px;
    }
    
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2.2rem; }
    h3 { font-size: 1.6rem; }
    
    .section-title {
        font-size: 2.2rem;
        margin-bottom: 16px;
    }
    
    .page-banner {
        padding: 100px 0 55px;
    }
    
    .page-banner-title {
        font-size: 2.8rem;
    }
}

/* ===== Mobile (max-width: 768px) - Brand Logo Responsive ===== */
@media (max-width: 768px) {
    .brand-showcase-item {
        padding: 1.5rem 1rem;
        height: 140px;
        margin-bottom: 1rem;
    }
    
    .brand-showcase-item img {
        max-height: 60px;
    }
    
    .brand-logo-container {
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
        min-height: 140px;
    }
    
    .brand-logo-container img {
        max-height: 120px !important;
        max-width: 100% !important;
    }
    
    .product-badge {
        padding: 6px 12px;
        font-size: 0.75rem;
        top: 10px;
        left: 10px;
    }
    
    .product-badge i {
        font-size: 0.875rem;
    }
}

/* Tablet responsive for brand showcase */
@media (max-width: 992px) and (min-width: 769px) {
    .brand-showcase-item {
        padding: 2rem 1.2rem;
        height: 160px;
    }
    
    .brand-showcase-item img {
        max-height: 70px;
    }
    
    .brand-logo-container {
        padding: 2rem 1.25rem;
        min-height: 140px;
    }
    
    .brand-logo-container img {
        max-height: 110px !important;
        max-width: 100% !important;
    }
}

/* ===== Large Desktop (1200px+) - Increase logo width ===== */
@media (min-width: 1200px) {
    .brand-logo-container {
        padding: 1.75rem 0.5rem;
        min-height: 240px;
    }
    
    .brand-logo-img {
        max-height: 210px;
        max-width: 100%;
    }
}

/* ===== Extra Large Desktop (1400px+) - Maximum logo width ===== */
@media (min-width: 1400px) {
    .brand-logo-container {
        padding: 2rem 0.25rem;
        min-height: 260px;
    }
    
    .brand-logo-img {
        max-height: 230px;
        max-width: 100%;
    }
}

/* ==================== PRODUCT SHOWCASE CARDS ==================== */
.product-showcase-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(42, 168, 164, 0.1);
}

.product-showcase-card:hover {
    box-shadow: 0 8px 30px rgba(42, 168, 164, 0.3);
    transform: translateY(-5px);
    border-color: rgba(42, 168, 164, 0.3);
}

.product-showcase-image-wrapper {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f7f6 0%, #e1efed 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 2px solid rgba(42, 168, 164, 0.15);
}

.product-showcase-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 15px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-showcase-card:hover .product-showcase-image-wrapper img {
    transform: scale(1.05);
}

.product-showcase-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-showcase-content h4 {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 12px;
    line-height: 1.4;
}

.product-showcase-content p {
    font-family: var(--font-secondary);
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    flex-grow: 1;
}

/* Responsive adjustments for product showcase */
@media (max-width: 768px) {
    .product-showcase-image-wrapper {
        height: 240px;
    }
    
    .product-showcase-content {
        padding: 20px;
    }
    
    .product-showcase-content h4 {
        font-size: 1.1rem;
    }
    
    .product-showcase-content p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .product-showcase-image-wrapper {
        height: 200px;
    }
    
    .product-showcase-content {
        padding: 15px;
    }
    
    .product-showcase-content h4 {
        font-size: 1rem;
    }
    
    .product-showcase-content p {
        font-size: 0.85rem;
    }
}

/* ==================== BRAND PAGE LAYOUT IMPROVEMENTS ==================== */
/* Tighter spacing for brand intro section */
.product-detail-intro.section-padding {
    padding-bottom: clamp(25px, 4vw, 40px);
}

/* Remove excessive gaps between consecutive bg-light sections */
.section-padding.bg-light + .section-padding.bg-light {
    padding-top: clamp(20px, 3vw, 35px);
}

/* Tighter product grid for brand pages */
.product-showcase-card {
    margin-bottom: clamp(12px, 2vw, 18px);
}

/* Large product showcase image wrapper (for full-width images) */
.product-showcase-image-wrapper.product-showcase-image-large {
    max-height: 350px;
    overflow: hidden;
}

/* Better spacing for advantage/feature items */
.advantage-item,
.feature-card {
    margin-bottom: clamp(15px, 3vw, 22px);
}

/* Compact application grid */
.application-grid {
    margin-top: clamp(12px, 2vw, 20px);
    gap: clamp(8px, 1.5vw, 12px);
}

/* Certification badges compact layout */
.certification-badges {
    margin-top: clamp(15px, 3vw, 25px);
    gap: clamp(8px, 1.5vw, 12px);
}

/* Section title bottom margin reduction */
.section-title {
    margin-bottom: clamp(12px, 2vw, 18px);
}

/* Row gap reduction for tighter grids */
.row.mb-5 {
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem) !important;
}

.row.mt-5 {
    margin-top: clamp(1.5rem, 3vw, 2.5rem) !important;
}

/* CTA section tighter layout */
.cta-section + .footer {
    margin-top: 0;
}

/* Better visual flow for consecutive sections */
.section-padding + .cta-section {
    margin-top: 0;
}

/* Mobile spacing optimizations */
@media (max-width: 768px) {
    .product-detail-intro.section-padding {
        padding-bottom: 25px;
    }
    
    .brand-stats-section {
        padding: 1.5rem 0;
    }
    
    .brand-stat-number {
        font-size: 2.25rem;
    }
    
    .advantage-item,
    .feature-card {
        margin-bottom: 15px;
    }
    
    .row.mb-5 {
        margin-bottom: 1.5rem !important;
    }
    
    .row.mt-5 {
        margin-top: 1.5rem !important;
    }
}

@media (max-width: 576px) {
    .product-detail-intro.section-padding {
        padding-bottom: 20px;
    }
    
    .brand-stats-section {
        padding: 1.25rem 0;
    }
    
    .brand-stat-number {
        font-size: 1.85rem;
    }
    
    .brand-stat-label {
        font-size: 0.85rem;
    }
}


/* ==================== Floating WhatsApp Button ==================== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.25);
    z-index: 100;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: translateY(-5px);
    box-shadow: 4px 4px 12px rgba(0,0,0,0.3);
}

.whatsapp-float i {
    margin-top: 15px;
}

@media (max-width: 767px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }
    .whatsapp-float i {
        margin-top: 13px;
    }
}
/* ==================== Product Gallery Styles ==================== */
.product-gallery-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    border: 2px solid #e9ecef;
    position: relative;
}

.product-gallery-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(42, 168, 164, 0.03) 0%, rgba(10, 61, 76, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
    pointer-events: none;
}

.product-gallery-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 15px 40px rgba(42, 168, 164, 0.3);
    border-color: #2aa8a4;
}

.product-gallery-card:hover::before {
    opacity: 1;
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    padding: 30px;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.product-gallery-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 260px;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
    display: block;
    position: relative;
    z-index: 2;
}

.product-gallery-card:hover .product-gallery-img {
    transform: scale(1.1);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.25));
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 61, 76, 0.96) 0%, rgba(42, 168, 164, 0.96) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    padding: 20px;
    z-index: 10;
    pointer-events: none;
}

.product-gallery-card:hover .product-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.product-overlay-content {
    text-align: center;
    color: #fff;
    transform: translateY(30px) scale(0.9);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0;
}

.product-gallery-card:hover .product-overlay-content {
    transform: translateY(0) scale(1);
    opacity: 1;
    transition-delay: 0.1s;
}

.product-overlay-content h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 0.5px;
}

.product-overlay-content p {
    font-size: 0.9rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.5;
}

.product-gallery-info {
    padding: 20px;
    text-align: center;
    background: #fff;
    border-top: 2px solid #e9ecef;
    position: relative;
    z-index: 5;
    transition: all 0.4s ease;
}

.product-gallery-card:hover .product-gallery-info {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-top-color: #2aa8a4;
}

.product-gallery-info h5 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #0a3d4c;
    margin-bottom: 10px;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

.product-gallery-card:hover .product-gallery-info h5 {
    color: #2aa8a4;
    transform: translateY(-2px);
}

.product-gallery-info .badge {
    font-size: 0.7rem;
    padding: 5px 10px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    display: inline-block;
}

.product-gallery-card:hover .product-gallery-info .badge {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Badge Color Variations */
.badge.bg-primary {
    background: linear-gradient(135deg, #2aa8a4 0%, #1d8d8a 100%) !important;
}

.badge.bg-success {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%) !important;
}

.badge.bg-info {
    background: linear-gradient(135deg, #17a2b8 0%, #117a8b 100%) !important;
}

.badge.bg-warning {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%) !important;
    color: #0a3d4c !important;
}

.badge.bg-secondary {
    background: linear-gradient(135deg, #6c757d 0%, #545b62 100%) !important;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .product-image-wrapper {
        min-height: 250px;
        padding: 25px;
    }
    
    .product-gallery-img {
        max-height: 220px;
    }
}

@media (max-width: 767px) {
    .product-image-wrapper {
        min-height: 220px;
        padding: 20px;
    }
    
    .product-gallery-img {
        max-height: 200px;
    }
    
    .product-gallery-info h5 {
        font-size: 0.95rem;
    }
    
    .product-overlay-content h5 {
        font-size: 1rem;
    }
    
    .product-overlay-content p {
        font-size: 0.85rem;
    }
}