/* ========================================
   CSS VARIABLES - PROFESSIONAL COLOR PALETTE
   ======================================== */
:root {
    /* Primary Brand Colors - Navy core */
    --rp-primary: #0D1B3A;           /* Main brand color */
    --rp-primary-dark: #0A142B;      /* Darker shade for depth */
    --rp-primary-light: #162546;     /* Lighter shade for contrast */
    --rp-primary-lighter: #22355D;   /* Even lighter for highlights */

    /* Secondary Colors - Charcoal blues */
    --rp-secondary: #2F3746;         /* Medium charcoal */
    --rp-secondary-dark: #232A36;    /* Dark charcoal */
    --rp-secondary-light: #495569;   /* Light charcoal */

    /* Accent Colors - Premium steel blue */
    --rp-accent: #5C7AA6;            /* Primary accent */
    --rp-accent-light: #8FA7C6;      /* Light accent for UI */
    --rp-accent-lighter: #C7D3E2;    /* Very light accent */

    /* Neutral Colors */
    --rp-text-primary: #E6EDF6;      /* Primary text color */
    --rp-text-secondary: #B6C3D6;    /* Secondary text color */
    --rp-text-muted: #8B98AC;        /* Muted text color */
    --rp-text-dark: #0B1222;         /* Dark text for light backgrounds */

    /* Background Colors */
    --rp-bg-dark: #0B1222;           /* Darkest background */
    --rp-bg-medium: rgba(12, 19, 36, 0.9);   /* Medium transparency */
    --rp-bg-light: rgba(17, 26, 45, 0.92);   /* Light transparency */
    --rp-bg-overlay: rgba(10, 16, 30, 0.85); /* Overlay background */

    /* Border & Divider Colors */
    --rp-border: rgba(255, 255, 255, 0.08);
    --rp-border-light: rgba(255, 255, 255, 0.04);
    --rp-border-focus: #6F8FB8;

    /* Shadow Colors */
    --rp-shadow-sm: 0 2px 8px rgba(6, 10, 20, 0.35);
    --rp-shadow-md: 0 4px 16px rgba(6, 10, 20, 0.45);
    --rp-shadow-lg: 0 8px 32px rgba(6, 10, 20, 0.5);
    --rp-shadow-xl: 0 12px 40px rgba(6, 10, 20, 0.6);

    /* Interactive States */
    --rp-hover: #EAF1FA;
    --rp-active: #CFE0F5;
    --rp-focus-ring: rgba(92, 122, 166, 0.25);

    /* Status Colors (complementary to palette) */
    --rp-success: #10B981;
    --rp-warning: #F59E0B;
    --rp-error: #EF4444;
    --rp-info: #3B82F6;

    /* White */
    --rp-white: #ffffff;

    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   GLOBAL STYLES
   ======================================== */
* {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--rp-text-primary);
    background: linear-gradient(135deg, var(--rp-bg-dark) 0%, var(--rp-primary-dark) 50%, var(--rp-bg-dark) 100%);
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.02) 0%, transparent 55%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.015) 0%, transparent 55%);
    pointer-events: none;
    z-index: -1;
}

h1, h2, h3, h4, .navbar-brand {
    font-family: 'Cormorant Garamond', "Times New Roman", serif;
}

a {
    color: var(--rp-text-primary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--rp-accent-light);
}

/* ========================================
   NAVBAR WITH LOGO
   ======================================== */
.navbar {
    background: rgba(10, 16, 30, 0.9);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    transition: var(--transition-smooth);
    box-shadow: var(--rp-shadow-lg);
    border-bottom: 1px solid var(--rp-border);
    padding: 0.75rem 0;
}

.navbar.scrolled {
    background: rgba(8, 13, 24, 0.95);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    box-shadow: var(--rp-shadow-lg);
    padding: 0.5rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    color: var(--rp-text-primary) !important;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.navbar-brand:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.navbar-logo {
    height: 45px;
    width: auto;
    margin-right: 12px;
    transition: var(--transition-smooth);
    filter: brightness(0) invert(1);
}

.navbar.scrolled .navbar-logo {
    height: 38px;
}

.navbar-nav .nav-link {
    color: var(--rp-text-secondary) !important;
    position: relative;
    padding: 0.5rem 1rem !important;
    transition: var(--transition-smooth);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--rp-accent-light);
    transition: var(--transition-smooth);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 70%;
}

