/* =========================================
   GOLVEN STUDIOS - White & Multi-Color Premium
   ========================================= */

:root {
    /* Base Colors */
    --golven-light: #FFFFFF;
    --golven-bg-alt: #F8FAFC;
    --golven-text: #0F172A;
    --golven-text-muted: #64748B;

    /* Brand */
    --golven-primary: #ed3a43;
    --golven-primary-dark: #c92f36;
    --golven-primary-light: #f05a63;

    /* Bootstrap Mapping */
    --bs-primary: var(--golven-primary);
    --bs-primary-rgb: 237, 58, 67;
    --bs-secondary: #0F172A;
    --bs-light: var(--golven-light);
    --bs-dark: #020617;

    /* Status Colors */
    --bs-success: #10B981;
    --bs-danger: #dc3545;
    --bs-warning: #F59E0B;
    --bs-info: #0dcaf0;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #1952a8 0%, #ed3a43 100%);
    --gradient-accent: linear-gradient(135deg, #FF3BFF 0%, #0066FF 100%);
    --gradient-success: linear-gradient(135deg, #10B981 0%, #3B82F6 100%);

    /* Tier Colors */
    --bronze: #CD7F32;
    --silver: #94A3B8;
    --gold: #F59E0B;
    --platinum: #E5E7EB;

    --shadow-primary: 0 10px 30px rgba(237, 58, 67, 0.15);
    --border-color: #E2E8F0;

    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-blur: blur(10px);

    /* Motion */
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); 
    
}

/* --- Global Settings --- */
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--golven-text);
    background-color: var(--golven-light);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--golven-text);
}

/* --- Navigation (Light Glassmorphism) --- */
.navbar {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(102, 5, 5, 0.726);
}

.navbar-nav .nav-link {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--golven-text) !important;
    transition: var(--transition-smooth);
}

.navbar-nav .nav-link:hover{
    color: rgba(228, 76, 241, 0.363) !important;
} 

.navbar-nav .nav-link.active {
    color: var(--golven-primary) !important;
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 10px;
    right: 10px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 10px;
}

/* --- Custom Mobile Toggler --- */
.navbar-toggler {
    padding: 0.5rem;
}

/* --- Navigation Toggle Button Fix --- */

/* 1. Force the icon lines to be Dark Indigo */
.custom-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(15, 23, 42, 1)' stroke-width='2.5' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E") !important;
}

/* 2. Style the button itself */
.custom-toggler {
    border-radius: 10px;
    padding: 8px;
    transition: var(--transition-smooth);
    background: transparent;
}

/* 3. Add a subtle multi-color glow or background on hover/click */
.custom-toggler:hover, 
.custom-toggler:focus {
    background: rgba(0, 102, 255, 0.05); /* Very light blue tint */
}

/* 4. Optional: If you want the icon to change to your gradient color on hover */
.custom-toggler:hover .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='url(%23grad)' stroke-width='2.5' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3Cdefs%3E%3ClinearGradient id='grad' x1='0%25' y1='0%25' x2='100%25' y2='0%25'%3E%3Cstop offset='0%25' style='stop-color:%230066FF;stop-opacity:1' /%3E%3Cstop offset='100%25' style='stop-color:%237C3AED;stop-opacity:1' /%3E%3C/linearGradient%3E%3C/defs%3E%3C/svg%3E") !important;
}

/* Mobile Menu Background Fix */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        margin-top: 1rem;
        padding: 2rem;
        border-radius: 20px;
        box-shadow: 0 20px 40px rgb(255, 255, 255);
        border: 1px solid rgb(255, 255, 255)
    }
    
    .navbar-nav .nav-link {
        color: var(--golven-text) !important;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
}

/* --- Hero Section (White + Aurora Blobs) --- */
.hero-section {
    background-color: var(--golven-light);
    padding: 100px 0 100px;
    min-height: 85vh;
    position: relative;
    overflow: hidden;
}

.hero-headline {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.05;
}

