/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Header Styles */
header {
    background: #004aad;
    color: #fff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo img {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

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

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: #f4b400;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #fff;
    transition: all 0.3s ease;
}

.nav-links.active {
    transform: translateX(0);
}

/* Hero Section */
.hero {
    height: 100vh;
    /* Use your hero image in the img folder */
    background: linear-gradient(rgba(0, 74, 173, 0.7), rgba(0, 74, 173, 0.7)), url('img/graduation.jpeg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero-content {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 30px;
    margin:30px;
}

.cta-button {
    background: #f4b400;
    color: #004aad;
    padding: 15px 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    border-radius: 50px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background: #e0a300;
    transform: translateY(-3px);
}

/* About Section */
.about {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
    text-align: center;
}

.about-icon {
    font-size: 60px;
    color: #004aad;
    margin-bottom: 20px;
    opacity: 0;
    transform: scale(0.8);
    animation: scaleIn 0.8s ease forwards;
}

.about h2 {
    font-size: 40px;
    font-weight: 700;
    color: #004aad;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.about p {
    font-size: 18px;
    margin-bottom: 20px;
    text-align: center;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.3s forwards;
}

/* Services Section */
.services {
    background: #f9f9f9;
    padding: 80px 20px;
    text-align: center;
}

.services h2 {
    font-size: 40px;
    font-weight: 700;
    color: #004aad;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

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

.service-item {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform Bongiorno transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    animation: fadeInUp 0.8s ease calc(var(--delay)) forwards;
}

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

.service-icon {
    font-size: 50px;
    color: #004aad;
    margin-bottom: 15px;
}

.service-item h3 {
    font-size: 26px;
    font-weight: 600;
    color: #004aad;
    margin-bottom: 15px;
}

/* Testimonials Section */
.testimonials {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
    text-align: center;
}

.testimonials h2 {
    font-size: 40px;
    font-weight: 700;
    color: #004aad;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.testimonial-item {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.testimonial-item:hover {
    transform: rotate(2deg) scale(1.02);
}

.testimonial-icon {
    font-size: 50px;
    color: #004aad;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.testimonial-item:hover .testimonial-icon {
    transform: rotate(360deg);
}

.testimonial-item p {
    font-style: italic;
    font-size: 16px;
    margin-bottom: 15px;
}

.testimonial-item cite {
    font-weight: 600;
    color: #004aad;
}

/* Footer */
footer {
    background: #004aad;
    color: #fff;
    padding: 40px 20px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

footer p {
    margin: 10px 0;
    font-size: 16px;
}

footer p i {
    margin-right: 10px;
    color: #f4b400;
}

footer a {
    color: #f4b400;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #e0a300;
}

.location-image {
    max-width: 600px;
    height: auto;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.footer-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 20px 0;
}

.footer-links a {
    color: #fff;
    font-size: 16px;
}

.footer-links i {
    margin-right: 8px;
    color: #f4b400;
}

.footer-copyright {
    font-size: 14px;
    opacity: 0.8;
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: #004aad;
        flex-direction: column;
        align-items: center;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        padding: 20px 0;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

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

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .about h2, .services h2, .testimonials h2 {
        font-size: 32px;
    }

    .location-image {
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 28px;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 16px;
    }

    .service-item, .testimonial-item {
        padding: 20px;
    }
}