﻿/* Core Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --light-bg: #f8f9fa;
    --dark-text: #2c3e50;
    --light-text: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.partner-link {
    pointer-events: auto !important;
    position: relative;
    z-index: 5;
    display: inline-block;
    padding: 10px 20px;
    background-color: #0056b3;
    color: white !important;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    margin-top: 10px;
    font-weight: 500;
    border: none;
    outline: none;
    cursor: pointer;
}

.partner-link:hover {
    background-color: #003d7a;
    transform: translateY(-3px);
}

.partner-link i {
    margin-left: 8px;
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.partner-link:hover i {
    transform: translateX(3px);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Common Styles */
section {
    padding: 80px 0;
}

.section-header {
    position: relative;
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.separator {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    margin: 0 auto;
    border-radius: 2px;
    position: relative;
}

.separator::before,
.separator::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--secondary-color);
    top: -1px;
}

.separator::before {
    left: -2px;
}

.separator::after {
    right: -2px;
}

/* Navigation */
.navbar {
    background: linear-gradient(to right, #0a2540, #0a2540);

    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 150, 199, 0.3);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
}

.nav-links a {
    color: var(--light-text);
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #90e0ef;
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: calc(100% - 2rem);
    /* Adjust based on padding */
}

.nav-links a.active {
    color: #90e0ef;
}

.mobile-menu {
    display: none;
    cursor: pointer;
}

/* Hero Section Styles */
.hero {
    min-height: 100vh;
    padding: 120px 0 60px;
    display: flex;
    align-items: center;
    background: linear-gradient(to right, #0a2540, #0077b6);
    position: relative;
    overflow: hidden;
    background-size: 400% 400%;
    animation: gradientBackground 15s ease infinite;
}

/* Add a modern overlay pattern */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(135deg, rgba(127, 219, 255, 0.15) 0%, rgba(144, 224, 239, 0.15) 100%),
        radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(178, 235, 242, 0.25) 0%, transparent 60%);
    pointer-events: none;
}

/* Enhanced animated particles effect */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.2) 1px, transparent 2px),
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.15) 1px, transparent 2px),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.18) 1.5px, transparent 2.5px);
    background-size: 40px 40px, 30px 30px, 50px 50px;
    background-position: 0 0;
    animation: particleFloat 20s linear infinite;
    pointer-events: none;
}

/* Ensure content stays above overlay */
.hero .container {
    position: relative;
    z-index: 2;
}

@keyframes gradientBackground {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes particleFloat {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 100% 100%;
    }
}

/* Ensure content stays above overlays */
.hero .container {
    position: relative;
    z-index: 2;
}

/* Hero Text Styles */
.hero-text {
    color: var(--light-text);
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    animation: fadeInUp 1s ease;
    position: relative;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-transform: capitalize;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-text>p {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: white;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-description {
    margin: 2.5rem 0;
    padding: 0 15px;
    background: rgba(255, 255, 255, 0.35);
    border-radius: 15px;
    backdrop-filter: blur(8px);
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    animation: fadeIn 1s ease;
}

.hero-description h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: #003366;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
}

.hero-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #0a2540;
    font-weight: 400;
    text-align: left;
    position: relative;
    padding-left: 20px;
}

