/* ============================================
   NALWAYA FITTING SUPPLIERS - PREMIUM ADVANCED STYLES
   ============================================ */

/* ============================================
   GOOGLE FONTS IMPORT
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ============================================
   CSS VARIABLES - ADVANCED DESIGN TOKENS
   ============================================ */
:root {
    /* Primary Colors */
    --primary-blue: #254f7e;
    --primary-blue-dark: #1a3a5c;
    --primary-blue-light: #3a6a9e;

    /* Secondary Colors */
    --soft-grey: #f1f3f6;
    --dark-slate: #1f2937;
    --accent-gold: #c9a24d;
    --white: #ffffff;

    /* Gradient Colors */
    --gradient-primary: linear-gradient(135deg, #254f7e 0%, #1a3a5c 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(37, 79, 126, 0.88) 0%, rgba(26, 58, 92, 0.92) 100%);
    --gradient-gold: linear-gradient(135deg, #c9a24d 0%, #a88a3e 100%);

    /* Glass Morphism */
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.25);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);

    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    --spacing-xxl: 8rem;

    /* Shadows - Premium Grey Shadows */
    --shadow-sm: 0 2px 12px rgba(100, 116, 139, 0.12);
    --shadow-md: 0 4px 20px rgba(100, 116, 139, 0.18);
    --shadow-lg: 0 8px 32px rgba(100, 116, 139, 0.24);
    --shadow-xl: 0 16px 48px rgba(100, 116, 139, 0.32);
    --shadow-2xl: 0 24px 64px rgba(100, 116, 139, 0.4);

    /* Transitions */
    --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.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

/* ============================================
   GLOBAL RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--dark-slate);
    line-height: 1.7;
    background-color: var(--white);
    overflow-x: hidden;
    position: relative;
}

/* Subtle Background Texture */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(37, 79, 126, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(201, 162, 77, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

ul,
ol {
    list-style: none;
}

/* ============================================
   TYPOGRAPHY - PREMIUM
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark-slate);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    margin-bottom: var(--spacing-md);
    font-weight: 800;
}

h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: var(--spacing-md);
    font-weight: 700;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

p {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.8;
    margin-bottom: var(--spacing-sm);
    color: #475569;
    font-weight: 400;
}

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.container-wide {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-xxl) 0;
    position: relative;
    overflow: hidden;
}

.section-alt {
    background-color: var(--soft-grey);
}

/* ============================================
   TOP INFO BAR - ENHANCED
   ============================================ */
.top-bar {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.875rem 0;
    font-size: 0.875rem;
    position: relative;
    overflow: hidden;
}

.top-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.top-bar a {
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-fast);
    position: relative;
}

.top-bar a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    transition: var(--transition-normal);
}

.top-bar a:hover::after {
    width: 100%;
}

.top-bar a:hover {
    color: var(--accent-gold);
    transform: translateY(-1px);
}

/* ============================================
   HEADER & NAVIGATION - PREMIUM
   ============================================ */
.header {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all var(--transition-normal);
}

.header.scrolled {
    box-shadow: var(--shadow-lg);
    background-color: rgba(255, 255, 255, 0.95);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition-normal);
}

.logo:hover {
    transform: scale(1.02);
}

.logo img {
    height: 70px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(37, 79, 126, 0.15));
    transition: var(--transition-normal);
}

.logo:hover img {
    filter: drop-shadow(0 4px 12px rgba(37, 79, 126, 0.25));
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-menu a {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1rem;
    color: var(--dark-slate);
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition-normal);
}

/* Remove any button styling from nav links */
.nav-menu a.btn,
.nav-menu a.btn-primary {
    background: none;
    border: none;
    box-shadow: none;
    padding: 0.5rem 0;
    border-radius: 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: var(--transition-normal);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-blue);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 0.4rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background-color: var(--primary-blue);
    border-radius: 2px;
    transition: var(--transition-normal);
}

