:root {
  /* Change background from dark (#050505) to white */
  --bg-dark: #ffffff; 
  
  /* Update card background and borders for a light theme */
  --bg-card: rgba(0, 0, 0, 0.03); 
  --border-card: rgba(0, 0, 0, 0.08); 
  --border-card-hover: rgba(0, 0, 0, 0.2); 
  
  /* Change text from white (#ffffff) to dark charcoal so it's readable */
  --text-primary: #121212; 
  --text-secondary: #555555; 
  
  /* Keeping your brand colors/gradients as they are */
  --accent-color: #4facfe; 
  --gradient-primary: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); 
  --gradient-vibrant: linear-gradient(45deg, #7b2cbf, #4361ee, #4cc9f0); 
  --font-heading: 'Outfit', sans-serif; 
  --font-body: 'Inter', sans-serif; 
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); 
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

/* Typography & Utilities */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.2;
}

.gradient-text {
    background: var(--gradient-vibrant);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

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

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

.section-heading {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    font-family: var(--font-heading);
    border: none;
}

.btn-primary {
    background: var(--gradient-vibrant);
    color: white;
    box-shadow: 0 4px 15px rgba(67, 97, 238, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(67, 97, 238, 0.6);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.05);
}

.btn-large {
    padding: 1rem 3rem;
    font-size: 1.2rem;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-card);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent-color);
}

.nav-cta {
    background: rgba(255,255,255,0.1);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.2);
}
.nav-cta:hover {
    background: white !important;
    color: black !important;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    padding: 0 2rem;
    position: relative;
    z-index: 10;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(76, 201, 240, 0.1);
    color: #4cc9f0;
    border: 1px solid rgba(76, 201, 240, 0.2);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.headline {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
}

.about-me {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.sub-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Background Shapes */
.bg-shape {
    position: absolute;
    filter: blur(100px);
    z-index: 1;
    border-radius: 50%;
    animation: float 10s infinite alternate;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: rgba(123, 44, 191, 0.3);
    top: 10%;
    left: -10%;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: rgba(76, 201, 240, 0.2);
    bottom: 10%;
    right: -5%;
}

.shape-3 {
    width: 500px;
    height: 500px;
    background: rgba(67, 97, 238, 0.2);
    top: -20%;
    right: -20%;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 50px) scale(1.1); }
}

/* Vision Section */
.vision-section {
    padding: 6rem 0;
    background: linear-gradient(to bottom, var(--bg-dark), rgba(20,20,20,1));
    position: relative;
}

.sub-heading {
    text-align: center;
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 4rem;
}

.quotes-container {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.vision-quote {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    padding: 3rem 2rem;
    border-radius: 20px;
    max-width: 450px;
    position: relative;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.vision-quote:hover {
    border-color: var(--border-card-hover);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.quote-icon {
    font-size: 4rem;
    color: rgba(255,255,255,0.1);
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: serif;
    line-height: 1;
}

.vision-quote p {
    font-size: 1.2rem;
    font-weight: 300;
    position: relative;
    z-index: 2;
}

/* Services Section */
.services-section {
    padding: 6rem 0;
}

.intro-text {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 4rem;
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    padding: 2.5rem;
    border-radius: 20px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

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

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-vibrant);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Social Proof Section */
.social-proof-section {
    padding: 6rem 0;
    background: rgba(10, 10, 10, 0.5);
    border-top: 1px solid var(--border-card);
    border-bottom: 1px solid var(--border-card);
}

/* Stats */
.stats-container {
    margin-bottom: 6rem;
}
.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    padding: 2rem;
    border-radius: 20px;
    transition: var(--transition);
}

.stat-item:hover {
    border-color: rgba(76, 201, 240, 0.3);
    transform: translateY(-5px);
}

.stat-number-wrapper {
    display: flex;
    justify-content: center;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-vibrant);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}
.stat-plus {
    font-size: 2.5rem;
    font-weight: 800;
    color: #4cc9f0;
    margin-left: 2px;
}

.stat-item p {
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

/* Portfolio */
.portfolio-container {
    margin-bottom: 6rem;
}

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

.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: linear-gradient(45deg, #1a1a1a, #2a2a2a); /* Fallback */
    cursor: pointer;
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    opacity: 0.6;
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.05);
    opacity: 1;
}

.portfolio-overlay {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    transition: bottom 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    bottom: 0;
}

.portfolio-overlay span {
    font-weight: 600;
    font-size: 1.2rem;
}

/* Testimonials */
.testimonials-grid {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding-bottom: 2rem;
    scroll-snap-type: x mandatory;
}

.testimonials-grid::-webkit-scrollbar {
    height: 6px;
}

.testimonials-grid::-webkit-scrollbar-thumb {
    background: var(--border-card-hover);
    border-radius: 10px;
}

.testimonial-card {
    min-width: 300px;
    flex: 0 0 300px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    padding: 2rem;
    border-radius: 20px;
    scroll-snap-align: start;
}

.stars {
    color: #ffb703;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #e0e0e0;
}

.testimonial-author {
    font-weight: 600;
    color: var(--accent-color);
}

/* FAQ Section */
.faq-section {
    padding: 6rem 0;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid var(--border-card);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.02);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-question .icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--text-secondary);
}

.faq-item.active .faq-answer {
    max-height: 500px; /* arbitrary max height for transition */
}

.faq-item.active .icon {
    transform: rotate(45deg);
    color: var(--accent-color);
}
.faq-item.active .faq-question {
    color: var(--accent-color);
}

/* --- Call-to-Action (CTA) Section --- */
.cta-section {
    padding: 80px 20px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f8fafc;
    overflow: hidden;
}

.cta-container {
    max-width: 650px;
    width: 100%;
    background: rgba(255, 255, 255, 0.03); /* Semi-transparent glass effect */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 50px 40px;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 
                0 0 40px rgba(168, 85, 247, 0.1); /* Subtle purple ambient glow */
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-container h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.cta-container p {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    color: #94a3b8; /* Muted slate text */
    margin-bottom: 35px;
    line-height: 1.6;
}

/* --- Form Control Styling --- */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: left;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: #cbd5e1;
    letter-spacing: 0.5px;
}

/* Input, Select, and Textarea Common Styles */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(15, 23, 42, 0.6); /* Slightly darker contrast background */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    box-sizing: border-box;
}

/* Dropdown Arrow Customization */
.contact-form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23cbd5e1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 45px;
    cursor: pointer;
}

/* Dropdown Options */
.contact-form select option {
    background: #0f172a;
    color: #ffffff;
}

/* Focus States with elegant glow transitions */
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #a855f7; /* Matching your purple brand gradient */
    box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.15), 
                inset 0 0 4px rgba(168, 85, 247, 0.1);
    background: rgba(15, 23, 42, 0.8);
}

/* Placeholders */
::placeholder {
    color: #64748b;
    opacity: 1;
}

/* --- Premium CTA Button Style --- */
.btn-large {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 16px 32px;
    background: linear-gradient(135deg, #8b5cf6 0%, #d946ef 100%); /* Elegant purple to pink gradient */
    color: #ffffff;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
    margin-top: 10px;
}

.btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(217, 70, 239, 0.5);
    opacity: 0.95;
}

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

/* Background Glowing Shape Adjustments */
.shape-3 {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(217, 70, 239, 0.15) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
}

/* Responsive fixes */
@media (max-width: 600px) {
    .cta-container {
        padding: 35px 20px;
        border-radius: 16px;
    }
    .cta-container h2 {
        font-size: 2rem;
    }
}