/* Multi-color "Aurora" Background Blobs */
.glow-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.15;
    z-index: 1;
    animation: auroraMovement 20s infinite alternate ease-in-out;
}

.blob-1 { width: 600px; height: 600px; background: #0066FF; top: -10%; right: -5%; }
.blob-2 { width: 500px; height: 500px; background: #7C3AED; bottom: 10%; left: -5%; animation-delay: -5s; }
.blob-3 { width: 400px; height: 400px; background: #FF3BFF; top: 20%; left: 20%; animation-delay: -10s; }

@keyframes auroraMovement {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(80px, 40px) scale(1.1); }
}

/* --- Navbar Logo Styling --- */
.nav-logo {
    height: 45px; /* Adjust this value based on your logo's proportions */
    width: auto;
    transition: var(--transition-smooth);
    object-fit: contain;
}

/* Subtle shrink effect when scrolling (if you use a sticky-top header) */
.navbar.scrolled .nav-logo {
    height: 38px;
}

/* Ensure the brand area doesn't have weird padding */
.navbar-brand {
    padding-top: 0;
    padding-bottom: 0;
    margin-right: 1.5rem;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, #E2E8F0 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse at center, black, transparent 80%);
    opacity: 0.4;
    z-index: 1;
}

/* FLOATING CARD BASE */
.floating-card {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0,102,255,0.08);
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    min-width: 200px;
    transition: all 0.3s ease;
}

/* HOVER (optional but nice) */
.floating-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.floating-card {
    animation: floatY 2s ease-in-out infinite;
}

@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* ICON */
.icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,102,255,0.08);
}

.icon-wrap i {
    font-size: 18px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* PROGRESS LINE */
.progress-line {
    height: 3px;
    width: 40px;
    border-radius: 2px;
    background: var(--gradient-primary);
}

.floating-animation {
    animation: floating 6s ease-in-out infinite;
    filter: drop-shadow(0 30px 60px rgba(0, 102, 255, 0.15));
}

@keyframes floating {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* --- Buttons --- */
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    padding: 1rem 2.5rem;
    font-weight: 700;
    border-radius: 14px;
    color: white;
    box-shadow: 0 10px 25px rgba(0, 102, 255, 0.25);
    transition: var(--transition-smooth);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(124, 58, 237, 0.35);
    opacity: 0.95;
}

.btn-outline-dark {
    border: 2px solid var(--golven-text);
    padding: 1rem 2.5rem;
    border-radius: 14px;
    font-weight: 700;
    transition: var(--transition-smooth);
}

/*portfolio gallery section*/


/* --- Cards & Sections --- */
/* --- Responsive Section Padding --- */
.section-padding { 
    padding: 100px 0; 
}

@media (max-width: 767.98px) {
    .section-padding { 
        padding: 50px 0; /* Tighter spacing for mobile screens */
    }
    
    .display-3 { font-size: 2.5rem; } /* Ensures Hero title fits on mobile */
    .display-5 { font-size: 2rem; }
}

.bg-light-alt { background-color: var(--golven-bg-alt); }

/* SECTION BACKGROUND WITH GRADIENT BLOBS */
.services-section {
    position: relative;
    background: #ffffff;
    overflow: hidden;
}

/* SOFT GRADIENT GLOW BACKGROUND */
.services-section::before,
.services-section::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    z-index: 0;
}

.services-section::before {
    background: #0066ff;
    top: -100px;
    left: -100px;
}

.services-section::after {
    background: #ed3a43;
    bottom: -100px;
    right: -100px;
}

/* GLASS CARD */
.service-card {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 1.5rem;

    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);

    transition: all 0.4s ease;
    overflow: hidden;
    z-index: 2;
}

/* HOVER: LIFT + DEPTH */
.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
}

/* LIGHT SWEEP EFFECT */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.5), transparent);
    transition: all 0.6s ease;
}

.service-card:hover::before {
    left: 120%;
}

