/* ===================================
   توفير التكنولوجيا - Custom Styles
   =================================== */

:root {
    --primary-color: #1a5490;
    --secondary-color: #f39c12;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --text-color: #333;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    color: var(--text-color);
    line-height: 1.8;
    overflow-x: hidden;
}

/* ===================================
   Navigation Styles
   =================================== */

.navbar {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0d3a6b 100%);
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(26, 84, 144, 0.95);
    backdrop-filter: blur(10px);
}

.navbar-logo {
    height: 50px;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.navbar-logo:hover {
    transform: scale(1.1);
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: all 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
    right: 10%;
}

.nav-link:hover,
.nav-link.active {
    color: #fff !important;
}

.contact-btn {
    background: var(--secondary-color);
    border-radius: 25px;
    margin-right: 10px;
}

.contact-btn:hover {
    background: #e67e22;
    transform: translateY(-2px);
}

/* ===================================
   Footer Styles
   =================================== */

.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-title {
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 0.3rem 0;
}

.footer-link:hover {
    color: var(--secondary-color);
    padding-right: 10px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

.grey-text-with-shadow {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* ===================================
   Utility Classes
   =================================== */

.section-padding {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 60%;
    height: 3px;
    background: var(--secondary-color);
}

.btn-primary-custom {
    background: var(--primary-color);
    color: #fff;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.2rem;
    }

    .navbar-logo {
        height: 40px;
    }

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

    .footer {
        text-align: center;
    }

    .footer .col-md-6.text-md-end {
        text-align: center !important;
        margin-top: 1rem;
    }
}

/* ===================================
   Hero Section
   =================================== */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 84, 144, 0.85) 0%, rgba(13, 58, 107, 0.9) 100%);
}

.hero-content-wrapper {
    position: relative;
    z-index: 1;
}

.hero-content {
    color: #fff;
    text-align: right;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
}

.hero-buttons {
    margin-top: 2rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-down {
    display: inline-block;
    color: #fff;
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* ===================================
   About Section
   =================================== */

.about-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.about-content {
    padding: 2rem;
}

.about-content .lead {
    font-size: 1.2rem;
    line-height: 2;
    color: var(--text-color);
}

/* ===================================
   Stats Section
   =================================== */

.stats-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0d3a6b 100%);
    padding: 4rem 0;
    color: #fff;
}

