/* Premium Design System & Global CSS */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Space+Grotesk:wght@600;700&display=swap');

:root {
    /* Refined Color Palette */
    --primary: #0A2342;
    --primary-light: #16375F;
    --primary-dark: #041427;
    --primary-rgb: 10, 35, 66;
    
    --secondary: #D4A017;
    --secondary-light: #F3C344;
    --secondary-dark: #A57A0F;
    --secondary-rgb: 212, 160, 23;
    
    --accent: #1E88E5;
    --accent-light: #4FB0FF;
    
    /* Background Tones */
    --bg-white: #FFFFFF;
    --bg-light: #F8FAFC;
    --bg-warm: #FAF9F6;
    --bg-card: #FFFFFF;
    
    /* Text Colors */
    --text-heading: #0F172A;
    --text-body: #475569;
    --text-muted: #64748B;
    
    /* Borders */
    --border-light: rgba(15, 23, 42, 0.06);
    --border-medium: rgba(15, 23, 42, 0.1);
    
    /* Fonts */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    
    /* Layout Tokens */
    --container-width: 1400px;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    /* Multi-layered Soft Shadows */
    --shadow-sm: 0 2px 8px -2px rgba(10, 35, 66, 0.03), 0 1px 3px -1px rgba(10, 35, 66, 0.02);
    --shadow-md: 0 12px 24px -10px rgba(10, 35, 66, 0.06), 0 4px 12px -5px rgba(10, 35, 66, 0.04);
    --shadow-lg: 0 24px 48px -18px rgba(10, 35, 66, 0.09), 0 8px 20px -8px rgba(10, 35, 66, 0.06);
    --shadow-premium: 0 40px 80px -24px rgba(10, 35, 66, 0.12), 0 15px 30px -10px rgba(10, 35, 66, 0.06);
    --shadow-inset-gold: inset 0 0 0 1px rgba(212, 160, 23, 0.2);
}

/* Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--text-body);
    background-color: var(--bg-white);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-heading);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.015em;
}

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

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

ul, ol {
    list-style: none;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
    background: none;
}

/* Layout System */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Sections Styling */
.section {
    padding: 7rem 0;
    position: relative;
}

.section-bg-light {
    background-color: var(--bg-light);
}

.section-bg-warm {
    background-color: var(--bg-warm);
}

.section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 4.5rem;
}

.section-header .tag {
    font-family: var(--font-heading);
    font-size: 0.825rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--secondary-dark);
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.25rem 0.75rem;
    background-color: rgba(212, 160, 23, 0.08);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(212, 160, 23, 0.15);
}

.section-header h2 {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--primary);
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 1.15rem;
    color: var(--text-muted);
    font-weight: 400;
    line-height: 1.7;
}

/* Premium Typography Accents */
.text-gradient-gold {
    background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-navy {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Enhanced Button System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.95rem 2.25rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-white);
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-sm);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--bg-white);
    z-index: -1;
    transition: var(--transition-smooth);
}

.btn-primary:hover {
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover::before {
    width: 100%;
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary) 0%, #E6B52F 100%);
    color: var(--primary);
    border: 2px solid var(--secondary);
    box-shadow: var(--shadow-sm);
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--primary);
    z-index: -1;
    transition: var(--transition-smooth);
}

.btn-secondary:hover {
    color: var(--bg-white);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover::before {
    width: 100%;
}

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

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--bg-white);
    box-shadow: var(--shadow-md);
}

.btn-white-outline {
    background-color: transparent;
    color: var(--bg-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-white-outline:hover {
    background-color: var(--bg-white);
    color: var(--primary);
    border-color: var(--bg-white);
    box-shadow: var(--shadow-lg);
}

.btn-sm {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
}

/* Premium WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.whatsapp-float::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid #25D366;
    border-radius: 50%;
    animation: pulseWhatsApp 2s infinite;
    opacity: 0.6;
}

.whatsapp-float:hover {
    transform: scale(1.08) translateY(-3px);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.5);
    background-color: #1ebe57;
}

@keyframes pulseWhatsApp {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.2); opacity: 0; }
}

/* Common UI Helper Classes */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary-dark); }
.font-semibold { font-weight: 500; }
.font-bold { font-weight: 600; }
.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Forms Styling */
.form-group {
    margin-bottom: 1.75rem;
}

.form-label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 500;
    color: var(--text-heading);
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 0.95rem 1.25rem;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-sm);
    color: var(--text-heading);
    transition: var(--transition-fast);
    background-color: var(--bg-light);
    font-size: 0.95rem;
}

.form-control:focus {
    border-color: var(--secondary);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(212, 160, 23, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 130px;
}

/* Breadcrumbs (for sub-pages) */
.breadcrumbs-banner {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--bg-white);
    padding: 5.5rem 0;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid var(--secondary);
}