/* MAIN SECTION */
.error-section {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    color: #fff;
}

/* DARK GRID BACKGROUND */
.error-bg {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.2;
    animation: gridMove 12s linear infinite;
}

/* FLOATING GLOW BLOBS */
.error-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.25;
    animation: floatGlow 8s ease-in-out infinite;
}

.glow-1 {
    background: #0066ff;
    top: -100px;
    left: -100px;
}

.glow-2 {
    background: #ed3a43;
    bottom: -120px;
    right: -120px;
    animation-delay: 2s;
}

/* BIG 404 NUMBER */
.error-code {
    font-size: 10rem;
    font-weight: 800;
    letter-spacing: -5px;
    background: linear-gradient(135deg, #0066ff, #ed3a43);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: pulseGlow 3s ease-in-out infinite;
}

/* TITLE */
.error-title {
    font-weight: 700;
    font-size: 2rem;
    color: #ffffff;
}

/* DESCRIPTION */
.error-desc {
    max-width: 500px;
    margin: 0 auto;
    color: rgba(255,255,255,0.65);
}

/* BUTTON */
.error-btn {
    background: linear-gradient(135deg, #0066ff, #ed3a43);
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    transition: all 0.3s ease;
}

.error-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.6);
}

/* ANIMATIONS */
@keyframes floatGlow {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(30px) scale(1.1); }
}

@keyframes gridMove {
    from { transform: translateY(0); }
    to { transform: translateY(60px); }
}

@keyframes pulseGlow {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(0,102,255,0.3)); }
    50% { filter: drop-shadow(0 0 25px rgba(237,58,67,0.4)); }
}

/* ICON BOX */
.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 16px;

    background: linear-gradient(135deg, rgba(0,102,255,0.15), rgba(237,58,67,0.15));
    border: 1px solid rgba(255,255,255,0.3);

    backdrop-filter: blur(6px);

    transition: all 0.4s ease;
}

/* ICON GRADIENT */
.icon-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ICON HOVER */
.service-card:hover .icon-box {
    transform: scale(1.1) rotate(4deg);
}

/* BOTTOM LINE */
.service-card .hover-line {
    height: 4px;
    width: 0;
    background: var(--gradient-primary);
    transition: width 0.4s ease;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
}

.service-card:hover .hover-line {
    width: 100%;
}

/* SUBTLE INNER GLOW */
.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at top left, rgba(255,255,255,0.5), transparent 40%);
    pointer-events: none;
}



/* WRAPPER (mobile scroll) */
.tabs-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
}

/* HIDE SCROLLBAR */
.tabs-wrapper::-webkit-scrollbar {
    display: none;
}

/* HIDE ALL TABS */
.tab-pane {
    display: none;
    opacity: 0;
    transition: all 0.3s ease;
}

/* SHOW ACTIVE TAB */
.tab-pane.active {
    display: block;
    opacity: 1;
}

/* PILL CONTAINER */
.filter-tabs {
    display: inline-flex;
    gap: 10px;
    padding: 8px;
    background: #f8fafc;
    border-radius: 999px;
    border: 1px solid #eee;
    min-width: max-content;
}

/* BUTTON */
.filter-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    border: none;
    background: transparent;
    padding: 10px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    border-radius: 999px;
    white-space: nowrap;
    transition: all 0.25s ease;
}

/* ICON */
.filter-btn i {
    font-size: 0.9rem;
}

/* HOVER */
.filter-btn:hover {
    color: var(--golven-primary);
    background: rgba(0,102,255,0.08);
}

/* ACTIVE */
.filter-btn.active {
    background: var(--golven-primary);
    color: #fff;
    box-shadow: 0 6px 18px rgba(0,102,255,0.25);
}

/* SMOOTH GRID */
.service-item {
    transition: all 0.3s ease;
}

