@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

/* Variables */
:root {
    --primary-purple: #d953db; /* Purple from logo */
    --primary-blue: #82ccfa;   /* Light blue from logo */
    --dark-purple: #b239c2;    /* Darker shade of purple */
    --light-purple: #e0b0e8;   /* Lighter shade of purple */
    --dark-blue: #4ba9d9;      /* Darker shade of blue */
    --light-blue: #b5e2fa;     /* Lighter shade of blue */
    --white: #eff3f6;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --dark-gray: #333333;
    --black: #000000;

    --font-primary: 'Poppins', sans-serif;
}

/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-style: normal;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: var(--dark-purple);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-purple);
}

ul {
    list-style: none;
}

.container {
    width: 93%;
    max-width: 1200px;
    margin: 0 auto;
    /* padding: 0 15px; */
}

.btn {
    display: inline-block;
    background: var(--white);
    color: var(--dark-purple);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 500;
    border: 2px solid var(--primary-purple);
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn:hover {
    background: transparent;
    color: var(--black);
    border: 2px solid var(--black);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    margin-right: 10px;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-purple);
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: var(--dark-gray);
    font-weight: 500;
    position: relative;
}

nav ul li a:hover {
    color: var(--primary-purple);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-purple);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-purple);
}

/* Hero Section */
.hero {
    background: linear-gradient(to right, var(--primary-purple), var(--primary-blue));
    min-height: 100vh;
    color: var(--white);
    padding: 100px 0;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
}

.hero-content {
    color: white;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background: var(--white);
    color: var(--primary-purple);
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s, transform 0.3s;
}

.btn:hover {
    background: var(--light-gray);
    transform: translateY(-3px);
}

.btn-blue {
    background: var(--dark-blue);
    color: var(--white);
}

.btn-blue:hover {
    background: var(--primary-blue);
}

/* Section Styles */
.section {
    padding: 80px 0;
    height: 100vh; /* Fixed height to make both sections appear in one viewport */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--dark-purple);
    display: inline-block;
}

/* Combined About and Stats Section */
#about.section {
    display: flex;
    align-items: center;
}

#about .container {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 30px;
    height: 50%; /* Takes up half of the container height */
}

.about-image {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-text {
    flex: 1;
}

.about-text p {
    font-size: 1.1rem;
}

/* Stats Section */
.stats-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 20px;
    height: 40%; /* Takes up less than half to balance with about section */
}

.stat-item {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: 20px;
    margin: 10px;
    background-color: var(--light-gray);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--primary-purple);
    margin-bottom: 15px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-purple);
    margin-bottom: 10px;
}

.stat-text {
    font-size: 1rem;
    color: var(--dark-gray);
}

/* Media Queries for Responsive Design */
@media screen and (max-width: 992px) {
    #about.section {
        height: auto;
        min-height: 100vh;
    }
    
    .about-content {
        flex-direction: column;
        height: auto;
    }
    
    .about-image {
        margin-bottom: 30px;
        max-width: 100%;
    }
    
    .stats-container {
        height: auto;
    }
}

@media screen and (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .stats-container {
        flex-direction: column;
    }
    
    .stat-item {
        margin-bottom: 20px;
    }
    nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
        z-index: 999;
    }
    
    nav.active {
        left: 0;
    }
    
    nav ul {
        flex-direction: column;
        padding: 30px;
    }
    
    nav ul li {
        margin: 15px 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    .header-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Add active link styles */
nav ul li a.active {
    color: var(--primary-purple);
}

nav ul li a.active::after {
    width: 100%;
}



/* Timeline styles */
.timeline {
    padding: 50px 0;
}

.timeline-container {
    position: relative;
}

.timeline-container::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary-purple), var(--primary-blue));
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    margin-bottom: 60px;
    position: relative;
}

.timeline-dot {
    position: absolute;
    width: 30px;
    height: 30px;
    background-color: var(--primary-purple);
    border-radius: 50%;
    left: 50%;
    top: 20px;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 0 0 4px var(--white), 0 0 0 8px var(--light-purple);
}

