/* Font Family */
@import url('https://fonts.cdnjs.com/css2?family=Montserrat:wght@100;300;400;500;600;700;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    scroll-behavior: smooth;
}

:root {
    --primary: #CC3634;
    --primary-light: #e65a58;
    --primary-dark: #a12a28;
    --secondary: #575656;
    --secondary-light: #6e6d6d;
    --secondary-dark: #444343;
    --light: #B2B2B2;
    --light-bg: #f8f8f8;
    --white: #FFFFFF;
    --dark: #222222;
    --overlay: rgba(0, 0, 0, 0.7);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
    --radius: 12px;
    --radius-sm: 6px;
    --max-width: 1400px;
}

body {
    color: var(--secondary);
    overflow-x: hidden;
    background-color: var(--white);
    line-height: 1.6;
}

/* Utilities */
.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
}

.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-white { color: var(--white); }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: none;
    z-index: 1;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(204, 54, 52, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 4px;
    background-color: var(--primary);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-subtitle {
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: block;
}

.section-description {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--secondary-light);
}

/* Utilities */
.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
}

.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-white { color: var(--white); }

/* Top Bar Styles */
.top-bar {
    background-color: var(--secondary);
    padding: 10px 0;
	position: sticky;
    top: 0;
    z-index: 1001; /* Higher than header to stay on top */
}

.top-menu {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.top-menu-item {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-menu-item:first-child {
    background-color: var(--primary);
}

.top-menu-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-menu-item:first-child:hover {
    background-color: var(--primary-dark);
}

.top-menu-icon {
    font-size: 1rem;
}

/* Header Styles */
header {
    box-shadow: var(--shadow);
    position: sticky;
    top: 46px; /* Adjust this value based on the height of your top bar */
    background-color: var(--white);
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    order: 1;
}
img.logo-img-top {
    max-width: 150px;
    height: auto;
    display: flex;
    align-items: center;
}

.logo span {
    color: var(--secondary);
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 900;
}

nav {
    order: 2;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--secondary);
    font-weight: 600;
    font-size: 16px;
    position: relative;
    transition: var(--transition);
    padding: 10px 0;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background-color: var(--primary);
    bottom: 0;
    left: 0;
    transition: var(--transition);
    border-radius: 5px;
}

nav ul li a:hover {
    color: var(--primary);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--secondary);
    border: none;
    background: transparent;
    order: 3;
}
/* Media query for mobile devices */
@media (max-width: 768px) {
    header {
        top: 0; /* Remove the top spacing on mobile */
    }
    
    .top-bar {
        position: relative; /* Make the top bar non-sticky on mobile */
    }
}
/* Mobile Menu Styles */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    z-index: 1000;
    transition: left 0.3s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-menu-overlay.active {
    left: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--light-bg);
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu-content {
    flex-grow: 1;
    padding: 20px;
}

.mobile-menu-content ul {
    list-style: none;
}

.mobile-menu-content ul li {
    margin-bottom: 15px;
}

.mobile-menu-content ul li a {
    text-decoration: none;
    color: var(--secondary);
    font-size: 1.2rem;
    font-weight: 600;
}

.mobile-menu-top-menu {
    padding: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.mobile-menu-top-menu .top-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
}

.mobile-menu-top-menu .top-menu-item {
    justify-content: center;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    background-color: rgba(255,255,255,0.1);
    color: var(--white);
    transition: background-color 0.3s ease;
    text-align: center;
}

.mobile-menu-top-menu .top-menu-item:hover {
    background-color: rgba(255,255,255,0.2);
}

.mobile-menu-top-menu .top-menu-item .top-menu-icon {
    color: var(--white);
    margin-right: 10px;
}

.mobile-menu-header {
    background: linear-gradient(135deg, var(--primary) 0%, #2e2828 100%);
    padding: 15px 20px;
}

.mobile-menu-header .logo {
    color: var(--white);
}

.mobile-menu-header .logo span {
    color: rgba(255,255,255,0.8);
}

.mobile-menu-header .mobile-menu-close {
    color: var(--white);
}
  /* ===== HERO SECTION ===== */
/* ===== HERO SECTION WITH FORM ===== */
.hero {
    height: 90vh;
    position: relative;
    background: linear-gradient(rgb(0 0 0 / 44%), rgb(0 0 0 / 56%)), url('../images/Acity-Undergraduate-Program-Student.jpg') center/cover no-repeat;
    color: var(--white);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(204, 54, 52, 0.8) 0%, rgba(0, 0, 0, 0.8) 100%);
    opacity: 0.6;
    z-index: 1;
}

