/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Update existing variables and add new ones */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #0ea5e9;
    --gradient-start: rgba(37, 99, 235, 0.95);
    --gradient-end: rgba(14, 165, 233, 0.9);
    --dark-bg: #1e293b;
    --card-bg: rgba(37, 99, 235, 0.1);
    --text-light: #e2e8f0;
    --white: #ffffff;
    --success-color: #10b981;
    --warning-color: #f59e0b;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background-color: var(--background-light);
    color: var(--text-dark);
}

/* Navbar styles */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1400px;
    background-color: rgba(255, 255, 255, 0.1);  /* Very light translucent background */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 1rem 2rem;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar.nav-hidden {
    transform: translate(-50%, -150%);
}

.navbar.nav-scrolled {
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.navbar-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}

.logo {
    padding: 0.5rem;
}

.logo img {
    height: 40px;
    filter: brightness(1.1);
    transition: all 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
    filter: brightness(1.2);
}

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

.nav-links a {
    display: flex;
    align-items: center;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--white);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
}

.nav-links a:not(.cta-button-nav):hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.nav-links a.active {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
}

.cta-button-nav {
    background: rgba(255, 255, 255, 0.15);
    padding: 0.8rem 1.5rem !important;
    border-radius: 50px !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-button-nav i {
    margin-left: 0.5rem;
}

.cta-button-nav:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Hero section */
.hero {
    padding: 10rem 2rem 4rem;
    text-align: center;
    position: relative;
    color: white;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('sources/OIP.jpeg');
    background-size: cover;
    background-position: center;
    opacity: 0.15; /* Adjust this value to control the blend intensity */
    z-index: 1;
}
.hero-germany-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('sources/Germany.jpeg');
    background-size: cover;
    background-position: center;
    opacity: 0.15; /* Adjust this value to control the blend intensity */
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.95), rgba(14, 165, 233, 0.9));
    z-index: 0;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.4rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.3s forwards;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* CTA Button */
.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: var(--white);
    text-decoration: none;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary-color));
}

/* Services section */
.services {
    padding: 4rem 2rem;
    background-color: var(--dark-bg);
    color: var(--white);
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
}

/* Stats section */
.stats {
    background: var(--dark-bg);
    border-radius: 20px;
    padding: 4rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin: 4rem auto;
    color: var(--white);
}