/* ============================================
   HERO SECTION - PARALLAX & ADVANCED
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../images/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-overlay);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, var(--white), transparent);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    max-width: 1000px;
    padding: var(--spacing-md);
    animation: heroFadeIn 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    color: var(--white);
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    margin-bottom: var(--spacing-md);
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.hero p {
    font-size: clamp(1.125rem, 2.5vw, 1.75rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--spacing-lg);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    font-weight: 400;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: heroButtonsIn 1.4s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

@keyframes heroButtonsIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   BUTTONS - PREMIUM INTERACTIVE
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.125rem 2.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 400px;
    height: 400px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn:active {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-gold {
    background: var(--gradient-gold);
    color: var(--white);
}

.btn-gold:hover {
    background: linear-gradient(135deg, #d4a857 0%, #b89445 100%);
}

/* ============================================
   SECTION HEADERS - ENHANCED
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    animation: fadeInUp 0.8s ease;
}

.section-header h2 {
    color: var(--primary-blue);
    position: relative;
    display: inline-block;
    padding-bottom: 1.5rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: var(--gradient-gold);
    border-radius: var(--radius-full);
    box-shadow: 0 2px 12px rgba(201, 162, 77, 0.4);
}

.section-header p {
    max-width: 800px;
    margin: 1.5rem auto 0;
    font-size: 1.25rem;
    color: #64748b;
    line-height: 1.8;
}

/* ============================================
   CARDS - PREMIUM WITH GREY SHADOWS
   ============================================ */
.card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-normal);
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-2xl);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    font-size: 2.25rem;
    color: var(--white);
    transition: all var(--transition-bounce);
    box-shadow: var(--shadow-md);
}

.card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-xl);
}

.card h3 {
    color: var(--primary-blue);
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

.card p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.7;
}

/* ============================================
   GLASS MORPHISM CARDS
   ============================================ */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    box-shadow: var(--glass-shadow);
    transition: all var(--transition-normal);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-8px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.25);
}

/* ============================================
   GRID LAYOUTS
   ============================================ */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.grid-5 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--spacing-md);
}

/* ============================================
   METRICS / COUNTERS - GLASS MORPHISM
   ============================================ */
.metrics {
    background-image: url('../images/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    padding: var(--spacing-xxl) 0;
    position: relative;
}

.metrics::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 79, 126, 0.92) 0%, rgba(26, 58, 92, 0.88) 100%);
    z-index: 1;
}

.metrics .container {
    position: relative;
    z-index: 2;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-lg);
    text-align: center;
}

.metric-item {
    padding: var(--spacing-lg);
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    transition: all var(--transition-normal);
}

.metric-item:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.metric-number {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    font-family: var(--font-heading);
    color: var(--accent-gold);
    display: block;
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.metric-label {
    font-size: 1.25rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
}

/* ============================================
   PROGRESS BARS - GRADIENT ANIMATED
   ============================================ */
.progress-container {
    margin-bottom: var(--spacing-lg);
}

.progress-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.progress-label {
    font-weight: 600;
    color: var(--dark-slate);
    font-size: 1.125rem;
}

.progress-percentage {
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 1.125rem;
}

.progress-bar {
    height: 16px;
    background-color: #e2e8f0;
    border-radius: var(--radius-full);
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    width: 0;
    transition: width 1.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(37, 79, 126, 0.4);
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-image: linear-gradient(-45deg,
            rgba(255, 255, 255, 0.3) 25%,
            transparent 25%,
            transparent 50%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0.3) 75%,
            transparent 75%,
            transparent);
    background-size: 50px 50px;
    animation: progressShine 2s linear infinite;
}

@keyframes progressShine {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 50px 50px;
    }
}

/* ============================================
   FAQ ACCORDION - PREMIUM
   ============================================ */
.faq-container {
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.faq-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(8px);
}

.faq-item.active {
    box-shadow: var(--shadow-xl);
}

.faq-question {
    width: 100%;
    padding: 1.75rem 2rem;
    background-color: var(--white);
    border: none;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-blue);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all var(--transition-normal);
}

