@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1F3A61;
    --secondary-color: #F4A023;
    --accent-color: #7A858E;
    --text-dark: #1F3A61;
    --text-light: #7A858E;
    --background-light: #f8f9fa;
    --white: #ffffff;
    --success: #1F3A61;
    --warning: #F4A023;
    --muted: #e9ecef;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.navbar {
    padding: 0.2rem 0;
}

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

.logo-link {
    text-decoration: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
}

.logo-image {
    height: 19%;
    width: 180px;
    object-fit: contain;
    transition: var(--transition);
}

.logo-link:hover .logo-image {
    transform: scale(1.05);
}

.logo-text-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-text {
    font-size: 2.2rem;
    font-weight: 600;
    color: #1F3A61;
    line-height: 1;
    font-family: 'Montserrat', 'Inter', 'Segoe UI', sans-serif;
    letter-spacing: 0.5px;
}

.logo-subtitle {
    font-size: 0.9rem;
    color: #7A858E;
    font-weight: 500;
    font-family: 'Montserrat', 'Inter', 'Segoe UI', sans-serif;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #1F3A61 0%, #2E5090 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    text-align: left;
}

.badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.highlight {
    color: var(--accent-color);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    z-index: -1;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.feature-tag {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background: #E8941A;
    color: var(--white);
    border-color: #E8941A;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-full {
    width: 100%;
}

.hero-visual {
    position: relative;
    height: 400px;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    width: 140px;
    box-shadow: var(--shadow);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.floating-card p {
    font-size: 0.9rem;
    font-weight: 500;
}

.card-1 {
    top: 10%;
    left: 10%;
    animation: float 3s ease-in-out infinite;
}

.card-2 {
    top: 10%;
    right: 15%;
    animation: float 3s ease-in-out infinite 1s;
}

.card-3 {
    bottom: 20%;
    left: 20%;
    animation: float 3s ease-in-out infinite 2s;
}

.card-4 {
    bottom: 18%;
    right: 5%;
    animation: float 3s ease-in-out infinite 1.5s;
}

/* Flagship Program Section */
.flagship-program {
    padding: 80px 0;
    background: var(--background-light);
}

.program-header {
    text-align: center;
    margin-bottom: 4rem;
}

.program-tagline {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--primary-color);
    margin-top: 1rem;
    padding: 1rem;
    border-left: 4px solid var(--accent-color);
    background: rgba(46, 139, 87, 0.1);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.program-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.highlight-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.highlight-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.highlight-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Program Structure */
.program-structure {
    margin-bottom: 4rem;
}

.structure-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-phase {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-phase:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-phase:nth-child(odd) .phase-content {
    margin-left: 0;
    margin-right: 2rem;
    text-align: right;
}

.phase-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    z-index: 2;
    flex-shrink: 0;
}

.phase-content {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-left: 2rem;
    flex: 1;
}

.phase-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.phase-duration {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

/* Tech Stack */
.tech-stack {
    margin-bottom: 4rem;
}

.tech-stack h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.stack-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.stack-category {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.stack-category h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.stack-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.stack-item {
    background: var(--background-light);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    border: 1px solid var(--muted);
}

/* Career Pathways */
.career-pathways {
    margin-bottom: 4rem;
}

.career-pathways h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.pathway-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.pathway-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.pathway-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pathway-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.salary {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.pathway-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Certification Section */
.certification-section {
    margin-bottom: 4rem;
}

.cert-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.cert-card h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

.benefits-list {
    list-style: none;
    max-width: 600px;
    margin: 0 auto;
}

.benefits-list li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    padding-left: 2rem;
}

.benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.benefits-list li:last-child {
    border-bottom: none;
}

/* Courses Section */
.courses {
    padding: 80px 0;
    background: var(--background-light);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.course-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}
.course-image {
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    overflow: hidden;
}

.course-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease, opacity 0.35s ease;
}

/* Ensure placeholder and loaded states look good */
img.lazy {
    filter: blur(6px) saturate(0.9);
    transform: scale(1.02);
}

img.loaded {
    filter: none;
    transform: scale(1);
}

/* Subtle overlay to improve contrast for badges/text over images */
.course-image::before {
    content: '';
    position: absolute;
    inset: 0 0 0 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.06), rgba(0,0,0,0.18));
    z-index: 1;
    pointer-events: none;
    border-radius: 0;
}

.course-image .course-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
}

.course-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-color);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.course-content {
    padding: 1.5rem;
}

.course-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.course-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.course-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.course-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--muted);
    position: relative;
    padding-left: 1.5rem;
}

.course-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.course-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}


/* About Section */
.about {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(31, 58, 97, 0.03) 0%, rgba(122, 133, 142, 0.03) 100%);
}

