:root {
    --bg-color: #f8f9fa;
    --text-color: #333333;
    --text-muted: #666666;
    --primary-color: #FFC107;
    /* NaNa Yellow */
    --primary-hover: #FFA000;
    --card-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.3);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    /* Adjust for sticky header height */
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* Header */
.header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.5rem;
    color: #111;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s;
}

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

/* Hero Section */
.hero {
    height: 90vh;
    /* Almost full height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    /* background: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.05) 0%, transparent 70%); */
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Adjust opacity for readability */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    /* Ensure content is above video */
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(255, 193, 7, 0.39);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.23);
}

/* About Us Section */
.about {
    padding: 100px 0;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 1;
}

.about-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-points li {
    font-size: 1.05rem;
    margin-bottom: 10px;
    color: #444;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.img-placeholder {
    width: 100%;
    height: auto;
    /* Let image define height to prevent cropping */
    background: linear-gradient(135deg, #e0e7ff 0%, #f3f4f6 100%);
    border-radius: 20px;
    display: block;
    /* Changed from flex to block */
    overflow: hidden;
    /* Ensure image doesn't bleed out */
    box-shadow: var(--shadow-md);
}

#profile_pic {
    width: 100%;
    height: auto;
    /* Maintain aspect ratio */
    display: block;
    /* Remove bottom space */
    transition: transform 0.3s ease;
}

#profile_pic:hover {
    transform: scale(1.05);
}

/* Services */
.services {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: #111;
}

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

.service-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(255, 193, 7, 0.4);
}

.service-card .icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #111;
}

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

/* Process Section */
.process {
    padding: 100px 0;
    background: #fff;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    text-align: center;
    z-index: 2;
    flex: 1;
}

.step-num {
    width: 60px;
    height: 60px;
    background: white;
    /* Changed from var(--primary-color) for bordered look or can be filled */
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 auto 20px;
    background: #fff;
}

.step h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.step p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.step-connector {
    flex: 1;
    height: 2px;
    background: #e5e7eb;
    margin-top: 30px;
    /* Align with center of step-num */
}

/* Partners Section */
.partners {
    padding: 80px 0;
    background: #f8f9fa;
    border-top: 1px solid #eee;
    text-align: center;
}

.partners-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
    /* min-height removed to reduce empty space */
    align-content: flex-start;
    /* Prevent vertical stretching */
}

.partner-categories {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.category-btn {
    padding: 10px 24px;
    border: 1px solid #ddd;
    border-radius: 50px;
    /* Pill shape */
    background: white;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
}

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

.category-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(255, 193, 7, 0.3);
}

.partner-logo {
    font-size: 1rem;
    /* Reduced size */
    font-weight: 600;
    color: #6b7280;
    padding: 12px 20px;
    /* Reduced padding */
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    transition: all 0.3s;
    background: white;
    cursor: default;
}

.partner-logo.hidden {
    display: none;
}

.partner-logo:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: white;
}

/* Contact */
.contact {
    padding: 100px 0;
    background: #ffffff;
    /* Reverted to white */
}

.contact-container {
    max-width: 600px;
    text-align: center;
}

.contact-desc {
    margin-bottom: 40px;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.contact-form {
    text-align: left;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.form-reveal {
    max-height: 0 !important;
    opacity: 0 !important;
    overflow: hidden !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    visibility: hidden !important;
    transition: all 0.5s ease-in-out;
}

.form-reveal.active {
    max-height: 150px !important;
    /* Sufficient height for input */
    opacity: 1 !important;
    margin-bottom: 20px !important;
    visibility: visible !important;
    padding: 0 !important;
    /* Form group padding is usually 0, inputs provide it */
}

.form-reveal.overflow-visible {
    overflow: visible !important;
}

.btn-full {
    width: 100%;
    opacity: 1;
    /* Reset animation opacity for normal buttons */
    animation: none;
}

/* Footer */
.footer {
    padding: 40px 0;
    text-align: center;
    color: var(--text-muted);
    border-top: 1px solid #eee;
    background: #fff;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .nav {
        display: none;
        /* Simple mobile hide for now */
    }

    .header-container {
        justify-content: center;
    }

    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-text h2 {
        text-align: center !important;
    }

    .about-points {
        display: inline-block;
        text-align: left;
    }

    .img-placeholder {
        width: 100%;
        max-width: 300px;
        height: auto;
        /* Allow auto height on mobile too */
    }

    .process-steps {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .step-connector {
        display: none;
    }

    .step {
        width: 100%;
        max-width: 300px;
        background: #f9fafb;
        padding: 20px;
        border-radius: 10px;
    }
}

/* Custom Phone Input Group */
.phone-input-group {
    display: flex;
    gap: 12px;
}

.custom-select-wrapper {
    width: 160px;
    position: relative;
}

.custom-select {
    position: relative;
    width: 100%;
    font-size: 1rem;
    color: #333;
}

.select-selected {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px 16px;
    cursor: pointer;
    user-select: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #666;
    /* Placeholder color */
}

.select-selected.active {
    color: #333;
    /* Active color */
}

.select-selected:after {
    content: "";
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-color: #666 transparent transparent transparent;
    margin-left: 8px;
    margin-top: 4px;
}

.select-selected.select-arrow-active:after {
    border-color: transparent transparent #666 transparent;
    margin-top: -8px;
}

.select-items {
    position: absolute;
    background-color: #fff;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-top: 4px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    max-height: 200px;
    overflow-y: auto;
}

.select-hide {
    display: none;
}

.select-items div {
    padding: 12px 16px;
    cursor: pointer;
    user-select: none;
    border-bottom: 1px solid #f0f0f0;
}

.select-items div:last-child {
    border-bottom: none;
}

.select-items div:hover {
    background-color: #f3f4f6;
}

.same-as-selected {
    background-color: #e5e7eb;
    font-weight: 500;
}

.phone-input-group input {
    flex: 1;
}