* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
    scroll-behavior: smooth;
    padding-top: 140px;
}

.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #004080;
    color: white;
}
.header-content {
    display: flex;
    align-items: center;
}
.university-title {
    font-size: 24px;
    font-weight: bold;
    margin-left: 15px;
    letter-spacing: 1px;
    transition: transform 0.3s ease;
}
.header-content:hover .university-title {
    transform: scale(1.05);
}
.menu-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    z-index: 1001;
}
.bar {
    height: 4px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}
.menu-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.header-bottom {
    background-color: #003366;
    height: 50px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.desktop-menu {
    display: flex;
    justify-content: center;
    padding: 15px 0;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
}

.desktop-menu a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 12px 15px;
    margin: 0 2px;
    border-radius: 8px;
    background: transparent;
    position: relative;
    transition: all 0.3s ease;
    display: inline-block;
    white-space: nowrap;
    font-size: 14px;
}

.desktop-menu a::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, transparent, #ffdd57, transparent);
    opacity: 0;
    transition: all 0.3s ease;
}

.desktop-menu a:hover::before,
.desktop-menu a:focus::before {
    opacity: 1;
    top: 105%;
}

.desktop-menu a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.section-center {
    padding: 60px 20px;
    max-width: 1200px;
    margin: auto;
    text-align: center;
    animation: fadeInUp 0.6s ease-in-out;
    overflow: hidden;
    max-height: 1000px;
    transition: max-height 0.6s ease;
}

.section-center:hover {
    max-height: 2000px;
}

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

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #004080;
    letter-spacing: 1px;
    text-align: center;
}

img {
    display: block;
    margin: 20px auto;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}
img:hover {
    transform: scale(1.02);
}

p {
    text-align: center;
    margin: 10px auto;
    padding: 0 15px;
    font-size: 16px;
    max-width: 800px;
}

.courses-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.course-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.courses-scroll-container {
    display: flex;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: thin;
    scrollbar-color: #007acc #f1f1f1;
}

.course-card {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 180px;
    text-align: center;
    flex-shrink: 0;
    margin: 0 10px;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.course-icon {
    font-size: 24px;
    color: #007acc;
    margin-bottom: 10px;
    display: inline-block;
}

.course-card h4 {
    font-size: 15px;
    margin-bottom: 10px;
}

.course-card button {
    padding: 8px 10px;
    background-color: #007acc;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 13px;
}

.course-card button:hover {
    background-color: #005fa3;
}

.form-container {
    background-color: #ffffff;
    padding: 30px 20px;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    transition: transform 0.3s ease;
}

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

.form-title {
    font-size: 24px;
    margin-bottom: 10px;
    color: #004080;
    text-align: center;
}

.form-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    text-align: center;
}

.form-container div {
    margin-bottom: 15px;
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.form-container label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-container input {
    display: block;
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-container input:focus {
    outline: none;
    border-color: #007acc;
    box-shadow: 0 0 5px rgba(0, 122, 204, 0.5);
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.buttons button {
    background-color: #007acc;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.buttons button:hover {
    background-color: #005fa3;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 94, 163, 0.3);
}

.buttons button:active {
    transform: translateY(0);
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #004080;
    color: white;
    font-size: 14px;
    border-top: 2px solid #003366;
}

footer a {
    color: #00bfff;
    text-decoration: none;
    font-weight: bold;
}

footer a:hover {
    text-decoration: underline;
}

.social-fixed {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.btn-social {
    width: 50px;
    height: 50px;
    background-color: #004080;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.btn-social img,
.btn-social i {
    width: 24px;
    height: 24px;
    font-size: 22px;
    transition: transform 0.3s ease;
}

.btn-social:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.btn-social:hover img,
.btn-social:hover i {
    transform: rotate(10deg);
}

.btn-email { background-color: #dc3545; } 
.btn-github { background-color: #24292e; } 
.btn-linkedin { background-color: #0077b5; } 
.btn-instagram { background-color: #e1306c; } 
.btn-whatsapp { background-color: #25D366; }

@media (max-width: 768px) {
    body {
        padding-top: 100px;
    }
    .header-top {
        padding: 12px 15px;
    }
    .university-title {
        font-size: 20px;
    }
    .menu-toggle {
        display: flex;
    }
    .header-bottom {
        height: 0;
        overflow: hidden;
        transition: height 0.4s ease;
    }
    .header-bottom.active {
        height: auto;
        overflow: visible;
    }
    .desktop-menu {
        flex-direction: column;
        padding: 15px;
    }
    .desktop-menu a {
        margin: 5px 0;
        text-align: center;
        width: 100%;
        font-size: 16px;
    }
    .courses-scroll-container {
        overflow-x: auto;
        white-space: nowrap;
        padding: 10px;
    }
    .course-card {
        min-width: 150px;
        font-size: 14px;
    }
    .course-card button {
        font-size: 12px;
    }
    .form-container {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 90px;
    }
    .header-top {
        padding: 10px 12px;
    }
    .university-title {
        font-size: 18px;
    }
    h2 {
        font-size: 22px;
    }
    .course-card {
        padding: 12px;
    }
    .course-icon {
        font-size: 20px;
    }
    .course-card h4 {
        font-size: 13px;
    }
    .buttons button {
        padding: 10px 18px;
        font-size: 14px;
    }
}    .hero-title {
    color: #004080;
    letter-spacing: 1px;
    text-align: center;
    font-family: 'Dancing Script', cursive;
        position: relative;
          top: 70px;
          z-index: 200px;
    }
    .hero-image {
        position: relative;
        top: 80px;
    }#home p {
    padding: 1px;
        top: 70px;
    margin-top: 60px;
    text-align: center;
      display: flex;
  height: 50px;
  width: 100%;
}