
/* --- RESET & FONTS --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased; 
}
/* --- LENIS SMOOTH SCROLL SETUP --- */
html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important; /* Disable native smooth scroll so Lenis takes over */
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

/* smooth scroll anchor links */
html {
    scroll-behavior: auto; /* Let Lenis handle anchors too */
}
body {
    font-family: 'Poppins', sans-serif;
    background: #111;
    overflow-x: hidden;
}

/* --- HEADER --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 30px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}


.logo {
    display: flex;
    align-items: center; 
    gap: 5px;           
    text-decoration: none;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 24px;
    color: white;
    text-decoration: none;
}

.logo img {
    height: 80px; /* Adjust size here (35px - 45px is usually best) */
    width: auto;  /* Maintains aspect ratio */
    display: block;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-links a {
    color: #ddd;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    transition: 0.3s;
}

.nav-links a:hover { color: white; }

.cta-btn {
    background-color: #2b5bf4;
    color: white !important;
    padding: 12px 28px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(43, 91, 244, 0.3);
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

/* --- SLIDER LOGIC (FIXED) --- */
.slider-container {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -2;
    background: #111; /* Prevents white flashes between slides */
}

.slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center top; 
    background-size: cover;
    background-position: center center !important; 
    background-repeat: no-repeat;

    opacity: 0;
    transform: scale(1); 
    will-change: transform, opacity;
    
    backface-visibility: hidden;
    perspective: 1000px;
    
    transition: opacity 1.5s ease-in-out, transform 0s linear 1.5s;
    
    backface-visibility: hidden;
    perspective: 1000px;
}

/* ACTIVE STATE */
.slide.active {
    opacity: 1;
    transform: scale(1.1); /* Zoom destination */
    
    /* When appearing: Zoom in slowly over 7s */
    transition: opacity 1.5s ease-in-out, transform 7s linear;
}

/* Delete the @keyframes zoomEffect block - we don't need it anymore! */
/*@keyframes zoomEffect {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}*/

/* OVERLAY */
.overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Darken bg so text pops */
    z-index: -1;
}

/* CONTENT */
.hero-content {
    color: white;
    z-index: 10;
    position: relative;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.5s;
}

.subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 15px;
}

.title {
    font-family: 'Montserrat', sans-serif;
    font-size: 60px;
    font-weight: 700;
    line-height: 1.2;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- RIGHT SIDEBAR --- */
.side-nav {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    background: white;
    padding: 15px 10px;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.side-nav a { color: #555; display: block; text-align: center; font-size: 14px;}
/* --- ABOUT SECTION --- */
.about-section {
    padding: 120px 10%; /* Large spacing for premium look */
    background-color: #fff;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Split 50/50 */
    gap: 80px;
    align-items: center;
}

/* Image Styling */
.about-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}

.profile-img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(100%); /* Black & White effect like reference */
    transition: filter 0.5s ease;
}

.profile-img:hover {
    filter: grayscale(0%); /* Color reveals on hover */
}

/* Text Styling */
.about-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    margin-bottom: 25px;
    color: #222;
}

.about-content p {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 30px;
}

/* Highlighted Quote Area */
.highlight-text {
    border-left: 3px solid #eee;
    padding-left: 20px;
    font-size: 14px;
    font-weight: 600; /* Semi-bold */
    color: #888;
    line-height: 1.8;
    margin-bottom: 40px;
    font-style: italic;
}

/* Stats */
.stats-row {
    display: flex;
    gap: 60px;
}

.stat-item h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: #222;
    margin-bottom: 5px;
}

.stat-item span {
    font-size: 13px;
    font-weight: 700;
    color: #2b5bf4; /* Blue accent color */
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- SCROLL ANIMATION CLASSES --- */
/* Elements start hidden and lower down */
.anim-trigger {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s ease-out;
}

/* When Javascript adds this class, they slide up */
.anim-trigger.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Delays for staggered effect */
.fade-up { transition-delay: 0.1s; }
.fade-up-slow { transition-delay: 0s; } /* Image appears first */
/* --- PORTFOLIO SECTION --- */
.portfolio-section {
    padding: 80px 5%;
    background-color: #fff; /* White background */
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    color: #333;
}

/* THE GRID */
.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; /* 3 Equal Columns */
    gap: 30px;
    height: 600px; /* Fixed height to force the alignment */
}

/* Columns */
.p-col {
    height: 100%;
    overflow: hidden;
}

