/* --- Variables & Reset --- */
:root {
    /* Brand Colors */
    --primary-color: #0c2461;
    /* Deep Royal Blue */
    --primary-dark: #0a1b4d;
    /* Darker Shade */
    --accent-color: #ff9f1c;
    /* Sun Orange */
    --accent-hover: #e68a00;
    --text-main: #1e293b;
    /* Slate 800 */
    --text-muted: #64748b;
    /* Slate 500 */

    /* Backgrounds */
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    /* Slate 50 */
    --bg-accent-light: #eff6ff;
    /* Blue 50 */

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Dimensions & Spacing */
    --container-width: 1140px;
    --section-spacing: clamp(60px, 8vw, 100px);
    /* Fluid spacing */
    --card-radius: 16px;

    /* Shadows & Transitions */
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-size: 100%;
    /* Base 16px */
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    /* Prevent horizontal scroll */
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

button,
input,
textarea {
    font-family: inherit;
    border: none;
    outline: none;
}

/* --- Typography --- */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.1;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

/* Dynamic h1 size */
h2 {
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    max-width: 65ch;
}

.section-title-wrapper {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.title-underline {
    width: 60px;
    height: 5px;
    background: var(--accent-color);
    margin: 1rem auto 0;
    border-radius: 10px;
}

/* --- Layout --- */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.section {
    padding: var(--section-spacing) 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-white {
    background-color: var(--bg-white);
}

.grid {
    display: grid;
    gap: 2rem;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-base);
    white-space: nowrap;
}

.btn-sm {
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--bg-white);
    box-shadow: 0 4px 14px rgba(255, 159, 28, 0.3);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(255, 159, 28, 0.5);
    /* Glowing effect */
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid rgba(12, 36, 97, 0.2);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    background: rgba(12, 36, 97, 0.05);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

/* --- Header --- */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0.2rem 0;
    /* Reduced padding ("padding and height kam karo") */
}

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

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.logo-img {
    height: 65px;
    /* Increased size ("logo size incrace karo") */
    width: auto;
    object-fit: contain;
}

/* Centered Nav */
.nav {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-main);
}

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

/* Right Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.btn-text {
    font-weight: 500;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 5px;
    margin-right: 5px;
    font-size: 0.9rem;
}

.btn-text:hover {
    color: var(--accent-color);
}

.btn-outline {
    background: transparent;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-outline:hover {
    background: var(--bg-accent-light);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    font-size: 1.75rem;
    color: var(--primary-color);
    background: none;
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {
    padding: clamp(8rem, 15vw, 12rem) 0 8rem;
    /* Maximized vertical space */
    background: var(--bg-white);
    overflow: hidden;
    position: relative;
    /* Clean backdrop for blobs */
}

/* Animated Blobs */
.hero-bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    z-index: 0;
    animation: float 10s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 159, 28, 0.2) 0%, rgba(255, 159, 28, 0) 70%);
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.blob-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(12, 36, 97, 0.15) 0%, rgba(12, 36, 97, 0) 70%);
    bottom: -10%;
    right: -10%;
    animation-delay: -5s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(30px, 50px) scale(1.1);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    /* Above blobs */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Mobile default: Center */
    text-align: center;
    /* Mobile default: Center */
}

/* Desktop Styles for Hero (min-width: 992px) */
@media (min-width: 992px) {
    .hero-content {
        align-items: center;
        /* Enforce Center */
        text-align: center;
        /* Enforce Center */
        max-width: 900px;
        /* Wider for centered layout */
        margin: 0 auto;
    }
}

.hero-title {
    margin-bottom: 2rem;
    font-size: clamp(3rem, 6vw, 4.5rem);
    /* Bolder Size */
    background: linear-gradient(135deg, var(--primary-color) 20%, var(--accent-color) 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    letter-spacing: -0.03em;
    /* Tighter tracking */
    padding-bottom: 0.2rem;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    line-height: 1.7;
    opacity: 0.9;
}

.hero-cta-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

@media (min-width: 576px) {
    .hero-cta-group {
        flex-direction: row;
        width: auto;
        justify-content: center;
        /* Center buttons */
    }
}

/* --- Cards --- */
.card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(255, 159, 28, 0.1);
}

.card:hover::after {
    transform: scaleX(1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--bg-accent-light);
    color: var(--accent-color);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    transition: var(--transition-base);
    box-shadow: inset 0 0 0 1px rgba(255, 159, 28, 0.1);
}

.card:hover .feature-icon {
    background: var(--accent-color);
    color: var(--bg-white);
    transform: rotateY(180deg);
}

/* --- Capabilities Grid --- */
.capabilities-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* --- Why Us Features --- */
.why-us-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.why-us-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    border-radius: 16px;
    transition: var(--transition-base);
    background: var(--bg-white);
    border: 1px solid transparent;
    box-shadow: var(--shadow-sm);
}

