/* Import EB Garamond from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500;1,600;1,700;1,800&display=swap');

/* Global Styles */
html, body {
    font-family: 'EB Garamond', 'Times New Roman', serif;
    color: white;
    margin: 0;
    padding: 0;
    height: 100vh; 
    width: 100vw;
    display: flex;
    flex-direction: column;
    background-image: url('website\ bg\ 5.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.index-page {
    background-image: url('website\ bg\ 4.png');
}
/* Make images responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Navbar - Enhanced with EB Garamond */
.navbar {
    font-family: 'EB Garamond', serif;
    font-size: 20px;
    padding: 15px 0;
    background: rgba(0, 0, 0, 0.7) !important;
    animation: fadeIn 2s ease-in-out;
    backdrop-filter: blur(8px);
    transition: all 0.5s ease-in-out;
    z-index: 1050;
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
}

.navbar:hover {
    background: rgba(20, 20, 20, 0.95) !important;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.2);
}

.navbar-brand {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards;
    color: #fafaf6 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
    text-shadow: 0 4px 8px rgba(255, 215, 0, 0.4);
}

.navbar-nav .nav-link {
    font-family: 'EB Garamond', serif;
    font-size: 20px;
    font-weight: 600;
    margin-right: 15px;
    transition: all 0.4s ease-in-out;
    color: #ffffff;
    position: relative;
    padding: 10px 20px;
    border-radius: 4px;
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards;
    animation-delay: 0.5s;
    letter-spacing: 0.5px;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 6px;
    left: 20px;
    background-color: #ffd700;
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::before {
    width: calc(100% - 40px);
}

.navbar-nav .nav-link:hover {
    color: #ffd700 !important;
    transform: translateY(-2px);
    background: rgba(255, 215, 0, 0.1);
}

.navbar-nav .nav-link.active {
    color: #ffd700 !important;
    font-weight: 700;
}

.navbar-nav .nav-link.active::before {
    width: calc(100% - 40px);
}

/* Navbar Toggle - Enhanced */
.navbar-toggler {
    border: none;
    transition: all 0.3s;
    padding: 8px 10px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(255, 215, 0, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler:hover {
    transform: rotate(90deg);
    background: rgba(255, 215, 0, 0.1);
}

/* Hero Section with EB Garamond */
.hero-section {
    font-family: 'EB Garamond', serif;
    text-align: center;
    flex: 1;
    padding-top: 100px;
    position: relative;
    z-index: 1;
}

.hero-section h2 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 1.5rem;
    font-weight: 500;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* Footer - Enhanced with EB Garamond */
footer {
    font-family: 'EB Garamond', serif;
    background: rgba(0, 0, 0, 0.7);
    padding: 30px 0;
    text-align: center;
    width: 100%;
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255, 215, 0, 0.3);
}

footer p {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.9);
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 20px 0;
}

.footer-link {
    color: white;
    font-weight: 600;
    margin: 0 15px;
    padding: 8px 15px;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
}

.footer-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 4px;
    left: 15px;
    background-color: #ffd700;
    transition: width 0.3s ease;
}

.footer-link:hover {
    color: #ffd700;
    transform: translateY(-2px);
}

.footer-link:hover::after {
    width: calc(100% - 30px);
}

.social-icons {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 20px;
    transition: all 0.3s ease;
    margin: 0 10px;
    text-decoration: none;
}

