/* Grow Next India - Custom Design System */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
    /* Color Palette derived from Logo */
    --deep-blue: #01132b;      /* Darkest background */
    --mid-blue: #052659;       /* Secondary background / cards */
    --primary-blue: #0361F0;   /* Brand Blue */
    --accent-cyan: #00D2FF;    /* Brand Light Blue / Cyan */
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    
    --white: #ffffff;
    --border-color: rgba(0, 210, 255, 0.15);
    
    --gradient-primary: linear-gradient(135deg, var(--primary-blue), var(--accent-cyan));
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--deep-blue);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .brand-font {
    font-family: 'Outfit', sans-serif;
}

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

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 6rem 0;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-card {
    background: rgba(5, 38, 89, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    transition: all 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 210, 255, 0.4);
    box-shadow: 0 10px 30px rgba(0, 210, 255, 0.1);
}

.btn-primary {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.75rem 2rem;
    border-radius: 999px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(3, 97, 240, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 210, 255, 0.5);
}

.btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--accent-cyan);
    padding: 0.75rem 2rem;
    border-radius: 999px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-cyan);
    cursor: pointer;
}

.btn-outline:hover {
    background: rgba(0, 210, 255, 0.1);
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(1, 19, 43, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 2rem;
    max-width: 1280px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
}

.nav-logo {
    height: 50px;
    background-color: #ffffff;
    padding: 5px;
    border-radius: 8px;
    object-fit: contain;
}

.nav-links {
    display: none;
    gap: 2.5rem;
    align-items: center;
}

.mobile-menu-btn {
    display: block;
    background: transparent;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    font-size: 2rem;
}

@media (max-width: 767px) {
    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(1, 19, 43, 0.98);
        backdrop-filter: blur(20px);
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }
    
    .nav-links.nav-active {
        opacity: 1;
        pointer-events: all;
        transform: translateY(0);
    }
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
    .mobile-menu-btn {
        display: none;
    }
}

.nav-link {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-main);
    opacity: 0.8;
    transition: all 0.3s;
}

.nav-link:hover, .nav-link.active {
    opacity: 1;
    color: var(--accent-cyan);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 8rem; /* Increased for mobile */
    overflow: hidden;
}

@media (min-width: 992px) {
    .hero {
        padding-top: 5rem;
    }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-bg {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0,210,255,0.15) 0%, rgba(3,97,240,0.05) 40%, rgba(1,19,43,0) 70%);
    z-index: -1;
}

.hero-content {
    max-width: 100%;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

.hero-image-wrapper img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    animation: float 6s ease-in-out infinite;
}

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

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 210, 255, 0.1);
    border: 1px solid rgba(0, 210, 255, 0.2);
    border-radius: 999px;
    color: var(--accent-cyan);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

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

.service-card {
    padding: 2.5rem;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(3, 97, 240, 0.1);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent-cyan);
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.service-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--accent-cyan);
    font-weight: 500;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s;
}

.service-card:hover .service-link {
    gap: 1rem;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.pricing-card.popular {
    border-color: var(--accent-cyan);
    transform: scale(1.05);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.popular-badge {
    position: absolute;
    top: 1rem;
    right: -2rem;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.25rem 3rem;
    font-size: 0.75rem;
    font-weight: 600;
    transform: rotate(45deg);
}

.plan-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.plan-reach {
    color: var(--accent-cyan);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.plan-price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.plan-features {
    margin-bottom: 2.5rem;
}

.plan-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-main);
    font-size: 0.9rem;
}

.plan-feature i {
    color: var(--accent-cyan);
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    border-radius: 1.5rem;
    overflow: hidden;
    position: relative;
    group: project;
}

.project-image {
    width: 100%;
    height: 250px;
    background: var(--mid-blue);
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(1, 19, 43, 0.9) 0%, transparent 100%);
}

.project-category {
    color: var(--accent-cyan);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.project-title {
    font-size: 1.25rem;
    font-weight: 700;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-card {
    text-align: center;
    padding: 2rem;
}

.team-img-wrapper {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    padding: 4px;
    background: var(--gradient-primary);
}

.team-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--mid-blue);
    object-fit: cover;
}

.team-name {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.team-role {
    color: var(--accent-cyan);
    font-size: 0.9rem;
}

/* Page Headers (About, Services, Details) */
.page-header {
    padding: 10rem 0 4rem;
    text-align: center;
    background: linear-gradient(to bottom, rgba(3,97,240,0.1) 0%, var(--deep-blue) 100%);
}

.page-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--text-main);
}

.breadcrumb a:hover {
    color: var(--accent-cyan);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.about-img {
    width: 100%;
    border-radius: 2rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.about-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Service Details */
.service-details-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .service-details-layout {
        grid-template-columns: 2fr 1fr;
    }
}

.service-main-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 1.5rem;
    margin-bottom: 2rem;
}

.service-content h3 {
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
}

.service-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.service-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    color: var(--text-muted);
}

.service-content ul li {
    margin-bottom: 0.5rem;
    position: relative;
}

.service-content ul li::before {
    content: '→';
    position: absolute;
    left: -1.5rem;
    color: var(--accent-cyan);
}

.sidebar-widget {
    padding: 2rem;
    margin-bottom: 2rem;
}

.sidebar-widget h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.service-list a {
    display: block;
    padding: 0.75rem 0;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s;
}

.service-list a:hover, .service-list a.active {
    color: var(--accent-cyan);
    padding-left: 1rem;
}

/* Footer */
.footer {
    background: var(--mid-blue);
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--border-color);
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-logo {
    height: 60px;
    background-color: #ffffff;
    padding: 5px;
    border-radius: 8px;
    object-fit: contain;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

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

.footer-links a {
    color: var(--text-muted);
    transition: color 0.3s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
    font-size: 0.875rem;
}
