@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Montserrat:wght@400;500;600;700&family=Quicksand:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', Arial, sans-serif;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.hamburger {
    position: relative;
    display: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 1002;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background-color: #002B5B;
    transition: all 0.3s ease-in-out;
    border-radius: 3px;
}

.hamburger span:nth-child(1){
    top: 8px;
}
.hamburger span:nth-child(2){
    top: 18px;
}
.hamburger span:nth-child(3){
    top: 28px;
}

.hamburger.active span {
    transform: translateX(-50%);
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: translateX(-50%) rotate(45deg) translate(7px, 7px);
    border-radius: 3px;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateX(-50%) rotate(-45deg) translate(7px, -7px);
    border-radius: 3px;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: bold;
    color: #002B5B;
}

.logo span {
    font-size: 14px;
    display: block;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    transition: all 0.3s ease-in-out;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #002B5B;
}

.course-tour-btn {
    background-color: #002B5B;
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.course-tour-btn:hover {
    background-color: #003d82;
}

.hero {
    position: relative;
    height: 600px;
    background-image: url('https://images.unsplash.com/photo-1524995997946-a1c2e315a42f?ixlib=rb-4.0.3');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 43, 91, 0.7);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.catchphrase {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    margin-bottom: 2rem;
    font-weight: bold;
}

.banner-container {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
}

.banner-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    width: 300px;
    color: #333;
}

.banner-item h3 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 0.5rem;
    color: #002B5B;
}

.main-content {
    padding: 4rem 2rem;
    text-align: center;
}

.main-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    color: #002B5B;
    margin-bottom: 3rem;
}

.features {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature {
    flex: 1;
    padding: 2rem;
}

.feature img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.feature h3 {
    font-family: 'Montserrat', sans-serif;
    color: #002B5B;
    margin-bottom: 1rem;
}

.feature p {
    color: #666;
    line-height: 1.6;
}

.courses {
    padding: 4rem 2rem;
    background: #f5f5f5;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.course-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.course-card:hover {
    transform: translateY(-5px);
}

.course-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.course-card h3 {
    font-family: 'Montserrat', sans-serif;
    padding: 1.5rem 1.5rem 0.5rem;
    color: #002B5B;
}

.course-card p {
    padding: 0 1.5rem 1.5rem;
    color: #666;
    line-height: 1.6;
}

.learn-more {
    display: inline-block;
    margin: 0 1.5rem 1.5rem;
    padding: 0.5rem 1rem;
    background: #002B5B;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
}

.learn-more:hover {
    background: #003d82;
}

.campus-life {
    padding: 4rem 2rem;
}

.life-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.life-card {
    text-align: left;
    padding: 1.5rem;
    border-radius: 8px;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.life-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.life-card h3 {
    font-family: 'Montserrat', sans-serif;
    color: #002B5B;
    margin-bottom: 0.5rem;
}

.life-card p {
    color: #666;
    line-height: 1.6;
}

.contact {
    padding: 4rem 2rem;
    background: #f5f5f5;
    position: relative;
    z-index: 2;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #002B5B;
    outline: none;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.submit-btn {
    background: #002B5B;
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #003d82;
}

.contact-info {
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-info h3 {
    font-family: 'Montserrat', sans-serif;
    color: #002B5B;
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 1rem;
    color: #666;
    line-height: 1.6;
}

footer {
    background: #002B5B;
    color: white;
    padding: 4rem 2rem 2rem;
    position: relative;
    z-index: 1;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    align-items: start;
}

.footer-logo {
    text-align: center;
}

.footer-logo-img {
    width: 200px;
    height: 60px;
    margin-bottom: 2rem;
}

.footer-links h4 {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    font-family: 'Quicksand', sans-serif;
    color: white;
    text-decoration: none;
    display: block;
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 1.1rem;
}

.footer-links a:hover {
    transform: translateX(5px);
    opacity: 0.9;
}

.footer-social h4 {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
    text-align: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-icon svg {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.social-icon:hover svg {
    transform: scale(1.1);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #002B5B;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
}

.back-to-top:hover {
    background: #003d82;
}

@media (max-width: 764px) {
    header {
        padding: 1rem;
    }

    .hamburger {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: white;
        padding: 80px 0;
        transition: 0.3s;
        box-shadow: -2px 0 5px rgba(0,0,0,0.1);
        z-index: 1001;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        padding: 0;
    }

    nav ul li {
        width: 100%;
        text-align: left;
        padding: 15px 20px;
        border-bottom: 1px solid #eee;
    }

    nav ul li:last-child {
        border-bottom: none;
    }

    .course-tour-btn {
        display: none;
    }

    .main-content,
    .courses,
    .campus-life,
    .contact {
        padding: 3rem 1rem;
    }

    .features {
        flex-direction: column;
        padding: 0;
    }

    .feature {
        width: 100%;
        padding: 1rem 0;
    }

    .banner-container {
        flex-direction: column;
        align-items: stretch;
        padding: 0 1rem;
    }

    .banner-item {
        width: 100%;
        margin-bottom: 1rem;
    }

    .catchphrase {
        font-size: 2rem;
        padding: 0 1rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form {
        width: 100%;
    }

    .contact-form input,
    .contact-form textarea {
        width: 100%;
    }

    .contact-info {
        width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 0 1rem;
    }

    .footer-links {
        margin-top: 2rem;
    }

    .course-grid,
    .life-grid {
        padding: 0;
    }
}