/* Hero Container with Two Column Layout */
.hero .container {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Hero Content - Left Side */
.hero-content {
    position: relative;
    z-index: 10;
    max-width: 736px;
    padding: 0 20px;
    width: 100%;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeIn 1s ease;
    word-wrap: break-word;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    font-weight: 400;
    line-height: 1.8;
    animation: fadeIn 1.5s ease;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    animation: fadeIn 2s ease;
}

/* Hero Form Container - Right Side */
/* FIX 1 - Hero form container: remove overflow hidden */
.hero-form-container {
    background: var(--white);
    border-radius: 12px;
    padding: 20px 20px 0px 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideInRight 1s ease;
    max-width: 500px;
    width: 100%;
    position: relative;
    z-index: 10;
    overflow: visible;        /* ← was: overflow: hidden */
    max-height: none;         /* ← was: max-height: 590px */
    min-height: 540px;        /* ← add this so container holds the form */
}

/* FIX 2 - Contact form container: allow iframe to expand it */
.contact-form-container {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
    overflow: visible;         /* ← add this */
    min-height: 650px;         /* ← add this to hold the 580px widget */
}

/* FIX 3 - Ensure npf widget iframe is never clipped */
.npf_wgts,
.npf_wgts iframe {
    overflow: visible !important;
    width: 100% !important;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.form-header {
    margin-bottom: 10px;
    text-align: center;
}

.form-header h3 {
    font-size: 1.8rem;
    color: var(--secondary);
    margin-bottom: 0px;
    font-weight: 700;
}

.form-header p {
    color: var(--secondary);
    opacity: 0.8;
    font-size: 0.95rem;
    line-height: 1.6;
    display: none;
}

.zoho-form-wrapper {
    width: 100%;
    height: auto;
    overflow: visible;
}

.zoho-form-wrapper iframe {
    border: none;
    width: 100%;
    display: block;
}

.npf_wgts {
    width: 100%;
    height: auto;
    overflow: visible;
}

/* Override widget container padding */
.hero-form-container .widget_container {
    padding: 10px 15px 0px 15px !important;
    background: #fff !important;
    margin-bottom: 0 !important;
}

.hero-form-container #registerBtn {
    margin-bottom: 0px !important;
}

.hero-form-container .button-holder {
    margin-bottom: 0px !important;
    padding-bottom: 0px !important;
    margin-top: 10px !important;
}

.hero-form-container .form-group:last-of-type {
    margin-bottom: 5px !important;
}

.hero-form-container .form-custom {
    margin-bottom: 0px !important;
    padding-bottom: 0px !important;
}

.hero-form-container .zoho-form-wrapper {
    margin-bottom: -50px !important;
}

.hero-form-container .npf_wgts {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design - Tablet and Below */
@media screen and (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-form-container {
        margin: 0 auto;
        max-width: 100%;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
        margin: 0 auto;
    }

    .hero-buttons {
        justify-content: center;
    }
}

/* Responsive Design - Mobile */
@media screen and (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 90vh;
        padding: 60px 0;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-content {
        padding: 0 15px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .hero-form-container {
        padding: 30px 20px 0px;
    }

    .form-header h3 {
        font-size: 1.5rem;
    }

    .zoho-form-wrapper {
        height: auto;
        overflow: visible;
    }

    .npf_wgts {
        height: auto;
    }

    header .container {
        padding: 20px 20px;
    }

    .about {
        padding: 40px 0;
    }
}

/* Responsive Design - Small Mobile */
@media screen and (max-width: 480px) {
    .hero {
        height: auto;
        min-height: 80vh;
        padding: 40px 0;
    }

    .hero-content {
        padding: 40px 15px;
    }

    .hero h1 {
        font-size: 1.6rem;
        hyphens: auto;
    }

    .hero p {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }

    .hero-badge {
        font-size: 12px;
        padding: 6px 12px;
    }

    .hero-form-container {
        padding: 25px 15px 0px;
    }

    .form-header h3 {
        font-size: 1.3rem;
    }

    .hero .container {
        gap: 25px;
    }

    header .container {
        padding: 20px 20px;
    }

    .about {
        padding: 40px 0 !important;
    }
}

@media screen and (max-width: 360px) {
    .hero h1 {
        font-size: 1.75rem;
    }
}

/* Ensure buttons stay properly sized */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    backdrop-filter: blur(5px);
}

.btn i {
    margin-right: 0;
}
/* ===== ABOUT SECTION ===== */
.about {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.about-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background-color: rgba(204, 54, 52, 0.05);
    border-radius: 50%;
    z-index: -1;
    transform: translate(250px, -250px);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    padding-right: 20px;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: var(--secondary-light);
}

.about-text .btn {
    margin-top: 20px;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    border-left: 4px solid var(--primary);
    padding-left: 20px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.stat-title {
    font-size: 0.9rem;
    color: var(--secondary);
    font-weight: 500;
}

.about-image {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.about-img {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    background-color: #f8f8f8;
    opacity: 0;
    animation: fadeInImage 0.8s ease forwards;
    transform: translateY(20px);
}

.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-img:hover img {
    transform: scale(1.05);
}

.about-img:nth-child(1) {
    animation-delay: 0.1s;
    transform: translateY(30px);
}

.about-img:nth-child(2) {
    animation-delay: 0.3s;
}

.about-img:nth-child(3) {
    animation-delay: 0.5s;
}

.about-img:nth-child(4) {
    animation-delay: 0.7s;
    transform: translateY(-30px);
}

.about-image::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(204, 54, 52, 0.05);
    z-index: 1;
    bottom: -50px;
    left: -50px;
    animation: floatAnimation 6s ease-in-out infinite;
}

.about-image::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(204, 54, 52, 0.08);
    z-index: 1;
    top: -30px;
    right: -30px;
    animation: floatAnimation 8s ease-in-out infinite;
}
@keyframes fadeInImage {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatAnimation {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}
/* ===== FEATURES SECTION ===== */
.features {
    padding: 100px 0;
    background-color: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.feature-item {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: var(--primary);
    border-radius: 3px 0 0 3px;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--secondary-dark);
}

.feature-description {
    font-size: 1rem;
    color: var(--secondary-light);
    margin-bottom: 20px;
    flex-grow: 1;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
    gap: 5px;
}

.feature-link:hover {
    color: var(--primary-dark);
}

.feature-link i {
    transition: var(--transition);
}

.feature-link:hover i {
    transform: translateX(5px);
}

/* ===== PROGRAMMES SECTION ===== */
.programmes {
    padding: 100px 0;
    position: relative;
}

/*.programmes-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}*/
.programmes-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.programme-card {
    background-color: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    height: 100%;
}

.programme-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.programme-img {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.programme-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    z-index: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Replace gradient backgrounds with image backgrounds */
.engineering-bg {
    background: linear-gradient(rgb(0 0 0 / 0%), rgb(0 0 0 / 0%)), url('../images/Engineering.png');
    background-size: cover;
    background-position: center;
}

.business-bg {
    background: linear-gradient(rgb(0 0 0 / 0%), rgb(0 0 0 / 0%)), url('../images/Business.jpg');
    background-size: cover;
    background-position: center;
}

.informatics-bg {
    background: linear-gradient(rgb(0 0 0 / 0%), rgb(0 0 0 / 0%)), url('../images/Informatics-1.jpg');
    background-size: cover;
    background-position: center;
}

.arts-bg {
    background: linear-gradient(rgb(0 0 0 / 0%), rgb(0 0 0 / 0%)), url(../images/Communication-Arts-1.jpg);
    background-size: cover;
    background-position: center;
}

.programme-content {
    padding: 30px;
}

.programme-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--secondary-dark);
}

.programme-description {
    color: var(--secondary-light);
    margin-bottom: 20px;
    font-size: 0.95rem;
}
/* List item hover effect with primary color */
.programme-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--secondary);
    transition: color 0.3s ease, transform 0.3s ease;
    padding: 5px 0;
}