.split-col {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Items */
.p-item {
    position: relative;
    width: 100%;
    overflow: hidden; /* Keeps the zoom inside the box */
    border-radius: 4px;
    cursor: pointer;
    background-color: #f0f0f0;
}

.p-item.tall { height: 100%; }
.p-item.short { height: calc(50% - 15px); } /* Half height minus half the gap */

/* Image & Animation */
.p-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: block;
}

/* Hover Effect: Zoom */
.p-item:hover .p-img {
    transform: scale(1.08); /* Slight smooth zoom */
}

/* Optional Darken on Hover */
.p-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0);
    transition: background 0.4s;
}
.p-item:hover .p-overlay {
    background: rgba(0,0,0,0.1);
}

/* BUTTONS */
.btn-container {
    text-align: center;
    margin-top: 60px;
}

.btn-primary {
    background-color: #2b5bf4;
    color: white;
    padding: 15px 45px;
    border-radius: 5px; /* Slightly squarer than hero button */
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: background 0.3s, transform 0.3s;
    display: inline-block;
}

.btn-primary:hover {
    background-color: #1a44c9;
    transform: translateY(-3px);
}

/* --- FOOTER --- */
.footer-section {
    background-color: #111; /* Dark Black */
    color: white;
    padding: 100px 10% 40px 10%;
}

.footer-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 100px;
}

.footer-text h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 38px;
    font-weight: 700;
    line-height: 1.3;
}

/* Footer Button (Transparent) */
.btn-outline {
    border: 2px solid #444;
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-outline:hover {
    background-color: white;
    color: #111;
    border-color: white;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid #222;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #666;
}

.footer-socials a {
    color: #666;
    margin-left: 20px;
    transition: color 0.3s;
    font-size: 14px;
}
.footer-socials a:hover { color: white; }

/* RESPONSIVE FIX */
@media (max-width: 768px) {
    .portfolio-grid {
        display: flex;
        flex-direction: column;
        height: auto;
    }
    .p-item.tall, .p-item.short { height: 400px; }
    .footer-flex { flex-direction: column; gap: 30px; text-align: center; }
}
/* --- SNOWFLAKE STYLES --- */
.snowflake {
    position: fixed;
    top: -10px;
    background: white;
    border-radius: 50%;
    pointer-events: none; /* Allows clicking through the snow */
    z-index: 9999; /* on top of everything */
    opacity: 0.8;
    animation-name: fall;
    animation-timing-function: linear;
}

@keyframes fall {
    0% { transform: translateY(0) translateX(0); }
    100% { transform: translateY(105vh) translateX(20px); } /* Falls down and slightly right */
}
/* --- SNOW TOGGLE BUTTON --- */
#snow-btn {
    font-size: 16px;
    margin-right: 10px; /* Space before Contact button */
    transition: all 0.3s ease;
}

/* When Snow is ON (Active Class) */
#snow-btn.active {
    color: #2b5bf4 !important; /* Turn Blue */
    text-shadow: 0 0 10px rgba(43, 91, 244, 0.6); /* Glow effect */
    transform: scale(1.2); /* Make it slightly bigger */
}
/* --- SCROLLED NAVIGATION STATE --- */
header.scrolled {
    background-color: white; /* Becomes solid white */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); /* Adds a subtle shadow */
    padding: 15px 50px; /* Shrinks slightly for a premium feel */
}

/* Change Logo to Black */
header.scrolled .logo {
    color: #333;
}

/* Change Links to Grey/Black */
header.scrolled .nav-links a {
    color: #555;
}

header.scrolled .nav-links a:hover {
    color: #2b5bf4; /* Blue on hover */
}

/* Change Snow Button to Grey */
header.scrolled #snow-btn {
    color: #555;
}
/* Keep Snow Button Blue if it is active/snowing */
header.scrolled #snow-btn.active {
    color: #2b5bf4 !important;
}
/* --- PRELOADER STYLES --- */
#preloader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: #fff; /* White background to hide the site */
    z-index: 99999; /* Must be higher than everything else */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out, visibility 0.5s;
}

/* Class to hide it later */
#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

