/* =========================================
   VARIABLES & RESET
   ========================================= */
:root {
    --navy-blue: #000080; /* Standard Navy Blue */
    --red: #D32F2F;       /* Professional Red */
    --sky-blue: #87CEEB;  /* Sky Blue */
    --white: #ffffff;
    --dark-text: #333333;
    --light-bg: #f4f7f6;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--dark-text);
    line-height: 1.6;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-bg);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--navy-blue);
}

.section-title span {
    color: var(--red);
}

.text-center {
    text-align: center;
}

/* =========================================
   NAVBAR & LOGO
   ========================================= */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo-img {
    max-height: 80px;
    width: auto;
    display: block;
    transition: var(--transition);
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-menu li a {
    color: var(--navy-blue);
    font-weight: 500;
    transition: var(--transition);
}

.nav-menu li a:hover, .nav-menu li a.active {
    color: var(--red);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 220px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 1;
    border-top: 3px solid var(--sky-blue);
    top: 100%;
}

.dropdown-content li a {
    color: var(--dark-text);
    padding: 12px 16px;
    display: block;
}

.dropdown-content li a:hover {
    background-color: var(--light-bg);
    color: var(--navy-blue);
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Brochure Button */
.btn-brochure {
    background-color: var(--red);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
}

.btn-brochure:hover {
    background-color: var(--navy-blue);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--navy-blue);
}

/* =========================================
   HERO SLIDER
   ========================================= */
.hero {
    position: relative;
    height: 80vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-content {
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-content h1 span {
    color: var(--sky-blue);
}

.hero-content p {
    font-size: 1.2rem;
}

/* =========================================
   COMMON GRIDS (ABOUT, SERVICES, WHY US)
   ========================================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid var(--red);
}

.service-card .icon {
    font-size: 3rem;
    color: var(--sky-blue);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--navy-blue);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.why-item {
    text-align: center;
}

.why-item i {
    font-size: 2.5rem;
    color: var(--red);
    margin-bottom: 15px;
}

.why-item h4 {
    color: var(--navy-blue);
    margin-bottom: 10px;
}

/* =========================================
   DESTINATIONS (HOMEPAGE)
   ========================================= */
.destination-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.dest-card {
    height: 250px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.dest-card:hover {
    transform: scale(1.03);
}

.dest-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--white);
}

/* =========================================
   Q&A ACCORDION
   ========================================= */
.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 20px;
    background: var(--white);
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--navy-blue);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.accordion-header:hover {
    background: var(--light-bg);
}

.accordion-content {
    padding: 0 20px;
    background: var(--white);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-content p {
    padding-bottom: 20px;
}

.accordion-item.active .accordion-content {
    max-height: 200px;
}

.accordion-item.active .accordion-header i {
    transform: rotate(45deg);
    color: var(--red);
}

/* =========================================
   FOOTER & WHATSAPP
   ========================================= */
.footer {
    background-color: var(--navy-blue);
    color: var(--white);
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo-img {
    max-height: 60px;
    width: auto;
    margin-bottom: 15px;
    display: block;
}

.social-icons a {
    display: inline-block;
    width: 35px;
    height: 35px;
    background: var(--white);
    color: var(--navy-blue);
    text-align: center;
    line-height: 35px;
    border-radius: 50%;
    margin-right: 10px;
    margin-top: 15px;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--red);
    color: var(--white);
}

.footer-col h3 {
    color: var(--sky-blue);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #ccc;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--sky-blue);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #ccc;
}

.contact-info li i {
    margin-top: 5px;
    color: var(--sky-blue);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    background-color: #000066;
}

.footer-bottom a {
    color: var(--sky-blue);
}

.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 100;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* =========================================
   ABOUT PAGE SPECIFIC STYLES
   ========================================= */
.page-header {
    height: 40vh;
    min-height: 300px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.page-header h1 span {
    color: var(--sky-blue);
}

.page-header p {
    font-size: 1.2rem;
    font-weight: 300;
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.vm-card {
    background: var(--white);
    padding: 50px 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    border-top: 5px solid var(--navy-blue);
    transition: var(--transition);
}

.vm-card:hover {
    transform: translateY(-5px);
    border-top: 5px solid var(--red);
}

.vm-icon {
    width: 80px;
    height: 80px;
    background-color: var(--light-bg);
    color: var(--red);
    font-size: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}

.vm-card h3 {
    color: var(--navy-blue);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.team-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.team-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.team-img {
    position: relative;
    overflow: hidden;
}

.team-img img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.team-card:hover .team-img img {
    transform: scale(1.05);
}

.team-social {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 128, 0.9);
    display: flex;
    justify-content: center;
    padding: 15px 0;
    transition: var(--transition);
}

.team-card:hover .team-social {
    bottom: 0;
}

.team-social a {
    color: var(--white);
    font-size: 1.2rem;
    margin: 0 10px;
    transition: var(--transition);
}

.team-social a:hover {
    color: var(--sky-blue);
}

.team-info {
    padding: 25px 20px;
    text-align: center;
}

.team-info h4 {
    color: var(--navy-blue);
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.team-info p {
    color: var(--red);
    font-weight: 500;
    font-size: 0.95rem;
}

/* =========================================
   DETAILED TEAM PROFILES PAGE STYLES
   ========================================= */
.detailed-team-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.detailed-team-card {
    display: flex;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    transition: var(--transition);
    border-left: 5px solid var(--navy-blue);
}

.detailed-team-card:hover {
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
    transform: translateY(-5px);
    border-left: 5px solid var(--red);
}

.dt-image {
    flex: 0 0 300px;
}

.dt-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dt-content {
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.dt-content h3 {
    font-size: 1.8rem;
    color: var(--navy-blue);
    margin-bottom: 5px;
}

.dt-role {
    display: inline-block;
    font-weight: 600;
    color: var(--red);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.dt-content p {
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.7;
}

.dt-content p:last-child {
    margin-bottom: 0;
}

/* =========================================
   STUDY DESTINATION PAGES & LOANS SPECIFIC
   ========================================= */
.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.course-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.course-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.course-info {
    padding: 25px 20px;
    border-bottom: 4px solid var(--sky-blue);
    transition: var(--transition);
}

.course-card:hover .course-info {
    border-bottom: 4px solid var(--red);
}

.course-info h4 {
    color: var(--navy-blue);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.course-info p {
    font-size: 0.95rem;
    color: #666;
}

.req-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.req-box {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.04);
    border-top: 5px solid var(--navy-blue);
}

.req-box h3 {
    color: var(--navy-blue);
    font-size: 1.5rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.req-list {
    list-style: none;
}

.req-list li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    font-size: 1.05rem;
}

.req-list li::before {
    content: '\f058';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--sky-blue);
    font-size: 1.1rem;
}

/* =========================================
   CONTACT PAGE SPECIFIC STYLES
   ========================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.contact-form-container {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-top: 5px solid var(--navy-blue);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input, 
.contact-form select, 
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: var(--dark-text);
    background-color: #f9f9f9;
    transition: var(--transition);
}

.contact-form input:focus, 
.contact-form select:focus, 
.contact-form textarea:focus {
    border-color: var(--sky-blue);
    background-color: var(--white);
    outline: none;
    box-shadow: 0 0 5px rgba(135, 206, 235, 0.5);
}

.contact-form textarea {
    resize: vertical;
}

.btn-submit {
    background-color: var(--red);
    color: var(--white);
    border: none;
    padding: 15px 30px;
    width: 100%;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.btn-submit:hover {
    background-color: var(--navy-blue);
}

.map-container {
    width: 100%;
    min-height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #ddd;
}

/* =========================================
   CAMPUS IMAGE GALLERY (MBBS PAGE)
   ========================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 250px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(0, 0, 128, 0.9));
    color: var(--white);
    padding: 20px;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* =========================================
   MBBS SYLLABUS GRID STYLES (Alternative Layout)
   ========================================= */
.syllabus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.syllabus-card {
    background: var(--white);
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 30px 25px;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    transition: var(--transition);
}

.syllabus-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.year-badge {
    background: var(--red);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    position: absolute;
    top: -20px;
    left: 20px;
    box-shadow: 0 4px 10px rgba(211, 47, 47, 0.3);
}

.syllabus-card:nth-child(even) .year-badge {
    background: var(--navy-blue);
    box-shadow: 0 4px 10px rgba(0, 0, 128, 0.3);
}

.syllabus-list {
    margin-top: 15px;
    list-style: none;
}

.syllabus-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #444;
    line-height: 1.5;
}

.syllabus-list li::before {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    color: var(--sky-blue);
    font-size: 1.1rem;
}

/* =========================================
   ATTRACTIVE SYLLABUS TIMELINE
   ========================================= */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--sky-blue);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 4px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--white);
    border: 4px solid var(--red);
    top: 30px;
    border-radius: 50%;
    z-index: 1;
}

.left {
    left: 0;
}

.right {
    left: 50%;
}

.left::after {
    right: -10px;
}

.right::after {
    left: -10px;
}

.timeline-content {
    padding: 30px;
    background-color: var(--white);
    position: relative;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    border-top: 5px solid var(--sky-blue);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.timeline-badge {
    background: var(--red);
    color: var(--white);
    padding: 6px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-block;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.timeline-content ul {
    list-style: none;
    padding-left: 0;
}

.timeline-content ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    font-size: 1rem;
    color: var(--dark-text);
    line-height: 1.5;
}

.timeline-content ul li::before {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--sky-blue);
    font-size: 1.1rem;
}

/* =========================================
   GLOBAL RESPONSIVE DESIGN STYLES
   ========================================= */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 850px) {
    .detailed-team-card {
        flex-direction: column;
        border-left: none;
        border-top: 5px solid var(--navy-blue);
    }
    .detailed-team-card:hover {
        border-left: none;
        border-top: 5px solid var(--red);
    }
    .dt-image {
        flex: auto;
        height: 350px; 
    }
    .dt-content {
        padding: 25px;
    }
    .dt-content h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    .logo-img {
        max-height: 40px; 
    }
    .nav-menu {
        position: absolute;
        top: 100%;
        left: -100%;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        text-align: center;
        padding: 20px 0;
        transition: 0.3s;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    .nav-menu.active {
        left: 0;
    }
    .dropdown-content {
        position: static;
        box-shadow: none;
        display: none;
    }
    .dropdown:hover .dropdown-content {
        display: none;
    }
    .dropdown.active .dropdown-content {
        display: block;
        background-color: var(--light-bg);
    }
    .req-grid {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .map-container {
        min-height: 300px;
    }
    .timeline::after {
        left: 31px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    .timeline-item::after {
        left: 21px;
    }
    .right {
        left: 0%;
    }
}