.faq-question:hover {
    background-color: var(--soft-grey);
    padding-left: 2.5rem;
}

.faq-icon {
    font-size: 1.5rem;
    transition: transform var(--transition-bounce);
    color: var(--primary-blue);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--accent-gold);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-content {
    padding: 0 2rem 2rem;
    color: #64748b;
    line-height: 1.9;
    font-size: 1.0625rem;
}

/* ============================================
   TESTIMONIALS SLIDER - ADVANCED
   ============================================ */
.testimonials-slider {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 4rem;
}

.testimonial-track {
    overflow: hidden;
    border-radius: var(--radius-xl);
}

.testimonial-slides {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
    min-width: 100%;
    background-color: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 30px;
    font-size: 150px;
    color: rgba(37, 79, 126, 0.05);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-stars {
    color: var(--accent-gold);
    font-size: 1.75rem;
    margin-bottom: var(--spacing-md);
    filter: drop-shadow(0 2px 4px rgba(201, 162, 77, 0.3));
}

.testimonial-text {
    font-size: 1.25rem;
    font-style: italic;
    color: #475569;
    margin-bottom: var(--spacing-lg);
    line-height: 1.9;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 1.375rem;
    margin-bottom: 0.25rem;
}

.testimonial-role {
    color: #94a3b8;
    font-size: 1rem;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--white);
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.75rem;
    transition: all var(--transition-bounce);
    box-shadow: var(--shadow-lg);
    z-index: 10;
}

.slider-btn:hover {
    background-color: var(--primary-blue);
    color: var(--white);
    transform: translateY(-50%) scale(1.15);
    box-shadow: var(--shadow-2xl);
}

.slider-btn-prev {
    left: 0;
}

.slider-btn-next {
    right: 0;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: var(--spacing-lg);
}

.slider-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #cbd5e1;
    cursor: pointer;
    transition: all var(--transition-bounce);
    box-shadow: var(--shadow-sm);
}

.slider-dot:hover {
    background-color: #94a3b8;
    transform: scale(1.2);
}

.slider-dot.active {
    background-color: var(--primary-blue);
    width: 40px;
    border-radius: var(--radius-full);
    box-shadow: 0 2px 12px rgba(37, 79, 126, 0.4);
}

/* ============================================
   CTA SECTION - PARALLAX
   ============================================ */
.cta-section {
    background-image: url('../images/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    text-align: center;
    padding: var(--spacing-xxl) 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-overlay);
    z-index: 1;
}

.cta-section::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 162, 77, 0.15) 0%, transparent 70%);
    z-index: 1;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(5deg);
    }
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: var(--spacing-md);
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.cta-section p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.375rem;
    margin-bottom: var(--spacing-lg);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   PRODUCT CARDS - HOVER OVERLAY
   ============================================ */
.product-card {
    background-color: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;
}

.product-card:hover {
    transform: translateY(-16px);
    box-shadow: var(--shadow-2xl);
}

.product-image-wrapper {
    overflow: hidden;
    background-color: var(--soft-grey);
    position: relative;
    height: 280px;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.product-card:hover .product-image {
    transform: scale(1.15);
}

.product-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-overlay);
    opacity: 0;
    transition: var(--transition-normal);
}

.product-card:hover .product-image-wrapper::after {
    opacity: 0.7;
}

.product-info {
    padding: var(--spacing-md);
}

.product-info h3 {
    color: var(--primary-blue);
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

.product-info p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.7;
}

