/*
Theme Name: GitKoding
Theme URI: https://gitkoding.com
Developer & Author: Muhammad Usman
Description: A sleek, modern, and professional WordPress theme designed for developers and tech enthusiasts.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: gitkoding-theme
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

:root {
  --background: #020205;
  --foreground: #ffffff;
  --primary: #9333ea;
  --muted: #8b949e;
  --border: rgba(255,255,255,0.05);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--background);
  color: var(--foreground);
  overflow-x: hidden;
  line-height: 1.5;
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
}

nav.scrolled {
  /*background: rgba(2, 2, 5, 0.8); */
  /*backdrop-filter: blur(20px);*/
  padding: 1rem 0;
  /*border-bottom: 1px solid var(--border);*/
}

/* ================= HERO ================= */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 120px;
  overflow: hidden;

  background:
    linear-gradient(to bottom, rgba(2,2,5,0.85), rgba(2,2,5,0.95)),
    url("images/hero-background.jpg") center / cover no-repeat;
}

/* Glow effects */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  z-index: 0;
}

.hero::before {
  top: -200px;
  left: -200px;
  background: #2563eb;
}

.hero::after {
  bottom: -200px;
  right: -200px;
  background: #9333ea;
}

.hero .container {
  position: relative;
  z-index: 2;
}

/* Badge */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 99px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: #60a5fa;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.dot-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #60a5fa;
  box-shadow: 0 0 10px #60a5fa;
}

/* Hero Text */
.hero-title {
  font-size: 4.2rem;
  font-weight: 900;
  line-height: 1.1;
  margin: 0 0 2rem;
  letter-spacing: -2px;
}