/* YOUR CUSTOM LOADER CODE */
.loader {
  width: 60px;
  aspect-ratio: 2;
  --_g: no-repeat radial-gradient(circle closest-side, #000 90%, #0000);
  background: 
    var(--_g) 0%   50%,
    var(--_g) 50%  50%,
    var(--_g) 100% 50%;
  background-size: calc(100%/3) 50%;
  animation: l3 1s infinite linear;
}

@keyframes l3 {
    20%{background-position:0%   0%, 50%  50%,100%  50%}
    40%{background-position:0% 100%, 50%   0%,100%  50%}
    60%{background-position:0%  50%, 50% 100%,100%   0%}
    80%{background-position:0%  50%, 50%  50%,100% 100%}
}
/* --- ENABLE SMOOTH THEME TRANSITION --- */

/* 1. Apply transition to major containers */
body, 
.about-section, 
.portfolio-section, 
.footer-section,
header, 
.side-nav, 
.p-item {
    transition: background-color 0.8s ease, box-shadow 0.8s ease;
}

/* 2. Apply transition to text and icons */
h1, h2, h3, h4, p, span, a, i, .highlight-text {
    transition: color 0.8s ease, border-color 0.8s ease;
}

/* 3. IMPORTANT: Keep Hover Effects Fast */
/* We don't want buttons to feel "slow" when you hover over them, 
   so we force hover transitions to stay quick (0.3s). */
a:hover, 
.cta-btn:hover, 
.btn-primary:hover, 
.btn-outline:hover, 
.side-nav a:hover {
    transition: all 0.3s ease;
}
/* --- DARK MODE OVERRIDES (Triggered by Snow) --- */

/* 1. Main Backgrounds */
body.dark-mode,
body.dark-mode .about-section,
body.dark-mode .portfolio-section {
    background-color: #111 !important; /* Turn white sections black */
    color: #eee;
}

/* 2. Typography Colors */
body.dark-mode h1, 
body.dark-mode h2, 
body.dark-mode h3, 
body.dark-mode h4,
body.dark-mode .stat-item h3 {
    color: #fff !important;
}

body.dark-mode p, 
body.dark-mode .highlight-text,
body.dark-mode .footer-bottom,
body.dark-mode .social-footer a {
    color: #bbb !important;
}

/* 3. Navbar (Scrolled State) */
/* When scrolling down, keep the navbar black instead of turning white */
body.dark-mode header.scrolled {
    background-color: #111 !important;
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.05);
}

body.dark-mode header.scrolled .logo,
body.dark-mode header.scrolled .nav-links a,
body.dark-mode header.scrolled #snow-btn {
    color: #fff !important;
}

/* 4. Side Navigation & Grid Placeholders */
body.dark-mode .side-nav {
    background-color: #222;
}
body.dark-mode .side-nav a {
    color: #bbb;
}
body.dark-mode .p-item {
    background-color: #222; /* Dark placeholder while images load */
}

/* 5. Buttons */
body.dark-mode .hire-me-btn {
    border-color: #fff;
    color: #fff;
}
body.dark-mode .hire-me-btn:hover {
    background: #fff;
    color: #000;
}
/* --- NAV LINK UNDERLINE ANIMATION --- */

.nav-text {
    position: relative; /* Needed to anchor the line */
    padding-bottom: 5px; /* Space between text and line */
}

/* The Line (Initially Invisible) */
.nav-text::after {
    content: '';
    position: absolute;
    width: 0%;           /* Start with no width */
    height: 2px;         /* Thickness of the line */
    bottom: 0;
    left: 0;
    background-color: #2b5bf4; /* Jevelin Blue */
    transition: width 0.3s ease-in-out; /* The growing animation */
}

/* On Hover: Grow the line */
.nav-text:hover::after {
    width: 100%; /* Expands to full width */
}

/* --- DARK MODE ADJUSTMENT --- */
/* If in Dark Mode, make the line White (optional, or keep it Blue) */
body.dark-mode .nav-text::after {
    background-color: #fff; 
}
/* --- ACTIVE LINK HIGHLIGHT --- */
.active-link {
    color: #2b5bf4 !important; /* White text for current page */
}
.active-link::after {
    width: 100% !important; /* Force underline */
}
body.dark-mode .active-link {
    color: #fff !important; /* White text so it shows on dark bg */
}
/* --- SERVICE DETAIL SECTION (Portfolio) --- */
.service-detail-section {
    padding: 100px 10%;
    background-color: #fff; /* Will be dark in Winter Mode */
}

.detail-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.section-tag {
    display: block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #2b5bf4;
    margin-bottom: 20px;
}

.detail-header h2 {
    font-size: 42px;
    margin-bottom: 30px;
    line-height: 1.2;
}

.intro-text {
    font-size: 16px;
    line-height: 1.9;
    color: #666;
}

/* Images Row */
.detail-images-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 60px;
}
.detail-images-row img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 4px;
}

/* Text Grid */
.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.detail-block h3 {
    font-size: 24px;
    margin-bottom: 20px;
}
.detail-block p {
    font-size: 15px;
    line-height: 1.8;
    color: #666;
}

