:root {
    --primary-color: #00acb5;
    --secondary-color: #333;
    --text-light: #fff;
    --bg-light: #fff;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Top Bar Styles */
.top-bar {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 8px 0;
    font-size: 14px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1030;
    transition: transform 0.4s ease;
    transform: translateY(0);
}

.top-bar.hidden {
    transform: translateY(-100%);
}

.email-link {
    color: var(--text-light);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    padding: 5px 15px;
    border-radius: 25px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
}

.email-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.email-link i {
    margin-right: 8px;
    font-size: 12px;
}


/* Navbar Styles */
.navbar {
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 40px;
    z-index: 1020;
    transition: all 0.4s ease;
    background: var(--bg-light) !important;
    transform: translateY(0);
}

.navbar.sticky {
    position: fixed;
    top: 0;
    transform: translateY(0);
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

.navbar.hidden {
    transform: translateY(-100%);
}

.brand-text {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
}

.navbar-nav .nav-link {
    color: var(--secondary-color);
    font-weight: 500;
    margin: 0 15px;
    padding: 8px 0;
    transition: color 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

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

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

/* Hero Section Styles */
.hero-section {
    position: relative;
    overflow: hidden;
    margin-top: 90px;
}

.carousel-item {
    height: calc(100vh - 90px);
    min-height: 600px;
}

.hero-slide {
    position: relative;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Updated Gradient Overlay - Only on left side */
.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg, 
        rgba(0, 172, 181, 0.85) 0%, 
        rgba(0, 172, 181, 0.7) 30%, 
        rgba(0, 172, 181, 0.4) 50%, 
        rgba(0, 172, 181, 0.1) 70%, 
        rgba(255, 255, 255, 0) 100%
    );
    z-index: 1;
}

.hero-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg, 
        rgba(0, 0, 0, 0.3) 0%, 
        rgba(0, 0, 0, 0.2) 30%, 
        rgba(0, 0, 0, 0.1) 50%, 
        rgba(0, 0, 0, 0.05) 70%, 
        transparent 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--text-light);
    padding: 100px 0 100px 50px;
}

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

.hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 500px;
    opacity: 0.9;
}

.hero-btn {
    background: linear-gradient(45deg, var(--primary-color), #008a94);
    border: none;
    padding: 12px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 172, 181, 0.3);
    color: var(--text-light);
    text-decoration: none;
    display: inline-block;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 172, 181, 0.4);
    background: linear-gradient(45deg, #008a94, var(--primary-color));
    color: var(--text-light);
}

/* Background Images for Slides */
.slide-1 {
    background-image: url('https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2050&q=80');
    background-position: center right;
    background-size: cover;
}

.slide-2 {
    background-image: url('https://images.unsplash.com/photo-1551076805-e1869033e561?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2032&q=80');
    background-position: center right;
    background-size: cover;
}
.slide-3 {
    background-image: url('https://images.unsplash.com/photo-1586773860418-d37222d8fce3?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-position: center right;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 20px;
    backdrop-filter: blur(10px);
    z-index: 3;
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.3);
}

.carousel-indicators {
    bottom: 30px;
    z-index: 3;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 8px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid transparent;
}

.carousel-indicators button.active {
    background-color: var(--text-light);
    border-color: var(--text-light);
}

/* About Section Styles */
.about-section {
    padding: 100px 0;
    background: #f8f9fa;
    position: relative;
    z-index: 1;
}

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

/* Fix for About Us and International Collaboration titles */
.about-content .section-title::after,
.partnership-content .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
    transform: none;
}

/* Center aligned titles for focus section */
.focus-section .section-title::after,
.legal-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 1.5rem;
}

.info-box {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 10px 0;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 30px;
    margin-right: 15px;
}

.info-item span {
    color: var(--secondary-color);
    font-weight: 500;
}

.about-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
    transition: transform 0.3s ease;
}

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

/* Partnership Section Styles */
.partnership-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.partnership-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    opacity: 0.05;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.partnership-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: var(--primary-color);
    opacity: 0.03;
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

.partnership-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 1.5rem;
}

.partnership-text strong {
    color: var(--primary-color);
    font-weight: 600;
}

.collaboration-features {
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 15px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInRight 0.6s ease forwards;
}

.feature-item:nth-child(1) { animation-delay: 0.2s; }
.feature-item:nth-child(2) { animation-delay: 0.4s; }
.feature-item:nth-child(3) { animation-delay: 0.6s; }

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
    width: 40px;
    margin-right: 15px;
}

.feature-item span {
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 1rem;
}

/* Partnership Visual Styles */
.partnership-visual {
    text-align: center;
    position: relative;
}

.flags-animation {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem;
    gap: 30px;
}

