/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-bg: #f8f9fa;
    /* Pale gray / off-white */
    --color-text-dark: #2a1b4d;
    /* Deep indigo / purple */
    --color-text-light: #7a5c9f;
    /* Lighter violet / purple */
    --color-nav-bg: #f0f2f5;
    /* Light gray background */
    --color-btn-bg: #1f113a;
    /* Dark indigo */
    --color-btn-hover: #3f2671;
    --font-family: 'Cairo', sans-serif;
    --transition-speed: 0.3s;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-bg);
    color: var(--color-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

section[id], footer[id] {
    scroll-margin-top: 100px;
}

/* Header & Navigation */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    background-color: var(--color-bg);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex: 1;
    cursor: pointer;
    transition: transform var(--transition-speed) cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo:hover {
    transform: scale(1.05);
}

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

.logo-img {
    height: clamp(50px, 8vw, 85px);
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

/* Nav Menu: Pill-shaped, light gray background */
.nav-menu {
    background-color: var(--color-nav-bg);
    border-radius: 50px;
    padding: 0.6rem 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    flex: none;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--color-text-dark);
    cursor: pointer;
    padding: 0.5rem;
}

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

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

.nav-menu a {
    text-decoration: none;
    color: var(--color-text-dark);
    font-weight: 700;
    font-size: 1.05rem;
    position: relative;
    padding: 0.2rem 0;
    transition: color var(--transition-speed);
}

/* Micro-interaction: underline slide */
.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-text-dark);
    border-radius: 2px;
    transition: width var(--transition-speed) ease;
}

.nav-menu a:hover {
    color: var(--color-btn-hover);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Nav Actions & CTA */
.nav-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.nav-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-btn-bg);
    color: #ffffff;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 9999px;
    text-decoration: none;
    transition: all var(--transition-speed) ease;
    white-space: nowrap;
}

.nav-cta-btn:hover {
    background-color: var(--color-btn-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(49, 46, 129, 0.3);
    color: #ffffff;
}

.mobile-only {
    display: none;
}

.lang-btn {
    background-color: transparent;
    color: var(--color-text-dark);
    border: 2px solid var(--color-text-light);
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 1rem;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

.lang-btn:hover {
    background-color: var(--color-btn-hover);
    border-color: var(--color-btn-hover);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: calc(100vh - 120px);
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 5%;
    gap: 5rem;
}

/* Left Column: Text Content */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    animation: fadeUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.hero-content h1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 800;
    color: var(--color-text-dark);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: clamp(1.15rem, 2vw, 1.4rem);
    color: var(--color-text-light);
    margin-bottom: 3rem;
    max-width: 95%;
    font-weight: 600;
}

/* Call to Action Button */
.btn-primary {
    display: inline-block;
    background-color: var(--color-btn-bg);
    color: #ffffff;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 25px rgba(31, 17, 58, 0.2);
}

.btn-primary:hover {
    background-color: var(--color-btn-hover);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(31, 17, 58, 0.35);
}

.hero-button-group {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.btn-secondary-outline {
    display: inline-block;
    background-color: transparent;
    color: #312e81;
    border: 2px solid #312e81;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-secondary-outline:hover {
    background-color: #e0e7ff;
    transform: translateY(-5px);
}

/* Right Column: Image */
.hero-image {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: fadeLeft 1s ease-out 0.2s forwards;
    opacity: 0;
}

.hero-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(122, 92, 159, 0.1) 0%, rgba(248, 249, 250, 0) 70%);
    z-index: -1;
    transform: scale(1.2);
}

