/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

img, video {
    max-width: 100%;
    height: auto;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: transform 0.8s ease-in-out;
}

.loading-screen.slide-up {
    transform: translateY(-100%);
}

.loading-logo {
    width: 150px;
    height: auto;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background-color: #ffffff;
    box-shadow: 0 2px 20px rgba(0, 90, 156, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: #005A9C;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #38A1D6;
    transform: translateY(-2px);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #005A9C, #38A1D6);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 120px 2rem 4rem;
    background: linear-gradient(135deg, #EBF5FB 0%, #D6EAF8 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23005A9C" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23005A9C" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23005A9C" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
    position: relative;
    animation: slideInLeft 1s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 90, 156, 0.1);
    color: #005A9C;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 90, 156, 0.2);
}

.badge-icon {
    font-size: 1.2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #333333;
    margin-bottom: 2rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.hero-title .highlight {
    background: linear-gradient(135deg, #005A9C, #38A1D6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #555555;
    margin-bottom: 3rem;
    line-height: 1.7;
    max-width: 580px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.cta-button.primary {
    background: linear-gradient(135deg, #005A9C, #38A1D6);
    color: white;
    box-shadow: 0 6px 20px rgba(0, 90, 156, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 90, 156, 0.4);
    background: linear-gradient(135deg, #004b83, #2f89bc);
}

.cta-button.secondary {
    background: white;
    color: #005A9C;
    border: 2px solid #005A9C;
    box-shadow: 0 4px 15px rgba(0, 90, 156, 0.1);
}

.cta-button.secondary:hover {
    background: #005A9C;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 90, 156, 0.3);
}

.hero-image {
    flex: 1;
    text-align: center;
    z-index: 2;
    position: relative;
    animation: slideInRight 1s ease-out;
}

.hero-img {
    max-width: 60%;
    height: auto;
    border-radius: 32px;
    box-shadow: 0 20px 40px rgba(0, 90, 156, 0.15);
    transition: transform 0.3s ease;
    animation: float 6s ease-in-out infinite;
}

.hero-img:hover {
    transform: scale(1.02);
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #005A9C;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    animation: fadeInUp 0.8s ease-out;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #005A9C, #38A1D6);
    border-radius: 2px;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-text h3 {
    color: #005A9C;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.about-text p {
    font-size: 1.1rem;
    color: #555555;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.vision-mission {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.vm-card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 90, 156, 0.08);
    border: 1px solid rgba(0, 90, 156, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.vm-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 90, 156, 0.15);
}

.vm-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #005A9C, #38A1D6);
}

.mission-card::before {
    background: linear-gradient(90deg, #005A9C, #38A1D6);
}

.vision-card::before {
    background: linear-gradient(90deg, #38A1D6, #005A9C);
}

.vm-header {
    padding: 2rem 2rem 1rem;
    text-align: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
}

.vm-content {
    padding: 1rem 2rem 2rem;
}

.vm-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.vm-card h4 {
    color: #005A9C;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
}

.vm-content p {
    color: #555555;
    line-height: 1.7;
    font-size: 1.1rem;
    margin: 0;
}

.vm-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vm-content li {
    color: #555555;
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    line-height: 1.6;
    font-size: 1rem;
}

.vm-content li::before {
    content: "✓";
    color: #005A9C;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.1rem;
}

/* Programs Section */
.programs {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #D6EAF8 100%);
}

.program-card {
    background: white;
    padding: 3rem;
    border-radius: 28px;
    box-shadow: 0 12px 45px rgba(0, 90, 156, 0.08);
    margin-bottom: 3rem;
    border: 1px solid rgba(0, 90, 156, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0, 90, 156, 0.15);
    border-color: rgba(0, 90, 156, 0.2);
}

.program-card h3 {
    color: #005A9C;
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 2rem;
    border-bottom: 4px solid #D6EAF8;
    padding-bottom: 1rem;
    position: relative;
    letter-spacing: -0.01em;
}

.program-card h4 {
    color: #005A9C;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    letter-spacing: -0.01em;
}

.program-card p {
    color: #555555;
    line-height: 1.8;
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
}

.accreditation {
    background: linear-gradient(135deg, #EBF5FB 0%, #D6EAF8 100%);
    padding: 2rem;
    border-radius: 16px;
    border-left: 5px solid #005A9C;
    margin-top: 2rem;
    color: #005A9C;
    font-weight: 600;
    font-size: 1.05rem;
    box-shadow: 0 4px 15px rgba(0, 90, 156, 0.05);
}

.program-table-container {
    overflow-x: auto;
    margin: 1rem 0;
}

.program-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 90, 156, 0.08);
}

.program-table th,
.program-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #D6EAF8;
}

.program-table th {
    background: linear-gradient(135deg, #005A9C, #38A1D6);
    color: white;
    font-weight: 600;
}

.program-table td {
    color: #555555;
}

.subjects-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 1.5rem 0;
}

.subject-level h4 {
    color: #005A9C;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.subject-level ul {
    list-style: none;
    padding: 0;
}

.subject-level li {
    color: #555555;
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.subject-level li::before {
    content: "●";
    color: #005A9C;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.career-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.career-item {
    background: linear-gradient(135deg, #EBF5FB 0%, #D6EAF8 100%);
    padding: 1.2rem 1.5rem;
    border-radius: 16px;
    color: #005A9C;
    font-weight: 600;
    text-align: center;
    border: 1px solid rgba(0, 90, 156, 0.2);
    transition: all 0.4s ease;
    position: relative;
    font-size: 1.05rem;
}

.career-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 90, 156, 0.2);
    background: linear-gradient(135deg, #ffffff 0%, #EBF5FB 100%);
    border-color: rgba(0, 90, 156, 0.3);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.feature-item {
    background: linear-gradient(135deg, #EBF5FB 0%, #D6EAF8 100%);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 90, 156, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 90, 156, 0.2);
    border-color: rgba(0, 90, 156, 0.2);
    background: linear-gradient(135deg, #ffffff 0%, #EBF5FB 100%);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-item h4 {
    color: #005A9C;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.feature-item p {
    color: #555555;
    line-height: 1.6;
}

.strategy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

.strategy-item {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    border-left: 5px solid #005A9C;
    box-shadow: 0 6px 20px rgba(0, 90, 156, 0.1);
    transition: all 0.4s ease;
    position: relative;
}

.strategy-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 90, 156, 0.15);
    border-left-color: #38A1D6;
}

.strategy-item h4 {
    color: #005A9C;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.strategy-item p {
    color: #555555;
    line-height: 1.6;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.benefit-item {
    background: linear-gradient(135deg, #EBF5FB 0%, #D6EAF8 100%);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(0, 90, 156, 0.2);
    transition: all 0.4s ease;
    position: relative;
}

.benefit-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 90, 156, 0.2);
    background: linear-gradient(135deg, #ffffff 0%, #EBF5FB 100%);
    border-color: rgba(0, 90, 156, 0.3);
}

.benefit-item h4 {
    color: #005A9C;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.benefit-item p {
    color: #555555;
    line-height: 1.6;
}

.job-scope-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.job-item {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 90, 156, 0.1);
    border: 1px solid rgba(0, 90, 156, 0.1);
    transition: all 0.4s ease;
    position: relative;
}

.job-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 90, 156, 0.2);
    border-color: rgba(0, 90, 156, 0.2);
}

.job-item h4 {
    color: #005A9C;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.job-item p {
    color: #555555;
    line-height: 1.6;
}

.pathway-container {
    text-align: center;
    margin: 2rem 0;
}

.pathway-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.pathway-item {
    background: linear-gradient(135deg, #EBF5FB 0%, #D6EAF8 100%);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(0, 90, 156, 0.2);
    width: 250px;
}

.pathway-level {
    font-size: 1.2rem;
    font-weight: 700;
    color: #005A9C;
    margin-bottom: 0.5rem;
}

.pathway-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.pathway-duration {
    font-size: 1rem;
    color: #666;
}

.pathway-arrow {
    font-size: 2rem;
    color: #005A9C;
}

.pathway-img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 90, 156, 0.15);
    transition: transform 0.3s ease;
}

.pathway-img:hover {
    transform: scale(1.02);
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: #D6EAF8;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-container {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-container.left {
    left: 0;
}

.timeline-container.right {
    left: 50%;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -14px;
    background-color: #38A1D6;
    border: 4px solid #D6EAF8;
    top: 5px;
    border-radius: 50%;
    z-index: 1;
    transition: all 0.3s ease;
}

.timeline-container:hover::after {
    background-color: #005A9C;
    transform: scale(1.2);
}

.timeline-container.right::after {
    left: -14px;
}

.timeline-content {
    padding: 25px;
    background: white;
    position: relative;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 90, 156, 0.08);
    border: 1px solid rgba(0, 90, 156, 0.1);
    transition: all 0.4s ease;
}

.timeline-container:hover .timeline-content {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 90, 156, 0.15);
    border-color: rgba(0, 90, 156, 0.2);
}

.timeline-icon {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 1.8rem;
    color: #005A9C;
    opacity: 0.5;
}

.timeline-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #005A9C;
    margin-bottom: 0.8rem;
}

.timeline-content p {
    font-size: 1rem;
    color: #555555;
    margin-bottom: 0.5rem;
}

.timeline-content .details {
    font-size: 0.9rem;
    color: #666;
    margin-top: 10px;
}

/* Success Stories Section */
.success-stories {
    padding: 6rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
}

.section-subtitle {
    text-align: center;
    color: #555555;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.success-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

.success-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0, 90, 156, 0.1);
    border: 1px solid rgba(0, 90, 156, 0.1);
    transition: all 0.4s ease;
    position: relative;
    animation: fadeInUp 0.8s ease-out;
}

.success-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 90, 156, 0.2);
    border-color: rgba(0, 90, 156, 0.2);
}

