/* Base Styles */
:root {
    --primary: #6C63FF;
    --secondary: #3F3D56;
    --accent: #FFD700;
    --text: #333333;
    --text-light: #666666;
    --background: #FFFFFF;
    --background-dark: #1A1A1A;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    max-width: 100%;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    margin-right: calc(-1 * (100vw - 100%));
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    overflow-x: hidden;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

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

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

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

.signup-btn {
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--accent);
    border-radius: 9999px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.signup-btn:hover {
    background-color: var(--accent);
    color: var(--text) !important;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 24px;
    position: relative;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text);
    position: absolute;
    transition: all 0.3s ease;
}

.mobile-menu-btn span:first-child {
    top: 0;
}

.mobile-menu-btn span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.mobile-menu-btn span:last-child {
    bottom: 0;
}

/* Active state for hamburger animation */
.mobile-menu-btn.active span:first-child {
    transform: rotate(45deg);
    top: 11px;
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:last-child {
    transform: rotate(-45deg);
    bottom: 11px;
}

/* Mobile menu styles */
.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--background);
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    transform: translateY(0);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-menu a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    padding: 0.5rem 0;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(to right, var(--dark), var(--secondary));
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
    width: 100%;
}

#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 10;
    width: 100%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-text {
    max-width: 600px;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: var(--light);
}

.title-line {
    display: block;
}

.highlight {
    color: var(--primary);
}

.toolbar {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: rgba(243, 244, 246, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    width: fit-content;
    backdrop-filter: blur(10px);
}

.tool-icon {
    width: 1rem;
    height: 1rem;
    color: var(--light);
}

.cta-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.primary-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 15px 30px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    overflow: hidden;
    z-index: 1;
}

.primary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: width 0.3s ease;
    z-index: -1;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(108, 99, 255, 0.2);
}

.primary-btn:hover::before {
    width: 100%;
}

/* Optional: Add icon to button */
.primary-btn::after {
    content: '→';
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.primary-btn:hover::after {
    transform: translateX(5px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .primary-btn {
        padding: 12px 24px;
        font-size: 15px;
    }
}

.play-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--primary);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-btn:hover {
    transform: scale(1.1);
}

.hero-image {
    position: relative;
    order: 2;
    width: 100%;
    padding: 0 1rem;
}

.main-image {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    margin: 0 auto;
    display: block;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    display: none;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background-color: rgba(108, 99, 255, 0.2);
    top: -50px;
    right: -100px;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background-color: rgba(255, 215, 0, 0.2);
    bottom: -50px;
    left: -50px;
    z-index: -1;
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: #ffffff;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 32px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 18px;
    color: #666;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.service-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--primary);
    color: white;
    margin-bottom: 20px;
}

.service-icon i {
    font-size: 24px;
}

.service-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px 0;
}

.service-desc {
    font-size: 16px;
    color: #666;
    margin: 0 0 20px 0;
    line-height: 1.5;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    flex-grow: 1;
}

.service-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    color: #555;
    font-size: 15px;
}

.service-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary);
}

.learn-more {
    color: var(--primary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    margin-top: auto;
    transition: all 0.3s ease;
}

.learn-more:hover {
    padding-left: 5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .services {
        padding: 60px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
        gap: 20px;
    }

    .service-card {
        padding: 25px;
    }
}

/* Optional: Add smooth reveal animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

[data-aos="fade-up"] {
    animation: fadeInUp 0.6s ease forwards;
}

/* Modern Scrollbar */
.services::-webkit-scrollbar {
    width: 8px;
}

.services::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
}

.services::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: #f4f4f4;
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
}

.about-text {
    flex: 1;
    padding-right: 2rem;
}

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

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.05);
}

h2.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
    position: relative;
}

h2.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background: var(--primary);
    margin-top: 10px;
    border-radius: 2px;
}

p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 20px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin-top: 40px;
}

.stat {
    text-align: center;
    padding: 30px;
}

.stat h3 {
    font-size: 2rem;
    color: var(--primary);
}

/* Projects Section */
.projects {
    padding: 6rem 0;
    background-color: #f8f9fa;
    width: 100%;
    overflow-x: hidden;
}

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

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background-color: #f8f9fa;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.info-header .icon {
    width: 48px;
    height: 48px;
    background: #6C63FF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-header .icon svg {
    color: white;
}