.stat-item {
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* ===================================
   Service Cards
   =================================== */

.service-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.service-card h4,
.service-card h5 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-card p {
    color: #666;
    line-height: 1.8;
}

.card-hover-effect:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.dynamic-shadow {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gpu-accelerated {
    will-change: transform;
    transform: translateZ(0);
}

/* ===================================
   Gallery Section
   =================================== */

.gallery-section {
    background: #f8f9fa;
}

.gallery-filter {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.6rem 1.5rem;
    margin: 0.3rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.gallery-filter:hover,
.gallery-filter.active {
    background: var(--primary-color);
    color: #fff;
}

.gallery-item {
    transition: all 0.3s ease;
}

.gallery-item.hide {
    display: none;
}

.gallery-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-image-container {
    position: relative;
    overflow: hidden;
    padding-top: 75%;
}

.gallery-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 84, 144, 0.95) 0%, rgba(13, 58, 107, 0.95) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-card:hover .gallery-image {
    transform: scale(1.1);
}

.gallery-content {
    text-align: center;
    color: #fff;
    padding: 2rem;
}

.gallery-content h5 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.gallery-content p {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.gallery-view-btn {
    background: var(--secondary-color);
    color: #fff;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.gallery-view-btn:hover {
    background: #e67e22;
    transform: translateY(-2px);
}

/* ===================================
   Contact Section
   =================================== */

.contact-info {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: #e9ecef;
    transform: translateX(-5px);
}

.contact-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-left: 1.5rem;
    min-width: 40px;
}

.contact-item h6 {
    color: var(--dark-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #666;
    margin: 0;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0.8rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(26, 84, 144, 0.25);
}

.text-medium {
    font-size: 1.05rem;
    line-height: 1.8;
}

/* ===================================
   Animations
   =================================== */

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.4rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

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

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
    }

    .service-card {
        margin-bottom: 2rem;
    }

    .gallery-filter {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
    }

    .contact-icon {
        margin: 0 0 1rem 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-title::after {
        width: 80%;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 1rem;
    }

    .service-icon {
        font-size: 2.5rem;
    }

    .gallery-content h5 {
        font-size: 1.2rem;
    }

    .gallery-content p {
        font-size: 0.9rem;
    }
}

/* ===================================
   Testimonials Slider Styles
   =================================== */

.testimonials-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%231a5490" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,106.7C1248,96,1344,96,1392,96L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.5;
}

.testimonials-slider-wrapper {
    position: relative;
    padding: 40px 0;
}

.testimonials-swiper {
    padding: 20px 60px 60px;
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    height: 100%;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transform: translateY(0);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(26, 84, 144, 0.2);
}

.quote-icon {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 60px;
    color: var(--primary-color);
    opacity: 0.1;
    transition: all 0.3s ease;
}

.testimonial-card:hover .quote-icon {
    opacity: 0.2;
    transform: scale(1.1);
}

.testimonial-content {
    flex: 1;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    font-style: italic;
    text-align: center;
    position: relative;
    padding: 0 10px;
}

.testimonial-text::before {
    content: '"';
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.3;
    position: absolute;
    top: -20px;
    right: -10px;
}

.testimonial-rating {
    text-align: center;
    margin: 20px 0;
    font-size: 1.2rem;
}

.testimonial-rating i {
    color: #ffc107;
    margin: 0 2px;
    transition: transform 0.3s ease;
}

.testimonial-card:hover .testimonial-rating i {
    transform: scale(1.1);
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
}

.author-image {
    flex-shrink: 0;
}

.author-image img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.testimonial-card:hover .author-image img {
    transform: scale(1.05);
    border-color: var(--secondary-color);
}

.author-placeholder {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #0d3a6b);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    border: 3px solid var(--primary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.testimonial-card:hover .author-placeholder {
    transform: scale(1.05);
    background: linear-gradient(135deg, var(--secondary-color), #e67e22);
}

.author-info {
    text-align: right;
}

.author-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.author-position {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 2px;
}

.author-company {
    font-size: 0.9rem;
    color: #999;
    font-weight: 600;
}

/* Swiper Navigation Buttons */
.testimonial-nav {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.testimonial-nav::after {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
}

.testimonial-nav:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

.testimonial-nav:hover::after {
    color: white;
}

.swiper-button-next.testimonial-nav {
    left: 10px;
}

.swiper-button-prev.testimonial-nav {
    right: 10px;
}

/* Swiper Pagination */
.testimonials-swiper .swiper-pagination {
    bottom: 20px;
}

.testimonials-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    opacity: 0.3;
    transition: all 0.3s ease;
}

.testimonials-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    width: 30px;
    border-radius: 6px;
    background: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .testimonials-swiper {
        padding: 20px 10px 60px;
    }

    .testimonial-card {
        padding: 30px 20px;
        min-height: 350px;
    }

    .testimonial-text {
        font-size: 1rem;
    }

    .author-image img,
    .author-placeholder {
        width: 60px;
        height: 60px;
    }

    .author-name {
        font-size: 1.1rem;
    }

    .testimonial-nav {
        width: 40px;
        height: 40px;
    }

    .testimonial-nav::after {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .testimonials-section {
        padding: 60px 0;
    }

    .testimonial-card {
        min-height: 320px;
    }

    .quote-icon {
        font-size: 40px;
    }
}

/* ===================================
   Partners Section Styles
   =================================== */

.partners-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

@keyframes gradientMove {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.partners-slider-wrapper {
    position: relative;
    padding: 40px 0;
}

.partners-swiper {
    padding: 20px 60px 80px;
}

/* Partner Card with 3D Flip Effect */
.partner-card {
    perspective: 1000px;
    height: 350px;
    cursor: pointer;
}

.partner-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.partner-card:hover .partner-card-inner {
    transform: rotateY(180deg);
}

.partner-card-front,
.partner-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
}

.partner-card-front {
    background: white;
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
}

.partner-card:hover .partner-card-front {
    box-shadow: 0 15px 50px rgba(26, 84, 144, 0.15);
}

.partner-card-back {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0d3a6b 100%);
    color: white;
    transform: rotateY(180deg);
}

/* Logo Container */
.partner-logo-container {
    width: 160px;
    height: 160px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 50%;
    padding: 25px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.partner-logo-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(26, 84, 144, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.partner-card:hover .partner-logo-container::before {
    animation: shine 1.5s ease-in-out;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.partner-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(80%);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.partner-card:hover .partner-logo {
    filter: grayscale(0%) brightness(1.1);
    transform: scale(1.1);
}

.partner-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 3.5rem;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.partner-card:hover .partner-placeholder {
    transform: scale(1.2) rotate(10deg);
    color: var(--secondary-color);
}

/* Partner Info */
.partner-info {
    text-align: center;
    flex: 1;
}

.partner-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.partner-card:hover .partner-name {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.partner-description {
    font-size: 0.95rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Hover Indicator */
.partner-hover-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 15px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.partner-card:hover .partner-hover-indicator {
    opacity: 1;
    transform: translateY(0);
}

.partner-hover-indicator i {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Back Side Content */
.partner-details {
    text-align: center;
    width: 100%;
}

.partner-name-back {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.partner-description-full {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
    margin-bottom: 25px;
}

.partner-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: white;
    background: rgba(255, 255, 255, 0.2);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 30px;
    border: 2px solid white;
    border-radius: 30px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.partner-link:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Swiper Navigation for Partners */
.partners-nav {
    width: 55px;
    height: 55px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

.partners-nav::after {
    font-size: 22px;
    font-weight: bold;
    color: var(--primary-color);
}

.partners-nav:hover {
    background: var(--primary-color);
    transform: scale(1.15);
    box-shadow: 0 8px 25px rgba(26, 84, 144, 0.3);
}

.partners-nav:hover::after {
    color: white;
}

.swiper-button-next.partners-nav {
    left: 10px;
}

.swiper-button-prev.partners-nav {
    right: 10px;
}

/* Swiper Pagination for Partners */
.partners-pagination {
    bottom: 30px !important;
}

.partners-pagination .swiper-pagination-bullet {
    width: 14px;
    height: 14px;
    background: var(--primary-color);
    opacity: 0.3;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.partners-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    width: 40px;
    border-radius: 7px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-color: var(--primary-color);
}

/* Empty State */
.empty-state {
    padding: 80px 20px;
    text-align: center;
}

.empty-state i {
    opacity: 0.2;
    animation: float 3s ease-in-out infinite;
}

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

.empty-state p {
    font-size: 1.1rem;
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .partners-swiper {
        padding: 20px 10px 70px;
    }

    .partner-card {
        height: 320px;
    }

    /* Enable click to flip on mobile */
    .partner-card-inner {
        transition: transform 0.6s;
    }

    .partner-logo-container {
        width: 130px;
        height: 130px;
    }

    .partner-name {
        font-size: 1.15rem;
    }

    .partner-description {
        font-size: 0.9rem;
    }

    .partners-nav {
        width: 45px;
        height: 45px;
    }

    .partners-nav::after {
        font-size: 18px;
    }

    /* Show hover indicator on mobile */
    .partner-hover-indicator {
        opacity: 0.7;
        transform: translateY(0);
    }
}

@media (max-width: 576px) {
    .partners-section {
        padding: 60px 0;
    }

    .partner-card {
        height: 300px;
    }

    .partner-card-front,
    .partner-card-back {
        padding: 20px;
    }

    .partner-logo-container {
        width: 110px;
        height: 110px;
    }

    .partner-name {
        font-size: 1.1rem;
    }

    .partner-name-back {
        font-size: 1.2rem;
    }

    .partner-description-full {
        font-size: 0.9rem;
    }

    .partner-link {
        font-size: 0.85rem;
        padding: 10px 20px;
    }

    /* Adjust navigation buttons for small screens */
    .swiper-button-next.partners-nav {
        left: 5px;
    }

    .swiper-button-prev.partners-nav {
        right: 5px;
    }
}


/* ===================================
   Partners Section Styles
   =================================== */
.partners-section {
    padding: 80px 0;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.partners-slider-wrapper {
    position: relative;
    padding: 20px 0;
}

.partners-swiper {
    padding: 40px 60px;
}

.partner-card {
    background: transparent;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.partner-card:hover {
    transform: translateY(-10px) scale(1.05);
}

.partner-logo-container {
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    padding: 20px;
    background: transparent;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.partner-card:hover .partner-logo-container {
    background: transparent;
    transform: scale(1.1);
}

.partner-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(0%) brightness(1);
    transition: all 0.4s ease;
}

.partner-card:hover .partner-logo {
    filter: grayscale(0%) brightness(1.1);
    transform: scale(1.1);
}

.partner-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #cbd5e1;
    transition: all 0.3s ease;
}

.partner-card:hover .partner-placeholder {
    color: #3b82f6;
    transform: scale(1.1);
}

.partner-info {
    margin-top: 10px;
}

.partner-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.partner-card:hover .partner-name {
    color: #3b82f6;
    transform: translateY(-2px);
}

.partner-description {
    font-size: 0.95rem;
    color: #475569;
    margin-bottom: 15px;
    line-height: 1.6;
    font-weight: 500;
}

.partner-link {
    display: inline-flex;
    align-items: center;
    color: #3b82f6;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border-radius: 10px;
    background: transparent;
    border: 2px solid #3b82f6;
}

.partner-link:hover {
    background: #3b82f6;
    color: white;
    transform: translateX(-5px);
}

/* Navigation Buttons */
.partner-nav {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.partner-nav::after {
    font-size: 20px;
    font-weight: bold;
    color: #1e3a8a;
}

.partner-nav:hover {
    background: #1e3a8a;
    transform: scale(1.1);
}

.partner-nav:hover::after {
    color: white;
}

.swiper-button-next.partner-nav {
    left: 10px;
}

.swiper-button-prev.partner-nav {
    right: 10px;
}

/* Pagination */
.partner-pagination {
    margin-top: 30px;
}

.partner-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #cbd5e1;
    opacity: 1;
    transition: all 0.3s ease;
}

.partner-pagination .swiper-pagination-bullet-active {
    background: #1e3a8a;
    width: 30px;
    border-radius: 6px;
}

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

    .partners-swiper {
        padding: 30px 50px;
    }

    .partner-card {
        padding: 30px 20px;
    }

    .partner-logo-container {
        width: 140px;
        height: 140px;
    }

    .partner-name {
        font-size: 1.1rem;
    }

    .partner-description {
        font-size: 0.9rem;
    }

    .partner-nav {
        width: 40px;
        height: 40px;
    }

    .partner-nav::after {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .partners-swiper {
        padding: 20px 40px;
    }

    .partner-logo-container {
        width: 120px;
        height: 120px;
    }

    .partner-nav {
        width: 35px;
        height: 35px;
    }

    .partner-nav::after {
        font-size: 14px;
    }
}

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

.partner-card {
    animation: fadeInUp 0.6s ease-out;
}