.student-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    transition: transform 0.4s ease;
    object-fit: cover;
}

.success-card:hover .student-img {
    transform: scale(1.05);
}

/* Enquiry Form Section */
.enquiry {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #D6EAF8 100%);
}

.enquiry-subtitle {
    text-align: center;
    color: #555555;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.enquiry-form {
    max-width: 850px;
    margin: 0 auto;
    background: white;
    padding: 3.5rem;
    border-radius: 28px;
    box-shadow: 0 25px 60px rgba(0, 90, 156, 0.12);
    border: 1px solid rgba(0, 90, 156, 0.1);
    position: relative;
    overflow: hidden;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: #005A9C;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    padding: 1.2rem 1.5rem;
    border: 2px solid #D6EAF8;
    border-radius: 16px;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    background: #fafbfc;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #005A9C;
    box-shadow: 0 0 0 4px rgba(0, 90, 156, 0.1);
    background: white;
    transform: translateY(-1px);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

.submit-button {
    background: linear-gradient(135deg, #005A9C, #38A1D6);
    color: white;
    padding: 1.3rem 2.5rem;
    border: none;
    border-radius: 16px;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 90, 156, 0.3);
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 90, 156, 0.4);
    background: linear-gradient(135deg, #004b83, #2f89bc);
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-info h3 {
    color: #005A9C;
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
}

.contact-info p {
    color: #555555;
    margin-bottom: 1.2rem;
    font-size: 1.15rem;
    line-height: 1.7;
    transition: all 0.3s ease;
}

.contact-info p:hover {
    color: #005A9C;
    transform: translateX(5px);
}

.contact-map h3 {
    color: #005A9C;
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
}

.contact-map p {
    color: #555555;
    line-height: 1.6;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #005A9C, #38A1D6);
    color: white;
    text-align: center;
    padding: 2rem 0;
}

.footer p {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.developer-credit {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0 !important;
}

.developer-credit strong {
    color: #fbbf24;
    font-weight: 600;
}

/* Menu Toggle Button */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.menu-toggle span {
    height: 3px;
    width: 25px;
    background: #005A9C;
    margin: 4px 0;
    transition: all 0.3s ease;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 10px 20px rgba(0, 90, 156, 0.1);
        padding: 1rem 0;
        text-align: center;
        z-index: 1001;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .menu-toggle {
        display: flex;
    }
}

@media (max-width: 768px) {
    body {
        overflow-x: hidden; /* Prevent horizontal scroll */
    }

    .nav {
        padding: 1rem;
    }

    .logo {
        height: 50px;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 120px 1.5rem 3rem;
        min-height: auto;
    }

    .hero-image {
        margin-top: 3rem;
        order: -1; /* Move image above text */
    }

    .hero-img {
        max-width: 70%;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .about, .programs, .success-stories, .enquiry, .contact {
        padding: 3rem 0;
    }

    .vision-mission {
        grid-template-columns: 1fr;
    }
    
    .subjects-container {
        grid-template-columns: 1fr;
    }
    
    .program-card {
        padding: 2rem;
    }

    .program-card h3 {
        font-size: 1.5rem;
    }

    .program-card h4 {
        font-size: 1.2rem;
    }

    .timeline::after {
        left: 31px;
    }

    .timeline-container {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-container.left, .timeline-container.right {
        left: 0%;
    }

    .timeline-container::after {
        left: 18px;
    }

    .timeline-container.right::after {
        left: 18px;
    }
    
    /* Academic Pathway mobile adjustments */
    .timeline-content {
        padding: 1rem 1rem;
    }
    .timeline-content h4 {
        font-size: 1rem;
        line-height: 1.3;
    }
    .timeline-content p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    /* Keep icons visible for widths between 700px and 768px */
    .timeline-icon {
        display: inline-block;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .enquiry-form {
        padding: 2rem 1.5rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .contact-info h3, .contact-map h3 {
        font-size: 1.5rem;
    }
    
    .features-grid,
    .strategy-grid,
    .benefits-grid,
    .job-scope-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .success-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .career-grid {
        grid-template-columns: 1fr;
    }

    .pathway-grid {
        flex-direction: column;
    }

    .pathway-arrow {
        transform: rotate(90deg);
        margin: 1rem 0;
    }

    .pathway-item {
        width: 100%;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .program-card {
        padding: 1.5rem;
    }
    
    .enquiry-form {
        padding: 1.5rem;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .footer p {
        font-size: 0.9rem;
    }
}

/* Hide academic pathway icons only below 700px */
@media (max-width: 699.98px) {
    .timeline-icon {
        display: none !important;
    }
}

@media (max-width: 360px) {
    .logo {
        height: 44px;
    }
    .hero-title {
        font-size: 1.6rem;
    }
    .cta-button {
        width: 100%;
        max-width: 260px;
    }
}