/*designmodal tabs */
/* Grid Item Styling */
.design-card-glass {
    position: relative;
    cursor: pointer;
    border-radius: 15px;
    overflow: hidden;
    margin: 15px;
    transition: transform 0.3s ease;
    border: 1px solid rgba(109, 106, 106, 0.4);
    aspect-ratio: 1 / 1;
    object-fit: cover;

}

.design-card-glass:hover {
    transform: translateY(-5px);
}

.design-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.design-card-glass:hover .design-card-overlay {
    opacity: 1;
}

/* Glass Modal Styling */
.glass-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.glass-modal-window {
    position: relative;
    background: transparent;
    padding: 8px; /* The inner frame */
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    border: 1px solid rgba(0, 102, 255, 0.15); /* The "Nice Border" */
    max-width: fit-content;
}

.glass-modal-window img {
    display: block;
    max-width: 100%;
    max-height: 85vh;
    border-radius: 18px;
}

.glass-close-btn {
    position: absolute;
    top: -15px;
    right: -15px;
    background: var(--golven-primary);
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
}

/*website cards start*/
/* --- Website Cards --- */
/* --- Fix for the Website Cards --- */
.web-window-card {
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
}

.web-preview-container {
    position: relative; /* CRITICAL: This keeps the eye inside the image */
    height: 280px;      /* Set a fixed height for consistency */
    overflow: hidden;
    cursor: pointer;
}

.web-preview-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.5s ease;
}

.web-preview-container:hover img {
    transform: scale(1.05);
}

/* --- THE EYE OVERLAY --- */
.web-eye-overlay {
    position: absolute;
    inset: 0;           /* Covers the entire image area */
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;         /* Hidden by default */
    transition: opacity 0.3s ease;
}

.web-preview-container:hover .web-eye-overlay {
    opacity: 1;         /* Show on hover */
}

.eye-content {
    text-align: center;
    color: white;
}

.eye-content i {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 5px;
}

/* --- THE MODAL FIX --- */
.web-glass-modal {
    position: fixed;    /* Makes it pop up over everything */
    inset: 0;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 99999;     /* Highest layer */
    display: none;      /* Toggle with JS */
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.web-modal-content {
    background: white;
    width: 100%;
    max-width: 1000px;
    border-radius: 20px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.2);
    overflow: hidden;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.web-modal-scroll-area {
    overflow-y: auto;   /* Allows scrolling the long screenshot */
    flex-grow: 1;
    background: #f8fafc;
}

.web-modal-scroll-area img {
    width: 100%;
    height: auto;
}

/* --- Card Utilities --- */
.browser-top { background: #f1f5f9; padding: 10px; border-bottom: 1px solid #e2e8f0; }
.dots { display: flex; gap: 5px; }
.dots span { width: 7px; height: 7px; border-radius: 50%; background: #cbd5e1; }
.web-card-footer { padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; }
.visit-btn { color: var(--golven-primary); font-size: 1.2rem; }
/*website cards end*/

/*media cards start*/
/* Media Container Box */
.media-container-card {
    background: #fff;
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    overflow: hidden;
}

.media-header {
    padding: 15px 20px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

/* Video Grid Styles */
.video-thumbnail {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 12px;
}

.play-btn-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    opacity: 0.8;
    transition: 0.3s;
}

.video-grid-item:hover .play-btn-overlay {
    opacity: 1;
    background: rgba(0,0,0,0.5);
    transform: scale(1.05);
}

/* Audio List Styles */
.audio-item {
    transition: all 0.2s ease;
    cursor: pointer;
}

.audio-item:hover {
    background-color: #f1f5f9;
}

.audio-icon {
    width: 32px;
    height: 32px;
    background: var(--golven-primary, #0066ff);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.audio-item:last-child {
    border-bottom: none !important;
}
/*media card end*/

/*Case Study Cards*/
/* The overall container frame */
.case-study-wrapper {
    border-radius: 24px;
    border: 1px solid rgba(0, 102, 255, 0.08);
    overflow: hidden;
    transition: var(--transition-smooth, all 0.3s ease);
}

.case-study-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.06) !important;
}

/* Very subtle background for the left side to separate it from the text */
.left-panel-bg {
    background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
}

/* The actual "Framed Picture" effect */
.picture-frame {
    background: #ffffff;
    padding: 10px; /* The white border width */
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0,0,0,0.03);
}

/* Desktop-only divider line */
@media (min-width: 768px) {
    .border-start-md {
        border-left: 1px solid rgba(0, 102, 255, 0.05);
    }
}

/* Premium Package Cards (Solutions) */
/* --- Solutions Cards --- */
.premium-package-card {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}

.premium-package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 102, 255, 0.08);
}

