/* =========================================
   MODERN DESIGN SYSTEM
   ========================================= */

:root {
    --primary: #1a237e;
    /* Deep Indigo */
    --primary-light: #534bae;
    --primary-dark: #000051;
    --secondary: #ffc107;
    /* Gold */
    --accent: #ff6f61;
    /* Coral */
    --text-main: #2c3e50;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-dark);
}

h1 {
    font-size: clamp(2.5rem, 5vw + 1rem, 4.5rem);
}

h2 {
    font-size: clamp(2.2rem, 4vw + 1rem, 3.2rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw + 1rem, 2rem);
}

.section-subtitle {
    display: block;
    color: var(--secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

h2 span {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

section {
    padding: clamp(60px, 10vw, 100px) 0;
}

.container {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
}


/* Header */

.main-header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: var(--glass);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
    /* Add smooth transition for the whole header */
}

/* Scrolled state for the smart-shrink effect */
.main-header.scrolled {
    box-shadow: var(--shadow-md);
}

.main-header.scrolled .container:first-child {
    padding: 5px 0;
    /* Shrink top part */
}

.main-header.scrolled .logo-container img {
    height: 45px;
    /* Shrink logo */
}

.main-header.scrolled .contact-info {
    opacity: 0.8;
    transform: scale(0.9);
    transform-origin: right center;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.logo-container img {
    height: 60px;
    width: auto;
    transition: var(--transition);
    /* Smooth resize */
}

.main-header .container:first-child {
    transition: var(--transition);
}

.contact-info {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
}

.contact-item a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
}

/* Navigation */

.navigation {
    background: var(--primary);
    padding: 10px 0;
    position: relative;
    box-shadow: var(--shadow-md);
}

.navigation .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    z-index: 10;
}

.search-toggle {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px 12px;
    transition: var(--transition);
    border-radius: var(--radius-sm);
}

.search-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.navbar {
    display: flex;
    list-style: none;
    justify-content: center;
    gap: 30px;
    width: 100%;
}

.navbar li {
    position: relative;
}

.navbar a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    padding: 8px 12px;
    border-radius: 4px;
}

.navbar a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--secondary);
}

.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #444;
    list-style: none;
    min-width: 160px;
    z-index: 1;
}

.sub-menu li {
    width: 100%;
}

.navbar li:hover .sub-menu {
    display: block;
}

/* Styles for Login/Signup Submenu */

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #444;
    /* White background for submenu */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    /* Subtle shadow */
    border-radius: 4px;
    /* Rounded corners */
    min-width: 160px;
    z-index: 1000;
    /* Ensure it appears above other elements */
}

.submenu li {
    border-bottom: 1px solid #ddd;
    list-style-type: none;
    /* Light border between items */
}

.submenu li:last-child {
    border-bottom: none;
    /* Remove border for the last item */
}

.submenu li a {
    display: block;
    padding: 10px 15px;
    /* Spacing inside each item */
    text-decoration: none;
    color: white;
    /* Consistent color for text */
    font-weight: 400;
    /* Lighter font weight */
}

.submenu li a:hover {
    background-color: #f0f0f0;
    /* Light background on hover */
    color: #003d7a;
    /* Darker text color on hover */
}

/* Show the submenu when hovering over the parent menu item */

.submenu-parent:hover .submenu {
    display: block;
}

.menu-badge {
    background-color: red;
    color: white;
    padding: 2px 5px;
    border-radius: 4px;
    font-size: 12px;
    position: relative;
    top: -2px;
}

.menu-right {
    display: flex;
    align-items: center;
}