.hero-image img {
    width: 100%;
    max-width: 650px;
    height: auto;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-image img:hover {
    transform: scale(1.03) translateY(-10px);
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeLeft {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 2rem;
        gap: 4rem;
    }

    .hero-content {
        align-items: center;
    }

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

@media (max-width: 768px) {
    .header {
        flex-direction: row;
        justify-content: space-between;
        padding: 1rem 5%;
        position: relative;
    }

    .logo {
        flex: auto;
    }

    .nav-actions {
        flex: auto;
        gap: 0.5rem;
    }

    .nav-menu {
        width: auto;
        padding: 0.5rem;
        border-radius: 50%;
        background-color: transparent;
        box-shadow: none;
        border: none;
    }

    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .desktop-cta {
        display: none;
    }
    
    .mobile-only {
        display: block;
        margin-top: 1rem;
    }

    .mobile-cta {
        width: 100%;
        text-align: center;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        inset-inline-start: 0;
        inset-inline-end: 0;
        margin: 0 5%;
        background-color: #ffffff;
        flex-direction: column;
        padding: 1.5rem;
        border-radius: 16px;
        box-shadow: 0 10px 30px rgba(42, 27, 77, 0.1);
        z-index: 1000;
        gap: 1.5rem;
    }
    
    .nav-links.open {
        display: flex;
    }

    .nav-links ul {
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
        text-align: center;
    }

    .nav-links ul li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        font-size: 1.1rem;
        padding: 0.5rem 0;
    }

    .lang-btn {
        padding: 0.4rem 1rem;
        font-size: 0.9rem;
    }
}

/* About Page Styles */
.about-section {
    min-height: calc(100vh - 120px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.about-card {
    background-color: #ffffff;
    max-width: 800px;
    padding: 4rem;
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(42, 27, 77, 0.08);
    border: 1px solid rgba(122, 92, 159, 0.1);
    animation: fadeUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.about-card h1, .about-card h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: var(--color-text-dark);
    font-weight: 800;
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: -0.5px;
}

.about-card p {
    font-size: 1.15rem;
    color: var(--color-text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-card p:last-child {
    margin-bottom: 0;
}

/* Read More / Collapse Styles for Mobile Written Sections */
.about-card-more {
    display: block;
}

.read-more-btn {
    display: none !important;
}

@media (max-width: 992px) {
    .about-card {
        padding: 2.2rem 1.5rem;
        position: relative;
    }

    .about-card-more {
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        visibility: hidden;
        transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease, visibility 0.4s ease;
    }

    .about-card.expanded .about-card-more {
        max-height: 2500px;
        opacity: 1;
        visibility: visible;
        overflow: visible;
        margin-top: 1rem;
    }

    .about-card.expanded .about-card-more .reveal-on-scroll {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }

    .read-more-btn {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        width: 100%;
        margin-top: 1.25rem;
        padding: 0.75rem 1.5rem;
        background-color: var(--color-btn-bg);
        color: #ffffff;
        border: none;
        border-radius: 50px;
        font-family: var(--font-family);
        font-size: 0.95rem;
        font-weight: 700;
        cursor: pointer;
        transition: all var(--transition-speed) ease;
        box-shadow: 0 4px 15px rgba(31, 17, 58, 0.15);
    }

    .read-more-btn:hover,
    .read-more-btn:active {
        background-color: var(--color-btn-hover);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(31, 17, 58, 0.25);
    }

    .read-more-icon {
        transition: transform 0.3s ease;
    }

    .about-card.expanded .read-more-icon {
        transform: rotate(180deg);
    }
}


/* Services Page Styles */
.services-page-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 5%;
    min-height: calc(100vh - 120px);
}

.services-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.services-header h1 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: var(--color-text-dark);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    animation: fadeUp 1s ease-out 0.2s forwards;
    opacity: 0;
    transform: translateY(20px);
}

.service-card {
    background-color: #ffffff;
    padding: 2.5rem 2rem 2rem 2rem;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(42, 27, 77, 0.05);
    border: 1px solid rgba(122, 92, 159, 0.08);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease, border-color var(--transition-speed) ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    cursor: pointer;
    position: relative;
}

.service-card-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(42, 27, 77, 0.14);
    border-color: rgba(122, 92, 159, 0.25);
}

.service-card:focus-visible {
    outline: 3px solid var(--color-btn-hover);
    outline-offset: 2px;
}

.service-card-action {
    margin-top: 1.8rem;
    padding-top: 1rem;
    border-top: 1px dashed rgba(122, 92, 159, 0.15);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--color-text-light);
    transition: color var(--transition-speed) ease;
}

.service-card:hover .service-card-action {
    color: var(--color-text-dark);
}

/* Service Detail Modal Styles */
.service-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-modal.open {
    opacity: 1;
    pointer-events: auto;
}

.service-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 10, 30, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.service-modal-content {
    position: relative;
    z-index: 10;
    background: #ffffff;
    width: 100%;
    max-width: 620px;
    padding: 2.5rem;
    border-radius: 28px;
    box-shadow: 0 25px 60px rgba(31, 17, 58, 0.25);
    border: 1px solid rgba(122, 92, 159, 0.2);
    transform: scale(0.92) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.service-modal.open .service-modal-content {
    transform: scale(1) translateY(0);
}

.service-modal-close {
    position: absolute;
    top: 1.5rem;
    inset-inline-end: 1.5rem;
    background: rgba(42, 27, 77, 0.06);
    border: none;
    font-size: 1.8rem;
    line-height: 1;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-text-dark);
    transition: all 0.25s ease;
}

.service-modal-close:hover {
    background: var(--color-btn-bg);
    color: #ffffff;
    transform: rotate(90deg);
}

.service-modal-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.8rem;
    padding-inline-end: 3rem;
}

.service-modal-icon {
    width: 64px;
    height: 64px;
    background-color: rgba(122, 92, 159, 0.12);
    color: var(--color-text-dark);
    border-radius: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.service-modal-title-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.service-modal-badge {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text-light);
}

.service-modal-header h2 {
    font-size: 1.8rem;
    color: var(--color-text-dark);
    font-weight: 800;
    line-height: 1.2;
}