.programme-features li i {
    color: var(--primary);
    font-size: 1rem;
    flex-shrink: 0;
    transition: color 0.3s ease, transform 0.3s ease;
}

.programme-features li a {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
}
.programme-more-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--secondary);
    font-style: italic;
    background-color: rgba(0, 0, 0, 0.05);
    padding: 8px 12px;
    border-radius: 20px;
    justify-content: center;
}

.programme-more-info i {
    color: var(--primary);
}

.programme-more-info:hover {
    background-color: rgba(0, 0, 0, 0.08);
    color: var(--primary);
}
/* The hover effect */
.programme-features li:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.programme-features li:hover i {
    transform: scale(1.2);
}

.programme-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
}

.programme-link:hover {
    color: var(--primary-dark);
}

.programme-link i {
    transition: var(--transition);
}

.programme-link:hover i {
    transform: translateX(5px);
}
/* Mobile devices - single column */
@media (max-width: 768px) {
    .programmes-container {
        grid-template-columns: 1fr;
    }
}
/* ===== ADMISSION PROCESS ===== */
/* ===== ADMISSION PROCESS ===== */

        .admission {
            padding: 100px 0;
            background-color: var(--light-bg);
            position: relative;
            overflow: hidden;
        }

        .admission-bg {
            position: absolute;
            bottom: -300px;
            left: -300px;
            width: 600px;
            height: 600px;
            background-color: rgba(204, 54, 52, 0.03);
            border-radius: 50%;
            z-index: 0;
        }

        .section-header {
            text-align: center;
            margin-bottom: 60px;
            position: relative;
            z-index: 1;
        }

        .section-subtitle {
            color: var(--primary);
            font-size: 1rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            display: block;
            margin-bottom: 10px;
        }

        .section-title {
            font-size: 2.5rem;
            color: var(--secondary-dark);
            margin: 10px 0 20px;
            font-weight: 700;
        }

        .section-description {
            color: var(--secondary-light);
            font-size: 1.1rem;
            line-height: 1.6;
            max-width: 600px;
            margin: 0 auto;
        }

        .process-steps {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 30px;
            margin-top: 60px;
            position: relative;
            z-index: 1;
        }

        .step {
            background: var(--white);
            padding: 40px 30px;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            transition: var(--transition);
            position: relative;
            overflow: hidden;
        }

        .step::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 5px;
            background: var(--primary);
        }

        .step:hover {
            transform: translateY(-10px);
            box-shadow: var(--shadow-hover);
        }

        .step-number {
            font-size: 3rem;
            font-weight: bold;
            color: var(--primary);
            opacity: 0.2;
            position: absolute;
            top: 20px;
            right: 20px;
            line-height: 1;
        }

        .step-title {
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--secondary-dark);
            margin-bottom: 15px;
            position: relative;
            z-index: 1;
        }

        .step-description {
            color: var(--secondary-light);
            font-size: 1rem;
            line-height: 1.5;
            position: relative;
            z-index: 1;
        }

        /* Responsive Design */
        @media screen and (max-width: 768px) {
            .admission {
                padding: 70px 0;
            }
            
            .section-title {
                font-size: 2rem;
            }
            
            .process-steps {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            
            .step {
                padding: 30px 25px;
            }
            
            .step-number {
                font-size: 2.5rem;
                top: 15px;
                right: 15px;
            }
        }

        @media screen and (max-width: 480px) {
            .container {
                padding: 0 15px;
            }
            
            .step {
                padding: 25px 20px;
            }
            
            .step-title {
                font-size: 1.2rem;
            }
            
            .step-description {
                font-size: 0.95rem;
            }
        }

/* ===== CALL TO ACTION ===== */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url('/api/placeholder/1920/1080');
    background-position: center;
    background-size: cover;
    opacity: 0.1;
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.cta-description {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: 100px 0;
    position: relative;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.contact-info {
    padding-right: 20px;
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--secondary-dark);
}

.contact-description {
    margin-bottom: 30px;
    font-size: 1.05rem;
    color: var(--secondary-light);
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(204, 54, 52, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary);
}

.contact-text h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--secondary-dark);
}