.about .section-title {
    margin-bottom: 0.5rem;
}

.about-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.about-content {
    max-width: 700px;
    margin: 0 auto 3rem;
    text-align: center;
    animation: fadeInUp 0.8s ease-in-out;
}

.about-description {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.8;
    font-weight: 500;
    margin: 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: flex-start;
}

.about-details {
    animation: fadeInLeft 0.8s ease-in-out;
}

.about-stats {
    animation: fadeInRight 0.8s ease-in-out;
}

.institute-details {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.detail-item {
    padding: 1.5rem;
    border-left: 4px solid var(--primary-color);
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    transition: var(--transition);
}

.detail-item:hover {
    background: var(--white);
    box-shadow: var(--shadow-lg);
    transform: translateX(6px);
}

.detail-item h4 {
    color: var(--primary-color);
    margin: 0 0 0.8rem 0;
    font-size: 1.05rem;
    font-weight: 700;
}

.detail-item p {
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
}

.detail-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.detail-item a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.stats-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--white);
    border-radius: var(--border-radius);
    transition: var(--transition);
    box-shadow: var(--shadow);
    border-top: 3px solid var(--primary-color);
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto 3rem;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    /* transition is now handled by JS */
}

.testimonial-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    flex: 0 0 100%;
    min-width: 100%;
    box-sizing: border-box;
}
.testimonials-slider.grabbing {
    cursor: grabbing;
    cursor: -webkit-grabbing;
    user-select: none;
}


.testimonial-card.active {
    /* The 'active' class is now handled by JS transform, but can be used for other styling */
    animation: fadeIn 0.5s ease;
}

.testimonial-content {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-style: italic;
    position: relative;
}

.testimonial-content::before,
.testimonial-content::after {
    content: '"';
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.3;
    position: absolute;
}

.testimonial-content::before {
    top: -20px;
    left: -10px;
}

.testimonial-content::after {
    bottom: -40px;
    right: -10px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.2rem;
}

.author-info h4 {
    margin-bottom: 0.3rem;
    text-align: left;
}

.author-info p {
    color: var(--text-light);
    text-align: left;
}

.testimonial-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.nav-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.nav-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--muted);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--background-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-text h4 {
    margin-bottom: 0.3rem;
}

.contact-text p {
    color: var(--text-light);
}

.contact-form-container {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-form h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--muted);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: var(--text-light);
    transition: var(--transition);
    pointer-events: none;
    background: var(--white);
    padding: 0 0.5rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.form-group input:focus + label,
.form-group select:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group select:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -0.5rem;
    left: 0.8rem;
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 600;
}

.form-note {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Address Section */
.address-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(46, 139, 87, 0.05) 0%, rgba(50, 205, 50, 0.05) 100%);
}

.address-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(320px, 1fr));
    gap: 2.5rem;
    align-items: stretch;
    justify-items: center;
    align-content: start;
}

.address-content {
    animation: fadeInLeft 0.8s ease-in-out;
}

.address-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.address-details-box {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    border-left: 4px solid var(--primary-color);
}