.stat-item h3 {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

/* Footer styles */
.footer {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    color: white;
    padding: 4rem 2rem 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-info h4,
.footer-social h4 {
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

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

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

/* Glass Morphism for Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .navbar {
        top: 10px;
        width: 95%;
        padding: 0.8rem;
    }

    .navbar-content {
        padding: 0;
    }

    .logo img {
        height: 32px;
    }

    .nav-links {
        position: fixed;
        top: -100%;
        left: 0;
        width: 100%;
        height: auto;
        flex-direction: column;
        background: rgba(30, 41, 59, 0.98);
        backdrop-filter: blur(10px);
        padding: 1rem;
        gap: 0.5rem;
        transition: top 0.3s ease;
        z-index: -1;
    }

    .nav-links.active {
        top: 0;
    }

    .nav-links a {
        width: 100%;
        padding: 1rem;
        text-align: center;
        border-radius: 8px;
    }

    .cta-button-nav {
        margin: 0.5rem 0;
    }

    /* Mobile Menu Button */
    .menu-btn {
        display: block;
        background: none;
        border: none;
        color: var(--white);
        font-size: 1.5rem;
        cursor: pointer;
        z-index: 100;
    }
}

/* Responsive Hero Section */
@media (max-width: 768px) {
    .hero {
        padding: 8rem 1rem 3rem;
        min-height: 70vh;
    }

    .hero h1 {
        font-size: 2.5rem;
        padding: 0 1rem;
    }

    .hero p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
}

/* Responsive Services Section */
@media (max-width: 768px) {
    .services {
        padding: 3rem 1rem;
    }

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

    .service-card {
        padding: 1.8rem;
    }

    .services-detailed .service-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .service-content {
        padding: 1rem 0;
    }
}

/* Responsive Destinations Section */
@media (max-width: 768px) {
    .destinations-grid {
        padding: 2rem 1rem;
    }

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

    .destination-image {
        height: 200px;
    }

    .destination-content {
        padding: 1.5rem;
    }

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

/* Responsive Success Stories Section */
@media (max-width: 768px) {
    .story-container {
        grid-template-columns: 1fr;
    }

    .story-image {
        height: 250px;
    }

    .story-content {
        padding: 1.5rem;
    }

    .success-stories-grid {
        grid-template-columns: 1fr;
        padding: 2rem 1rem;
    }

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

/* General Mobile Optimizations */
@media (max-width: 768px) {
    .page-hero {
        padding: 8rem 1rem 4rem;
    }

    .page-hero h1 {
        font-size: 2.2rem;
    }

    .page-hero p {
        font-size: 1rem;
    }

    .footer {
        padding: 2rem 1rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

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

    button {
        width: 100%;
    }
}

/* Touch Device Optimizations */
@media (hover: none) {
    .nav-links a:hover {
        transform: none;
    }

    .service-card:hover {
        transform: none;
    }

    .cta-button:hover {
        transform: none;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    body {
        background-color: var(--dark-bg);
        color: var(--white);
    }

    .navbar {
        background-color: rgba(0, 0, 0, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navbar.nav-scrolled {
        background-color: rgba(0, 0, 0, 0.3);
    }

    .service-card {
        background: var(--card-bg);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .stats {
        background: var(--dark-bg);
    }

    .nav-links a {
        color: var(--white);
    }

    .glass-card {
        background: rgba(30, 30, 30, 0.7);
    }

    :root {
        --background-light: var(--dark-bg);
        --text-dark: #f8fafc;
        --text-light: var(--text-light);
    }
}

/* Enhanced Hero Section */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.secondary-button {
    padding: 1.2rem 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid var(--white);
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.secondary-button:hover {
    background: var(--white);
    color: var(--primary-color);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 3rem;
}

.stat-bubble {
    background: linear-gradient(135deg, 
        rgba(37, 99, 235, 0.2), 
        rgba(14, 165, 233, 0.2)
    );
    padding: 1rem 2rem;
    border-radius: 20px;
    text-align: center;
}

.stat-bubble span {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
}

/* Enhanced Service Cards */
.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
}

.learn-more {
    color: var(--secondary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    margin-top: auto;
    transition: gap 0.3s ease;
}

.learn-more:hover {
    gap: 1rem;
}

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

.stat-bubble {
    animation: float 3s ease-in-out infinite;
}

.service-icon {
    animation: float 3s ease-in-out infinite;
}

/* Page Hero Styles */
.page-hero {
    padding: 10rem 2rem 4rem;
    text-align: center;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end)),
                url('sources/services-bg.jpg') center/cover;
    color: var(--white);
    min-height: 40vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('sources/OIP.jpeg');
    background-size: cover;
    background-position: center;
    opacity: 0.15; /* Adjust this value to control the blend intensity */
    z-index: 1;
}
.hero-germany-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('sources/Germany.jpeg');
    background-size: cover;
    background-position: center;
    opacity: 0.15; /* Adjust this value to control the blend intensity */
    z-index: 1;
}

.page-hero h1,
.page-hero p {
    position: relative;
    z-index: 2;
}

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

.page-hero p {
    font-size: 1.2rem;
    max-width: 600px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

/* Detailed Services Styles */
.services-detailed {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    padding: 2rem;
    margin-bottom: 2rem;
    background: var(--card-bg);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-content h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-content ul {
    list-style: none;
    margin: 1rem 0;
}

.service-content ul li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

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

/* Why Choose Us Section */
.why-choose-us {
    background: var(--dark-bg);
    padding: 4rem 2rem;
    text-align: center;
    color: var(--white);
}

.why-choose-us h2 {
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.feature-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Destinations Grid */
.destinations-grid {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.destination-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.destination-card:hover {
    transform: translateY(-10px);
    background: linear-gradient(135deg, 
        rgba(37, 99, 235, 0.2), 
        rgba(14, 165, 233, 0.2)
    );
}

.destination-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.destination-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.destination-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(transparent, var(--dark-bg));
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.destination-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 2rem;
    flex: 1;
}

.destination-content h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.destination-features {
    list-style: none;
    margin: 1.5rem 0;
    flex-grow: 1;
}

.destination-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.destination-features i {
    color: var(--success-color);
}

/* Comparison Section */
.destination-comparison {
    background: var(--dark-bg);
    padding: 4rem 2rem;
    text-align: center;
    color: var(--white);
}

.destination-comparison h2 {
    margin-bottom: 3rem;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.comparison-item {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-item h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.comparison-data {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.country {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

.country:last-child {
    border-bottom: none;
}

/* Featured Success Story */
.featured-story {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.story-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.story-image {
    height: 100%;
    min-height: 450px;
    position: relative;
    background: var(--dark-bg);
    overflow: hidden;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    opacity: 0.9;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.story-container:hover .story-image img {
    transform: scale(1.05);
    opacity: 1;
}

.story-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.story-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: var(--white);
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.story-quote {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-light);
    margin: 1.5rem 0;
}

.achievement-list {
    display: flex;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.achievement-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    backdrop-filter: blur(5px);
}

.achievement-item i {
    color: var(--secondary-color);
}

/* Success Stories Grid */
.success-stories-grid {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.story-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.story-card:hover {
    transform: translateY(-10px);
}

.student-image {
    height: 300px;
    position: relative;
    background: var(--dark-bg);
    overflow: hidden;
}

.student-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    opacity: 0.9;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.story-card:hover .student-image img {
    transform: scale(1.25);
    opacity: 1;
}

.university-tag {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.story-details {
    padding: 1.8rem;
    background: rgba(37, 99, 235, 0.1);
}

.story-details h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.course {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.testimonial {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 1rem;
}

.story-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.story-stats span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Success Metrics */
.success-metrics {
    background: var(--dark-bg);
    padding: 4rem 2rem;
    text-align: center;
    color: var(--white);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto 0;
}

.metric-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

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

.metric-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.metric-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Story CTA Section */
.story-cta {
    padding: 6rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: var(--white);
}

.story-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.story-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .story-container {
        grid-template-columns: 1fr;
    }

    .story-image {
        min-height: 400px;
    }

    .story-content {
        padding: 2rem;
    }

    .achievement-list {
        flex-direction: column;
        gap: 1rem;
    }

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

    .student-image {
        height: 350px;
    }

    .story-image img {
        object-position: center 15%;
    }
}

/* Add image container for better control */
.image-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Page Transition Styles */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    z-index: 9999;
    transform: translateY(100%);
    pointer-events: none;
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

/* Page Content Fade Animation */
.fade-content {
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

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

@keyframes slideIn {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Add transition classes */
.transition-active {
    transform: translateY(0);
}

.transition-exit {
    transform: translateY(-100%);
}

/* Add smooth page content transitions */
main {
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.3s forwards;
}

section {
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

section:nth-child(2) {
    animation-delay: 0.2s;
}

section:nth-child(3) {
    animation-delay: 0.4s;
}

section:nth-child(4) {
    animation-delay: 0.6s;
}

/* Make sure these styles are present for mobile menu */
.menu-btn {
    display: none; /* Hidden by default, shown in mobile */
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 100;
}

@media (max-width: 768px) {
    .menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: -100%;
        left: 0;
        width: 100%;
        height: auto;
        flex-direction: column;
        background: rgba(30, 41, 59, 0.98);
        backdrop-filter: blur(10px);
        padding: 1rem;
        gap: 0.5rem;
        transition: top 0.3s ease;
        z-index: -1;
    }

    .nav-links.active {
        top: 0;
    }

    .nav-links a {
        width: 100%;
        padding: 1rem;
        text-align: center;
        border-radius: 8px;
    }
}

/* Programs Section Styles */
.programs-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.program-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.program-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.program-card ul {
    list-style: none;
    margin-top: 1rem;
}

.program-card ul li {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.program-card ul li:before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

/* Universities Section Styles */
.universities-section {
    background: var(--dark-bg);
    padding: 4rem 2rem;
    color: var(--white);
}

.universities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto 0;
}

.university-card {
    background: rgba(37, 99, 235, 0.1);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

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

.university-card h3, 
.university-card p {
    padding: 1rem;
    margin: 0;
}

.university-details {
    margin-top: 15px;
}

.university-details p {
    margin: 8px 0;
    font-size: 0.9rem;
}

.universities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
}

.engineering-programs {
    padding: 40px 20px;
    background: #f9f9f9;
}

.universities-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.university {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.university h3 {
    color: #333;
    margin-bottom: 15px;
}

.university p {
    margin: 8px 0;
    font-size: 0.9rem;
}

/* Update destination card styles */
.destination-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 2rem;
    flex: 1;
}

.button-container {
    margin-top: 1.5rem;
    text-align: center;
}

.destination-features {
    list-style: none;
    margin: 1.5rem 0;
    flex-grow: 1;
}

/* CTA Button styles */
.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: var(--white) !important; /* Force white text color */
    text-decoration: none;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary-color));
}

.info-section {
    padding: 60px 20px;
    background: rgba(30, 41, 59, 0.98);
}

.info-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #ffffff;
    font-size: 2.2rem;
}

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

.info-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

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

.info-icon {
    text-align: center;
    margin-bottom: 20px;
    color: #3498db;
}

.info-card h3 {
    text-align: center;
    color: #ffffff;
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.requirement-item, .visa-item, .work-item {
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 10px;
    background: var(--dark-bg);
}

.exam-name {
    font-weight: 600;
    color: #fbfbfb;
    display: block;
    margin-bottom: 10px;
}

.score-details p {
    margin: 5px 0;
    color: #fefefe;
}

.requirement-row, .work-row {
    display: flex;
    align-items: center;
    margin: 10px 0;
    gap: 15px;
}

.requirement-row i, .work-row i {
    color: #3498db;
    width: 20px;
}

.health-surcharge {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.work-during-study, .post-study-work {
    margin-bottom: 15px;
}

.work-during-study h4, .post-study-work h4 {
    color: #ffffff;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .info-card {
        padding: 20px;
    }
}