/* Germany Flag */
.flag {
    width: 80px;
    height: 160px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    animation: float 3s ease-in-out infinite;
}

.germany-flag {
    animation-delay: 0s;
}

.germany-flag .flag-black,
.germany-flag .flag-red,
.germany-flag .flag-gold {
    height: 33.33%;
}

.germany-flag .flag-black { background: #000000; }
.germany-flag .flag-red { background: #DD0000; }
.germany-flag .flag-gold { background: #FFCE00; }

/* India Flag */
.india-flag {
    animation-delay: 0.5s;
}

.india-flag .flag-saffron,
.india-flag .flag-white,
.india-flag .flag-green {
    height: 33.33%;
    position: relative;
}

.india-flag .flag-saffron { background: #FF9933; }
.india-flag .flag-white { background: #FFFFFF; }
.india-flag .flag-green { background: #138808; }

.ashoka-chakra {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid #000080;
    border-radius: 50%;
}

.ashoka-chakra::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    border: 1px solid #000080;
    border-radius: 50%;
}

/* Handshake Icon */
.handshake-icon {
    font-size: 3rem;
    color: var(--primary-color);
    animation: shake 2s ease-in-out infinite;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Partnership Stats */
.partnership-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.stat-item:nth-child(1) { animation-delay: 0.8s; }
.stat-item:nth-child(2) { animation-delay: 1s; }
.stat-item:nth-child(3) { animation-delay: 1.2s; }

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

.stat-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

/* Focus Section Styles */
.focus-section {
    padding: 100px 0;
    background: white;
    position: relative;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Focus Cards - Clean Design */
.focus-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    height: 100%;
    border: 2px solid #f8f9fa;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    opacity: 0;
    transform: translateY(30px);
}

.focus-card.animated {
    animation: fadeInUp 0.6s ease forwards;
}

.focus-card:nth-child(1) { animation-delay: 0.1s; }
.focus-card:nth-child(2) { animation-delay: 0.2s; }
.focus-card:nth-child(3) { animation-delay: 0.3s; }
.focus-card:nth-child(4) { animation-delay: 0.4s; }

.focus-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(0, 172, 181, 0.15);
}

.focus-icon {
    margin-bottom: 1.5rem;
}

.focus-icon i {
    font-size: 3rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.focus-card:hover .focus-icon i {
    transform: scale(1.1);
    color: #008a94;
}

.focus-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    line-height: 1.4;
    position: relative;
    padding-bottom: 1rem;
}

.focus-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.focus-card:hover .focus-title::after {
    width: 80px;
}

.focus-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.focus-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.feature-tag {
    background: rgba(0, 172, 181, 0.1);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.focus-card:hover .feature-tag {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Legal Section Styles */
.legal-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.legal-section::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 200px;
    height: 200px;
    background: var(--primary-color);
    opacity: 0.05;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.legal-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    opacity: 0.03;
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

.legal-content {
    text-align: center;
}

.legal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.legal-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    opacity: 0;
    transform: translateY(30px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 250px;
}

.legal-card.animated {
    animation: fadeInUp 0.6s ease forwards;
}

.legal-card:nth-child(1) { animation-delay: 0.1s; }
.legal-card:nth-child(2) { animation-delay: 0.2s; }
.legal-card:nth-child(3) { animation-delay: 0.3s; }
.legal-card:nth-child(4) { animation-delay: 0.4s; }
.legal-card:nth-child(5) { animation-delay: 0.5s; }
.legal-card:nth-child(6) { animation-delay: 0.6s; }

.legal-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(0, 172, 181, 0.15);
}

.legal-icon {
    margin-bottom: 1.5rem;
}

.legal-icon i {
    font-size: 3rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.legal-card:hover .legal-icon i {
    transform: scale(1.1);
    color: #008a94;
}

.legal-info h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.legal-info p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.legal-detail {
    font-size: 0.9rem !important;
    color: #888 !important;
    font-style: italic;
}

/* Center aligned titles for legal section */
.legal-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Responsive Design for Legal Section */
@media (max-width: 768px) {
    .legal-section {
        padding: 60px 0;
    }
    
    .legal-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .legal-card {
        padding: 2rem 1.5rem;
        min-height: 200px;
    }
}

@media (max-width: 576px) {
    .legal-card {
        padding: 1.5rem 1rem;
        min-height: 180px;
    }
    
    .legal-info h3 {
        font-size: 1.2rem;
    }
    
    .legal-icon i {
        font-size: 2.5rem;
    }
}

/* Footer Styles */
.footer-section {
    background: var(--secondary-color);
    color: var(--text-light);
    padding: 50px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    opacity: 0.05;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.footer-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.footer-logo {
    margin-bottom: 2rem;
}

.footer-logo .brand-text {
    font-size: 2rem;
    color: var(--text-light);
}

.footer-links {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

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

.footer-link:hover {
    color: var(--primary-color);
}

.footer-link:hover::after {
    width: 100%;
}

.footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.footer-copyright p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes shake {
    0%, 100% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(-5deg) scale(1.1); }
    75% { transform: rotate(5deg) scale(1.1); }
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .top-bar {
        position: relative;
    }
    
    .navbar {
        position: relative;
        top: 0;
    }
    
    .navbar.sticky,
    .navbar.hidden {
        position: fixed;
        top: 0;
    }
    
    .hero-section {
        margin-top: 0;
    }
    
    .carousel-item {
        height: 80vh;
        min-height: 500px;
    }
    
    .hero-content {
        padding: 60px 20px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-slide::before {
        background: linear-gradient(
            135deg, 
            rgba(0, 172, 181, 0.7) 0%, 
            rgba(0, 172, 181, 0.4) 50%, 
            rgba(255, 255, 255, 0.1) 100%
        );
    }
    
    .about-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .about-content {
        text-align: center;
        margin-bottom: 3rem;
    }
    
    .info-item {
        justify-content: center;
    }
    
    .info-box {
        padding: 20px;
    }
    
    .partnership-section {
        padding: 60px 0;
    }
    
    .flags-animation {
        gap: 20px;
    }
    
    .flag {
        width: 60px;
        height: 120px;
    }
    
    .handshake-icon {
        font-size: 2rem;
    }
    
    .partnership-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .feature-item {
        text-align: left;
    }
    
    .focus-section {
        padding: 60px 0;
    }
    
    .focus-card {
        padding: 2rem 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .focus-icon i {
        font-size: 2.5rem;
    }
    
    .legal-section {
        padding: 60px 0;
    }
    
    .legal-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .legal-card {
        padding: 2rem 1.5rem;
    }
    
    .footer-logo .brand-text {
        font-size: 1.5rem;
    }
    
    .footer-links {
        gap: 20px;
    }
    

    
    .email-link {
        padding: 4px 12px;
        font-size: 13px;
    }
    
    .brand-text {
        font-size: 20px;
    }
    
    .navbar-nav .nav-link {
        margin: 5px 0;
        text-align: center;
    }
    
    /* Fix for mobile alignment */
    .about-content .section-title::after,
    .partnership-content .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
        margin: 0 10px;
    }
    
    .carousel-item {
        height: 70vh;
        min-height: 400px;
    }
    
    .hero-btn {
        padding: 10px 25px;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .about-text {
        font-size: 1rem;
    }
    
    .info-item {
        flex-direction: column;
        text-align: center;
    }
    
    .info-item i {
        margin-right: 0;
        margin-bottom: 8px;
    }
    
    .flags-animation {
        gap: 15px;
    }
    
    .flag {
        width: 50px;
        height: 100px;
    }
    
    .handshake-icon {
        font-size: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .focus-card {
        padding: 1.5rem 1rem;
    }
    
    .focus-title {
        font-size: 1.2rem;
    }
    
    .focus-description {
        font-size: 0.9rem;
    }
    
    .feature-tag {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
    
    .feature-item {
        padding: 10px;
    }
    
    .feature-item i {
        font-size: 1.2rem;
        width: 30px;
    }
    
    .feature-item span {
        font-size: 0.9rem;
    }
    
    .legal-card {
        padding: 1.5rem 1rem;
    }
    
    .legal-info h3 {
        font-size: 1.2rem;
    }
    
    .footer-logo .brand-text {
        font-size: 1.3rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}



/* Language Switcher Styles */
.language-switcher {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 4px;
    margin-right: 15px;
}

.language-btn {
    background: transparent;
    border: none;
    color: var(--text-light);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-btn.active {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.language-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.1);
}

/* Responsive Design for Language Switcher */
@media (max-width: 768px) {
    .language-switcher {
        margin-right: 10px;
        margin-bottom: 10px;
    }
    
    .language-btn {
        padding: 5px 12px;
        font-size: 11px;
    }
}

@media (max-width: 576px) {
    .col-md-6.text-md-end {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }
    
    .language-switcher {
        margin-bottom: 10px;
        order: -1;
    }
    
}

/* ============================================= */
/* GERMAN NAVIGATION TEXT FIXES - ADD TO BOTTOM */
/* ============================================= */

/* Navigation Text Fixes for German */
.navbar-nav .nav-link {
    white-space: nowrap; /* Prevent text wrapping */
}

/* German language specific navigation adjustments */
html[lang="de"] .navbar-nav .nav-link {
    font-size: 0.9rem; /* Slightly smaller font for German */
    margin: 0 8px; /* Reduced margin */
}

/* Specific fix for German navigation items */
html[lang="de"] .nav-link[data-i18n="nav.about"] {
    font-size: 0.88rem; /* Specific adjustment for "Über uns" */
}

html[lang="de"] .nav-link[data-i18n="nav.focus"] {
    font-size: 0.85rem; /* Specific adjustment for "Schwerpunkte" */
}

/* Medium screens adjustment for German */
@media (max-width: 1200px) {
    html[lang="de"] .navbar-nav .nav-link {
        font-size: 0.85rem;
        margin: 0 6px;
    }
}

/* Mobile menu - reset adjustments */
@media (max-width: 991px) {
    .navbar-nav .nav-link {
        white-space: normal; /* Allow wrapping in mobile menu */
        text-align: center;
        margin: 5px 0;
        font-size: 1rem; /* Reset font size for mobile */
    }
    
    html[lang="de"] .navbar-nav .nav-link {
        font-size: 0.95rem; /* Slightly smaller for German mobile */
    }
}

/* Brand text adjustment for better balance with German navigation */
html[lang="de"] .brand-text {
    font-size: 20px; /* Slightly smaller brand text for German */
}

@media (max-width: 1200px) {
    html[lang="de"] .brand-text {
        font-size: 18px; /* Even smaller on medium screens */
    }
}

/* Language switcher adjustments for German */
html[lang="de"] .language-switcher {
    margin-right: 10px; /* Reduced margin for German */
}




/* ============================================= */
/* GERMAN LANGUAGE SPECIFIC CARD FIXES */
/* ============================================= */

/* German language card adjustments */
html[lang="de"] .focus-card {
    min-height: 380px; /* Increased height for German cards */
    padding: 2rem 1.5rem; /* Adjusted padding */
}

html[lang="de"] .focus-title {
    font-size: 1.1rem; /* Smaller font for titles */
    line-height: 1.3;
    margin-bottom: 0.8rem;
}

html[lang="de"] .focus-description {
    font-size: 0.9rem; /* Smaller font for descriptions */
    line-height: 1.5;
    margin-bottom: 1.2rem;
}

html[lang="de"] .focus-features {
    gap: 6px; /* Reduced gap between tags */
}

html[lang="de"] .feature-tag {
    font-size: 0.75rem; /* Smaller tag font */
    padding: 6px 12px;
    white-space: nowrap; /* Prevent tag text wrapping */
}

/* Specific adjustments for longer German titles */
html[lang="de"] .focus-card:nth-child(1) .focus-title,
html[lang="de"] .focus-card:nth-child(3) .focus-title {
    font-size: 1.05rem; /* Even smaller for the longest titles */
}

/* Mobile adjustments for German */
@media (max-width: 768px) {
    html[lang="de"] .focus-card {
        min-height: 340px;
        padding: 1.5rem 1rem;
    }
    
    html[lang="de"] .focus-title {
        font-size: 1rem;
    }
    
    html[lang="de"] .focus-description {
        font-size: 0.85rem;
    }
    
    html[lang="de"] .feature-tag {
        font-size: 0.7rem;
        padding: 5px 10px;
    }
}

/* Small mobile adjustments */
@media (max-width: 576px) {
    html[lang="de"] .focus-card {
        min-height: 320px;
        padding: 1.2rem 0.8rem;
    }
    
    html[lang="de"] .focus-title {
        font-size: 0.95rem;
    }
    
    html[lang="de"] .focus-description {
        font-size: 0.8rem;
    }
    
    html[lang="de"] .feature-tag {
        font-size: 0.65rem;
        padding: 4px 8px;
    }
}

/* Ensure consistent card heights in row */
.focus-section .row {
    align-items: stretch;
}

.focus-card {
    display: flex;
    flex-direction: column;
}

.focus-description {
    flex: 1; /* Allow description to take available space */
}

/* Partnership section German adjustments */
html[lang="de"] .feature-item span {
    font-size: 0.9rem; /* Smaller font for partnership features */
}

/* Legal section German adjustments */
html[lang="de"] .legal-info h3 {
    font-size: 1.1rem; /* Smaller legal card titles */
}

html[lang="de"] .legal-info p {
    font-size: 0.9rem; /* Smaller legal card text */
}

/* Hero section German adjustments */
html[lang="de"] .hero-title {
    font-size: 3rem; /* Slightly smaller hero titles */
}

@media (max-width: 768px) {
    html[lang="de"] .hero-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 576px) {
    html[lang="de"] .hero-title {
        font-size: 1.8rem;
    }
}