.breadcrumbs-banner::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: radial-gradient(circle at 85% 15%, rgba(212, 160, 23, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.breadcrumbs-banner h1 {
    color: var(--bg-white);
    font-size: 3.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.breadcrumbs-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.breadcrumbs-list a {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.breadcrumbs-list a:hover {
    color: var(--secondary-light);
}

.breadcrumbs-list span {
    color: rgba(255, 255, 255, 0.3);
}

.breadcrumbs-list .current {
    color: var(--secondary-light);
    font-weight: 600;
}

/* Responsive Scaling and Standard Breakpoints */
@media (max-width: 1024px) {
    body {
        padding: 0;
    }
    .container {
        padding: 0 10px;
    }
    .section {
        padding: 4rem 0;
    }
    .section-header {
        margin-bottom: 2.5rem;
    }
    .section-header h2 {
        font-size: 2rem;
    }
    .breadcrumbs-banner {
        padding: 4.5rem 0;
    }
    .breadcrumbs-banner h1 {
        font-size: 2.5rem;
    }
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
}

@media (max-width: 768px) {
    .section {
        padding: 2.5rem 0;
    }
    .section-header {
        margin-bottom: 2rem;
    }
    .section-header h2 {
        font-size: 1.65rem;
    }
    .section-header p {
        font-size: 1rem;
    }
    .breadcrumbs-banner {
        padding: 3.5rem 0;
    }
    .breadcrumbs-banner h1 {
        font-size: 1.85rem;
    }
    h1 { font-size: 1.85rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* Global Call To Action (CTA) Banner */
.cta-banner {
    background: #06162a; /* Deep rich dark navy */
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
    border-bottom: 5px solid var(--secondary);
}

/* Glowing ambient lights in the background */
.cta-banner::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 160, 23, 0.1) 0%, transparent 70%);
    pointer-events: none;
    filter: blur(50px);
}

.cta-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(10, 35, 66, 0.7) 0%, transparent 70%);
    pointer-events: none;
    filter: blur(50px);
}

/* Glassmorphic Container Card */
.cta-card {
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    padding: 5rem 4rem;
    max-width: 950px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.cta-card h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--bg-white);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    font-family: var(--font-heading);
}

.cta-card p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3rem;
    line-height: 1.75;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1.75rem;
}

@media (max-width: 768px) {
    .cta-banner {
        padding: 4rem 0;
    }
    .cta-card {
        padding: 2.5rem 1.25rem;
        margin: 0;
    }
    .cta-card h2 {
        font-size: 1.85rem;
    }
    .cta-card p {
        font-size: 0.98rem;
        margin-bottom: 2rem;
    }
    .cta-actions {
        flex-direction: column;
        gap: 1rem;
    }
    .cta-actions .btn {
        width: 100%;
    }
}

/* Upgraded Premium Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background-color: var(--primary-dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    border-radius: 5px;
    border: 2px solid var(--primary-dark);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--secondary-light) 0%, var(--secondary) 100%);
}

/* Firefox scrollbar compatibility */
html {
    scrollbar-width: thin;
    scrollbar-color: var(--secondary) var(--primary-dark);
}

/* Dynamic Custom Cursor styling */
.custom-cursor {
    width: 8px;
    height: 8px;
    background-color: var(--secondary);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 99999;
    opacity: 0;
    transition: width 0.2s, height 0.2s, background-color 0.2s, opacity 0.2s;
}

.custom-cursor-ring {
    width: 32px;
    height: 32px;
    border: 2px solid rgba(var(--secondary-rgb), 0.4);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 99998;
    opacity: 0;
    transition: width 0.3s, height 0.3s, border-color 0.3s, background-color 0.3s, opacity 0.2s;
}

/* Hover dynamic states */
.custom-cursor.hovered {
    width: 12px;
    height: 12px;
    background-color: var(--secondary-light);
}

.custom-cursor-ring.hovered {
    width: 48px;
    height: 48px;
    border-color: rgba(var(--secondary-rgb), 1);
    background-color: rgba(var(--secondary-rgb), 0.08);
}

/* Hide default cursor on desktop when dynamic cursor is active
@media (hover: hover) and (pointer: fine) {
    body.custom-cursor-active {
        cursor: none;
    }
    body.custom-cursor-active a,
    body.custom-cursor-active button,
    body.custom-cursor-active .btn,
    body.custom-cursor-active .partner-logo-box,
    body.custom-cursor-active .testimonial-card,
    body.custom-cursor-active .slider-dot,
    body.custom-cursor-active .testimonial-dot,
    body.custom-cursor-active .hamburger {
        cursor: none;
    }
}
*/

/* Ensure no visual elements are rendered on mobile devices */
@media (hover: none) and (pointer: coarse) {
    .custom-cursor,
    .custom-cursor-ring {
        display: none !important;
    }
}