/* List Box (What to Expect) */
.detail-list-box {
    background: #f9f9f9;
    padding: 50px;
    border-radius: 5px;
    margin-bottom: 80px;
}

.detail-list-box h3 {
    font-size: 24px;
    margin-bottom: 30px;
}

.detail-list-box ul {
    list-style: none;
    padding: 0;
}

.detail-list-box li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    line-height: 1.7;
    color: #555;
}

.detail-list-box li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #2b5bf4;
    font-size: 20px;
    top: -2px;
}

/* CTA at bottom */
.detail-cta {
    text-align: center;
    margin-top: 80px;
    padding-top: 50px;
    border-top: 1px solid #eee;
}

.mt-80 { margin-top: 80px; }

/* --- DARK MODE ADJUSTMENTS FOR NEW SECTION --- */
body.dark-mode .service-detail-section {
    background-color: #111;
}
body.dark-mode .intro-text,
body.dark-mode .detail-block p,
body.dark-mode .detail-list-box li {
    color: #bbb;
}
body.dark-mode .detail-list-box {
    background: #1a1a1a; /* Darker grey box */
}
body.dark-mode .detail-cta {
    border-top-color: #333;
}
/* --- CANVAS SNOW CONTAINER --- */
#tsparticles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999; /* On top of images */
    pointer-events: none; /* IMPORTANT: Allows you to click buttons underneath */
}
/* --- FULL PAGE INFINITE GALLERY --- */
.full-page-gallery {
    position: relative;
    width: 100%;
    height: 100vh; /* Takes up full screen height */
    background: #000; /* Dark background looks better for full screen images */
    overflow: hidden;
    display: flex;
    align-items: center;
}

.gallery-track-container {
    width: 100%;
    height: 100%;
}

.gallery-track {
    display: flex;
    height: 100%;
    /* We animate this flex container */
}

.gallery-group {
    display: grid;
    /* This creates 2 rows, each taking 50% of screen height */
    grid-template-rows: 50vh 50vh; 
    /* Columns flow automatically */
    grid-auto-flow: column; 
    gap: 0; /* Seamless look (or use 10px if you want gaps) */
}

/* IMAGE ITEMS */
.gallery-item {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05); /* Subtle border */
}

/* Sizing variations */
.gallery-item.wide {
    width: 600px; /* Wide images */
}
.gallery-item.tall {
    width: 350px; /* Narrow images */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    
    /* AESTHETIC BLUR + B&W START STATE */
    filter:  blur(1px); 
    
    /* Smooth transition for both blur and color */
    transition: filter 0.5s ease, transform 0.5s ease;
    display: block;
}

/* Hover Effect */
.gallery-item:hover img {
    filter: grayscale(0%); /* Color on hover */
    transform: scale(1.05); /* Slight zoom */
    z-index: 2; /* Ensures zoomed image sits on top */
}

/* OVERLAY TITLE (Optional) */
.gallery-overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    pointer-events: none; /* Click through text */
    mix-blend-mode: difference; /* Cool blend effect over images */
}

.gallery-overlay-text h2 {
    font-size: 80px;
    font-weight: 800;
    color: white;
    text-transform: uppercase;
    letter-spacing: 10px;
    opacity: 0.8;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .gallery-group {
        grid-template-rows: 33vh 33vh 33vh; /* 3 rows on mobile to fit more */
    }
    .gallery-item.wide, .gallery-item.tall {
        width: 300px; /* Smaller width on mobile */
    }
    .gallery-overlay-text h2 {
        font-size: 40px;
    }
}
/* Import the font for the typography */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

/* Existing margin class */
.mt-80 {
    margin-top: 80px;
}

/* Slider Container */
.full-page-slider {
    position: relative;
    width: 100%;
    height: 80vh; /* Adjust for your preferred height */
    overflow: hidden;
}

/* Wrapper for all slides */
.slider-wrapper {
    display: flex;
    width: 300%; /* 100% * number of slides */
    height: 100%;
    transition: transform 1s ease-in-out; /* Smooth sliding animation */
}

/* Individual Slide */
.slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    background-color: #333;
}

/* Dark overlay on hover to make text readable */
.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.slide:hover::before {
    opacity: 1;
}

/* Container for text */
.hover-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    width: 80%;
}

/* Show text on hover */
.slide:hover .hover-content {
    opacity: 1;
    transform: translate(-50%, -60%); /* Slight upward move on hover */
}