.button-search {
    cursor: pointer;
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.search-form {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.search-field {
    border: 1px solid #ddd;
    padding: 5px 10px;
    width: 200px;
}

.search-submit {
    background: #333;
    color: #fff;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
}

/* Hero Section */

.hero {
    position: relative;
    overflow: hidden;
    max-width: 100%;
    height: 70vh;
}

.slider {
    display: flex;
    overflow: hidden;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    height: 100%;
}

.slide {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: none;
    /* Hide all slides by default */
}

/* Slider Controls */

.slider-controls {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

.slider-controls button {
    background: rgba(0, 0, 0, 0.5);
    /* Semi-transparent background */
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 10px;
    transition: color 0.3s ease, background-color 0.3s ease;
    border-radius: 50%;
}

.slider-controls button:hover {
    color: #ddd;
    background: rgba(0, 0, 0, 0.7);
    /* Darker background on hover */
}

.slider-controls i {
    pointer-events: none;
    /* Ensure the icon doesn't block the button click */
}

/* Search Form */

.menu-right {
    display: flex;
    align-items: center;
}

.button-search {
    color: #fff;
    cursor: pointer;
    padding: 10px;
}

.search-form {
    display: none;
    position: relative;
    margin-left: 10px;
}

.search-form input {
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.search-form button {
    background-color: #444;
    color: #fff;
    border: none;
    padding: 0px;
}

.introduction {
    padding: 50px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.intro-content {
    display: flex;
}

.intro-image img {
    width: 100%;
    max-width: 500px;
}

.intro-text {
    padding-left: 30px;
}

.programs {
    background-color: #f9f9f9;
    padding: 50px 0;
    text-align: center;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.program-card {
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
}

/* Authentication & Utility Classes */
.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
}

.auth-wrapper {
    width: 100%;
    max-width: 480px;
    padding: 50px 40px;
}

.auth-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--bg-light);
    text-align: center;
}

.auth-footer a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.auth-footer a:hover {
    color: var(--secondary);
}

.auth-wrapper .section-subtitle {
    margin-bottom: 5px;
}

.auth-wrapper h2 {
    font-size: 2.2rem;
    margin-bottom: 35px;
}

/* Program Icons Styling */
.program-card img {
    display: none;
    /* Hide the old images */
}

.program-icon {
    height: 120px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 0;
    transition: var(--transition);
}

.program-card:hover .program-icon {
    transform: scale(1.05);
    background: linear-gradient(135deg, var(--secondary), #ff9800);
}

.program-icon i {
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
}

/* Program Specific Colors (Optional refinement) */
.program-card:nth-child(1) .program-icon {
    background: linear-gradient(135deg, #4f46e5, #818cf8);
}

/* CSIT - Indigo */
.program-card:nth-child(2) .program-icon {
    background: linear-gradient(135deg, #0ea5e9, #7dd3fc);
}

/* BCA - Sky */
.program-card:nth-child(3) .program-icon {
    background: linear-gradient(135deg, #10b981, #6ee7b7);
}

/* BIM - Emerald */
.program-card:nth-child(4) .program-icon {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
}

/* BHM - Amber */
.program-card:nth-child(5) .program-icon {
    background: linear-gradient(135deg, #ef4444, #f87171);
}

/* BBS - Red */

/* Program Sections and Grids */
.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.program-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.program-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.program-icon {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: var(--white);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    transition: var(--transition);
}

.program-card:hover .program-icon i {
    transform: scale(1.1) rotate(5deg);
}

.program-icon i {
    transition: var(--transition);
}

/* Responsive Layout Utilities */
.flex-container {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.about-text,
.intro-image {
    flex: 1 1 450px;
}

@media (max-width: 992px) {
    .flex-container {
        flex-direction: column;
        text-align: center;
    }

    .intro-image img {
        max-width: 80%;
        margin: 0 auto;
    }
}

.cta {
    background-image: url('assets/cta-bg.jpg');
    background-size: cover;
    color: #fff;
    text-align: center;
    padding: 60px 0;
    position: relative;
}

.cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.cta-content {
    position: relative;
    z-index: 2;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    color: #2c3e50;
    margin-bottom: 20px;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
}

h3 {
    font-size: 2rem;
    font-weight: 500;
}

a {
    color: #007BFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.header,
.cta {
    background-color: #007BFF;
    color: white;
    padding: 20px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.intro-text p {
    margin: 20px 0;
}

.intro-text .btn {
    margin: 20px 0;
}

.btn {
    background-color: #ff6f61;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #e55a4f;
}

.introduction {
    background-color: #fff;
    padding: 50px 0;
    text-align: left;
}

.intro-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.intro-image img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.intro-text {
    max-width: 60%;
    margin-left: 20px;
}

/* General Container Styling */

.programs {
    padding: 60px 0;
    text-align: center;
}

.programs h2 {
    font-size: 36px;
    margin-bottom: 40px;
    text-transform: uppercase;
}

/* Program Grid Styling */

.program-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
}

/* Program Card Styling */

.program-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 300px;
    text-align: left;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.program-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Program Card Content Styling */

.program-card h3 {
    font-size: 24px;
    margin: 15px 20px 10px 20px;
}

.program-card p {
    font-size: 16px;
    margin: 0 20px 20px 20px;
    line-height: 1.6;
}

/* Responsive Design */

@media (max-width: 768px) {
    .program-grid {
        flex-direction: column;
        align-items: center;
    }

    .program-card {
        width: 90%;
    }
}

/* General Container Styling */

.Strengths {
    padding: 60px 0;
    text-align: center;
    background-color: #f4f4f4;
    /* A light background to differentiate this section */
}

.Strengths h2 {
    font-size: 36px;
    margin-bottom: 40px;
    text-transform: uppercase;
}

/* Strengths Grid Styling */

.strengths-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
}

/* Strength Card Styling */

.strength-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 30px 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 300px;
    text-align: center;
}

.strength-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.strength-card i {
    font-size: 48px;
    color: #3498db;
    margin-bottom: 20px;
}

.strength-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.strength-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #7f8c8d;
}

/* Responsive Design */

@media (max-width: 768px) {
    .strengths-grid {
        flex-direction: column;
        align-items: center;
    }

    .strength-card {
        width: 90%;
    }
}

/* General Container Styling */

.news-notices {
    padding: 60px 0;
    text-align: center;
    background-color: #ffffff;
}

.news-notices h2 {
    font-size: 36px;
    margin-bottom: 40px;
    text-transform: uppercase;
}

/* News List Styling */

.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

/* News Item Styling */

.news-item {
    background-color: #f9f9f9;
    border-left: 5px solid #3498db;
    padding: 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.news-item h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.news-item p {
    font-size: 16px;
    color: #7f8c8d;
    line-height: 1.6;
}

.news-item a {
    color: #3498db;
    font-weight: bold;
    text-decoration: none;
}

.news-item:hover {
    background-color: #e6f7ff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */

@media (max-width: 768px) {
    .news-list {
        align-items: center;
    }

    .news-item {
        width: 90%;
    }
}

/* General Container Styling */

.events {
    padding: 60px 0;
    text-align: center;
    background-color: #f4f4f4;
    /* Light background to distinguish this section */
}

.events h2 {
    font-size: 36px;
    margin-bottom: 40px;
    text-transform: uppercase;
}

/* Event List Styling */

.event-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

/* Event Item Styling */

.event-item {
    background-color: #ffffff;
    border-left: 5px solid #3498db;
    padding: 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

.event-item h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.event-item p {
    font-size: 16px;
    color: #7f8c8d;
    line-height: 1.6;
}

.event-item:hover {
    background-color: #e6f7ff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */

@media (max-width: 768px) {
    .event-list {
        align-items: center;
    }

    .event-item {
        width: 90%;
    }
}

/* General Container Styling */

.facilities {
    padding: 60px 0;
    text-align: center;
    background-color: #ffffff;
    /* White background for clarity */
}

.facilities h2 {
    font-size: 36px;
    margin-bottom: 40px;
    text-transform: uppercase;
}

/* Facilities Grid Styling */

.facilities-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
}

/* Facility Card Styling */

.facility-card {
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 300px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.facility-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.facility-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Facility Card Content Styling */

.facility-card h3 {
    font-size: 24px;
    /* color: #e55a4f; */
    color: #3498db;
    /* Primary color for headings */
    margin: 15px 20px 10px 20px;
}

.facility-card p {
    font-size: 16px;
    color: #7f8c8d;
    /* Text color consistency */
    margin: 0 20px 20px 20px;
    line-height: 1.6;
}

/* Responsive Design */

@media (max-width: 768px) {
    .facilities-grid {
        flex-direction: column;
        align-items: center;
    }

    .facility-card {
        width: 90%;
    }
}

/* General Container Styling */

.testimonials {
    padding: 60px 0;
    text-align: center;
    background-color: #f4f4f4;
    /* Light background to distinguish this section */
}

.testimonials h2 {
    font-size: 36px;
    margin-bottom: 40px;
    text-transform: uppercase;
}

/* Testimonial Grid Styling */

.testimonial-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
}

/* Testimonial Card Styling */

.testimonial-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 300px;
    text-align: center;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.testimonial-card img {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin-bottom: 15px;
}

.testimonial-card p {
    font-size: 16px;
    color: #7f8c8d;
    /* Text color consistency */
    line-height: 1.6;
    margin: 0 0 15px;
}

.testimonial-card h4 {
    font-size: 18px;
    color: #3498db;
    /* Primary color for names */
    margin: 0;
}

.testimonial-card i {
    color: #3498db;
    /* Primary color for icons */
}

/* Responsive Design */

@media (max-width: 768px) {
    .testimonial-grid {
        flex-direction: column;
        align-items: center;
    }

    .testimonial-card {
        width: 90%;
    }
}

/* General Container Styling */

.tieups-mous {
    padding: 60px 0;
    text-align: center;
    background-color: #ffffff;
    /* White background for clarity */
}

.tieups-mous h2 {
    font-size: 36px;
    margin-bottom: 40px;
    text-transform: uppercase;
}

/* Tie-up Grid Styling */

.tieup-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
}

/* Tie-up Card Styling */

.tieup-card {
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 300px;
}

.tieup-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.tieup-card img {
    max-width: 100%;
    height: 150px;
    object-fit: contain;
    margin-bottom: 15px;
}

.tieup-card h3 {
    font-size: 24px;
    color: #3498db;
    /* Primary color for headings */
    margin: 10px 0;
}

.tieup-card p {
    font-size: 16px;
    color: #7f8c8d;
    /* Text color consistency */
    margin: 0;
    line-height: 1.6;
}

/* Responsive Design */

@media (max-width: 768px) {
    .tieup-grid {
        flex-direction: column;
        align-items: center;
    }

    .tieup-card {
        width: 90%;
    }
}

/* Footer Styling */

.main-footer {
    background-color: #2c3e50;
    /* Dark background color for footer */
    color: #ffffff;
    /* White text for contrast */
    padding: 40px 0;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    border-bottom: 1px solid #34495e;
    /* Subtle border for separation */
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.footer-col {
    flex: 1;
    max-width: 33%;
    padding: 0 20px;
    box-sizing: border-box;
}

.footer-col h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #ffffff;
    /* White for headings */
}

.footer-col p,
.footer-col ul {
    font-size: 16px;
    color: #bdc3c7;
    /* Lighter text color for readability */
    line-height: 1.6;
    margin: 0;
}

.footer-col a {
    color: #ffffff;
    /* White links */
    text-decoration: none;
}

.footer-col a:hover {
    text-decoration: underline;
    /* Underline on hover for links */
}

.social-links {
    list-style: none;
    padding: 0;
}

.social-links li {
    display: inline;
    margin-right: 10px;
}

.social-links a {
    color: #ffffff;
    /* White for social icons */
    font-size: 20px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #3498db;
    /* Primary color for hover effect */
}

.footer-bottom {
    text-align: center;
    padding: 20px;
    border-top: 1px solid #34495e;
    /* Subtle border for separation */
}

.footer-bottom p {
    font-size: 14px;
    color: #bdc3c7;
    /* Lighter text color */
    margin: 0;
}

/* Responsive Design */

@media (max-width: 768px) {
    .footer-col {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .social-links li {
        display: block;
        margin-bottom: 10px;
    }
}

/* Global Section Styling */
section {
    padding: 100px 0;
}

section h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 60px;
    letter-spacing: -1px;
}

section h2 span {
    color: var(--secondary);
}

.section-subtitle {
    display: block;
    text-align: center;
    text-transform: uppercase;
    color: var(--secondary);
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

/* Premium Card & Glassmorphism Utilities */
.glass-card {
    background: var(--white);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary);
}

/* Modern Form Elements */
.premium-form .form-group {
    margin-bottom: 25px;
}

.premium-form .form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-sm);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    background: #f8fafc;
}

.premium-form .form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(26, 35, 126, 0.1);
}

.premium-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary-dark);
}

/* Buttons */
.btn-premium {
    display: inline-block;
    padding: 14px 32px;
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-premium:hover {
    background: var(--secondary);
    color: var(--primary);
    transform: scale(1.02);
}

/* Hero Content Styling */
.hero {
    height: 80vh;
    min-height: 600px;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    color: var(--white);
    width: 90%;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
}

.hero-content h1 span {
    color: var(--secondary);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-content .btn-premium {
    animation: fadeInUp 1s ease 0.4s backwards;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slider-controls button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.slider-controls button:hover {
    background: var(--secondary);
    color: var(--primary);
}

.slider-controls .prev {
    left: 30px;
}

.slider-controls .next {
    right: 30px;
}

/* Gallery Layout */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item::after {
    content: '\f00e';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    background: rgba(26, 35, 126, 0.8);
    color: var(--white);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Form Layout Utilities */
.form-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
}

.form-check input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.form-action {
    text-align: center;
}

.form-action button {
    min-width: 250px;
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

/* Large Form Sections */
.form-section {
    margin-bottom: 40px;
}

.form-section h3 {
    font-size: 1.3rem;
    color: var(--primary);
    border-bottom: 2px solid var(--bg-light);
    padding-bottom: 15px;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Contact Page Specifics */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    margin-top: 40px;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--secondary);
    background: var(--primary-dark);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--primary-dark);
}

/* Grids Refinement */
.facilities-grid,
.strengths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.facility-card i,
.strength-card i {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 20px;
    display: block;
}

.map-container {
    padding: 0;
    overflow: hidden;
    line-height: 0;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .contact-info {
        display: none;
    }

    .navbar {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--primary-dark);
        gap: 0;
        z-index: 1005;
        box-shadow: var(--shadow-lg);
    }

    .navbar.active {
        display: flex;
    }

    .navbar li {
        width: 100%;
    }

    .navbar a {
        display: block;
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 0;
    }

    .main-header .container:first-child {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .contact-info {
        flex-direction: column;
        gap: 5px;
        align-items: center;
    }

    .hero-content h1 {
        font-size: clamp(2rem, 5vw, 3.5rem);
        /* Fluid font size */
        padding: 0 10px;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .hero-btns .btn-premium {
        width: 100%;
    }

    .program-icon {
        height: 120px;
    }

    .strengths-grid,
    .facilities-grid {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .section-subtitle {
        font-size: 0.8rem;
    }

    .container {
        width: 95%;
    }

    .form-wrapper {
        padding: 30px 20px;
    }

    .about-text h2 {
        font-size: 1.8rem;
    }
}