.address-text {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.address-text strong {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.address-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.address-buttons .btn {
    flex: 1;
    min-width: 150px;
    text-align: center;
    transition: var(--transition);
}

.address-buttons .btn.active {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.map-container {
    animation: fadeInUp 0.8s ease-in-out;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background-color: #f0f0f0;
    width: 100%;
    margin-top: 2rem;
    height: 550px;
}

.map-iframe {
    border-radius: var(--border-radius);
    width: 100%;
    height: 100%;
}

/* Promo card (placed between address and map) */
.promo-card {
    background: linear-gradient(180deg, #fff 0%, #f7f9fb 100%);
    border-radius: 12px;
    padding: 1.4rem;
    box-shadow: 0 8px 20px rgba(31,58,97,0.08);
    border: 1px solid rgba(31,58,97,0.06);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
    text-align: left;
}

.promo-card,
.address-details-box {
    align-self: start;
    width: 100%;
    max-width: 520px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.address-details-box {
    padding: 2rem 1.6rem;
    border-radius: 12px;
    background: var(--white);
    box-shadow: 0 8px 20px rgba(31,58,97,0.08);
    border-left: 4px solid var(--primary-color);
}

.promo-card {
    padding: 1.6rem 1.4rem;
    justify-content: flex-start;
    gap: 1rem;
}

/* Make the embedded map span full width under the two cards */
.map-container {
    grid-column: 1 / -1;
    width: 100%;
}

.badge-open {
    display: inline-block;
    background: #F4A023;
    color: #1F3A61;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    font-size: 0.75rem;
}

.promo-title {
    margin: 0;
    color: var(--text-dark);
    font-size: 1.15rem;
    font-weight: 700;
}

.promo-text {
    margin: 0;
    color: var(--text-dark);
    opacity: 0.9;
    font-size: 0.95rem;
}

.promo-actions {
    display: flex;
    gap: 0.6rem;
    margin-top: 0.5rem;
    width: 100%;
}

.btn-grab {
    flex: 1;
}

/* Simple entrance animations */
.animate-fade-in-up {
    animation: fadeInUp 0.7s ease both;
}

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

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Highlight effect for target section */
.pulse-highlight {
    animation: pulseGlow 1.2s ease-in-out;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(244,160,35,0.0); }
    50% { box-shadow: 0 8px 24px rgba(244,160,35,0.18); }
    100% { box-shadow: 0 0 0 0 rgba(244,160,35,0); }
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #4A6FA5 0%, #6B8EC9 100%);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-content .footer-section:first-child {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.footer-logo-image {
    height: 120px;
    width: 120px;
    object-fit: contain;
    filter: brightness(1.1);
    transition: var(--transition);
}

.footer-logo-link:hover .footer-logo-image {
    transform: scale(1.08);
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo-main {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
    font-family: 'Montserrat', 'Inter', 'Segoe UI', sans-serif;
    letter-spacing: 0.5px;
}

.footer-logo-sub {
    font-size: 0.7rem;
    color: #F4A023;
    font-weight: 500;
    font-family: 'Montserrat', 'Inter', 'Segoe UI', sans-serif;
    letter-spacing: 1px;
}

.footer-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.partnership {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #F4A023;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.contact-info-footer p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--accent-color);
}

/* Responsive Design - Enhanced */

/* Tablet and Below (1024px) */
@media (max-width: 1024px) {
    .container {
        max-width: 960px;
        padding: 0 20px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        align-items: center;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .about-grid,
    .contact-grid,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .footer-content .footer-section:first-child {
        align-items: flex-start; /* Revert to default on smaller screens */
    }

    .program-highlights,
    .pathway-grid,
    .courses-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .logo-image {
        height: 75px;
    }

    .logo-text {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .footer-logo-image {
        height: 90px;
    }
}

/* iPad and Tablets (768px - 1024px) */
@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding: 0 18px;
    }
    
    body {
        font-size: 16px;
    }
    
    /* Header */
    .header {
        /* Position is now fixed globally */
    }
    
    .nav-container {
        padding: 0 18px;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: var(--shadow);
        padding: 2rem 0;
        gap: 0;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        margin: 1rem 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        padding: 0.5rem 0;
    }
    
    .hamburger {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        z-index: 1001;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    /* Hero Section */
    .hero {
        padding: 80px 0 60px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 0 18px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-visual {
        display: none;
    }
    
    /* Sections */
    .flagship-program,
    .courses,
    .about,
    .testimonials,
    .contact {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    /* Grid Layouts */
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .about-grid {
        gap: 2rem;
    }
    
    .stats-container {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .program-highlights,
    .pathway-grid,
    .stack-categories {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Details and Stats */
    .detail-item {
        padding: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .stat-item {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    /* Address Section */
    .address-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 18px;
    }
    
    .address-details-box,
    .promo-card {
        max-width: 100%;
        min-height: auto;
    }
    
    .address-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .address-buttons .btn {
        width: 100%;
    }
    
    .map-container {
        height: 300px;
        margin-top: 1.5rem;
    }
    
    /* Contact Form */
    .contact-grid {
        gap: 2rem;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .contact-item {
        gap: 0.8rem;
    }
    
    .contact-icon {
        font-size: 1.3rem;
    }
    
    /* Footer */
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-logo-image {
        height: 85px;
        width: auto;
    }
    
    .footer-logo-main {
        font-size: 1rem;
    }
    
    .footer-logo-sub {
        font-size: 0.6rem;
    }
    
    .footer-bottom {
        flex-direction: column; /* Keep existing */
        text-align: center;
        gap: 1rem;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    /* Logo */
    .logo-image { /* Keep existing */
        height: 70px;
    }
    
    .logo-text { /* Keep existing */
        font-size: 1.5rem;
    }
    
    .logo-subtitle {
        font-size: 0.65rem;
    }
    
    /* Buttons */
    .btn {
        padding: 10px 25px;
        font-size: 0.95rem;
    }
    
    .btn-full {
        width: 100%;
    }
    
    /* Forms */
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.8rem;
        font-size: 16px;
    }
}

/* Mobile Phones (480px - 767px) */
@media (max-width: 480px) {
    .container {
        max-width: 100%;
        padding: 0 15px;
    }
    
    body {
        font-size: 14px;
    }
    
    /* Header */
    .nav-container {
        padding: 0 15px;
    }
    
    .nav-menu {
        top: 70px;
    }
    
    .logo-image {
        height: 50px;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
    
    .logo-subtitle {
        font-size: 0.55rem;
    }
    
    /* Hero */
    .hero {
        padding: 70px 0 50px;
    }
    
    .hero-container {
        padding: 0 15px;
        gap: 1.5rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-features {
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }
    
    .feature-tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .btn {
        width: 100%;
        max-width: none;
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    /* Sections */
    .flagship-program,
    .courses,
    .about,
    .testimonials,
    .address-section,
    .contact {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    /* Grids */
    .program-highlights,
    .pathway-grid,
    .stack-categories,
    .courses-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    /* Cards */
    .detail-item {
        padding: 1rem;
    }
    
    .stat-item {
        padding: 1.2rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    /* Address */
    .address-container {
        padding: 0 15px;
        gap: 1.5rem;
    }
    
    .address-details-box {
        padding: 1rem;
    }
    
    .address-text {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }
    
    .address-buttons {
        gap: 0.6rem;
    }
    
    .address-buttons .btn {
        padding: 8px 15px;
        font-size: 0.85rem;
    }
    
    .promo-card {
        padding: 1rem;
    }
    
    .promo-title {
        font-size: 1rem;
    }
    
    .promo-text {
        font-size: 0.9rem;
    }
    
    .map-container {
        height: 250px;
        margin-top: 1rem;
    }
    
    /* Timeline */
    .timeline::before {
        display: none;
    }
    
    .timeline-phase {
        flex-direction: column !important;
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .phase-number {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .phase-content {
        margin: 0 !important;
        padding: 1rem;
    }
    
    /* Contact Form */
    .contact-grid {
        gap: 2rem;
    }
    
    .contact-form-container {
        padding: 1.2rem;
    }
    
    .form-group {
        margin-bottom: 1.2rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 16px;
        border-radius: 8px;
    }
    
    .contact-info {
        gap: 1.5rem;
    }
    
    .contact-item {
        gap: 0.8rem;
    }
    
    .contact-icon {
        font-size: 1.2rem;
    }
    
    /* Testimonials */
    .testimonials-slider {
        margin-bottom: 2rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonial-content {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .author-avatar {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    
    .author-info h4 {
        font-size: 0.95rem;
    }
    
    .author-info p {
        font-size: 0.85rem;
    }
    
    /* Footer */
    .footer {
        padding: 30px 0 15px;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .footer-logo-image {
        height: 65px;
    }
    
    .footer-logo-main {
        font-size: 0.95rem;
    }
    
    .footer-logo-sub {
        font-size: 0.55rem;
    }
    
    .footer-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .footer-links li {
        margin-bottom: 0.6rem;
    }
    
    .footer-links a {
        font-size: 0.9rem;
    }
    
    .contact-info-footer p {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
    }
    
    .footer-bottom {
        flex-direction: column; /* Keep existing */
        gap: 1rem;
        padding-top: 1.5rem;
        font-size: 0.85rem;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Small Mobile (360px - 479px) */
@media (max-width: 360px) {
    .container {
        padding: 0 12px;
    }
    
    body {
        font-size: 13px;
    }
    
    .nav-container {
        padding: 0 12px;
    }
    
    .logo-image {
        height: 45px;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .logo-subtitle {
        font-size: 0.5rem;
        letter-spacing: 0.5px;
    }
    
    .hero {
        padding: 60px 0 40px;
    }
    
    .hero-container {
        padding: 0 12px;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-description {
        font-size: 0.85rem;
    }
    
    .hero-features {
        gap: 0.4rem;
    }
    
    .feature-tag {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 0.6rem;
    }
    
    .section-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    .detail-item {
        padding: 0.8rem;
        margin-bottom: 0.8rem;
    }
    
    .detail-item h4 {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }
    
    .detail-item p {
        font-size: 0.85rem;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.6rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .address-container {
        padding: 0 12px;
    }
    
    .address-details-box {
        padding: 0.8rem;
    }
    
    .address-text {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }
    
    .address-buttons {
        gap: 0.5rem;
    }
    
    .address-buttons .btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .promo-card {
        padding: 0.8rem;
    }
    
    .promo-title {
        font-size: 0.95rem;
    }
    
    .promo-text {
        font-size: 0.85rem;
    }
    
    .map-container {
        height: 200px;
    }
    
    .phase-number {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .phase-content {
        padding: 0.8rem;
    }
    
    .contact-form-container {
        padding: 1rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.6rem;
        font-size: 14px;
    }
    
    .footer-logo-image {
        height: 60px;
    }
    
    .footer-logo-main {
        font-size: 0.9rem;
    }
    
    .footer-logo-sub {
        font-size: 0.5rem;
    }
}