.why-us-item:hover {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-color: rgba(12, 36, 97, 0.05);
}

.why-us-item .feature-icon {
    width: 56px;
    height: 56px;
    font-size: 1.6rem;
    margin-bottom: 0;
    flex-shrink: 0;
    border-radius: 50%;
    /* Circular icons for this section */
}

/* --- Audience / Who Is It For --- */
.audience-section {
    background: linear-gradient(135deg, #020617 0%, #0f172a 100%);
    /* Deep Dark Slate */
    color: var(--bg-white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Subtle background glow element */
.audience-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 100%;
    background: radial-gradient(circle, rgba(12, 36, 97, 0.4) 0%, transparent 60%);
    pointer-events: none;
}

.audience-section h2,
.audience-section p {
    color: var(--bg-white);
    position: relative;
    z-index: 2;
}

.audience-section .title-underline {
    background: var(--bg-white);
    opacity: 0.3;
    position: relative;
    z-index: 2;
}

.audience-grid {
    grid-template-columns: repeat(2, 1fr);
    position: relative;
    z-index: 2;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .audience-grid {
        grid-template-columns: repeat(5, 1fr);
        /* 5 in a row */
    }
}

.audience-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 3rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Hover glow effect */
.audience-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.06), transparent 40%);
    opacity: 0;
    transition: opacity 0.4s;
}

.audience-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-10px);
    border-color: rgba(255, 159, 28, 0.5);
    /* Orange border on hover */
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

.audience-card i {
    font-size: 3rem;
    /* Larger Icons */
    color: var(--accent-color);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.audience-card:hover i {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 15px rgba(255, 159, 28, 0.6));
}

.audience-card span {
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.02em;
}

/* --- CTA Section --- */
.cta-section {
    padding: 2rem 0;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 24px;
    padding: clamp(3rem, 5vw, 5rem) 2rem;
    text-align: center;
    color: var(--bg-white);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--bg-white);
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    margin-left: auto;
    margin-right: auto;
}

.cta-decoration {
    position: absolute;
    top: 50%;
    right: -2rem;
    transform: translateY(-50%) rotate(-15deg);
    font-size: 12rem;
    color: rgba(255, 255, 255, 0.05);
    z-index: 1;
    pointer-events: none;
}

/* --- Contact Form --- */
.contact-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-card {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-lg);
}

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

.form-label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-group i {
    position: absolute;
    left: 1rem;
    color: var(--text-muted);
    pointer-events: none;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 2.8rem;
    /* space for icon */
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition-base);
    background-color: var(--bg-light);
}

.form-input:focus {
    border-color: var(--accent-color);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(255, 159, 28, 0.1);
}

/* --- Footer --- */
.footer {
    background-color: #020617;
    /* Dark Slate Background */
    color: #94a3b8;
    padding: 4rem 0 3rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
    flex-wrap: wrap;
}

.footer-nav a {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
    transition: var(--transition-base);
}

.footer-nav a:hover {
    color: var(--bg-white);
    transform: translateY(-2px);
}

.footer-legal {
    text-align: center;
    opacity: 0.6;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.disclaimer,
.copyright {
    margin: 0;
    color: #94a3b8;
}

/* Desktop Footer Layout */
@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        text-align: left;
    }

    .footer-logo {
        margin-bottom: 0;
        margin-right: auto;
        /* Pushes nav to the right */
    }

    .footer-nav {
        gap: 2.5rem;
        margin-left: auto;
        /* Ensures it stays right */
    }

    .footer-legal {
        width: 100%;
        /* Forces new line */
        text-align: center;
        align-items: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 2rem;
        padding-top: 2rem;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }
}

/* --- Mobile Menu Overlay --- */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--bg-white);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.7, 0, 0.3, 1);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2.5rem;
    background: none;
    cursor: pointer;
    color: var(--text-main);
}

.mobile-nav-list {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-nav-list a {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-main);
    transition: color 0.3s;
}

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

.mobile-menu-action {
    margin-top: 3rem;
    width: 100%;
    max-width: 250px;
}

.mobile-menu-action .btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    box-shadow: 0 10px 25px -5px rgba(255, 159, 28, 0.5);
    /* Orange shadow */
}

/* --- Animations --- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Media Queries --- */
@media (max-width: 991px) {
    .nav {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .hero {
        background: var(--bg-white);
    }

    /* Cleaner look on mobile */
    .contact-card {
        padding: 2rem 1.5rem;
    }

    .header-actions {
        display: none;
    }
}

@media (max-width: 576px) {
    h1 {
        letter-spacing: -1px;
    }

    .feature-icon,
    .why-us-item .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .audience-card:last-child {
        grid-column: span 2;
    }

    /* Center last item */
}