/* ICON */
.pkg-icon {
    font-size: 28px;
}

/* FEATURES */
.package-features li {
    font-size: 0.85rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #475569;
}

.package-features i {
    color: var(--golven-primary);
}

/* FOOTER */
.package-footer {
    margin-top: 20px;
}

.pkg-ideal span {
    font-size: 10px;
    text-transform: uppercase;
    opacity: 0.6;
    font-weight: 700;
}

.pkg-ideal p {
    font-size: 0.8rem;
    margin: 4px 0 0;
}

/* BUTTON */
.btn-package {
    background: #f1f5f9;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 10px;
}

.btn-package:hover {
    background: var(--golven-primary);
    color: #fff;
}

/* GOLD (MOST POPULAR) */
.package-card.active {
    border: 2px solid var(--golven-primary);
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(0,102,255,0.2);
}

/* BADGE */
.pkg-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--golven-primary);
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    padding: 5px 12px;
    border-radius: 20px;
}

/* COLOR VARIANTS */
.pkg-bronze { background: #fafafa; }
.pkg-silver { background: #f8fafc; }
.pkg-platinum { background: #fcfcfc; }

/* GOLD GRADIENT */
.pkg-gold {
    background: linear-gradient(180deg, #ffffff 0%, #f0f6ff 100%);
}

@media (min-width: 992px) {
    .package-card.active {
        transform: scale(1.08);
    }
}

.package-card {
    position: relative;
    overflow: visible;
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}

/* --- FIXED PACKAGE CARD LOGIC --- */

/* Prevent hover from breaking open state */
.package-card:not(.open):hover {
    transform: translateY(-6px);
}

/* Ensure open state overrides hover properly */
.package-card.open {
    transform: scale(1.02);
    box-shadow: 0 25px 70px rgba(0,0,0,0.12);
    z-index: 2;
}

/* FIX: smooth dropdown animation */
.package-details {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    color: #000000 !important;
    background: #fff;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
    z-index: 10;

    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(10px);
    pointer-events: none;

    transition: max-height 0.35s ease, opacity 0.3s ease, transform 0.3s ease;
}

/* FIX: allow full expansion */
.package-card.open .package-details {
    max-height: 1000px; /* increased to avoid cutoff */
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* REMOVE this old conflicting rule if present */

.package-details-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.82rem;
    color: #252525 !important;
    margin-bottom: 10px;
    line-height: 1.5;
}

.package-details-list li::before {
    content: "✔";
    color: var(--golven-primary);
    font-weight: bold;
    font-size: 0.75rem;
    margin-top: 2px;
}

/* ADD DIVIDER WHEN OPEN */
.package-card.open hr {
    opacity: 1;
}

/* BUTTON STYLE UPGRADE */
.toggle-details {
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    background: #f1f5f9;
}

.toggle-details:hover {
    background: var(--golven-primary);
    color: #fff;
}

.featured-card {
    border: 1px solid var(--golven-primary) !important;
    background: linear-gradient(to bottom, #ffffff, rgba(0, 102, 255, 0.02));
}

.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 4px 15px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}
.flex-grow-1 {
    flex: 1 0 auto;
}

.btn-explore {
    display: inline-flex;
    align-items: center;
    color: var(--golven-primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.btn-explore:hover {
    color: var(--golven-dark);
}

.btn-explore i {
    transition: transform 0.3s ease;
}

.btn-explore:hover i {
    transform: translateX(5px);
}

.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
}

.shadow-blue {
    box-shadow: 0 10px 20px rgba(0, 102, 255, 0.2);
}

.hover-lift:hover {
    transform: translateY(-3px);
}

@media (min-width: 992px) {
    .border-end-lg {
        border-right: 1px solid #48637e !important;
    }
}

/* --- Card Hover Line Animation --- */
.hover-line {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 0;
    background: var(--gradient-primary);
    transition: width 0.4s ease-in-out;
    border-radius: 0 0 16px 16px; /* Matches the card's rounded-4 (16px) */
}

/* Ensure the parent card has relative positioning */
.hover-lift {
    position: relative;
    overflow: hidden; /* Keeps the line inside the borders */
}

/* Trigger the line expansion on hover */
.hover-lift:hover .hover-line {
    width: 100%;
}

/* --- Brand Grid Styling --- */
.brand-link {
    border: 1px solid transparent;
    filter: grayscale(30%);
    opacity: 0.6;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
}

.brand-link:hover {
    filter: grayscale(0%);
    opacity: 1;
    background: #f8f9fa;
    border-color: rgba(0, 102, 255, 0.1);
    transform: translateY(-5px);
}

.brand-logo-img {
    max-height: 50px;
    width: auto;
    object-fit: contain;
}

.text-bronze { color: var(--bronze) !important; }
.text-silver { color: var(--silver) !important; }
.text-gold { color: var(--gold) !important; }
.text-platinum { color: var(--platinum) !important; }

/* --- Premium Footer Styles --- */
.footer-gradient-border {
    position: relative;
}
.footer-gradient-border::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px; /* thickness */
    background: var(--gradient-primary);
}

.footer-link {
    color: var(--golven-text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition-smooth);
    display: inline-block;
}

.footer-link:hover {
    color: var(--golven-primary);
    transform: translateX(5px);
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--golven-bg-alt);
    color: var(--golven-text);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition-smooth);
    border: 1px solid rgba(0,0,0,0.05);
}

.social-icon:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 102, 255, 0.2);
}