.hero-description p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 4px;
    height: calc(100% - 1rem);
    background: linear-gradient(to bottom, #0077b6, #023e8a);
    border-radius: 2px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

@keyframes textShine {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(45deg, #48cae4, #0096c7);
    color: var(--light-text);
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
    font-weight: 500;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0, 150, 199, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #00b4d8, #48cae4);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 150, 199, 0.4);
}

.cta-button:hover::before {
    opacity: 1;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: linear-gradient(135deg, #caf0f8 0%, #90e0ef 100%);
    position: relative;
}

.services::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent 50%, rgba(255, 255, 255, 0.2));
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    background: linear-gradient(45deg,
            rgba(255, 255, 255, 0.98),
            rgba(255, 255, 255, 0.92));
    border: 1px solid rgba(144, 224, 239, 0.5);
}

.service-card i {
    font-size: 2.5rem;
    color: #0096c7;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.service-card:hover i {
    color: #0077b6;
    transform: scale(1.1);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fbfe 0%, #eff8ff 100%);
    position: relative;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.contact-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 119, 182, 0.1);
    border: 1px solid rgba(0, 150, 199, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0096c7;
}

.submit-btn {
    background: linear-gradient(45deg, #0096c7, #48cae4);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 3px 10px rgba(0, 150, 199, 0.2);
}

.submit-btn:hover {
    background: linear-gradient(45deg, #0077b6, #0096c7);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 119, 182, 0.3);
}

.map-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 119, 182, 0.15);
    border: 1px solid rgba(0, 150, 199, 0.1);
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Footer */
.footer {
    background: linear-gradient(to right, #0a2540, #0077b6);
    color: var(--light-text);
    padding: 80px 0 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #0096c7, #48cae4);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section {
    padding: 0 15px;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    color: var(--light-text);
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: #48cae4;
}

/* Address and Contact Info */
.location-info,
.contact-info .info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.location-info i,
.contact-info i {
    color: #48cae4;
    font-size: 1.2rem;
    margin-top: 5px;
}

/* Quick Links */
.quick-links {
    list-style: none;
    padding: 0;
}

.quick-links li {
    margin-bottom: 12px;
}

.quick-links a {
    color: var(--light-text);
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.quick-links a i {
    margin-right: 10px;
    font-size: 0.8rem;
    color: #48cae4;
}

.quick-links a:hover {
    color: #90e0ef;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    aspect-ratio: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--light-text);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #48cae4;
    transform: translateY(-3px);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    margin-top: 40px;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.basis-logo {
    display: flex;
    align-items: center;
}

.basis-logo-img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
    /* Makes the SVG white */
    transition: opacity 0.3s ease;
}

.basis-logo-img:hover {
    opacity: 0.8;
}

/* Footer Bottom Links */
.bottom-links {
    display: flex;
    gap: 20px;
}

.bottom-links a {
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.bottom-links a:hover {
    color: var(--secondary-color);
}

/* Add these animation keyframes at the end of the file */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gradient animation */
@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* About Section Styles */
.about {
    padding: 80px 0;
    background: linear-gradient(135deg, #e6f8fc 0%, #bde0fe 100%);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><circle cx="20" cy="20" r="2" fill="%230096c7" opacity="0.2"/></svg>');
    opacity: 0.5;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    margin-top: 40px;
}

/* Stats Styles */
.about-stats {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 119, 182, 0.1);
    border: 1px solid rgba(173, 232, 244, 0.3);
}

.stats-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    border-bottom: 1px solid rgba(0, 119, 182, 0.1);
    transition: transform 0.3s ease;
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.counter {
    font-size: 2.5rem;
    font-weight: bold;
    color: #0096c7;
    display: block;
    margin-bottom: 10px;
}

.stat-text {
    font-size: 1.1rem;
    color: #0a2540;
}

/* Content Styles */
.highlight-box {
    background: rgba(0, 150, 199, 0.08);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
    border: 1px solid rgba(0, 150, 199, 0.15);
}

.highlight-tag {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(45deg, #0096c7, #48cae4);
    color: white;
    border-radius: 25px;
    font-size: 0.9rem;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0, 150, 199, 0.2);
}

.highlight-box h3 {
    font-size: 1.8rem;
    color: #0a2540;
    margin: 0;
    line-height: 1.3;
}

.about-text {
    padding: 0 10px;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-text);
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* Animation for text */
.animated-text {
    animation-delay: calc(var(--animation-order) * 0.2s);
}

/* Team Section Styles */
.team {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e6f3f7 100%);
    position: relative;
}

.team-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 50px;
}

/* Row Styles */
.team-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    width: 100%;
}

/* Single Item Row */
.row-single {
    max-width: 400px;
    margin: 0 auto;
}

.row-single .team-member {
    width: 100%;
}

/* Double Item Row */
.row-double {
    max-width: 800px;
    margin: 0 auto;
}

.row-double .team-member {
    width: calc(50% - 15px);
}

/* Triple Item Row */
.row-triple {
    max-width: 1200px;
    margin: 0 auto;
}

.row-triple .team-member {
    width: calc(33.333% - 20px);
}

/* Featured Member Style */
.team-member.featured {
    transform: scale(1.05);
}

.team-member {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 150, 199, 0.05);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 119, 182, 0.15);
    border-color: rgba(0, 150, 199, 0.1);
}

/* Team member photo centering styles */
.team-member .member-img {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
}

.team-member.featured .member-img {
    width: 220px;
    height: 220px;
}

.team-member .member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: all 0.3s ease;
}