/* ============================================
   CONTACT FORM - FLOATING LABELS
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: start;
}

.contact-form {
    background-color: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 2rem;
    position: relative;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--dark-slate);
    margin-bottom: 0.75rem;
    font-size: 1rem;
    transition: var(--transition-normal);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1.125rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all var(--transition-normal);
    background-color: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(37, 79, 126, 0.1);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 160px;
}

.contact-info {
    background-color: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: var(--spacing-md);
    padding: 1.5rem;
    background-color: var(--soft-grey);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.contact-item:hover {
    background-color: #e8eef5;
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.contact-item-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.75rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

.contact-item-content h4 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.contact-item-content p {
    color: #64748b;
    font-size: 1rem;
    margin: 0;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 1.25rem;
    margin-top: var(--spacing-md);
    flex-wrap: wrap;
}

.social-link {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.75rem;
    transition: all var(--transition-bounce);
    box-shadow: var(--shadow-md);
}

.social-link:hover {
    transform: translateY(-8px) scale(1.15);
    box-shadow: var(--shadow-xl);
    background: var(--gradient-gold);
}

.map-container {
    margin-top: var(--spacing-md);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 450px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ============================================
   FOOTER - ENHANCED
   ============================================ */
.footer {
    background-color: var(--dark-slate);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--spacing-xl) 0 var(--spacing-md);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-gold);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: var(--spacing-md);
    font-size: 1.375rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-gold);
    border-radius: 2px;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1.9;
    transition: var(--transition-normal);
}

.footer-section a:hover {
    color: var(--accent-gold);
    transform: translateX(4px);
    display: inline-block;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-md);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

/* Scroll animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animations */
.scroll-animate:nth-child(1) {
    transition-delay: 0.1s;
}

.scroll-animate:nth-child(2) {
    transition-delay: 0.2s;
}

.scroll-animate:nth-child(3) {
    transition-delay: 0.3s;
}

.scroll-animate:nth-child(4) {
    transition-delay: 0.4s;
}

.scroll-animate:nth-child(5) {
    transition-delay: 0.5s;
}

/* ============================================
   SPLIT LAYOUT (IMAGE + TEXT)
   ============================================ */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.split-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.split-image:hover img {
    transform: scale(1.08);
}

.split-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-overlay);
    opacity: 0.3;
    transition: var(--transition-normal);
}

.split-image:hover::after {
    opacity: 0.5;
}

.split-content {
    padding: var(--spacing-md);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {

    .split-section,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
}

@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 6rem 2rem;
        box-shadow: var(--shadow-2xl);
        transition: var(--transition-normal);
        z-index: 999;
    }

    .nav-menu.active {
        right: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(9px, 9px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }

    .testimonials-slider {
        padding: 0 3rem;
    }

    .slider-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

@media (max-width: 640px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
        --spacing-xxl: 5rem;
    }

    .top-bar-content {
        flex-direction: column;
        text-align: center;
    }

    .top-bar-left,
    .top-bar-right {
        flex-direction: column;
        gap: 0.75rem;
    }

    .logo img {
        height: 55px;
    }

    .logo-title {
        font-size: 1.25rem;
    }

    .testimonials-slider {
        padding: 0 1.5rem;
    }

    .slider-btn {
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }

    .grid-2,
    .grid-3,
    .grid-4,
    .grid-5 {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary-blue);
}

.text-gold {
    color: var(--accent-gold);
}

.mb-sm {
    margin-bottom: var(--spacing-sm);
}

.mb-md {
    margin-bottom: var(--spacing-md);
}

.mb-lg {
    margin-bottom: var(--spacing-lg);
}

.mt-sm {
    margin-top: var(--spacing-sm);
}

.mt-md {
    margin-top: var(--spacing-md);
}

.mt-lg {
    margin-top: var(--spacing-lg);
}

/* ============================================
   FLOATING ACTION BUTTONS - LEFT SIDE
   ============================================ */
.floating-actions {
    position: fixed;
    left: 30px;
    bottom: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.floating-btn {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--white);
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;

    /* Glassmorphism */
    background: rgba(37, 79, 126, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 2px solid rgba(255, 255, 255, 0.2);

    /* Pulse animation */
    animation: floatingPulse 2s ease-in-out infinite;
}

.floating-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.6s ease;
    border-radius: 50%;
}

.floating-btn:hover::before {
    transform: translate(-50%, -50%) scale(1.5);
}

.floating-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-2xl);
    animation: none;
}

