@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@300;400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Core Colors - Vibrant & Professional */
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #60a5fa;
    --secondary: #0f172a;
    --accent: #06b6d4;
    --accent-light: #22d3ee;

    /* Neutral Palette */
    --background: #ffffff;
    --foreground: #0f172a;
    --card-bg: #f8fafc;
    --border-color: #e2e8f0;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;

    /* Effects */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    /* Layout */
    --container-width: 1280px;
    --nav-height: 80px;
    --border-radius: 12px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--secondary);
    font-weight: 700;
}

/* Glassmorphism Utility */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
}

/* Section Spacing */
section {
    padding: 5rem 0;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar Styling */
.navbar {
    height: var(--nav-height);
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    height: 70px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary) !important;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
}

.navbar-brand img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: rotate(-10deg) scale(1.1);
}

@media (max-width: 768px) {
    .navbar-brand span {
        display: none;
    }

    .navbar-collapse {
        background: #ffffff !important;
        padding: 1rem;
        z-index: 2000;
        border-bottom: 1px solid var(--border-color);
    }

    .navbar-nav .nav-link {
        color: var(--text-primary) !important;
        padding: 0.8rem 0;
        margin-left: 0 !important;
    }
}



.navbar-toggler {
    border-color: var(--primary);
}

.navbar-toggler-icon {
    filter: invert(42%) sepia(82%) saturate(2414%) hue-rotate(188deg) brightness(95%) contrast(101%);
}

.navbar-brand i {
    font-size: 2rem;
}

.navbar-nav .nav-link {
    color: var(--text-primary) !important;
    margin-left: 2rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.navbar-nav .nav-link:hover {
    color: var(--primary) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

.btn-login {
    background: var(--primary) !important;
    color: white !important;
    border-radius: var(--border-radius);
    padding: 0.6rem 1.8rem !important;
    font-weight: 700 !important;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    margin-left: 2rem;
}

.btn-login:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: var(--nav-height);
    background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.05), transparent),
        radial-gradient(circle at bottom left, rgba(6, 182, 212, 0.05), transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--primary-light);
    filter: blur(150px);
    opacity: 0.1;
    top: -100px;
    right: -100px;
    z-index: 1;
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 900px;
    padding: 0 2rem;
}


.hero-content h1 {
    /* font-size: clamp(3rem, 8vw, 5rem); */
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary-custom,
.btn-secondary-custom {
    padding: 1rem 2.5rem;
    border-radius: var(--border-radius);
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary-custom {
    background: var(--primary);
    color: white;
    border: none;
    box-shadow: var(--shadow-lg);
}

.btn-primary-custom:hover {
    background: var(--primary-dark);
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.btn-secondary-custom {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary-custom:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.hero-tagline {
    margin-top: 4rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* About Section */
.about-section {
    background: var(--background);
    position: relative;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60%;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.about-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 2px solid var(--primary-light);
    border-radius: var(--border-radius);
    z-index: 0;
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius);
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-xl);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-image:hover img {
    transform: translate(10px, -10px);
}

.about-content h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    list-style: none;
}

.features-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    color: var(--text-primary);
}

.features-list li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--accent);
    font-size: 1.2rem;
}

/* Services Section */
.services-section {
    background: var(--card-bg);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.services-grid-homepage {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 992px) {
    .services-grid-homepage {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-grid-homepage {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: white;
    transform: rotateY(360deg);
}

.service-card h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* Testimonials */
.founders-section {
    background: var(--background);
    padding: 5rem 0;
}

.founders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.founder-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.founder-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.founder-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 2rem;
    overflow: hidden;
    border: 4px solid var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
}

.founder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.founder-image i {
    font-size: 2.5rem;
    color: var(--primary);
}

.founder-info h4 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--secondary);
}

.founder-info p {
    color: var(--text-secondary);
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.8;
}

/* Footer Styling */
footer {
    background: var(--secondary);
    color: white;
    padding: 6rem 0 0;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-section h5 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-section h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--accent);
}

.footer-section p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-section a {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-light);
    padding-left: 8px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* Partner Section in Footer */
.partner-section {
    padding: 3rem 0;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.partner-title {
    color: white;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.6;
}

.footer-bottom {
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.parnav-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.parnav-link:hover {
    color: var(--accent);
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 80vh;
    }

    .hero-content h1 {
        font-size: clamp(2.5rem, 10vw, 3.5rem);
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .features-list {
        grid-template-columns: 1fr;
    }

    .navbar-collapse {
        background: white;
        padding: 2rem;
        border-radius: var(--border-radius);
        margin-top: 1rem;
        box-shadow: var(--shadow-xl);
    }

    .navbar-nav .nav-link {
        margin-left: 0;
        padding: 0.75rem 0;
    }

    .btn-login {
        margin-left: 0;
        margin-top: 1rem;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .section-title {
        font-size: 1.8rem;
    }
}

.footer-section ul li a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
    width: 100%;
}

.footer-section ul li a:hover {
    color: var(--primary-light);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}