.navbar-nav .nav-link:hover {
    transform: translateY(-2px);
    color: var(--rp-text-primary) !important;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
    background: radial-gradient(circle at top left, rgba(22, 37, 70, 0.85) 0, rgba(13, 23, 46, 0.95) 55%, rgba(7, 12, 24, 0.98) 100%);
    color: var(--rp-text-primary);
    padding: 7rem 0 5rem;
    position: relative;
    overflow: hidden;
    border-bottom: none;
    box-shadow: 0 12px 40px rgba(6, 10, 20, 0.45);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translateY(0); }
    100% { transform: translateY(40px); }
}

.hero-tagline {
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: var(--rp-text-secondary);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.hero-title {
    font-size: clamp(2.2rem, 3.2vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.hero-lead {
    font-size: 1.05rem;
    max-width: 650px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.hero-buttons {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.8s forwards;
}

.hero-card {
    background:
        url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="hero-dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="0.9" fill="rgba(255,255,255,0.04)"/></pattern></defs><rect width="60" height="60" fill="url(%23hero-dots)"/></svg>'),
        linear-gradient(135deg, rgba(18, 28, 52, 0.9) 0%, rgba(12, 19, 36, 0.92) 100%);
    border-radius: 1.25rem;
    padding: 1.5rem 1.75rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 0;
    animation: fadeInRight 0.8s ease-out 0.6s forwards;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow:
        0 12px 40px rgba(6, 10, 20, 0.55),
        0 6px 24px rgba(6, 10, 20, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        inset 0 -1px 0 rgba(0, 0, 0, 0.4);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition-slow);
}

.hero-card:hover::before {
    opacity: 1;
}

.hero-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow:
        0 20px 60px rgba(6, 10, 20, 0.6),
        0 10px 36px rgba(6, 10, 20, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        inset 0 -1px 0 rgba(0, 0, 0, 0.5),
        0 0 0 3px rgba(92, 122, 166, 0.2);
    border-color: rgba(255, 255, 255, 0.12);
}

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

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 24px rgba(6, 10, 20, 0.5);
}

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

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

.btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(6, 10, 20, 0.6);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn:active {
    transform: translateY(-2px);
}

.btn-light {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    color: var(--rp-text-primary);
}

.btn-outline-light::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.08));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.7;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: var(--rp-accent-light);
    color: var(--rp-text-primary);
    box-shadow:
        0 12px 32px rgba(6, 10, 20, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

.btn-outline-light:hover::after {
    opacity: 1;
}

/* Enhanced hero button group */
.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    min-width: 200px;
    font-weight: 600;
    position: relative;
    letter-spacing: 0.025em;
    text-transform: none;
}

/* Primary CTA (Make an enquiry) - Professional solid style */
.hero-cta-primary {
    position: relative;
    z-index: 1;
    background: var(--rp-accent) !important;
    color: var(--rp-white) !important;
    border: 2px solid var(--rp-accent) !important;
    box-shadow: var(--rp-shadow-md) !important;
}

.hero-cta-primary:hover {
    background: var(--rp-accent-light) !important;
    color: var(--rp-text-dark) !important;
    border-color: var(--rp-accent-light) !important;
    box-shadow: 0 8px 24px rgba(6, 10, 20, 0.45) !important;
    transform: translateY(-2px) !important;
}

.hero-cta-primary:active {
    transform: translateY(0) !important;
}

/* Secondary CTA (View services) - Professional outline style */
.hero-cta-secondary {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 2px solid rgba(255, 255, 255, 0.28) !important;
    color: var(--rp-text-primary) !important;
    position: relative;
    z-index: 1;
    box-shadow: var(--rp-shadow-sm) !important;
}

.hero-cta-secondary:hover {
    background: var(--rp-accent-light) !important;
    border-color: var(--rp-accent-light) !important;
    color: var(--rp-text-dark) !important;
    box-shadow: var(--rp-shadow-md) !important;
    transform: translateY(-2px) !important;
}

.hero-cta-secondary:active {
    transform: translateY(0) !important;
}

/* Sync opposite button on hover */
.hero-buttons:has(.hero-cta-secondary:hover) .hero-cta-primary,
.hero-buttons:has(.hero-cta-primary:hover) .hero-cta-secondary {
    background: rgba(255, 255, 255, 0.9) !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
    color: var(--rp-text-dark) !important;
    box-shadow: var(--rp-shadow-sm) !important;
}

/* General btn-primary styling for forms */
.btn-primary {
    background: var(--rp-accent) !important;
    color: var(--rp-white) !important;
    border: 2px solid var(--rp-accent) !important;
    font-weight: 600;
    box-shadow: var(--rp-shadow-md);
}

.btn-primary:hover {
    background: var(--rp-accent-light) !important;
    color: var(--rp-text-dark) !important;
    border-color: var(--rp-accent-light) !important;
    box-shadow: 0 8px 24px rgba(6, 10, 20, 0.45);
}

/* ========================================
   SECTIONS
   ======================================== */
.section-padding {
    padding: 5rem 0;
    position: relative;
}

/* Add subtle glow separator between sections */
.section-padding::before {
    content: none;
}

/* Specific section backgrounds for better separation */
#services {
    background: linear-gradient(135deg, rgba(12, 19, 36, 0.96) 0%, rgba(10, 16, 30, 0.98) 100%);
    border-top: none;
    border-bottom: none;
    box-shadow: none;
    margin-bottom: 4px;
    position: relative;
}