.floating-btn.whatsapp {
    background: rgba(37, 211, 102, 0.9);
    backdrop-filter: blur(12px);
}

.floating-btn.whatsapp:hover {
    background: rgba(37, 211, 102, 1);
}

.floating-btn.call {
    background: rgba(37, 79, 126, 0.9);
    backdrop-filter: blur(12px);
}

.floating-btn.call:hover {
    background: rgba(37, 79, 126, 1);
}

@keyframes floatingPulse {

    0%,
    100% {
        box-shadow: 0 8px 32px rgba(100, 116, 139, 0.24), 0 0 0 0 rgba(37, 79, 126, 0.4);
    }

    50% {
        box-shadow: 0 12px 40px rgba(100, 116, 139, 0.32), 0 0 0 15px rgba(37, 79, 126, 0);
    }
}

/* Mobile adjustments for floating buttons */
@media (max-width: 640px) {
    .floating-actions {
        left: 15px;
        bottom: 15px;
        gap: 0.75rem;
    }

    .floating-btn {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
    }
}

/* ============================================
   LIQUID GLASS EFFECT FOR BUTTONS
   ============================================ */
.btn-liquid-glass {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

.btn-liquid-glass::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 30%,
            rgba(255, 255, 255, 0.3) 50%,
            transparent 70%);
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
    transition: transform 0.8s ease;
}

.btn-liquid-glass:hover::after {
    transform: translateX(100%) translateY(100%) rotate(45deg);
}

/* ============================================
   ENHANCED CARD SPACING
   ============================================ */
.card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem 2rem;
    /* Increased from 1.5rem */
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    height: 100%;
    position: relative;
    overflow: hidden;

    /* Enhanced glassmorphism */
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-normal);
}

.card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(37, 79, 126, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover::after {
    opacity: 1;
}

.card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-2xl);
    background: rgba(255, 255, 255, 1);
}

/* ============================================
   GRID LAYOUTS - ENHANCED SPACING
   ============================================ */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    /* Increased from 1.5rem */
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    /* Increased from 1.5rem */
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    /* Increased from 1.5rem */
}

.grid-5 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.75rem;
    /* Increased from 1.25rem */
}

/* ============================================
   PRODUCT CARD ENHANCEMENTS
   ============================================ */
.product-card {
    background-color: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;

    /* Glassmorphism */
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.product-card:hover {
    transform: translateY(-16px);
    box-shadow: var(--shadow-2xl);
    background: rgba(255, 255, 255, 1);
}

.product-info {
    padding: 2rem;
    /* Increased from 1.5rem */
}

.product-info h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    /* Increased spacing */
    font-weight: 600;
}

.product-info p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    /* Added margin for button */
}

/* Product Contact Button */
.product-contact-btn {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: rgba(37, 79, 126, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(37, 79, 126, 0.2);
    border-radius: var(--radius-full);
    color: var(--primary-blue);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.product-contact-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--gradient-primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.product-contact-btn:hover::before {
    width: 300%;
    height: 300%;
}

.product-contact-btn:hover {
    color: var(--white);
    border-color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.product-contact-btn i,
.product-contact-btn span {
    position: relative;
    z-index: 1;
}

/* ============================================
   ABSTRACT BACKGROUND SHAPES
   ============================================ */
.section {
    padding: var(--spacing-xxl) 0;
    position: relative;
    overflow: hidden;
}

.section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37, 79, 126, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatShape 20s ease-in-out infinite;
    pointer-events: none;
}

.section::after {
    content: '';
    position: absolute;
    bottom: -15%;
    left: -8%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(201, 162, 77, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatShape 25s ease-in-out infinite reverse;
    pointer-events: none;
}

@keyframes floatShape {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.section-alt::before {
    background: radial-gradient(circle, rgba(37, 79, 126, 0.03) 0%, transparent 70%);
}

.section-alt::after {
    background: radial-gradient(circle, rgba(201, 162, 77, 0.03) 0%, transparent 70%);
}