.social-icon:hover {
    background: #ffd700;
    color: #000;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

/* Button Styles - Enhanced */
.btn-gold {
    font-family: 'EB Garamond', serif;
    font-weight: 600;
    background: linear-gradient(145deg, #ffd700, #daa520);
    color: #000;
    border: none;
    padding: 12px 28px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 16px;
}

.btn-gold:hover {
    background: linear-gradient(145deg, #daa520, #ffd700);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    color: #000;
}

.btn-gold:active {
    transform: translateY(1px);
}

.btn-outline-gold {
    font-family: 'EB Garamond', serif;
    font-weight: 600;
    background: transparent;
    color: #ffd700;
    border: 2px solid #ffd700;
    padding: 10px 26px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 16px;
}

.btn-outline-gold:hover {
    background: rgba(255, 215, 0, 0.1);
    color: #ffd700;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
}

/* Dropdown Menu - Enhanced */
.dropdown-menu {
    font-family: 'EB Garamond', serif;
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid rgba(255, 215, 0, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 4px;
    padding: 10px 0;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.dropdown-item {
    color: white;
    font-weight: 600;
    padding: 10px 20px;
    transition: all 0.3s ease;
    position: relative;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    width: 0;
    height: 100%;
    left: 0;
    top: 0;
    background: rgba(255, 215, 0, 0.1);
    transition: width 0.3s ease;
    z-index: -1;
}

.dropdown-item:hover {
    color: #ffd700;
    background: transparent;
    padding-left: 25px;
}

.dropdown-item:hover::before {
    width: 100%;
}

.dropdown-divider {
    border-color: rgba(255, 215, 0, 0.1);
}

/* Slideshow - Enhanced */
.slideshow-container {
    position: relative;
    max-width: 1000px;
    margin: 40px auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.slide {
    display: none;
    width: 100%;
    transition: opacity 1s ease;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
}

.fade {
    animation: fadeEffect 1.5s ease-in-out;
}

@keyframes fadeEffect {
    from { opacity: 0.6; }
    to { opacity: 1; }
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(20, 20, 20, 0.7);
    color: #ffd700;
    font-size: 28px;
    border: none;
    padding: 15px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.prev { left: 20px; }
.next { right: 20px; }

.prev:hover, .next:hover {
    background-color: rgba(255, 215, 0, 0.9);
    color: #000;
    transform: translateY(-50%) scale(1.1);
}

/* Animations */
@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(-10px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
    0% { transform: translateY(50px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

/* ------------------- Responsive Media Queries ------------------- */

/* Mobile Devices (up to 767px) */
@media (max-width: 767px) {
    .navbar {
        font-size: 16px;
        padding: 10px 0;
    }

    .navbar-brand {
        font-size: 22px;
    }

    .navbar-nav .nav-link {
        font-size: 18px;
        margin-right: 0;
        padding: 8px 15px;
    }

    .hero-section {
        padding-top: 80px;
    }

    .hero-section h2 {
        font-size: 2.2rem;
    }

    .hero-section p {
        font-size: 1.1rem;
        padding: 0 15px;
    }

    .footer-links {
        flex-direction: column;
    }

    .footer-link {
        margin: 5px 0;
    }

    .btn-gold, .btn-outline-gold {
        padding: 10px 20px;
        font-size: 14px;
    }

    .dropdown-menu {
        background: rgba(10, 10, 10, 0.95);
    }
}

/* Tablets (768px to 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .navbar {
        font-size: 18px;
    }

    .navbar-brand {
        font-size: 24px;
    }

    .navbar-nav .nav-link {
        font-size: 18px;
        margin-right: 10px;
    }

    .hero-section h2 {
        font-size: 3rem;
    }

    .hero-section p {
        font-size: 1.3rem;
    }

    .slideshow-container {
        max-width: 90%;
    }
}

/* General Responsive Rules */
* {
    box-sizing: border-box;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

.container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100%;
}

.responsive-heading {
    font-weight: 700;
    font-size: 3.5rem;
    word-wrap: break-word;
    line-height: 1.2;
    padding: 0 10px;
}

@media (max-width: 767px) {
    .responsive-heading {
        font-size: 2rem;
    }
    
    html, body {
        background-attachment: scroll;
    }
}

/* Dropdown Submenu for Mobile */
@media (max-width: 991.98px) {
    .dropdown-submenu .dropdown-menu {
        left: 0;
        top: 100%;
        transform: none;
        width: 100%;
        margin-top: 0;
    }
    
    .dropdown-submenu .dropdown-toggle::after {
        transform: rotate(-90deg);
    }
}

 .internship-hero {
            background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
            background-size: cover;
            background-position: center;
            padding: 120px 0 80px;
        }
        
        .testimonial-card {
            background: rgba(20, 20, 20, 0.7);
            border-left: 4px solid #ffd700;
            padding: 30px;
            margin-bottom: 30px;
            border-radius: 4px;
            backdrop-filter: blur(8px);
            transition: all 0.4s ease;
        }
        
        .testimonial-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
            border-left: 4px solid transparent;
            background: linear-gradient(145deg, rgba(30, 30, 30, 0.8), rgba(20, 20, 20, 0.9));
        }
        
        .role-card {
            background: rgba(20, 20, 20, 0.6);
            border: 1px solid rgba(255, 215, 0, 0.2);
            padding: 25px;
            margin-bottom: 25px;
            border-radius: 4px;
            backdrop-filter: blur(5px);
            transition: all 0.3s ease;
        }
        
        .role-card:hover {
            background: rgba(30, 30, 30, 0.7);
            border-color: rgba(255, 215, 0, 0.4);
            transform: translateY(-3px);
        }
        
        .role-card i {
            color: #ffd700;
            font-size: 24px;
            margin-bottom: 15px;
        }
        
        .timeline {
            position: relative;
            padding-left: 30px;
        }
        
        .timeline::before {
            content: '';
            position: absolute;
            left: 10px;
            top: 0;
            bottom: 0;
            width: 2px;
            background: #ffd700;
        }
        
        .timeline-item {
            position: relative;
            margin-bottom: 15px;
            padding-left: 20px;
        }
        
        .timeline-item::before {
            content: '';
            position: absolute;
            left: -30px;
            top: 7px;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: #ffd700;
            border: 2px solid #1a1a1a;
        }
        
        .internship-sidebar {
            background: rgba(20, 20, 20, 0.7);
            border: 1px solid rgba(255, 215, 0, 0.2);
            border-radius: 4px;
            padding: 30px;
            backdrop-filter: blur(8px);
        }
        
        @media (max-width: 991.98px) {
            .internship-sidebar {
                margin-top: 40px;
            }
        }

        .dropdown-submenu {
    position: relative;
}