.timeline-content {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 80%;
    margin: 0 auto;
    position: relative;
}

.timeline-header {
    padding: 20px;
    background: linear-gradient(135deg, var(--light-purple), var(--light-blue));
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.timeline-header-text {
    flex: 1;
}

.timeline-header h3 {
    margin: 0;
    color: var(--dark-gray);
    font-size: 1.4rem;
}

.timeline-header .time {
    font-size: 0.9rem;
    color: var(--dark-gray);
    font-weight: 500;
}

.timeline-icon {
    font-size: 2rem;
    color: var(--dark-purple);
    margin-left: 15px;
    min-width: 40px;
    text-align: center;
}

.timeline-body {
    padding: 30px;
    display: flex;
    flex-wrap: wrap;
}

.timeline-text {
    flex: 1;
    min-width: 300px;
}

.timeline-body h4 {
    color: var(--dark-purple);
    margin-bottom: 15px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
}

.timeline-body h4 i {
    margin-right: 10px;
    color: var(--primary-purple);
}

.timeline-body ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.timeline-body li {
    margin-bottom: 8px;
}

.timeline-image {
    flex: 1;
    min-width: 250px;
    height: 500px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-image img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* Stats section */
.stats-section {
    background: linear-gradient(135deg, var(--light-purple), var(--light-blue));
    padding: 60px 0;
    margin: 40px 0;
}

.stats-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: center;
}

.stat-item {
    flex: 1;
    min-width: 200px;
    margin: 20px;
    background: rgba(255, 255, 255, 0.9);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--primary-purple);
    margin-bottom: 15px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-purple);
    margin-bottom: 10px;
}

.stat-text {
    font-size: 1rem;
    color: var(--dark-gray);
}

/* Call to action */
.cta-section {
    text-align: center;
    padding: 60px 0;
    background-color: var(--light-gray);
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--dark-purple);
    font-size: 2rem;
    margin-bottom: 20px;
}

.cta-content p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-blue));
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.2);
}