#services::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.03) 0%, transparent 45%),
        radial-gradient(circle at 80% 70%, rgba(92, 122, 166, 0.06) 0%, transparent 45%);
    pointer-events: none;
    z-index: 0;
}

#services .container {
    position: relative;
    z-index: 1;
}

#who-we-help {
    background: linear-gradient(135deg, rgba(10, 16, 30, 0.98) 0%, rgba(12, 19, 36, 0.96) 100%);
    border-top: none;
    border-bottom: none;
    box-shadow: none;
    margin-bottom: 4px;
    position: relative;
}

#who-we-help::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 70% 40%, rgba(255, 255, 255, 0.03) 0%, transparent 55%),
        radial-gradient(circle at 30% 80%, rgba(92, 122, 166, 0.06) 0%, transparent 55%);
    pointer-events: none;
    z-index: 0;
}

#who-we-help .container {
    position: relative;
    z-index: 1;
}

#pricing {
    background: linear-gradient(135deg, rgba(12, 19, 36, 0.98) 0%, rgba(8, 13, 24, 0.98) 100%);
    border-top: none;
    border-bottom: none;
    box-shadow: none;
    margin-bottom: 4px;
    position: relative;
}

#pricing::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 20% 70%, rgba(92, 122, 166, 0.06) 0%, transparent 45%);
    pointer-events: none;
    z-index: 0;
}

#pricing .container {
    position: relative;
    z-index: 1;
}

#faqs {
    background:
        linear-gradient(135deg, rgba(8, 13, 24, 0.98) 0%, rgba(12, 19, 36, 0.98) 100%);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-top: none;
    border-bottom: none;
    box-shadow: none;
    margin-bottom: 4px;
    position: relative;
}

#faqs::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 40% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 55%),
        radial-gradient(circle at 80% 30%, rgba(92, 122, 166, 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

#faqs .container {
    position: relative;
    z-index: 1;
}

#enquiry {
    position: relative;
    background:
        linear-gradient(135deg, rgba(10, 16, 30, 0.98) 0%, rgba(12, 19, 36, 0.98) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: none;
    box-shadow: none;
}

.section-heading {
    font-weight: 700;
    margin-bottom: 0.75rem;
    position: relative;
    display: inline-block;
    text-shadow:
        0 6px 18px rgba(6, 10, 20, 0.6),
        0 2px 6px rgba(6, 10, 20, 0.4);
    color: var(--rp-text-primary);
    letter-spacing: -0.02em;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--rp-accent), var(--rp-accent-light));
    border-radius: 2px;
    box-shadow:
        0 6px 18px rgba(6, 10, 20, 0.5);
}

.section-heading::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 85px;
    width: 30px;
    height: 4px;
    background: linear-gradient(90deg, var(--rp-accent-light), transparent);
    border-radius: 2px;
}

.section-subtitle {
    color: var(--rp-text-secondary);
    max-width: 100%;
    margin-top: 1rem;
}

/* ========================================
   CARDS
   ======================================== */
.card-soft {
    background: linear-gradient(135deg, rgba(18, 28, 52, 0.92) 0%, rgba(12, 19, 36, 0.95) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 12px 40px rgba(6, 10, 20, 0.55),
        0 6px 24px rgba(6, 10, 20, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        inset 0 -1px 0 rgba(0, 0, 0, 0.4);
    /* height: 100%; */
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    color: var(--rp-text-primary);
}

/* Service Icons */
.service-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(92, 122, 166, 0.25), rgba(17, 26, 45, 0.6));
    transition: var(--transition-smooth);
}