/* Typography Styles */
.hover-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hover-content p {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.4;
}
/* --- SIMPLE SWIPER SLIDER --- */
.simple-slider-section {
    width: 100%;
    height: 80vh; /* Adjust height here */
    position: relative;
    background: #000;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Image Styling */
.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6); /* Darkens image so text pops */
    transition: transform 6s ease; /* Slow zoom effect */
}

/* Zoom effect when active */
.swiper-slide-active img {
    transform: scale(1.1);
}

/* Text Content */
.slide-content {
    position: absolute;
    z-index: 10;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 20px;
    
    /* Simple Fade Up Animation */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease 0.5s, transform 1s ease 0.5s;
}

.swiper-slide-active .slide-content {
    opacity: 1;
    transform: translateY(0);
}

.slide-content h3 {
    font-size: 3rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 10px;
}
.slide-content p {
    font-size: 1.2rem;
    font-weight: 300;
}

/* Navigation Buttons Color */
.swiper-button-next, .swiper-button-prev {
    color: white !important;
}
.swiper-pagination-bullet-active {
    background: white !important;
}
/* --- PRICING SECTION --- */
.pricing-section {
    padding: 100px 5%;
    background: #f9f9f9;
    transition: background 0.3s;
}

.pricing-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #111;
    margin-bottom: 10px;
}

.section-subtitle {
    font-family: 'Montserrat', sans-serif;
    color: #666;
    margin-bottom: 40px;
}

/* Toggle Switch */
.pricing-toggle {
    display: inline-flex;
    background: #e0e0e0;
    border-radius: 30px;
    padding: 5px;
    position: relative;
}

.toggle-btn {
    background: transparent;
    border: none;
    padding: 10px 30px;
    border-radius: 25px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: 0.3s;
}

.toggle-btn.active {
    background: #fff;
    color: #2b5bf4;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Grid Layout */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Card Styling */
.pricing-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    position: relative;
    border: 1px solid transparent;
    transition: transform 0.3s, border-color 0.3s;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: #2b5bf4;
}

/* Featured Card Override */
.pricing-card.featured {
    border: 2px solid #2b5bf4;
    transform: scale(1.05);
}

.popular-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #2b5bf4;
    color: #fff;
    padding: 5px 15px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 20px;
    text-transform: uppercase;
}

/* Typography inside Card */
.pkg-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 5px;
    color: #111;
}

.pkg-best-for {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 20px;
    font-weight: 500;
}

.card-price {
    margin-bottom: 30px;
    color: #111;
}

.card-price .currency {
    font-size: 1.5rem;
    vertical-align: top;
    font-weight: bold;
}

.card-price .amount {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
}

/* Features List */
.pkg-features {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-bottom: 30px;
    flex-grow: 1; /* Pushes button down */
}

.pkg-features li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    color: #555;
    font-size: 0.95rem;
}

.pkg-features li i {
    color: #2b5bf4;
    width: 25px;
    text-align: center;
}

.highlight-feature {
    font-weight: bold;
    color: #111 !important;
}

.faded {
    color: #999 !important;
    font-style: italic;
}

/* Button */
.pkg-btn {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid #111;
    color: #111;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    transition: 0.3s;
    margin-top: auto;
}

.pkg-btn:hover {
    background: #111;
    color: #fff;
}

.pkg-btn.fill {
    background: #2b5bf4;
    border-color: #2b5bf4;
    color: #fff;
}
.pkg-btn.fill:hover {
    background: #1a4bd6;
}

/* --- DARK MODE (WINTER) SUPPORT --- */
body.dark-mode .pricing-section { background: #111; }
body.dark-mode .section-title { color: #fff; }
body.dark-mode .section-subtitle { color: #aaa; }

body.dark-mode .pricing-card { background: #1a1a1a; }
body.dark-mode .pkg-name { color: #fff; }
body.dark-mode .card-price { color: #fff; }
body.dark-mode .pkg-features li { border-color: #333; color: #ccc; }
body.dark-mode .pkg-btn { border-color: #fff; color: #fff; }
body.dark-mode .pkg-btn:hover { background: #fff; color: #000; }
body.dark-mode .pkg-btn.fill { border-color: #2b5bf4; color: #fff; background: #2b5bf4; }
body.dark-mode .pkg-btn.fill:hover { background: #fff; color: #2b5bf4; }

body.dark-mode .pricing-toggle { background: #333; }
body.dark-mode .toggle-btn.active { background: #2b5bf4; color: #fff; }
body.dark-mode .toggle-btn { color: #aaa; }