.social-icons {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.social-icon {
    color: #FFFFFF;
    font-size: 1.5rem;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: var(--primary-blue);
}

/* Responsive styles */
@media (max-width: 768px) {
    .timeline-container::before {
        left: 30px;
    }

    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px;
    }
    
    .timeline-dot {
        left: 30px;
    }

    .header-content h1 {
        font-size: 2rem;
    }

    .introduction h2 {
        font-size: 1.5rem;
    }
    
    .timeline-body {
        flex-direction: column;
    }
    
    .timeline-image {
        margin-top: 20px;
    }
    
    .stats-container {
        flex-direction: column;
    }
    
    .stat-item {
        margin: 10px 0;
    }
}
footer {
    background-color: #232323;
    color: #ffffff;
    padding: 40px 0;
    font-family: Arial, sans-serif;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

footer {
    background-color: #333;
    color: #fff;
    padding: 40px 0 20px;
    font-family: Arial, sans-serif;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-logo {
    flex-basis: 30%;
}

.footer-logo img {
    width: 80px;
    margin-bottom: 10px;
}

.footer-logo p {
    font-size: 14px;
    line-height: 1.4;
    margin-top: 10px;
    color: #ccc;
}

.footer-links {
    flex-basis: 25%;
}

.footer-links h3 {
    color: #7EB8FF;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: normal;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

.contact-info {
    flex-basis: 35%;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: #ccc;
}

.info-item i {
    color: #D856FF;
    margin-right: 10px;
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.info-item p {
    margin: 0;
    line-height: 1.5;
}

.social-links {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    transition: background-color 0.3s;
}

.social-links a:hover {
    background-color: #D856FF;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    color: #888;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
    }
    
    .footer-logo, .footer-links, .contact-info {
        flex-basis: 100%;
        margin-bottom: 30px;
    }
}

/* More flexible sections */
.section {
    padding: 80px 0;
    min-height: 100vh; /* Use min-height instead of fixed height */
    height: auto; /* Allow natural height */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Responsive typography */
h1, h2, h3, h4, h5, h6 {
    word-wrap: break-word;
}

/* Improved timeline for mobile */
@media (max-width: 768px) {
    
    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px;
    }
    
    .timeline-dot {
        left: 30px;
    }
    
    .timeline-body {
        flex-direction: column;
        padding: 20px; /* Reduce padding on mobile */
    }
    
    .timeline-image {
        min-width: auto; /* Remove min-width constraint */
        height: auto; /* Let height be determined by content */
        max-height: 300px; /* Limit maximum height */
    }
    
    .timeline-header h3 {
        font-size: 1.2rem; /* Smaller heading on mobile */
    }
    
    /* Make text more readable on small screens */
    .timeline-text {
        min-width: auto;
    }
}

/* Enhanced responsive navigation */
@media screen and (max-width: 768px) {
    /* Mobile navigation styles */
    nav ul {
        /* display: none; */
        position: absolute;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px 0;
    }
    
    nav ul.active {
        display: flex;
    }
    
    nav ul li {
        margin: 10px 0;
        text-align: center;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    /* More responsive typography */
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
}

/* Tablet adjustments */
@media screen and (min-width: 769px) and (max-width: 992px) {
    .timeline-content {
        width: 90%;
    }
    
    .timeline-image {
        height: 400px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}

/* Small mobile devices */
@media screen and (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .timeline-body {
        padding: 15px;
    }
    
    .footer-content {
        text-align: center;
    }
    
    .info-item {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Fluid typography using clamp */
h1 {
    font-size: clamp(1.8rem, 5vw, 3rem);
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
}

p {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
}

/* Better spacing for small screens */
@media screen and (max-width: 480px) {
    .section {
        padding: 60px 0;
    }
    
    .timeline-dot {
        width: 20px;
        height: 20px;
    }
    
    .stat-item {
        padding: 15px;
        margin: 5px 0;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
}

/* Fix for hero section on very small screens */
@media screen and (max-width: 360px) {
    .hero {
        padding: 80px 0;
    }
    
    .hero .btn {
        display: block;
        width: 80%;
        margin: 10px auto;
    }
}

/* Improve timeline display on various screen sizes */
@media screen and (max-width: 992px) and (min-width: 769px) {
    .timeline-content {
        width: 85%;
    }
}

/* Fix for footer on medium screens */
@media screen and (max-width: 992px) and (min-width: 769px) {
    .footer-logo, .footer-links, .contact-info {
        flex-basis: 30%;
    }
}
/* Mobile menu button styling */
.mobile-menu-btn {
    display: none; /* Hidden by default on desktop */
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-purple);
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1002;
    background: transparent;
    border: none;
    outline: none;
    padding: 5px;
}

/* Ensure header has proper positioning */
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 0 15px;
}

/* Logo styling for proper spacing */
.logo {
    display: flex;
    align-items: center;
    max-width: 80%;
}

/* Mobile-specific adjustments */
@media screen and (max-width: 768px) {
    .mobile-menu-btn {
        display: block; /* Show on mobile */
    }
    
    .logo {
        max-width: 75%;
    }
    
    .logo h1 {
        font-size: 18px; /* Smaller font on mobile */
        padding-right: 40px; /* Make space for the toggle button */
    }
}

/* Extra adjustments for very small screens like iPhone SE */
@media screen and (max-width: 375px) {
    .logo img {
        height: 40px;
    }
    
    .logo h1 {
        font-size: 16px;
    }
}/* Remove the vertical line between timeline items */
.timeline-container::before {
    display: none; /* This completely removes the line */
}

/* Or alternatively, if you want to keep the structure but hide it: */
.timeline-container::before {
    opacity: 0;
    /* or */
    visibility: hidden;
}