/* Hide social links by default */
.team-member .social-links {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    padding: 15px 0;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

/* Show social links on hover */
.team-member .member-img:hover .social-links {
    opacity: 1;
    transform: translateY(0);
}

/* Team member hover effect */
.team-member .member-img:hover img {
    transform: scale(1.1);
}

/* Optional hover effect */
.team-member:hover .member-img img {
    transform: scale(1.05);
}

/* Ensure social links stay on top */
.team-member .social-links {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
}

/* Special styling for featured team member */
.team-member.featured .member-img {
    height: 320px;
}

.member-img {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.social-links {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    background: rgba(0, 119, 182, 0.9);
    padding: 15px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    transition: bottom 0.3s ease;
}

.team-member:hover .social-links {
    bottom: 0;
}

/* Member Info Styles */
.member-info {
    padding: 25px;
    text-align: center;
    background: linear-gradient(to bottom, #ffffff, #f8f9fa);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.member-info h3 {
    color: #0a2540;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.member-info .position {
    display: block;
    color: #0096c7;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.member-info .sub-position {
    display: block;
    color: #666;
    font-size: 0.9rem;
    font-style: italic;
    margin-top: 5px;
    line-height: 1.4;
}

/* Hover effects */
.team-member:hover .member-info h3 {
    color: #0077b6;
}

.team-member:hover .member-info {
    background: linear-gradient(to bottom, #f8f9fa, #ffffff);
}

/* Featured member styles */
.team-member.featured .member-info {
    background: linear-gradient(to bottom, #ffffff, #e0f7fa);
    padding: 30px;
}

.team-member.featured .member-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.team-member.featured .member-info .position {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

/* Add decorative elements */
.member-info::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: #0096c7;
    transition: width 0.3s ease;
}

.team-member:hover .member-info::before {
    width: 80px;
}

/* Projects Section Styles */
.projects {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0f8ff 0%, #dbefff 100%);
}

.project-category {
    margin-bottom: 60px;
}

.category-title {
    font-size: 1.8rem;
    color: #0a2540;
    margin-bottom: 30px;
    position: relative;
    padding-left: 15px;
}

.category-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: #0096c7;
    border-radius: 2px;
}

/* Large Project Showcase */
.project-showcase {
    margin-bottom: 50px;
}

.project-showcase .project-item.large {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.project-images {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 15px;
}

.project-images .swiper {
    width: 100%;
    height: 100%;
}

.project-images:hover .secondary-image {
    transform: translateY(-10px);
}

.project-image {
    height: 250px;
    overflow: hidden;
    border-radius: 15px;
}

.project-images .main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-images .secondary-image {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 200px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

/* Project Grid */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-item {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 150, 199, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.project-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 119, 182, 0.15);
    border-color: rgba(0, 150, 199, 0.2);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-item:hover .project-image img {
    transform: scale(1.1);
}

.project-info {
    padding: 25px;
}

.project-info h4 {
    font-size: 1.3rem;
    color: #0a2540;
    margin-bottom: 10px;
}

.project-info p {
    color: #666;
    margin-bottom: 20px;
}

.project-link {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(45deg, #0096c7, #48cae4);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 150, 199, 0.2);
}

.project-link:hover {
    background: linear-gradient(45deg, #0077b6, #0096c7);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 119, 182, 0.3);
}

/* Swiper Styles */
.swiper {
    width: 100%;
    height: 100%;
    border-radius: 15px;
}

.swiper-slide {
    text-align: center;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
}

.swiper-pagination-bullet {
    background: var(--secondary-color);
}

.swiper-pagination-bullet-active {
    background: var(--secondary-color);
}

/* Slideshow Styles */
.swiper {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
}

.swiper-slide {
    width: 100%;
    height: 100%;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* EDC Project Swiper Customization */
.edc-swiper {
    height: 400px;
}

.edc-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.edc-swiper .swiper-slide img {
    width: 100%;
    height: 400px;
    object-fit: contain;
    border-radius: 15px;
    background-color: #f8f9fa;
}

.edc-swiper .swiper-button-next,
.edc-swiper .swiper-button-prev {
    color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.edc-swiper .swiper-button-next:after,
.edc-swiper .swiper-button-prev:after {
    font-size: 20px;
}

.edc-swiper .swiper-pagination {
    bottom: 10px;
}

.edc-swiper .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.7);
    opacity: 1;
}

.edc-swiper .swiper-pagination-bullet-active {
    background: var(--secondary-color);
}

/* Project Grid Swipers */
.project-image .swiper {
    height: 250px;
}

.swiper-pagination-bullet {
    background: var(--secondary-color);
}

.swiper-pagination-bullet-active {
    background: var(--secondary-color);
}

/* Partners Section Styles */
.partners {
    padding: 80px 0;
    background: linear-gradient(135deg, #ecfaff 0%, #d0f1ff 100%);
    position: relative;
}

.partners::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="50" height="50" viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg"><circle cx="25" cy="25" r="1" fill="%230096c7" opacity="0.2"/></svg>');
    opacity: 0.4;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.partner-item {
    display: flex;
    justify-content: center;
    align-items: stretch;
}

.partner-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 150, 199, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border-radius: 15px;
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    z-index: 1;
    height: 100%;
}

/* Clickable indicator */
.partner-card::before {
    content: '\f0c1';
    /* Link icon from Font Awesome */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 14px;
    color: #0096c7;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
}

.partner-card:hover::before {
    opacity: 0.7;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 119, 182, 0.15);
    border-color: rgba(0, 150, 199, 0.2);
}

.partner-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 150, 199, 0.03);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    border-radius: 15px;
}

.partner-card:hover::after {
    opacity: 1;
}

.partner-image {
    height: 180px;
    background: #f9f9f9;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.partner-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.7s ease;
    z-index: 1;
}

.partner-card:hover .partner-image::before {
    left: 100%;
}

.partner-logo {
    max-width: 100%;
    max-height: 140px;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.partner-card:hover .partner-logo {
    transform: scale(1.05);
}

.partner-info {
    position: relative;
    z-index: 2;
    padding: 20px;
    text-align: center;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(248, 249, 250, 0.8));
    transition: all 0.3s ease;
}

.partner-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: #0096c7;
    transition: width 0.3s ease;
}

.partner-card:hover .partner-info::before {
    width: 60px;
}

.partner-info h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #0a2540;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.partner-card:hover .partner-info h3 {
    color: #0077b6;
}

.partner-info p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 20px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.partner-card:hover .partner-info p {
    opacity: 1;
}

.partner-link {
    display: inline-flex;
    align-items: center;
    color: #0096c7;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    cursor: pointer;
}

.partner-link i {
    margin-left: 5px;
    font-size: 0.85rem;
}

.partner-link:hover {
    color: #0077b6;
}

/* Animations */
@keyframes slideInFromLeft {
    from {
        transform: translateX(-100px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromRight {
    from {
        transform: translateX(100px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

[data-aos="fade-left"] {
    animation: slideInFromRight 1s ease forwards;
}

[data-aos="fade-right"] {
    animation: slideInFromLeft 1s ease forwards;
}

.animated-text {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: calc(var(--animation-order) * 0.2s);
}

/* Partner hover class used by JavaScript */
.partner-card.partner-hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    background: linear-gradient(45deg,
            rgba(255, 255, 255, 0.95),
            rgba(255, 255, 255, 0.9),
            rgba(255, 255, 255, 0.95));
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

.partner-card.partner-hover .partner-logo {
    transform: scale(1.05);
}

.partner-card.partner-hover .partner-info::before {
    width: 60px;
}

.partner-card.partner-hover .partner-info h3 {
    color: var(--secondary-color);
}

.partner-card.partner-hover .partner-image::before {
    left: 100%;
}

.partner-card.partner-hover .partner-info p {
    opacity: 1;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Scrolling Projects Section */
.scrolling-projects {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.scrolling-projects .project-grid {
    display: flex;
    width: max-content;
    animation: scroll-left 25s linear infinite;
}

.scrolling-projects:hover .project-grid {
    animation-play-state: paused;
}

/* Left to Right Animation */
.scrolling-projects.left-to-right .project-grid {
    animation: scroll-left 25s linear infinite;
}

/* Right to Left Animation */
.scrolling-projects.right-to-left .project-grid {
    animation: scroll-right 25s linear infinite;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes scroll-right {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

/* Spacing between project rows */
.scrolling-projects.left-to-right {
    margin-bottom: 40px;
}

.scrolling-projects.right-to-left {
    margin-top: 20px;
}

.scrolling-projects .project-item {
    flex: 0 0 350px;
    margin-right: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.scrolling-projects .project-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.scrolling-projects .project-info {
    padding: 15px;
    background-color: #fff;
}

.scrolling-projects .project-image {
    height: 220px;
    overflow: hidden;
}

.scrolling-projects .project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.scrolling-projects .project-link {
    display: inline-block;
    padding: 8px 16px;
    background-color: #0056b3;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.scrolling-projects .project-link:hover {
    background-color: #003d7a;
}

.scrolling-projects h4 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
}

.scrolling-projects p {
    margin-bottom: 15px;
    color: #666;
}