.service-modal-body {
    background: #f8f9fa;
    padding: 1.8rem;
    border-radius: 20px;
    border: 1px solid rgba(122, 92, 159, 0.08);
    margin-bottom: 1.8rem;
}

.service-modal-body p {
    font-size: 1.12rem;
    color: #2d3748;
    line-height: 1.85;
    font-weight: 500;
}

.service-modal-footer {
    display: flex;
    justify-content: flex-end;
}

.service-modal-close-btn {
    padding: 0.8rem 2.2rem;
    font-size: 1rem;
    border: none;
    cursor: pointer;
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(122, 92, 159, 0.1);
    color: var(--color-text-light);
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease;
}

.service-card:hover .service-icon {
    background-color: var(--color-text-light);
    color: #ffffff;
}

.service-card h3 {
    font-size: 1.4rem;
    color: var(--color-text-dark);
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-card p {
    font-size: 1.05rem;
    color: #4a4a4a;
    /* Dark gray for readability */
    line-height: 1.6;
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .services-page-wrapper {
        padding: 3rem 5%;
    }
}

/* Founders Section Styles */
.founders-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 5%;
}

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

.founders-header h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: var(--color-text-dark);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.founders-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.founder-card {
    background-color: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(42, 27, 77, 0.05);
    border: 1px solid rgba(122, 92, 159, 0.08);
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.founder-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 30px rgba(49, 46, 129, 0.15);
}

.founder-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 4px solid var(--color-nav-bg);
    transition: transform 0.4s ease;
}

.founder-card:hover .founder-img {
    transform: scale(1.08) rotate(2deg);
}

.founder-img-link {
    display: inline-block;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    cursor: pointer;
}

.founder-img-link .founder-img {
    margin-bottom: 0;
}

.founder-card h3 {
    font-size: 1.4rem;
    color: var(--color-text-dark);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.founder-card p {
    font-size: 1.1rem;
    color: var(--color-text-light);
    font-weight: 600;
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .founders-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* Achievements Page Styles */
.achievements-page-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 5%;
}

.achievements-header {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.achievements-header h1 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: var(--color-text-dark);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.achievements-header p {
    font-size: 1.25rem;
    color: #4a4a4a;
}

/* Stats Section */
.stats-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    background-color: #ffffff;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(42, 27, 77, 0.05);
    margin-bottom: 6rem;
    animation: fadeUp 1s ease-out 0.2s forwards;
    opacity: 0;
    transform: translateY(20px);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-text-dark);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--color-text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Projects Section */
.projects-section {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.project-row {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.project-row>* {
    flex: 1;
}

.project-row.reverse {
    flex-direction: row-reverse;
}

.project-image {
    width: 100%;
}

.project-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(42, 27, 77, 0.1);
    transition: transform var(--transition-speed) ease;
    display: block;
}

.project-image img:hover {
    transform: scale(1.02);
}

.project-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: start;
}

.project-content h2 {
    font-size: 2.2rem;
    color: var(--color-text-dark);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.project-content p {
    font-size: 1.15rem;
    color: #4a4a4a;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.btn-secondary {
    display: inline-block;
    background-color: var(--color-btn-bg);
    color: #ffffff;
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--color-btn-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(31, 17, 58, 0.2);
}

/* Scroll Reveal Classes */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 992px) {
    .stats-section {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .project-row {
        flex-direction: column;
        gap: 2.5rem;
    }

    .project-row.reverse {
        flex-direction: column;
    }
}

/* WhatsApp Floating Action Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    inset-inline-end: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transition: transform 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Footer Styles */
.footer {
    background-color: #312e81;
    color: #f8f9fa;
    padding: 4rem 5% 2rem 5%;
    font-family: var(--font-family);
    text-align: start;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.footer-col h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

/* Column 1: Brand */
.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
}

.brand-col p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #e2e8f0;
}

/* Column 2 & 3: Lists */
.links-col ul, .contact-col ul {
    list-style: none;
    padding-inline-start: 0;
}

.links-col ul li, .contact-col ul li {
    margin-bottom: 1rem;
}

.links-col ul li a, .contact-col ul li a {
    color: #e2e8f0;
    text-decoration: none;
    transition: color var(--transition-speed) ease;
    font-size: 1.1rem;
}

.links-col ul li a:hover, .contact-col ul li a:hover {
    color: var(--color-text-light);
}

.contact-col span {
    color: #e2e8f0;
    font-size: 1.1rem;
}

/* Copyright Bar */
.footer-bottom {
    max-width: 1400px;
    margin: 3rem auto 0;
    text-align: center;
}

.footer-bottom hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

.footer-bottom p {
    color: #cbd5e1;
    font-size: 1rem;
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .footer {
        padding: 3rem 5% 1.5rem 5%;
    }
}