.contact-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 102, 255, 0.08);
    color: var(--golven-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

/* Fix for the border color in white mode */
.border-light {
    border-color: rgba(0,0,0,0.05) !important;
}

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 800px;
    margin: auto;
    background: #fff;
    border-radius: 14px;
    padding: 15px 20px;
    z-index: 9999;
    display: none;
    animation: slideUp .4s ease;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: nowrap; /* ← force everything on one row on desktop */
}

.cookie-text {
    flex: 1; /* ← takes all available space, pushing actions to the right */
    min-width: 0;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0; /* ← prevents buttons from shrinking or wrapping */
    margin-left: auto; /* ← forces buttons to stay on the right always */
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 768px) {
    .cookie-content {
        flex-wrap: wrap;
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-actions {
        align-self: flex-end; /* ← buttons stay on the right even when stacked */
        margin-left: 0; /* ← reset the auto margin on mobile */
    }
}

/* Custom background and hover for the REJECT button */
.cookie-actions .btn-light {
    background-color: #f8f9fa; /* Set the initial background color */
    color: #333;               /* Set the text color */
    border: 1px solid #ddd;    /* Optional: Adds a subtle border */
    transition: all 0.3s ease; /* Makes the hover effect smooth */
}

.cookie-actions .btn-light:hover {
    background-color: #e2e6ea; /* Background color when hovered */
    border-color: #dae0e5;     /* Border color when hovered */
    color: #000;               /* Text color when hovered */
}
  
.pdf-header {
    position: relative;
    z-index: 2;
}

.form-control:focus, .form-select:focus {
    box-shadow: 0 0 0 0.15rem rgba(0,0,0,0.05);
    background: #fff;
}

button:hover {
    transform: translateY(-2px);
    transition: all 0.2s ease;
    cursor: pointer;
}