.service-icon {
    width: 28px;
    height: 28px;
    color: var(--rp-accent-light);
    transition: var(--transition-smooth);
}

.card-soft:hover .service-icon-wrapper {
    background: linear-gradient(135deg, rgba(92, 122, 166, 0.35), rgba(17, 26, 45, 0.7));
    transform: scale(1.1) translateY(-2px);
}

.card-soft:hover .service-icon {
    color: var(--rp-hover);
    transform: scale(1.05);
}

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

.card-soft::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1.25rem;
    padding: 1px;
    background: linear-gradient(145deg, rgba(255,255,255,0.15), rgba(255,255,255,0) 50%, rgba(0,0,0,0.4));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: var(--transition-smooth);
}

.card-soft:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow:
        0 18px 52px rgba(6, 10, 20, 0.6),
        0 8px 28px rgba(6, 10, 20, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        inset 0 -1px 0 rgba(0, 0, 0, 0.5),
        0 0 0 3px rgba(92, 122, 166, 0.2);
    border-color: rgba(255, 255, 255, 0.12);
}

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

.card-soft:hover::after {
    opacity: 1;
}

.card-soft .card-body {
    padding: 1.5rem 1.5rem 1.75rem;
    position: relative;
    z-index: 1;
}

.card-soft .card-body::before {
    content: '';
    position: absolute;
    inset: -1.5rem;
    background:
        url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="0.8" fill="rgba(255,255,255,0.04)"/></pattern></defs><rect width="60" height="60" fill="url(%23dots)"/></svg>'),
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.06) 0%, transparent 60%),
        radial-gradient(circle at bottom left, rgba(92, 122, 166, 0.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: -1;
    border-radius: 1.25rem;
    opacity: 0.7;
}

/* ========================================
   BADGES
   ======================================== */
.badge-pill {
    border-radius: 999px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.3rem 0.8rem;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.card-soft:hover .badge-pill {
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.bg-soft-blue {
    background: rgba(92, 122, 166, 0.2);
    color: var(--rp-accent-light);
}

.bg-soft-slate {
    background: rgba(47, 55, 70, 0.35);
    color: var(--rp-text-secondary);
}

/* ========================================
   FADE-IN ON SCROLL
   ======================================== */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   STAGGERED ANIMATION
   ======================================== */
.card-soft {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.card-soft.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays */
.card-soft:nth-child(1) { transition-delay: 0.1s; }
.card-soft:nth-child(2) { transition-delay: 0.2s; }
.card-soft:nth-child(3) { transition-delay: 0.3s; }
.card-soft:nth-child(4) { transition-delay: 0.4s; }

/* ========================================
   PRICING
   ======================================== */
.price-pill {
    font-weight: 600;
    color: var(--rp-text-primary);
    font-size: 1.25rem;
}

/* ========================================
   FAQ
   ======================================== */
.faq-item {
    transition: var(--transition-smooth);
    padding: 1.25rem;
    margin: 0 -1.25rem;
    border-radius: 0.75rem;
    position: relative;
    background:
        url('data:image/svg+xml,<svg width="40" height="40" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="faq-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="0.6" fill="rgba(255,255,255,0.02)"/></pattern></defs><rect width="40" height="40" fill="url(%23faq-pattern)"/></svg>');
}

.faq-item:hover {
    background:
        url('data:image/svg+xml,<svg width="40" height="40" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="faq-pattern-hover" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="0.6" fill="rgba(255,255,255,0.04)"/></pattern></defs><rect width="40" height="40" fill="url(%23faq-pattern-hover)"/></svg>'),
        linear-gradient(135deg, rgba(18, 28, 52, 0.92) 0%, rgba(12, 19, 36, 0.95) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow:
        var(--rp-shadow-md),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateX(8px);
}

.faq-item + .faq-item {
    border-top: var(--rp-border);
    margin-top: 0;
}

.faq-q {
    font-weight: 600;
    color: var(--rp-text-primary);
    cursor: default;
    transition: var(--transition-smooth);
}

.faq-item:hover .faq-q {
    color: var(--rp-accent-light);
    text-shadow: 0 2px 6px rgba(6, 10, 20, 0.6);
}

/* ========================================
   FORMS
   ======================================== */

/* Form container styling */
form {
    background:
        url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="form-dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="0.8" fill="rgba(255,255,255,0.04)"/></pattern></defs><rect width="60" height="60" fill="url(%23form-dots)"/></svg>'),
        linear-gradient(135deg, rgba(18, 28, 52, 0.92) 0%, rgba(12, 19, 36, 0.95) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 1.5rem;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 12px 40px rgba(6, 10, 20, 0.55),
        0 6px 24px rgba(6, 10, 20, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        inset 0 -1px 0 rgba(0, 0, 0, 0.4);
    position: relative;
}

form::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.06) 0%, transparent 50%),
        radial-gradient(circle at bottom right, rgba(92, 122, 166, 0.12) 0%, transparent 50%);
    border-radius: 1.5rem;
    pointer-events: none;
}

/* Form labels */
.form-label {
    font-weight: 600;
    color: var(--rp-text-primary);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

/* Input fields */
.form-control, .form-select {
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(8, 13, 24, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow:
        var(--rp-shadow-sm),
        inset 0 1px 2px rgba(0, 0, 0, 0.35);
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    color: var(--rp-text-primary);
}

.form-control:focus, .form-select:focus {
    border-color: var(--rp-border-focus);
    background: rgba(8, 13, 24, 0.9);
    box-shadow:
        0 0 0 4px var(--rp-focus-ring),
        var(--rp-shadow-md),
        inset 0 1px 2px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    color: var(--rp-text-primary);
}

/* Textarea specific */
textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Placeholder styling */
.form-control::placeholder,
.form-select::placeholder {
    color: rgba(182, 195, 214, 0.6);
    font-size: 0.9rem;
}

/* Checkbox styling */
.form-check {
    padding-left: 2rem;
    margin-bottom: 1rem;
}

.form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.15rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(8, 13, 24, 0.85);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.form-check-input:hover {
    border-color: var(--rp-accent);
    box-shadow: var(--rp-shadow-sm);
}

.form-check-input:checked {
    background-color: var(--rp-accent);
    border-color: var(--rp-accent);
    box-shadow:
        var(--rp-shadow-sm),
        0 0 0 4px var(--rp-focus-ring);
}

.form-check-input:focus {
    box-shadow: 0 0 0 4px var(--rp-focus-ring);
}

.form-check-label {
    font-size: 0.9rem;
    color: var(--rp-text-primary);
    cursor: pointer;
    user-select: none;
}

/* Submit button in form */
form .btn-primary {
    width: 100%;
    padding: 0.875rem 2rem;
    font-weight: 600;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

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

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

form .btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 8px 32px rgba(6, 10, 20, 0.6),
        0 0 0 4px var(--rp-focus-ring);
}

form .btn-primary:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow:
        0 4px 16px rgba(6, 10, 20, 0.5),
        0 0 0 4px var(--rp-focus-ring);
}

/* Form group spacing */
.mb-3 {
    margin-bottom: 1.5rem !important;
}

/* Required field indicator */
.form-label.required::after {
    content: '*';
    color: #dc3545;
    margin-left: 0.25rem;
}

/* ========================================
   FOOTER
   ======================================== */
.bg-footer {
    background: linear-gradient(135deg, rgba(10, 16, 30, 0.98) 0%, rgba(7, 12, 24, 0.98) 100%);
    color: var(--rp-text-primary);
    position: relative;
    overflow: hidden;
    border-top: var(--rp-border);
}

.bg-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.footer-heading {
    color: var(--rp-text-primary);
    font-weight: 600;
    font-size: 1.25rem;
}

.footer-subheading {
    color: var(--rp-text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
}

.footer-text {
    color: var(--rp-text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-tagline {
    color: var(--rp-text-muted);
    font-size: 0.875rem;
    font-style: italic;
    margin-bottom: 0;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
    padding-left: 0;
}

.footer-links li::before {
    display: none;
}

.footer-links a {
    color: var(--rp-text-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
    font-size: 0.9rem;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--rp-text-primary);
    transform: translateX(4px);
    text-shadow: none;
}

.footer-disclaimer {
    color: var(--rp-text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
    background: rgba(255, 255, 255, 0.06);
    padding: 1rem;
    border-radius: 0.5rem;
    border-left: 3px solid rgba(255, 255, 255, 0.12);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.08);
    margin: 2rem 0;
    display: none;
}

.footer-copyright {
    color: var(--rp-text-muted);
    font-size: 0.85rem;
}

/* ========================================
   SCROLL INDICATOR
   ======================================== */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--rp-accent-light), var(--rp-secondary-light));
    z-index: 9999;
    transition: width 0.1s ease-out;
    box-shadow: var(--rp-shadow-sm);
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.small-text {
    font-size: 0.85rem;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 991.98px) {
    .navbar-logo {
        height: 40px;
    }

    .navbar.scrolled .navbar-logo {
        height: 35px;
    }

    form {
        padding: 2rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        text-align: left;
        padding: 5rem 0 3rem;
    }

    .hero-card {
        margin-top: 2rem;
    }

    .section-padding {
        padding: 3rem 0;
    }

    form {
        padding: 1.5rem;
        border-radius: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-buttons .btn {
        min-width: 100%;
        margin: 0 !important;
    }
}

/* ========================================
   ADDITIONAL DEPTH ENHANCEMENTS
   ======================================== */

/* Add subtle floating animation to hero buttons */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-6px);
    }
}

/* Subtle glow pulse animation for cards */
@keyframes cardGlow {
    0%, 100% {
        box-shadow:
            0 10px 40px rgba(0, 0, 0, 0.4),
            0 4px 16px rgba(0, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.15),
            inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    }
    50% {
        box-shadow:
            0 10px 40px rgba(0, 0, 0, 0.4),
            0 4px 16px rgba(0, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.2),
            inset 0 -1px 0 rgba(0, 0, 0, 0.2),
            0 0 20px rgba(92, 122, 166, 0.18);
    }
}

/* Shimmer effect animation */
@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

/* Add shimmer to cards on hover */
.card-soft:hover::before {
    animation: shimmer 2s ease-in-out;
}

/* Enhanced section backgrounds with depth */
section {
    position: relative;
    z-index: 1;
}

/* Price pill with glass effect */
.price-pill {
    position: relative;
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(12, 19, 36, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--rp-shadow-md);
}

/* Text depth effects */
.hero-title, .section-heading {
    position: relative;
}

/* Layered shadow effect for images */
img {
    position: relative;
}

/* Enhanced list items with subtle depth */
ul li {
    position: relative;
    padding-left: 1.5rem;
    list-style: none;
}

ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 6px;
    height: 6px;
    background: var(--rp-accent);
    border-radius: 50%;
    box-shadow: var(--rp-shadow-md);
}

/* Remove custom bullets from navbar and footer links */
.navbar-nav li,
.footer-links li {
    padding-left: 0 !important;
}

.navbar-nav li::before,
.footer-links li::before {
    display: none !important;
}

/* Ordered lists should use numbers, not custom bullets */
ol li {
    list-style: decimal;
    padding-left: 0;
}

ol li::before {
    display: none;
}

/* Glass container effect */
.container {
    position: relative;
}

/* Subtle depth on hover for all interactive elements */
a:not(.btn):hover {
    text-shadow: var(--rp-shadow-md);
}

/* Enhanced focus states with depth */
:focus-visible {
    outline: 2px solid var(--rp-accent);
    outline-offset: 4px;
    box-shadow: 0 0 0 4px var(--rp-focus-ring);
}

/* Small text elements */
.small {
    color: var(--rp-text-secondary);
}

/* Text muted */
.text-muted {
    color: var(--rp-text-muted) !important;
}

/* Headings in cards */
h3.h6, h3.h5 {
    color: var(--rp-text-primary);
}

/* Layered effect for pricing cards */
#pricing .card-soft {
    transform-style: preserve-3d;
}

#pricing .card-soft:hover {
    transform: translateY(-12px) scale(1.02) rotateX(2deg);
}

/* FAQ section depth enhancement - styles moved to main sections area */

/* Service cards parallax effect on scroll */
#services .card-soft {
    transform-style: preserve-3d;
    perspective: 1000px;
}

#services .card-soft .card-body {
    transform: translateZ(20px);
}

/* Enhanced enquiry section - background moved to main sections area */
#enquiry::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.03) 0%, transparent 60%),
        radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.02) 0%, transparent 60%);
    pointer-events: none;
}

#enquiry .container {
    position: relative;
    z-index: 1;
}

/* Form side card enhancement */
#enquiry .card-soft {
    background: linear-gradient(135deg, rgba(18, 28, 52, 0.92) 0%, rgba(12, 19, 36, 0.95) 100%);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 12px 40px rgba(6, 10, 20, 0.55),
        0 6px 24px rgba(6, 10, 20, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        inset 0 -1px 0 rgba(0, 0, 0, 0.4);
}

/* ========================================
   ACCESSIBILITY
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