.info-header h3 {
    font-size: 1.2rem;
    color: #333;
    margin: 0;
}

.info-card p {
    color: #666;
    margin: 0;
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    background: transparent;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: #666;
    transition: all 0.3s ease;
    pointer-events: none;
    background: white;
    padding: 0 0.5rem;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #6C63FF;
    outline: none;
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -0.5rem;
    font-size: 0.875rem;
    color: #6C63FF;
}

.submit-btn {
    background: #6C63FF;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: #5b54d6;
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form {
        padding: 2rem;
    }
}

.map {
    height: 300px;
    border-radius: 1rem;
    overflow: hidden;
    margin-top: 2rem;
}

/* Footer */
.footer {
    background-color: var(--background-dark);
    color: white;
    padding: 4rem 0 2rem;
    width: 100%;
    overflow-x: hidden;
}

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

.footer-links a {
    display: block;
    color: #999;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icon {
    color: #999;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: white;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-form input {
    padding: 0.5rem 1rem;
    border: 1px solid #444;
    border-radius: 0.25rem;
    background: transparent;
    color: white;
}

.newsletter-form button {
    padding: 0.5rem 1rem;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: var(--secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Container */
    .container {
        padding: 0 1rem;
        width: 100%;
        overflow-x: hidden;
    }

    /* Navigation */
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    /* Hero Section */
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding-top: 2rem;
    }

    .hero-text {
        order: 1;
    }

    .title {
        font-size: 2.5rem;
    }

    .toolbar {
        margin: 0 auto;
    }

    .cta-buttons {
        justify-content: center;
    }

    .hero-image {
        order: 2;
        width: 100%;
        padding: 0 1rem;
    }

    .main-image {
        width: 100%;
        max-width: 500px;
        height: auto;
        margin: 0 auto;
        display: block;
    }

    .about-image img {
        width: 100%;
        max-width: 400px;
        height: auto;
        margin: 0 auto;
        display: block;
    }

    .project-card img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

    /* Services Section */
    .services {
        padding: 4rem 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* About Section */
    .about {
        padding: 4rem 0;
    }

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

    .about-text {
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .about-image {
        margin-bottom: 2rem;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* Projects Section */
    .projects {
        padding: 4rem 0;
    }

    .project-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Contact Section */
    .contact {
        padding: 4rem 0;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on mobile */
    }

    /* Footer */
    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 1rem;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }

    /* Fix image overflow */
    .hero-image {
        order: 2;
        width: 100%;
        padding: 0 1rem;
    }

    .main-image {
        width: 100%;
        max-width: 500px;
        height: auto;
        margin: 0 auto;
        display: block;
    }

    .about-image img {
        width: 100%;
        max-width: 400px;
        height: auto;
        margin: 0 auto;
        display: block;
    }

    .project-card img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

    /* Prevent container overflow */
    .container {
        padding: 0 1rem;
        width: 100%;
        overflow-x: hidden;
    }

    /* Fix shape overflow in hero section */
    .shape {
        display: none;
    }
}

/* Additional mobile optimizations */
@media (max-width: 480px) {
    /* Further reduce padding and margins */
    .container {
        padding: 0 0.75rem;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    /* Adjust hero section */
    .title {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    /* Stack CTA buttons */
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .primary-btn {
        width: 100%;
        justify-content: center;
    }

    /* Adjust stats layout */
    .stats {
        grid-template-columns: 1fr;
    }

    /* Make form elements more touch-friendly */
    .form-group input,
    .form-group textarea,
    .submit-btn {
        padding: 0.75rem;
    }

    /* Adjust mobile menu */
    .mobile-menu {
        padding: 1rem 0.75rem;
    }

    .mobile-menu a {
        padding: 0.75rem 0;
        font-size: 1.1rem;
    }

    /* Further image size control for smaller screens */
    .main-image {
        max-width: 100%;
    }

    .project-card img {
        height: 180px;
    }

    /* Ensure no horizontal scroll */
    body {
        overflow-x: hidden;
        width: 100%;
    }

    section {
        width: 100%;
        overflow-x: hidden;
    }
}

/* Fix for iOS Safari 100vh issue */
@supports (-webkit-touch-callout: none) {
    .hero {
        min-height: -webkit-fill-available;
    }
}

/* Improve touch targets */
@media (hover: none) {
    .nav-links a,
    .mobile-menu a,
    .service-card,
    .project-card,
    .social-icon {
        padding: 0.75rem;
        min-height: 44px; /* Apple's recommended minimum */
    }

    .mobile-menu-btn {
        padding: 1rem;
    }
}

/* Fix for notched phones */
@supports (padding: max(0px)) {
    .header {
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
    }

    .mobile-menu {
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
        padding-bottom: max(1rem, env(safe-area-inset-bottom));
    }
}

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

.animate-fadeIn {
    animation: fadeIn 1s ease-out;
}

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

.floating {
    animation: float 6s ease-in-out infinite;
}

/* Fix for sections that might cause overflow */
section {
    width: 100%;
    overflow-x: hidden;
}

.hero,
.services,
.about,
.projects,
.contact,
.footer {
    width: 100%;
    overflow-x: hidden;
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Animation Classes */
.fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.fade-in-left {
    opacity: 0;
    animation: fadeInLeft 0.6s ease forwards;
}

.fade-in-right {
    opacity: 0;
    animation: fadeInRight 0.6s ease forwards;
}

/* Animation Delays */
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

/* Fix AOS animations overflow */
[data-aos] {
    overflow-x: hidden;
    overflow-y: hidden;
}

/* Optional: If you want to hide scrollbar completely */
::-webkit-scrollbar {
    display: none;  /* for Chrome, Safari, and Opera */
}

/* For Firefox */
* {
    scrollbar-width: none;
}

/* For IE and Edge */
* {
    -ms-overflow-style: none;
}

.project-card a {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
}

.project-card:hover a {
    color: inherit;
}

/* Founders Section */
/* Founders Section */
.founders {
    padding: 6rem 0;
    background-color: #ffffff;
}

.founders-swiper {
    width: 100%;
    padding: 20px;
    overflow: hidden; /* Prevent overflow issues */
}

.founder-card {
    border-radius: 0.5rem;
    overflow: hidden;
    cursor: pointer;
    background: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.founder-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.founder-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1; /* Maintain a square aspect ratio */
    overflow: hidden;
}

.founder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure images cover the container */
    transition: transform 0.3s ease;
}

.founder-card:hover .founder-image img {
    transform: scale(1.1); /* Zoom effect on hover */
}

.founder-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
}

.founder-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.founder-role {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Swiper Navigation Buttons */
.swiper-button-next,
.swiper-button-prev {
    background-color: rgba(108, 99, 255, 0.8);
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    transition: background-color 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: rgba(108, 99, 255, 1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.2rem;
}

/* Swiper Pagination */
.swiper-pagination {
    position: relative;
    margin-top: 20px;
}

.swiper-pagination-bullet {
    background-color: rgba(108, 99, 255, 0.5);
    opacity: 1;
    width: 10px;
    height: 10px;
    margin: 0 5px;
}

.swiper-pagination-bullet-active {
    background-color: var(--primary);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .founders-swiper {
        padding: 10px;
    }

    .founder-card {
        max-width: 100%; /* Ensure cards take full width on mobile */
        margin: 0 auto;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none; /* Hide navigation buttons on mobile */
    }
}

.logo-image {
    max-height: 40px;
    width: auto; 
    display: block;
    margin: 0 auto;
}

/* Mission & Vision Section */
.mission-vision {
    padding: 4rem 0;
    background-color: #f9f9f9;
}

.mission-vision .section-title {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: var(--primary); 
}

.mission {
    margin-bottom: 2rem;
}

.mission h3,
.vision h3 {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.mission p,
.vision p {
    line-height: 1.6;
    color: var(--text); 
    margin-bottom: 1rem;
}

.vision {
    margin-top: 2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .mission-vision {
        padding: 2rem 1rem;
    }

    .mission-vision .section-title {
        font-size: 1.5rem;
    }

    .mission h3,
    .vision h3 {
        font-size: 1.25rem;
    }
}

/* Carousel Container */
.carousel-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Carousel Track */
.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

/* Founder Card */
.founder-card {
    flex: 0 0 250px; /* Fixed width for each card */
    margin: 0 10px; /* Spacing between cards */
    border-radius: 0.5rem;
    overflow: hidden;
    cursor: pointer;
}

/* Carousel Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(108, 99, 255, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 1.2rem;
    z-index: 10;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.carousel-btn:hover {
    background-color: rgba(108, 99, 255, 1);
}