/* ARCHHAS Premium Design System */
/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=Open+Sans:wght@400;600&display=swap');

:root {
    --primary-color: #002147;
    /* Oxford Blue */
    --secondary-color: #008080;
    /* Teal for Healthcare */
    --accent-color: #FFA500;
    /* Subtle Gold/Orange for call to action */
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --light-bg: #f5f7fa;
    --border-color: #e0e0e0;
    --container-width: 1200px;
    --header-height: 80px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-color);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--secondary-color);
    color: var(--white);
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

/* Header & Navigation */
.top-bar {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 0;
    font-size: 13px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-info span {
    margin-right: 20px;
}

.main-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
}

.main-header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto;
    gap: 15px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    justify-content: center;
}

.logo-img {
    height: 70px;
    width: auto;
}

.header-full-name {
    font-size: 28px !important;
    font-weight: 800 !important;
    color: var(--primary-color);
    text-align: center;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-link {
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-color);
    position: relative;
    padding: 8px 0;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 33, 71, 0.8), rgba(0, 33, 71, 0.6)), url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 48px;
    color: var(--white);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.btn-group {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Features/Ticker (IITD Style) */
.ticker-wrap {
    background-color: var(--secondary-color);
    color: var(--white);
    overflow: hidden;
    padding: 10px 0;
}

.ticker {
    display: flex;
    animation: ticker 30s linear infinite;
    white-space: nowrap;
}

.ticker-item {
    margin-right: 50px;
    font-weight: 600;
}

@keyframes ticker {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* About Section */
.about-section {
    background-color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.about-grid {
    display: flex;
    gap: 50px;
    align-items: center;
}

.about-image img {
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-content h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 20px;
    color: var(--text-light);
}

/* Courses Section */
.courses-section {
    background-color: var(--light-bg);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.course-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-bottom: 4px solid transparent;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-bottom-color: var(--secondary-color);
}

.course-image {
    height: 200px;
    background-color: #ddd;
    background-size: cover;
    background-position: center;
}

.course-content {
    padding: 25px;
}

.course-tag {
    background-color: rgba(0, 128, 128, 0.1);
    color: var(--secondary-color);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 15px;
}

.course-title {
    font-size: 20px;
    margin-bottom: 10px;
}

.course-desc {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 20px;
}

/* Stats/Locations */
.stats-section {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.stat-item h3 {
    color: var(--white);
    font-size: 48px;
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 18px;
    opacity: 0.8;
}

/* Locations */
.locations-section {
    padding: 60px 0;
    text-align: center;
}

.locations-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.location-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.location-icon {
    width: 80px;
    height: 80px;
    background-color: var(--light-bg);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    color: var(--primary-color);
    transition: var(--transition);
}

.location-item:hover .location-icon {
    background-color: var(--secondary-color);
    color: var(--white);
}

.location-name {
    font-weight: 700;
    font-size: 18px;
}

/* Footer */
.main-footer {
    background-color: #0d1219;
    color: #aebfd1;
    padding-top: 80px;
    font-size: 14px;
}

.footer-top {
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-about h3 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 16px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
}

/* ... existing code ... */

/* Mobile Responsive */
@media (max-width: 768px) {
    .main-header .container {
        flex-direction: column;
        height: auto;
        padding: 15px;
    }

    .nav-menu {
        margin-top: 15px;
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h1 {
        font-size: 32px;
    }

    .focus-title {
        font-size: 36px !important;
    }

    .focus-subtitle {
        font-size: 18px !important;
    }

    .header-full-name {
        font-size: 18px !important;
    }

    .about-grid {
        flex-direction: column;
    }

    .stats-grid {
        flex-direction: column;
        gap: 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-slider-section {
        flex-direction: column;
    }

    .hero-slider-container {
        width: 100%;
        height: 400px;
    }

    .notice-board {
        width: 100%;
        margin-left: 0;
        margin-top: 20px;
    }
}

/* --- New Additions for Richer UI --- */

/* Hero Slider & Notice Board Layout */
.hero-wrapper {
    display: flex;
    flex-wrap: wrap;
    background-color: #f0f0f0;
}

.hero-slider-section {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.hero-slider-container {
    flex: 3;
    position: relative;
    overflow: hidden;
    height: 600px;
    background-color: #000;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 33, 71, 0.4);
    /* Overlay for readability */
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 20px;
    animation: slideUp 1s ease-out;
}

.hero-slide-content h2,
.hero-slide-content h1 {
    font-size: 48px;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.focus-title {
    font-size: 64px !important;
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 25px !important;
}

.focus-subtitle {
    font-size: 28px !important;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 40px !important;
}

.sub-focus-title {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.sub-focus-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
}

.delivery-modes {
    font-weight: 700;
    margin-top: 15px;
    color: var(--text-dark);
    font-family: 'Montserrat', sans-serif;
}

.delivery-modes span {
    color: var(--secondary-color);
    text-transform: uppercase;
    font-size: 14px;
    padding: 0 5px;
}

.custom-list {
    margin: 20px 0;
}

.custom-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.custom-list li i {
    color: var(--secondary-color);
    font-size: 18px;
}

.hero-slide-content p {
    font-size: 22px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Notice Board (University-style) */
.notice-board {
    flex: 1;
    background-color: var(--white);
    border-left: 1px solid #ddd;
    display: flex;
    flex-direction: column;
    height: 600px;
}

.notice-header {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 15px;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.notice-content {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

.notice-item {
    padding: 20px;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s;
}

.notice-item:hover {
    background-color: #f9f9f9;
}

.notice-date {
    display: block;
    font-size: 12px;
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 5px;
}

.notice-title {
    display: block;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 14px;
}

.notice-link {
    font-size: 12px;
    text-decoration: underline;
    color: var(--text-light);
}

/* Animations */
@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 1s ease-out forwards;
}

/* Enhanced Course Cards */
.course-card {
    position: relative;
    overflow: hidden;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--secondary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.course-card:hover::before {
    transform: scaleX(1);
}