.text-gradient, .stat-value, .text-primary {
  background: linear-gradient(to right, #60a5fa, #a855f7, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}
.hero-subtitle {
  font-size: 1.15rem;
  color: #b3b3b3;
  max-width: 820px;
  margin: 0 auto 3rem;
}

/* Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 800;
  border-radius: 1rem;
  transition: 0.3s;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(to right, #3b82f6, #9333ea);
  color: white;
  padding: 1.2rem 2.6rem;
  font-size: 0.95rem;
  box-shadow: 0 20px 40px rgba(147, 51, 234, 0.35);
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 6rem;
  padding-top: 2rem;
  padding-bottom: 40px;
  border-top: 1px solid var(--border);
}

.stat-value {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ================= RESPONSIVE ================= */
@media (min-width: 1441px) {
  .container {
    max-width: 1600px;
  }
  .hero-title {
    font-size: 5.5rem;
  }
}

@media (min-width: 2000px) {
  .container {
    max-width: 2000px;
  }
  .hero-title {
    font-size: 7rem;
  }
  body {
    font-size: 1.2rem;
  }
}

@media (max-width: 992px) {
  .hero-title {
    font-size: 3.2rem;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}
/* Sections */
.section { padding: 2rem 0; }
.section-tag { color: var(--primary); font-size: 0.75rem; font-weight: 900; text-transform: uppercase; letter-spacing: 4px; display: block; margin-bottom: 1.5rem; }
.section-title { font-size: 3.5rem; font-weight: 900; line-height: 1.1; margin: 0 0 1.5rem; }
.section-desc { font-size: 1.15rem; color: var(--muted); line-height: 1.7; margin-bottom: 2rem; }
.section-desc-alt { font-size: 1rem; color: var(--muted); opacity: 0.8; margin-bottom: 3rem; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }

/* About Section Visual */
/* --- ABOUT SECTION LOGO ICON --- */
.about-logo-box {
    margin-top: -60px;
    margin-bottom: 0rem;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.about-icon-img {
    height: 180px; /* Perfect size for desktop */
    width: auto;
    /* This adds the professional blue glow around the icon */
    filter: drop-shadow(0 0 20px rgba(37, 99, 235, 0.4));
    transition: transform 0.4s ease;
}

.about-icon-img:hover {
    transform: scale(1.05); /* Subtle grow effect on hover */
}

.visual-box {
  aspect-ratio: 1; background: linear-gradient(to bottom right, rgba(37,99,235,0.1), rgba(147,51,234,0.1));
  border-radius: 3rem; border: 1px solid var(--border);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  position: relative;
}
.gk-logo-box { width: 100px; height: 100px; background: #2563eb; border-radius: 20px; font-size: 3rem; font-weight: 900; font-style: italic; display: flex; align-items: center; justify-content: center; margin-bottom: 2rem; }
.visual-tag { font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 2px; }
.success-badge {
  position: absolute; bottom: 3rem; right: 3rem;
  background: rgba(2, 2, 5, 0.6); backdrop-filter: blur(20px);
  padding: 1rem 1.5rem; border-radius: 1.5rem; border: 1px solid var(--border);
  display: flex; align-items: center; gap: 1rem;
}
.dot-live { width: 8px; height: 8px; background: #2563eb; border-radius: 50%; box-shadow: 0 0 10px #2563eb; }
.badge-label { font-size: 0.6rem; color: var(--muted); text-transform: uppercase; font-weight: 900; }
.badge-value { font-size: 1.25rem; font-weight: 900; }

.feature-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.check-item { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 0.9rem; }
.check-item span { color: #2563eb; font-weight: 900; }

/* --- ABOUT SECTION MOBILE FIX --- */

@media (max-width: 768px) {
    /* 1. Ensure the grid stacks correctly */
    #about .grid-2 {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
        text-align: center;
    }
     .about-logo-box {
        margin-bottom: 0rem !important;
    }
    /*.visual-tag {
        padding-bottom: 10px !important;
        margin-top: -2px;

    } */

    .about-icon-img {
        height: 120px !important; /* Scaled down for mobile phones */
        filter: drop-shadow(0 0 15px rgba(37, 99, 235, 0.3));
    }
}

    /* 2. Style the visual box for mobile */
    .about-visual {
        margin-bottom: 20px;
    }

    .visual-box {
        padding: 40px 20px !important;
        width: 100% !important;
        min-height: auto !important;
    }

    .success-badge {
        right: 50% !important;
        bottom: -15px !important;
        transform: translateX(50%) !important; /* Centers the badge on mobile */
        width: auto !important;
    }

    /* 3. Fix the Heading and Subtitle */
    .about-content .section-tag {
        display: block;
        padding-left: 20px;
        margin-bottom: 10px;
    }

    .about-content .section-title {
        font-size: 26px !important;
        line-height: 1.3 !important;
        margin-bottom: 20px !important;
    }

    /* Remove the line break in the heading only on mobile */
    .about-content .section-title br {
        display: none !important;
    }

    .about-content .section-desc, 
    .about-content .section-desc-alt {
        font-size: 15px !important;
        line-height: 1.6;
        text-align: center !important;
        padding: 0 10px;
    }

    /* 4. Fix the Feature Checks (Images 4) */
    .feature-checks {
        display: flex !important;
        flex-direction: column !important; /* Stack them for better readability */
        align-items: center !important;
        gap: 15px !important;
        margin-top: 30px !important;
        padding: 0 !important;
    }

    .check-item {
        display: flex !important;
        align-items: center !important;
        text-align: left !important; /* Keeps the text aligned with its checkmark */
        font-size: 15px !important;
        width: fit-content;
        gap: 10px;
    }

    .check-item span {
        color: #2563eb; /* Matches your blue theme */
        font-weight: bold;
    }

/* Service Card */
.service-card {
  background: rgba(255,255,255,0.02); 
  border: 1px solid rgb(249 247 247 / 64%);
  padding: 2.5rem; 
  border-radius: 2rem; 
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(147, 51, 234, 0.2);
    border-color: #9333ea;
}
@media (max-width: 768px) {
  .service-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}
.service-icon { width: 60px; height: 60px; border-radius: 1.25rem; font-size: 1.5rem; display: flex; align-items: center; justify-content: center; margin-bottom: 2rem; }
.icon-blue { background: rgba(37,99,235,0.1); color: #3b82f6; }
.icon-purple { background: rgba(147,51,234,0.1); color: #9333ea; }
.icon-pink { background: rgba(236,72,153,0.1); color: #ec4899; }
.icon-cyan { background: rgba(34,211,238,0.1); color: #22d3ee; }

.service-card h3 { font-size: 1.75rem; font-weight: 800; margin: 0 0 1.5rem; }
.service-card p { color: var(--muted); font-size: 0.95rem; line-height: 1.6; margin-bottom: 2rem; }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.service-tags span { font-size: 0.65rem; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; padding: 6px 12px; background: rgba(255,255,255,0.05); border-radius: 99px; }
.text-primary {
  color: var(--primary);
  font-weight: 900;
}
/* Feature Box */
.feature-box {
  background: rgba(255,255,255,0.02); border: 1px solid var(--border);
  padding: 3rem; border-radius: 3rem; position: relative; overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.box-id { position: absolute; top: 1rem; right: 2rem; font-size: 80px; font-weight: 900; color: rgba(255,255,255,0.1); }
.box-icon { width: 50px; height: 50px; background: rgba(37,99,235,0.1); border-radius: 1rem; color: #3b82f6; display: flex; align-items: center; justify-content: center; margin-bottom: 2rem; font-size: 1.25rem; }
.feature-box h4 { font-size: 1.5rem; font-weight: 900; margin: 0 0 1rem; }
.feature-box p { color: var(--muted); font-size: 0.9rem; line-height: 1.6; margin: 0; }

/* CTA Box */
.cta-box {
  background: linear-gradient(to bottom right, rgba(37,99,235,0.2), rgba(147,51,234,0.2));
  border-radius: 5rem; padding: 6rem 4rem; text-align: center; border: 1px solid var(--border);
}
.cta-title { font-size: 4rem; font-weight: 900; line-height: 1.1; margin: 0 0 2rem; }
.cta-desc { font-size: 1.25rem; color: var(--muted); margin-bottom: 4rem; max-width: 800px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 2rem; justify-content: center; margin-bottom: 4rem; }
.btn-xl { padding: 1.5rem 3rem; font-size: 1.25rem; }
.cta-footer { display: flex; justify-content: center; gap: 3rem; font-size: 0.7rem; font-weight: 900; text-transform: uppercase; letter-spacing: 2px; color: var(--muted); }
.btn-contact {
  color: white;
  transition: color 0.3s ease; /* optional smooth effect */
}

.btn-contact:hover {
  color: #c2c2c2; /* choose your hover color */
}
/* Template Name: Website Development */

/* --- Website Development Page Specific Styles --- */
/* Dev Intro Section Styling */
.dev-intro {
    padding: 60px 0 100px; /* Extra top padding to clear the fixed nav */
    position: relative;
    overflow: hidden;
}

/* Vertical Centering for the 2-column grid */
.dev-intro .grid-2 {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center; /* This is the "magic" that aligns text and image perfectly */
}

.dev-intro .hero-title {
    text-align: left; /* Keep intro text left-aligned */
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.dev-intro .hero-subtitle {
    text-align: left;
    margin: 0 0 2.5rem 0;
    max-width: 100%;
}

.intro-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

/* Styling the Outline Button */
.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 1.1rem 2.2rem;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(147, 51, 234, 0.05);
    color: white;
    transform: translateY(-2px);
}

/* Image Wrapper and Animation */
.intro-image-wrapper {
    position: relative;
    z-index: 5;
}

.intro-image-wrapper img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(147, 51, 234, 0.2));
}

/* Pro-tip: A subtle floating animation for the hero image */
.floating-img {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Responsive adjustment */
@media (max-width: 992px) {
    .dev-intro .grid-2 {
       /*adding-top: 80px;*/
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
        padding-top: 10px;
    }
    .dev-intro .hero-title, .dev-intro .hero-subtitle {
        text-align: center;
    }
    .intro-actions {
        justify-content: center;
    }
}
/**/
.web-dev-page { padding-top: 80px; }

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
/* --- WORDPRESS DEV SECTION MOBILE FIX --- */
@media (max-width: 768px) {
    /* 1. Reduce section padding for mobile */
    .dev-intro {
        padding: 80px 0 30px !important;
    }

    /* 2. Fix the Heading Size */
    .dev-intro .hero-title {
        font-size: 2.2rem !important; /* Smaller size for mobile screens */
        line-height: 1.2 !important;
        margin-bottom: 1rem !important;
    }

    /* Remove the <br> tag in the title so it wraps naturally on mobile */
    .dev-intro .hero-title br {
        display: none !important;
    }

    /* 3. Adjust Subtitle */
    .dev-intro .hero-subtitle {
        font-size: 1rem !important;
        line-height: 1.6 !important;
        margin-bottom: 2rem !important;
        padding: 0 10px;
    }

    /* 4. Improve Button Layout */
    .intro-actions {
        flex-direction: column !important; /* Stack buttons vertically for better thumb reach */
        gap: 12px !important;
        width: 100%;
        padding: 0 20px;
    }

    .intro-actions .btn {
        width: 100% !important; /* Full width buttons on mobile */
        max-width: 300px;
        justify-content: center;
        padding: 14px 20px !important;
        font-size: 1rem !important;
    }

    /* 5. Image spacing */
    .intro-image-wrapper {
        margin-top: 40px !important;
        padding: 0 20px;
    }

    .intro-image-wrapper img {
        max-width: 90% !important;
        margin: 0 auto;
        display: block;
    }
}

/* Specific fix for very small phones (e.g. iPhone SE) */
@media (max-width: 425px) {
    .hero-title { font-size: 2.8rem !important; }
    .section-title { font-size: 2.2rem !important; }
    .container { padding: 0 1.5rem; }
}

@media (max-width: 375px) {
    .dev-intro .hero-title {
        font-size: 1.8rem !important;
    }
    .hero-title { font-size: 2.5rem !important; }
}

@media (max-width: 320px) {
    .hero-title { font-size: 2.2rem !important; }
    .btn { padding: 1rem 1.5rem !important; font-size: 0.85rem !important; }
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
    color: #fff;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.portfolio-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: 0.3s;
}

.portfolio-card img { width: 100%; display: block; }

.card-tag {
    position: absolute;
    top: 15px; left: 15px;
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    font-size: 0.7rem;
    border-radius: 5px;
    font-weight: 700;
    z-index: 2;
}

/* Packages Section Styling */
/* --- COMPREHENSIVE PACKAGES SECTION --- */
.packages-section {
    padding: 100px 0;
    background: #020205;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    color: var(--muted);
    font-size: 1.1rem;
}

/* Button behavior inside cards */

/* Small Details */
.popular-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 8px 25px;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    z-index: 50;
    white-space: nowrap;
    box-shadow: 0 5px 15px rgba(147, 51, 234, 0.4);
}

.card-head h3 { font-size: 1.5rem; margin-bottom: 0.5rem; color: white; }
.price-tag { font-size: 1.25rem; font-weight: 800; color: #60a5fa; margin-bottom: 2rem; }

.package-features {
    list-style: none; padding: 0; margin: 0 0 2.5rem 0; text-align: left;
}

.package-features li {
    padding: 12px 0; font-size: 0.85rem; color: #e2e8f0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.package-features li::before {
    content: '✓'; color: #10b981; margin-right: 10px; font-weight: bold;
}

.package-features li.disabled { color: var(--muted); opacity: 0.4; }

/* Dark Contact Form */
/* Services Section Enhancements */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card-new {
    position: relative;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    height: 100%;
}

.card-inner {
    padding: 40px 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(147, 51, 234, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card-new:hover {
    transform: translateY(-10px);
    border-color: rgba(147, 51, 234, 0.3);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.service-card-new:hover .card-glow {
    opacity: 1;
}

.service-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(147, 51, 234, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    border: 1px solid rgba(147, 51, 234, 0.2);
    transition: all 0.4s ease;
}

.service-card-new:hover .service-icon-wrapper {
    background: var(--primary);
    transform: rotate(10deg);
}

.service-icon-new {
    font-size: 28px;
}

.service-card-new h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--white);
}

.service-card-new p {
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 0.95rem;
    flex-grow: 1;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.service-features span {
    font-size: 0.75rem;
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    color: var(--muted);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.card-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
    position: relative;
    z-index: 10;
    cursor: pointer;
}

.card-link:hover {
    gap: 12px;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .card-inner {
        padding: 30px 20px;
    }
}

/* --- CONTACT SECTION REFACTOR --- */
.contact-section {
    padding-top: 30px;
    background: radial-gradient(circle at bottom right, rgba(147, 51, 234, 0.05), transparent 40%);
}
.contact-link {
    color: inherit;
    text-decoration: none;
    font-weight: 500;
}

.contact-link:hover {
    text-decoration: underline;
}

.c-method {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.c-text p {
    margin: 0;
}

.contact-desc {
    color: var(--muted);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    line-height: 1.6;
    text-align: center;
}

/* Trust Badges */
.trust-badges p {
    text-align: center;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.badge-grid {
    display: flex;
    justify-content: center; /* 👈 centers items horizontally */
    gap: 2rem;
    align-items: center;
    opacity: 0.6;
    filter: grayscale(1);
    transition: 0.3s;
}

.badge-grid:hover { opacity: 1; filter: grayscale(0); }
.badge-grid img { height: 35px; width: auto; }

/* Form Wrapper */
.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    padding: 3.5rem;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.form-group { margin-bottom: 1.5rem; }

.dark-form input, 
.dark-form textarea {
    width: 100%;
    padding: 1.2rem;
    background: rgba(2, 2, 5, 0.5);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: white;
    font-family: inherit;
    transition: all 0.3s ease;
}

/* THE "PREMIUM" FOCUS EFFECT */
.dark-form input:focus, 
.dark-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(147, 51, 234, 0.05);
    box-shadow: 0 0 15px rgba(147, 51, 234, 0.2);
}

.w-full { width: 100%; }

/* Responsive */
@media (max-width: 992px) {
    .contact-section .grid-2 { grid-template-columns: 1fr; gap: 4rem; }
    .contact-form-wrapper { padding: 2rem; }
}

/* Responsive */
@media (max-width: 768px) {
    .contact-info .section-title {
        text-align: center !important;
    }
    .grid-2 { grid-template-columns: 1fr; text-align: center; }
}

/* PORT IMAGES */
/* Portfolio Card Container */
.portfolio-card {
    position: relative;
    border-radius: 20px; /* Matches your premium theme look */
    overflow: hidden;    /* Clips the image and overlay to the corners */
    background: #0a0a10;
    border: 1px solid var(--border);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.portfolio-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

/* The 'Launched' Tag Positioning */
.card-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: white;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 10;
}

/* The Secret Sauce: The Hover Overlay */
.card-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(2, 2, 5, 0.8); /* Dark tint */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0; /* Hidden by default */
    transition: 0.4s ease;
    z-index: 5;
    backdrop-filter: blur(4px); /* Modern frosted glass effect */
}

.view-btn {
    color: white;
    border: 2px solid var(--primary);
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    transform: translateY(20px); /* Starts slightly lower */
    transition: 0.4s ease;
}

/* Hover States */
.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.portfolio-card:hover .card-overlay {
    opacity: 1;
}

.portfolio-card:hover .view-btn {
    transform: translateY(0); /* Slides up into view */
}

.portfolio-card:hover img {
    transform: scale(1.1); /* Subtle zoom */
}
/* Ensure the link covers the whole card and looks like a button */
a.card-overlay {
    text-decoration: none; /* Removes underlines */
    color: inherit;       /* Keeps text white */
    cursor: pointer;
}

.view-btn {
    /* Ensure the button inside the link doesn't react like plain text */
    pointer-events: none; 
}
/* --- FEATURES SECTION STYLING --- */
.features-section {
    padding: 50px 0;
    background: #020205;
    border-top: 1px solid var(--border);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgb(136 112 241);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--primary);
    background: rgba(147, 51, 234, 0.02);
    box-shadow: 0 10px 30px rgba(147, 51, 234, 0.1);
}

.feature-icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    border: 1px solid rgba(147, 51, 234, 0.3);
    border-radius: 12px;
}

.feature-content h3 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
}

.feature-content p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Responsive Grid */
@media (max-width: 992px) {
    .features-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .features-grid { grid-template-columns: 1fr; }
}

/* App Development CSS START FORM HERE */

/* Apply existing styles to any service page */
.service-page .dev-intro {
    padding: 160px 0 50px;
}

/* Ensure images have correct app-style aspect ratio if needed */
/* Fix for the App Development White Background */
.app-dev-page {
    background: #020205 !important;
    color: white;
}



/* Fix for Portfolio Black Blocks */
.portfolio-card {
    min-height: 400px; /* Gives the card a base height */
    background: #0a0a10;
}

.portfolio-card img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures screenshots don't stretch weirdly */
}
/* --- PROCESS SECTION STYLING --- */
.process-section {
    padding: 100px 0;
    background: #020205;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.process-card {
    position: relative;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid #9333ea;
    border-radius: 20px;
    transition: all 0.4s ease;
}

.process-card:hover {
    border-color: var(--primary);
    background: rgba(147, 51, 234, 0.03);
    transform: translateY(-5px);
}

.phase-number {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(to right, #60a5fa, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.process-content h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.process-content p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Subtle line connecting cards (Optional) */
.process-line {
    position: absolute;
    height: 2px;
    width: 50px;
    background: var(--border);
    right: -40px;
    top: 50px;
}

/* Hide line on every 3rd card and mobile */
.process-card:nth-child(3n) .process-line { display: none; }

/* Responsive */
@media (max-width: 992px) {
    .process-grid { grid-template-columns: 1fr 1fr; }
    .process-line { display: none; }
}

@media (max-width: 600px) {
    .process-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   PRICING SECTION - DESKTOP (Global Styles)
   ========================================================================== */
.pricing-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem;             /* Tightened gap */
    width: 100%;
    max-width: 1200px;       /* Compact grid width */
    margin: 2.5rem auto 0;   /* Pulled closer to the heading */
    padding: 0 1rem;
    align-items: stretch;
}

.pricing-card {
    flex: 1 1 240px; 
    max-width: 280px; 
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    
    /* MODIFIED: Fixed height for half-view */
    height: 420px;
    padding: 1.5rem 1.2rem; 
    border-radius: 20px;
    text-align: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    z-index: 1;
    /* Removed overflow: hidden so tag isn't clipped */
    overflow: visible;
}

/* Internal wrapper handles content clipping */
.card-content-wrapper {
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    width: 100%;
    border-radius: inherit; /* Ensure inner content follows the card's curves */
}

.pricing-card.expanded .card-content-wrapper {
    height: auto;
    overflow: visible;
}

.pricing-card.expanded {
    height: auto;
    overflow: visible;
    padding-bottom: 2rem; /* Reduced padding since button is now relative */
}

.view-more-btn {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 3rem 1rem 1.5rem;
    background: linear-gradient(to top, #020205 60%, transparent);
    color: #9333ea;
    border: none;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.view-more-btn:hover {
    color: #a855f7;
    letter-spacing: 0.5px;
}

.view-more-btn span {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.pricing-card.expanded .view-more-btn {
    position: relative; /* Changed from absolute to relative */
    bottom: auto;
    left: auto;
    width: 100%;
    background: transparent; /* Remove gradient in expanded view */
    padding: 1.5rem 1rem;
    margin-top: 1rem; /* Space after the "Book" button */
}

.pricing-card.expanded .view-more-btn span {
    transform: rotate(180deg);
}

.package-features {
    margin-bottom: 2rem;
    padding: 0;
    list-style: none;
    flex-grow: 1;
}

/* COMPACT TYPOGRAPHY */
.pricing-card h3 {
    font-size: 1.25rem;      /* Slightly smaller title */
    margin-bottom: 0.4rem;
}

.price-tag {
    font-size: 1rem;         /* Slightly smaller price */
    margin-bottom: 1.2rem;
}

.package-features {
    margin-bottom: 1.5rem;   /* Less space before button */
    padding: 0;
    list-style: none;
}

.package-features li {
    margin-bottom: 0.5rem;   /* Tighter list spacing */
    font-size: 0.85rem;      /* Smaller text for better fit */
    text-align: left;
}

/* BUTTON ADJUSTMENT */
.pricing-card .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
    margin-top: auto;        /* Pushes button to bottom of shorter card */
}

.pricing-card.featured {
    background: linear-gradient(180deg, rgba(147, 51, 234, 0.08) 0%, rgba(2, 2, 5, 1) 100%);
    border: 2px solid #9333ea;
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(147, 51, 234, 0.1);
}

/* DESKTOP HOVER ANIMATION (UNCHANGED) */
@media (min-width: 769px) {
    .pricing-card:hover {
        transform: translateY(-10px) scale(1.05);
        border-color: #9333ea;
        background: linear-gradient(180deg, rgba(147, 51, 234, 0.12) 0%, rgba(2, 2, 5, 1) 100%);
        box-shadow: 0 20px 40px rgba(147, 51, 234, 0.3);
        z-index: 10;
    }
}
/* ==========================================================================
   PRICING CAROUSEL - SCROLL FIX
   ========================================================================== */
@media (max-width: 768px) {
    .packages-section .container {
        padding: 0 !important;
        max-width: 100% !important;
        overflow: hidden;
    }

    .pricing-grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        scroll-behavior: smooth;
        gap: 15px !important;
        justify-content: flex-start !important; 
        padding: 25px 9% 60px !important; /* Bottom padding for arrows */
        -ms-overflow-style: none;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    /* Navigation Arrows */
    .pricing-nav-btn {
        position: relative;
        width: 45px;
        height: 45px;
        background: #9333ea;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        color: white;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        z-index: 100;
        cursor: pointer;
        box-shadow: 0 4px 15px rgba(147, 51, 234, 0.3);
        transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .pricing-nav-container {
        display: none;
        width: 100%;
        justify-content: center;
        gap: 20px;
        padding: 25px 0 10px;
        margin-top: 10px;
    }

    @media (max-width: 768px) {
        .pricing-nav-container {
            margin-top: -10px;
            display: flex;
        }
    }

    .pricing-nav-btn span {
        font-size: 2rem;
        line-height: 1;
        margin-top: -4px;
    }

    .pricing-nav-btn:active {
        transform: scale(0.9);
        background: #7e22ce;
    }

    .packages-section .container {
        position: relative;
    }
    .pricing-grid::-webkit-scrollbar { display: none; }

    .pricing-card {
        flex: 0 0 82% !important;
        min-width: 82% !important;
        scroll-snap-align: center !important;

        /* MODIFIED: Fixed height for mobile half-view */
        height: 350px !important;
        padding: 1.2rem 1rem !important; 
        opacity: 0.5;
        transform: scale(0.9);
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
        /* Removed overflow: hidden !important */
    }

    .pricing-card.expanded {
        height: auto !important;
        overflow: visible !important;
    }

    /* Logic for Active Animation - UNCHANGED */
    .pricing-card.is-active {
        opacity: 1 !important;
        transform: scale(1.05) !important;
        box-shadow: 0 20px 50px rgba(147, 51, 234, 0.3);
        border-color: #9333ea !important;
        z-index: 10;
    }

    /* NEW ADDITIONS: Tightening the content inside the card so it fits the screen */
    .pricing-card h3 { 
        font-size: 1.1rem !important; 
        margin-bottom: 5px !important; 
    }
    .price-tag { 
        font-size: 0.9rem !important; 
        margin-bottom: 12px !important; 
    }
    .package-features { 
        margin-bottom: 12px !important; 
    }
    .package-features li { 
        font-size: 0.8rem !important; 
        margin-bottom: 6px !important; 
    }
    .pricing-card .btn { 
        padding: 10px 15px !important; 
        font-size: 0.85rem !important; 
    }

    /* Prevent hover conflicts - UNCHANGED */
    .pricing-card:hover { transform: scale(0.9); }
    .pricing-card.is-active:hover { transform: scale(1.05); }
}
/* Template Name: About Us CSS here */
/* --- ABOUT PAGE SPECIFIC --- */
.awards-grid {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
    padding: 4rem 0;
    /*filter: grayscale(1) brightness(0.8);*/
    opacity: 0.6;
}


.awards-grid img {
    height: 80px;
    width: auto;
    transition: 0.3s;
}

.awards-grid img:hover {
    filter: grayscale(0) brightness(1);
    opacity: 1;
    transform: scale(1.1);
}
/* --- AWARDS SECTION MOBILE FIX --- */
@media (max-width: 768px) {
    .awards-section {
        padding: 30px 0 !important; /* Reduce large vertical gaps */
    }

    .awards-grid {
        display: flex !important;
        flex-wrap: nowrap !important; /* FORCES all items into one single row */
        justify-content: space-around !important; /* Distributes them evenly across the width */
        align-items: center !important;
        gap: 10px !important; /* Tightens space between icons */
        padding: 20px 10px !important; /* Reduces the 4rem padding from your screenshot */
    }

    .awards-grid img {
        /* Scale images so 4 of them fit perfectly in one row */
        width: 22% !important; 
        max-width: 80px !important;
        height: auto !important;

        /* Optional: If you want them to be full color like Image 2, 
           we reset the filters shown in your inspect tool */
        filter: none !important; 
        opacity: 1 !important;
    }
}

.team-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 3px solid var(--primary);
    padding: 5px;
}

.text-center { text-align: center; }

/* --- CONTACT PAGE SPECIFIC --- */
.contact-page-main {
    padding-bottom: 0px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
}

.c-method {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.c-icon {
    width: 50px;
    height: 50px;
    background: rgba(147, 51, 234, 0.1);
    border: 1px solid rgba(147, 51, 234, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.c-method h4 { color: white; margin-bottom: 0.2rem; text-align: left;}
.c-method p { color: var(--muted); margin: 0; }

/* The Form Card in Hero */
.contact-form-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    padding: 3rem;
    border-radius: 30px;
    backdrop-filter: blur(20px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.form-title {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 2rem;
    text-align: center;
}

/* --- SELECT BOX VISIBILITY FIX --- */
.dark-select {
    width: 100%;
    padding: 1.2rem;
    /* Slightly more opaque for better contrast */
    background-color: rgba(10, 10, 15, 0.9); 
    border: 1px solid var(--border);
    border-radius: 12px;
    color: #ffffff; /* Solid white for the selected value */
    appearance: none;
    cursor: pointer;

    /* ADDING A CUSTOM ARROW (Since appearance: none removes it) */
    /* This uses a simple SVG arrow as a background image */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%238b949e' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 1.2rem) center;
    background-size: 12px;
    transition: all 0.3s ease;
}

.dark-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(147, 51, 234, 0.2);
}

/* THE CRITICAL FIX: Styling the actual dropdown items */
.dark-select option {
    background-color: #020205; /* Force a solid dark background */
    color: #ffffff;             /* Force solid white text */
    padding: 10px;
}

/* Optional: Make the first "Interested in..." option look like a placeholder */
.dark-select option:first-child {
    color: var(--muted);
}
/* Map Section */
.map-placeholder {
    position: relative;
    width: 100%;
    height: 400px;
    background: #0a0a10;
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.map-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 100%;
}

.glow-map-effect {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(147, 51, 234, 0.1), transparent 70%);
}

/* Full width button helper */
.w-full { width: 100%; }

@media (max-width: 992px) {
    .contact-form-card { margin-top: 4rem; padding: 2rem; }
}
/* --- FAQ PAGE STYLING --- */
.faq-accordion-section {
    padding-bottom: 100px;
}

.faq-grid {
    max-width: 800px; /* Kept narrow for better readability */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    transition: 0.3s;
}

.faq-question:hover {
    background: rgba(147, 51, 234, 0.05);
}

.faq-plus {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 300;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0, 1, 0, 1);
    background: rgba(2, 2, 5, 0.5);
}

.faq-answer p {
    padding: 0 2rem 2.5rem;
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}

/* Active State */
.faq-item.active {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(147, 51, 234, 0.1);
}

.faq-item.active .faq-answer {
    max-height: 1000px; /* Large enough to fit content */
    transition: all 0.4s cubic-bezier(1, 0, 1, 0);
}

.faq-item.active .faq-question {
    color: var(--primary);
}
/* --- PRICING PAGE MASTER STYLES --- */

/* Centering Logic for 3 or 4 cards */
.pricing-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
}

/* Table Design */
.comparison-section { padding: 80px 0; }

.comparison-table-wrapper {
    overflow-x: auto;
    border-radius: 24px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
}

.git-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.git-table th, .git-table td {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
    color: var(--muted);
}

.git-table th {
    background: rgba(147, 51, 234, 0.05);
    color: white;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    position: sticky;
    top: 0;
}

.git-table td:first-child { color: white; font-weight: 700; }

/* The 'Professional' column highlight */
.git-table td:nth-child(3), 
.git-table th:nth-child(3) {
    background: rgba(147, 51, 234, 0.03);
}

/* Visual Indicators */
.check-glow {
    color: #10b981;
    font-weight: 900;
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

.dash { color: var(--muted); opacity: 0.3; }

.dot-muted {
    display: inline-block; width: 8px; height: 8px;
    border-radius: 50%; background: var(--muted);
    margin-right: 8px;
}

/* Spacing fix for the flow */
.pricing-page .faq-accordion-section {
    background: radial-gradient(circle at center, rgba(147, 51, 234, 0.05), transparent 70%);
}
/* --- PRIVACY POLICY STYLING --- */
/*.legal-section {
    padding-bottom: 120px;
}*/

.legal-content {
    max-width: 900px; /* Narrower for better readability */
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border);
    padding: 4rem;
    border-radius: 30px;
    line-height: 1.8;
}

.legal-content h2 {
    color: white;
    font-size: 1.8rem;
    margin: 3rem 0 1.5rem;
    font-weight: 800;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    color: var(--muted);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.legal-content ul {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.legal-content li {
    color: var(--muted);
    margin-bottom: 1rem;
    list-style: square;
}

.legal-content li strong {
    color: white;
}

.legal-content a {
    text-decoration: none;
    font-weight: 700;
}

@media (max-width: 768px) {
    .legal-content {
        padding: 2rem;
    }
}
/* Enhancing links within Terms/Privacy */
.legal-content a {
    color: var(--primary);
    text-decoration: none;
    position: relative;
    font-weight: 700;
}

.legal-content a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background: var(--primary);
    transition: width 0.3s ease;
}

.legal-content a:hover::after {
    width: 100%;
}
/* --- REFUND PAGE SPECIFIC --- */
.policy-highlight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border);
}

.p-box {
    padding: 1.5rem;
    background: rgba(147, 51, 234, 0.05);
    border: 1px solid rgba(147, 51, 234, 0.2);
    border-radius: 15px;
    text-align: center;
    transition: 0.3s ease;
}

.p-box:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    background: rgba(147, 51, 234, 0.1);
}

.p-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 1rem;
}

.p-box h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.p-box p {
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
    margin-bottom: 0 !important;
}

.legal-note {
    margin-top: 4rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-left: 4px solid var(--primary);
    border-radius: 0 10px 10px 0;
}

@media (max-width: 768px) {
    .policy-highlight-grid {
        grid-template-columns: 1fr;
    }
}
/* --- SITE FOOTER STYLING --- */

.site-footer {
    background-color: #020205;
    border-top: 1px solid var(--border);
    /*padding-top: 40px; */
    margin-top: 100px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 4rem;
}

.footer-col h3 {
    color: white;
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 2rem;
    position: relative;
}
/* Footer Social Icons */
.social-links {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 16px;
}

.social-links a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background: #ffffff;
    color: #000000;
    transform: translateY(-3px);
}

/* Subtle accent line under headings */
.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: -8px; left: 0;
    width: 30px; height: 2px;
    background: var(--primary);
}

/* --- FOOTER LOGO STYLING --- */
.footer-logo {
    margin-bottom: 1.5rem; /* Spacing between logo and the text below */
    display: block;
}

.footer-brand-img {
    height: 70px; /* Standard desktop height for footer */
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

/* Optional: Slight hover effect to make it feel interactive */
.footer-brand-img:hover {
    transform: scale(1.05);
}

.footer-tagline {
    max-width: 350px; /* Keeps the text from getting too wide next to the logo */
    line-height: 1.6;
    color: #a0a0a0; /* Subtle grey for tagline */
}
@media (max-width: 768px) {
    .footer-brand-img {
        height: 55px !important; /* Slightly smaller for mobile screens */
        margin: 0 auto 1.5rem; /* Centers the logo if your footer is center-aligned on mobile */
    }

    .footer-tagline {
        text-align: center;
        margin: 0 auto 2rem;
    }

    .social-links {
        justify-content: center;
    }
}

.footer-tagline {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Link Styling */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--muted);
    text-decoration: none;
    transition: 0.3s;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px; /* Subtle interaction effect */
}

/* Contact Details */
.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 1.2rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.footer-contact a {
    color: inherit;
    text-decoration: none;
    transition: 0.3s;
}

.footer-contact a:hover { color: white; }

.c-icon { font-size: 1.1rem; }

/* Socials */
.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 35px; height: 35px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    color: var(--muted);
    text-decoration: none;
    transition: 0.3s;
}

.social-links a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* Bottom Bar */
.footer-bottom {
    margin-top: 45px;
   /*padding-top: 30px; */
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--muted);
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 992px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr;
    padding-top: 20px; }
    
}
/* --- SITE HEADER STYLING --- */
/* ==========================================================================
   1. GLOBAL HEADER STYLES (Applies to both)
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    padding: 25px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
}

.site-header.scrolled {
    padding: 12px 0;
    background: rgba(2, 2, 5, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.header-flex {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100%;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.logo-wrapper {
    display: flex;
    align-items: center;
    text-decoration: none;
    line-height: 0; /* Prevents tiny gaps below image */
}

.header-logo {
    height: 55px; /* Perfect desktop height */
    width: auto;  /* Keeps the logo from stretching */
    transition: all 0.3s ease; /* Makes the shrink effect smooth */
}

/* If you have a 'scrolled' class, let's make the logo shrink slightly for a premium feel */
.site-header.scrolled .header-logo {
    height: 45px;
}
@media (max-width: 768px) {
    .header-logo {
        height: 60px !important; /* Perfect mobile height */
    }
}

/* ==========================================================================
   2. DESKTOP ONLY (769px and wider)
   ========================================================================== */
@media (min-width: 769px) {
    /* Hide mobile elements */
    .menu-toggle, .mobile-cta {
        display: none !important;
    }

    .nav-links {
        list-style: none;
        display: flex !important;
        flex-direction: row !important; /* Force horizontal */
        gap: 35px !important; /* THIS FIXES THE SQUASHED TEXT IN YOUR IMAGE */
        margin: 0;
        padding: 0;
    }

    .nav-links li {
        position: relative;
    }

    .nav-links a {
        color: #ffffff;
        text-decoration: none;
        font-weight: 700;
        font-size: 1rem;
        transition: 0.3s;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .nav-links a:hover {
        color: #9333ea;
    }

    /* Dropdown Menu Box */
    .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 12px;
        min-width: 240px;
        padding: 1rem 0;
        margin-top: 15px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        list-style: none;
        z-index: 1000;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }

    /* Invisible bridge to prevent closing on hover gap */
    .dropdown-menu::before {
        content: '';
        position: absolute;
        top: -15px;
        left: 0;
        width: 100%;
        height: 15px;
    }

    .nav-links li.dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .dropdown-menu li {
        width: 100%;
    }

    .dropdown-menu li a {
        padding: 0.8rem 1.5rem;
        display: block;
        font-size: 0.9rem;
        font-weight: 500;
        color: #e2e8f0;
        transition: 0.2s;
        text-align: left;
    }

    .dropdown-menu li a:hover {
        background: rgba(147, 51, 234, 0.1);
        color: #9333ea;
        padding-left: 1.8rem;
    }

    .nav-links li.dropdown .fa-chevron-down {
        font-size: 0.7rem;
        transition: transform 0.3s ease;
    }

    .nav-links li.dropdown:hover .fa-chevron-down {
        transform: rotate(180deg);
    }

    .header-cta {
        display: block !important;
    }
}

/* ==========================================================================
   3. MOBILE ONLY (768px and smaller)
   ========================================================================== */
@media (max-width: 768px) {
    /* 1. Hide desktop button */
    .header-cta { 
        display: none !important; 
    }

    /* 2. Hamburger Menu Icon */
    .menu-toggle {
        display: block;
        cursor: pointer;
        z-index: 2001;
    }

    .menu-toggle .bar {
        display: block;
        width: 28px;
        height: 3px;
        margin: 5px auto;
        background-color: #fff;
        transition: 0.3s;
    }

    /* 3. Navigation Overlay - Modernized with full height and better centering */
    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 85vh; /* Full height feels more premium */
        background: rgba(10, 1, 24, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        z-index: 1500;
        opacity: 0;
        visibility: hidden;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .main-nav.active {
        opacity: 1;
        visibility: visible;
    }

    /* 4. Vertical Links */
    .nav-links {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important; /* Slightly tighter gap to allow for dropdown space */
        text-align: center;
        list-style: none;
        padding: 0;
        width: 100%;
    }

    .nav-links li {
        width: 100%;
        list-style: none; /* Force remove bullets */
    }

    .nav-links li a {
        font-size: 22px !important; /* Slightly smaller for elegance */
        color: #fff !important;
        font-weight: 700;
        text-decoration: none;
        display: block;
        padding: 10px 0;
        transition: 0.3s;
    }

    /* 5. Dropdown Hierarchy - THIS FIXES THE BULLETS AND LOOK */
    .nav-links li.dropdown .dropdown-menu {
        position: static;
        display: none;
        background: rgba(255, 255, 255, 0.03); /* Subtle dark box for grouping */
        border-radius: 15px;
        margin: 10px 20px;
        padding: 10px 0;
        list-style: none; /* REMOVES BULLETS */
    }

    .nav-links li.dropdown.active .dropdown-menu {
        display: block;
    }

    /* Sub-menu items should look different than main items */
    .nav-links li.dropdown .dropdown-menu li a {
        font-size: 16px !important; /* Smaller than main links */
        font-weight: 400; /* Thinner than main links */
        color: rgba(255, 255, 255, 0.7) !important; /* Slightly faded */
        padding: 8px !important;
    }

    /* 6. Mobile CTA Button - Pill shaped and glowing */
    .mobile-cta {
        display: block !important;
        margin-top: 40px !important;
    }

    .mobile-cta .btn-get-started {
        display: inline-block !important;
        padding: 14px 40px !important;
        background: linear-gradient(90deg, #4e80f7, #9d50bb);
        border-radius: 50px; /* Pill shape is more modern */
        font-size: 18px;
        font-weight: 700;
        box-shadow: 0 10px 20px rgba(78, 128, 247, 0.2); /* Soft glow */
    }

    /* 7. Hamburger Animation */
    #mobile-menu.is-active .bar:nth-child(2) { opacity: 0; }
    #mobile-menu.is-active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    #mobile-menu.is-active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* SHARED BUTTON STYLE */
.btn-get-started {
    background: linear-gradient(90deg, #2563eb, #9333ea);
    color: white;
    padding: 10px 24px;
    border-radius: 10px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(147, 51, 234, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
}

.btn-get-started:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(147, 51, 234, 0.4);
}
/* --- WHY CHOOSE US MOBILE FIX --- */
@media (max-width: 768px) {
    /* 1. Force the grid into a single column */
    .grid-3 {
        display: grid !important;
        grid-template-columns: 1fr !important; /* Changes from 3 columns to 1 */
        gap: 20px !important; /* Space between the stacked boxes */
        padding: 0 10px;
    }

    /* 2. Adjust the individual feature boxes */
    .feature-box {
        width: 100% !important;
        min-height: auto !important;
        padding: 40px 25px !important;
        display: flex;
        flex-direction: column;
        align-items: center; /* Centered for mobile */
        text-align: center; /* Centered for mobile */
        position: relative;
        overflow: hidden; /* Ensures large ID numbers don't bleed out */
    }

    /* 3. Adjust the section header for better mobile readability */
    .section-header {
        text-align: center;
        margin-bottom: 40px;
        padding: 0 15px;
    }

    .section-title {
        font-size: 28px !important;
        line-height: 1.3;
    }

    .section-desc {
        font-size: 16px !important;
    }

    /* 4. Fix the large background ID numbers (01, 02, etc.) */
    .box-id, .box-id-alt {
        font-size: 80px !important; /* Slightly smaller so they don't overwhelm the text */
        opacity: 0.1; /* Keeps them subtle */
        position: absolute;
        right: 10px;
        top: 10px;
        z-index: 0;
    }

    /* 5. Ensure icon and text stay above the background number */
    .box-icon, .feature-box h4, .feature-box p {
        position: relative;
        z-index: 1;
    }
}
/* --- MISSION & VISION MOBILE CENTER FIX --- */
@media (max-width: 768px) {
    /* Centering the headings */
    .story-box .section-title {
        text-align: center !important;
        margin-bottom: 1rem !important;
    }

    /* Optional: Centering the paragraph text as well for better balance */
    .story-box .contact-desc {
        text-align: center !important;
        padding: 0 15px;
    }

    /* Adding some space between the two boxes on mobile */
    .story-box {
        margin-bottom: 40px;
    }
}
/* --- CTA SECTION MOBILE FIX --- */
@media (max-width: 768px) {
    /* 1. Adjust the main container box */
    .cta-box {
        padding: 50px 20px !important;
        margin: 0 10px !important;
        border-radius: 40px !important; /* Softens the corners for mobile */
        width: auto !important;
        text-align: center;
    }

    /* 2. Fix the Title */
    .cta-title {
        font-size: 28px !important; /* Shrink font so it doesn't overflow */
        line-height: 1.2 !important;
        margin-bottom: 20px !important;
    }

    /* Remove the line break <br> only on mobile */
    .cta-title br {
        display: none !important;
    }

    /* 3. Fix the Description */
    .cta-desc {
        font-size: 15px !important;
        line-height: 1.6 !important;
        margin-bottom: 30px !important;
        padding: 0 10px;
    }

    /* 4. Stack the Buttons Vertically */
    .cta-actions {
        display: flex !important;
        flex-direction: column !important; /* Stack buttons on top of each other */
        gap: 15px !important;
        align-items: center !important;
    }

    /* Make buttons full width or comfortably wide for thumbs */
    .cta-actions .btn {
        width: 100% !important;
        max-width: 300px; /* Prevents them from being too wide on tablets */
        margin: 0 !important;
        padding: 16px 20px !important;
        font-size: 16px !important;
        justify-content: center;
    }

    /* 5. Fix the Footer (The checkmark items) */
    .cta-footer {
        display: flex !important;
        flex-direction: column !important; /* Stack them for better spacing */
        gap: 10px !important;
        margin-top: 35px !important;
        font-size: 14px !important;
        align-items: center !important;
    }

    .cta-footer span {
        margin: 0 !important;
    }
}
/* --- UPDATED PORTFOLIO PAGE SPECIFIC --- */

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--muted);
    padding: 12px 28px; /* Slightly larger for better click-area */
    border-radius: 99px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-btn:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 8px 20px rgba(147, 51, 234, 0.4);
}

/* THE CORE FIX: Switching from Grid to Flex for Centering */
.portfolio-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* THIS IS THE MAGIC: Centers 1, 2, or 100 items */
    gap: 2.5rem;             /* Increased gap for a more premium feel */
    max-width: 1300px;
    margin: 0 auto;
}

.filter-item {
    /* flex-grow: 1 (allow grow), flex-shrink: 1 (allow shrink), basis: 380px */
    flex: 1 1 380px; 
    max-width: 420px; /* Prevents 2 items from stretching too wide on huge screens */
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Small Detail: When items are hidden by JS, they should fade out gracefully */
.filter-item[style*="display: none"] {
    opacity: 0;
    transform: scale(0.9);
}
.portfolio-grid-section {
    padding-bottom: 90px;
}

/* ================= REVIEWS SECTION ================= */
.reviews-section {
    background: radial-gradient(circle at top left, rgba(147, 51, 234, 0.05), transparent 40%);
}

.reviews-intro {
    text-align: left;
}

.review-stars-static {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.review-stars-static .star {
    color: #fbbf24;
    font-size: 1.25rem;
}

.rating-text {
    margin-left: 10px;
    font-weight: 700;
    color: var(--muted);
}

.reviews-carousel-wrapper {
    position: relative;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 2rem;
    overflow: hidden;
}

.reviews-carousel {
    display: flex;
    transition: transform 0.5s ease;
}

.review-card {
    min-width: 100%;
    padding: 1rem;
}

.review-rating {
    color: #fbbf24;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.review-text {
    font-size: 1.1rem;
    font-style: italic;
    color: #e2e8f0;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.review-author {
    color: var(--foreground);
}

.carousel-controls {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: white;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
}

.carousel-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.write-review-section {
    margin-top: 6rem;
}

.section-title.small {
    font-size: 2.5rem;
}

.review-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.review-rating-select {
    width: 100%;
    padding: 1.2rem;
    background: rgba(2, 2, 5, 0.5);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: white;
    font-family: inherit;
    appearance: none;
}

/* Responsive Reviews */
@media (max-width: 992px) {
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .reviews-intro {
        text-align: center;
    }
    .review-stars-static {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .review-text {
        font-size: 1rem;
    }
}
/* --- BOOKING PAGE HIGH-FIDELITY STYLES --- */
.calendar-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 30px;
    padding: 1.5rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 40px 100px rgba(0,0,0,0.5);
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    z-index: 5;
}

.booking-section {
    /*padding-bottom: 120px;*/
    /* Subtle background glow to pull the eye to the calendar */
    background: radial-gradient(circle at center, rgba(147, 51, 234, 0.05), transparent 70%);
}

/* Mobile fix: Ensure the widget doesn't get cut off */
@media (max-width: 768px) {
    .calendar-card {
        padding: 5px;
        border-radius: 15px;
    }
}
/* ================================
   Package Features Icon Fix
   ================================ */

.package-features li {
    position: relative;
    padding-left: 22px;
}

.package-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

/* Disabled feature = ❌ */
.package-features li.disabled {
    color: var(--muted);
    opacity: 0.6;
}

.package-features li.disabled::before {
    content: "✕";
    color: #ff0000;
}
/* ================= BLOG PAGE ================= */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.blog-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.blog-thumbnail img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.blog-content {
    padding: 2rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--muted);
    margin-bottom: 1rem;
}

.blog-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-title a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.blog-title a:hover {
    color: var(--primary);
}

.blog-excerpt {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.blog-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: gap 0.3s;
}

.blog-more:hover {
    text-decoration: underline;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 4rem;
}

.pagination .page-numbers {
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background: var(--primary);
    border-color: var(--primary);
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}
/* ================= SINGLE POST PAGE ================= */
.container-narrow {
    max-width: 800px;
    margin: 0 auto;
}

.post-meta-top {
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.post-featured-image {
    margin-bottom: 3rem;
    border-radius: 2rem;
    overflow: hidden;
    border: 1px solid var(--border);
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.post-content-body {
    line-height: 1.8;
    font-size: 1.1rem;
    color: #e2e8f0;
}

.post-content-body h2, 
.post-content-body h3 {
    color: white;
    margin: 2.5rem 0 1.5rem;
    font-weight: 800;
}

.post-content-body p {
    margin-bottom: 1.5rem;
}

.post-content-body ul, 
.post-content-body ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.post-content-body li {
    margin-bottom: 0.5rem;
}

.post-footer {
    margin-top: 5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.post-tags {
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--muted);
}

.post-tags a {
    color: var(--primary);
    text-decoration: none;
    margin-left: 5px;
}

.post-navigation-links {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.post-navigation-links a {
    color: white;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s;
}

.post-navigation-links a:hover {
    color: var(--primary);
}

@media (max-width: 768px) {
    .post-navigation-links {
        flex-direction: column;
        text-align: center;
    }
}
/* --- CONSOLIDATED CF7 DARK THEME (WITH DROPDOWN FIX) --- */

/* 1. Global Reset for CF7 form controls */
.wpcf7-form input:not([type="submit"]),
.wpcf7-form select,
.wpcf7-form textarea {
    width: 100% !important;
    background-color: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    padding: 14px 20px !important;
    color: #ffffff !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 1rem !important;
    transition: all 0.3s ease-in-out !important;
    outline: none !important;
    box-sizing: border-box !important;
}

/* 2. Professional Focus State (The Purple Glow) */
.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
    border-color: #a855f7 !important;
    background-color: rgba(147, 51, 234, 0.05) !important;
    box-shadow: 0 0 15px rgba(147, 51, 234, 0.2) !important;
}

/* 3. Specific Select Box & Options (THE VISIBILITY FIX) */
.wpcf7-form select {
    color-scheme: dark; /* Forces browser to use dark system-level UI */
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%238b949e' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: calc(100% - 1.2rem) center !important;
    background-size: 12px !important;
    padding-right: 40px !important;
}

/* FORCING OPTION COLORS: This fixes the white-on-white issue */
.wpcf7-form select option {
    background-color: #020205 !important; /* Solid black background for the list */
    color: #ffffff !important;             /* Solid white text for the list */
    padding: 10px !important;
}

/* 4. Textarea Height */
.wpcf7-form textarea {
    min-height: 150px !important;
    resize: vertical;
}

/* 5. The Submit Button (Premium Gradient) */
.wpcf7-submit {
    width: 100% !important;
    background: linear-gradient(90deg, #3b82f6, #9333ea) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 16px !important;
    border-radius: 12px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    font-size: 1rem !important;
    cursor: pointer !important;
    margin-top: 10px !important;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 10px 25px rgba(147, 51, 234, 0.3) !important;
}

.wpcf7-submit:hover {
    transform: translateY(-3px) !important;
    filter: brightness(1.1) !important;
    box-shadow: 0 15px 35px rgba(147, 51, 234, 0.5) !important;
}

/* 6. Fix for CF7 default span wrappers and margins */
.wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 5px;
}

/* Error Message Polish */
.wpcf7-not-valid-tip {
    color: #ef4444 !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    margin-top: 5px;
}

/* Placeholder Color Control */
::placeholder { color: rgba(255, 255, 255, 0.4) !important; }