
/* Global Styles */

body, html {
    overflow-x: hidden;  /* This prevents horizontal scrolling */
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 5%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    overflow: hidden;
}

/* Logo Styles */
.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #1a5f7a;
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.logo:hover {
    color: #2980b9;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0 20px;
}

.nav-links a {
    color: #1a5f7a;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color:red;
    text-decoration:overline red;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #3498db;
    transition: all 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

@media (max-width: 1024px) {
    .logo {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .logo {
        font-size: 1.3rem;
    }
    nav {
        padding: 15px 3%;
    }
}

/* Mobile Navigation */
.hamburger {
    display: none;
    position: absolute
    cursor: pointer;
    z-index: 1100;
    padding: 5px;
    margin-left: 10px;
    margin-right: 5px;
}

.bar {
    display: block;
    width: 30px;
    height: 3px;
    margin: 5px auto;
    background-color: #1a5f7a;
    transition: all 0.3s ease-in-out;
}

@media screen and (max-width: 768px) {
    nav {
        padding: 15px 20px;
    }

    .logo {
        font-size: 1.2rem;
    }

    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        height: calc(100vh - 70px);
        padding: 20px 0;
        text-align: center;
        transition: 0.3s ease-in-out;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    }

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

    .nav-links li {
        margin: 20px 0;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    background: url('home-bg.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 20px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

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

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background: #e74c3c;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(231, 76, 60, 0.3);
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background: #e74c3c;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    font-size: larger;
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(231, 76, 60, 0.3);
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

/* Courses Section */
.courses {
    padding: 70px 0;
    background: #f8f9fa;
}

.courses h2 {
    text-align: center;
    margin-bottom: 50px;
    color: #2c3e50;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 280px));
    gap: 30px;
    padding: 20px;
    justify-content: center;
}

.course-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid #3498db;
    cursor: pointer;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
}

.course-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.15);
    border-color: #2980b9;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.course-card:hover h3,
.course-card:hover p {
    color: white;
}

.course-card:hover i {
    transform: scale(1.1) rotate(5deg);
    color: white;
}

.course-card:hover .course-link {
    background: white;
    color: #3498db;
}

.course-card i {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 15px;
    transition: all 0.4s ease;
    display: block;
}

.course-card h3 {
    margin-bottom: 15px;
    color: #2c3e50;
    text-align: center;
    width: 100%;
}

.course-card p {
    text-align: center;
    margin-bottom: 20px;
    color: #666;
    width: 100%;
}

.course-link {
    display: inline-block;
    padding: 10px 20px;
    background: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    margin-top: auto;
}

.course-link:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.course-container {
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.course-overview, .course-features {
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .course-container {
        padding: 10px;
    }
}

/* About Section */
.about {
    padding: 70px 0;
    background: #ffffff;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.feature {
    text-align: center;
    padding: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.feature::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #3498db;
    transition: all 0.4s ease;
    transform: translateX(-50%);
}

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

.feature:hover::after {
    width: 80%;
}

.feature i {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 15px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature:hover i {
    transform: rotateY(180deg);
    color: #2980b9;
}

/* Internship Section Styles */
.internship-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.internship-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.internship-header {
    padding: 30px 20px;
    text-align: center;
    color: white;
}

.internship-header.summer {
    background: linear-gradient(135deg, #ff9a00, #ff5e62);
}

.internship-header.winter {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.internship-header i {
    font-size: 3rem;
    margin-bottom: 15px;
}

.internship-header h3 {
    font-size: 1.5rem;
    margin: 10px 0;
}

.internship-header p {
    opacity: 0.9;
    font-size: 1rem;
}

.internship-content {
    padding: 25px;
}

.internship-content h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.internship-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.internship-content ul li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: #666;
}

.internship-content ul li i {
    color: #4CAF50;
    margin-right: 10px;
}

.domain-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0 25px;
}

.domain-tags span {
    background: #f0f0f0;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #333;
    transition: all 0.3s ease;
}

.domain-tags span:hover {
    background: #e0e0e0;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .internship-container {
        grid-template-columns: 1fr;
        padding: 10px;
    }
}

/* Contact Section */
.contact {
    padding: 70px 0;
    background: #f8f9fa;
}

.contact h2 {
    text-align: center;
    margin-bottom: 50px;
    color: #2c3e50;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

.contact-form input:hover,
.contact-form textarea:hover,
.contact-form select:hover {
    border-color: #3498db;
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.1);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.contact-form select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    cursor: pointer;
}

.contact-form select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.contact-form button {
    background: #3498db;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease;
}

.contact-form button:hover {
    background: #2980b9;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-item i {
    font-size: 1.5rem;
    color: #3498db;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    padding: 40px 0 20px;
}

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

.footer-section h3 {
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: white;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    padding: 2px 0;
}

.footer-section a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #3498db;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: #3498db;
}

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

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    font-size: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.social-links a:hover {
    transform: translateY(-5px) scale(1.1);
    color: #3498db;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
    }
}


/* Style for the dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none; /* Hide dropdown by default */
    position: absolute;
    background-color: white;
    min-width: 150px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    z-index: 10;
    list-style: none;
    padding: 0;
    border-radius: 5px;
}

.dropdown-menu li {
    padding: 10px;
}

.dropdown-menu li a {
    text-decoration: none;
    color: black;
    display: block;
}

.dropdown-menu li:hover {
    background-color: #f2f2f2;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-menu {
    display: block;
}









.course-container {
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.desktop-version {
    display: none; /* Hide by default */
}

.mobile-version {
    display: block; /* Show mobile version by default */
}

@media (min-width: 769px) {
    .desktop-version {
        display: block; /* Show desktop version on larger screens */
    }
    .mobile-version {
        display: none; /* Hide mobile version on larger screens */
    }
}