.contact-text p {
    font-size: 0.95rem;
    color: var(--secondary-light);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--secondary);
    transition: var(--transition);
    text-decoration: none;
}

.social-link:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-5px);
}

.contact-form-container {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
}

.form-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--secondary-dark);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--secondary);
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--light);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--white);
}

.form-control:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(204, 54, 52, 0.1);
}

.submit-btn {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    margin-top: 10px;
}

.submit-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(204, 54, 52, 0.2);
}
 /* Accreditation Section Styles */
 .accreditation {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.accreditation-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: center;
}

.accreditation-text p {
    font-size: 1.05rem;
    color: var(--secondary-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.accreditation-details {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
    text-align: center;
}

.accreditation-info h3 {
    font-size: 1.8rem;
    color: var(--secondary-dark);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.accreditation-info h3::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 4px;
    background-color: var(--primary);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.accreditation-body {
    margin-bottom: 30px;
}

.accreditation-body p {
    margin-bottom: 10px;
    color: var(--secondary);
}

.certificate-number {
    font-weight: 600;
    color: var(--primary);
}

.certificate-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.certificate-download i {
    margin-right: 5px;
}
/* Global Partners Section Styles */
.global-partners {
    padding: 100px 0;
    background-color: var(--white);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.partner-card {
    background-color: var(--light-bg);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.partner-link {
    display: block;
    text-decoration: none;
    color: var(--secondary-dark);
}

.partner-logo {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.partner-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent 60%, rgba(0,0,0,0.7));
    opacity: 0;
    transition: var(--transition);
}

.partner-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.partner-name {
    padding: 20px;
    text-align: center;
    font-weight: 600;
    background-color: var(--light-bg);
    transition: var(--transition);
    height: 70px; /* Add fixed height */
    display: flex;
    align-items: center;
    justify-content: center; /* Center content vertically and horizontally */
}

.partner-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.partner-card:hover .partner-logo::before {
    opacity: 1;
}

.partner-card:hover .partner-logo img {
    transform: scale(1.1);
}

.partner-card:hover .partner-name {
    background-color: var(--primary);
    color: var(--white);
}
/* ===== FOOTER ===== */
footer {
    background-color: var(--secondary-dark);
    color: var(--light);
    padding-top: 80px;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 60px;
}

.footer-logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.footer-logo span {
    color: var(--primary);
}

.footer-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 900;
}

.footer-about {
    margin-bottom: 25px;
    font-size: 0.95rem;
    color: var(--light);
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social-link {
    color: var(--light);
    font-size: 1.2rem;
    transition: var(--transition);
}

.footer-social-link:hover {
    color: var(--primary);
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-title::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--primary);
    left: 0;
    bottom: 0;
    border-radius: 2px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--light);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-links a i {
    font-size: 0.8rem;
}

.footer-contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.footer-contact-icon {
    font-size: 1.2rem;
    color: var(--primary);
}

.footer-contact-text {
    font-size: 0.95rem;
}

.footer-newsletter p {
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.newsletter-form {
    display: flex;
}

.newsletter-input {
    flex-grow: 1;
    padding: 12px;
    border: none;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    font-size: 0.95rem;
}

.newsletter-btn {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    padding: 0 20px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-btn:hover {
    background-color: var(--primary-dark);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .about-content {
        gap: 40px;
    }
}
/* Responsive Adjustments */
@media (max-width: 992px) {
    .menu-toggle {
        display: block;
    }

    nav {
        display: none;
    }
    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-text {
        padding-right: 0;
    }

    .process-line {
        display: none;
    }
    .accreditation-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .accreditation-details {
        max-width: 500px;
        margin: 0 auto;
    }
}
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 300px;
    }

    .btn {
        width: 100%;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 300px;
        margin: 0 auto;
    }

    .contact-info {
        padding-right: 0;
    }
    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }

    .partner-logo {
        height: 200px;
    }

    .partner-name {
        padding: 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .container {
        width: 95%;
    }

    .top-bar {
        display: none;
    }

    .hero {
        text-align: center;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .hero-buttons {
        margin: 0 auto;
    }
    .accreditation {
        padding: 60px 0;
    }

    .accreditation-details {
        padding: 30px;
    }

    .accreditation-info h3 {
        font-size: 1.5rem;
    }
    .global-partners {
        padding: 60px 0;
    }

    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }

    .partner-logo {
        height: 150px;
    }
    .footer-top {
        gap: 40px;
    }
}