/* style.css - SMR College | INTER Font Only - Dark Blue Theme */

:root {
    --primary: #0a2a44;
    --primary-dark: #051a2f;
    --primary-light: #1a3d6e;
    --secondary: #f4b942;
    --accent: #e67e22;
    --dark: #1e2a3e;
    --light: #f0f4f8;
    --gray: #8a9bb0;
    --success: #27ae60;
    --danger: #e74c3c;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --gradient-dark: linear-gradient(135deg, #0a2a44 0%, #061b30 100%);
    --gradient-card: linear-gradient(145deg, #0d3557 0%, #092440 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #e0e6ed;
    background: linear-gradient(135deg, #0a2a44 0%, #051a2f 100%);
    min-height: 100vh;
    font-size: 16px;
    letter-spacing: -0.01em;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== TYPOGRAPHY HIERARCHY ========== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

h1 {
    font-weight: 800;
    letter-spacing: -0.03em;
}

h2 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

h3 {
    font-weight: 600;
    letter-spacing: -0.01em;
}

p, li, span {
    font-weight: 400;
    letter-spacing: -0.01em;
}

small, .small-text, .meta {
    font-weight: 300;
    letter-spacing: -0.005em;
}

/* ========== SPLIT HERO SECTION ========== */
.hero-split {
    display: flex;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

/* LEFT SIDE - SLIDESHOW (50%) */
.hero-slideshow {
    flex: 0 0 50%;
    position: relative;
    overflow: hidden;
    background: #000;
}

.slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Different transition styles for each slide */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-size: cover;
    background-position: center;
    transition-timing-function: ease-in-out;
}

/* Slide 1: Fade transition (smooth) */
.slide-1 {
    transition: opacity 1.2s ease-in-out;
}

/* Slide 2: Zoom + Fade transition */
.slide-2 {
    transition: opacity 1s ease-in-out;
    transform: scale(1);
}
.slide-2.active {
    animation: zoomIn 1.2s ease-out forwards;
}

/* Slide 3: Slide from left transition */
.slide-3 {
    transition: opacity 0.8s ease-in-out;
}
.slide-3.active {
    animation: slideInLeft 0.9s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Slide 4: Ken Burns effect (slow zoom) */
.slide-4 {
    transition: opacity 1s ease-in-out;
}
.slide-4.active {
    animation: kenBurns 8s ease-out infinite;
}

/* Slide 5: Blur + Fade transition */
.slide-5 {
    transition: opacity 0.9s ease-in-out;
}
.slide-5.active {
    animation: blurFade 1s ease-out forwards;
}

/* Animation Keyframes */
@keyframes zoomIn {
    0% {
        transform: scale(1);
        opacity: 0;
    }
    100% {
        transform: scale(1.08);
        opacity: 1;
    }
}

@keyframes slideInLeft {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes kenBurns {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes blurFade {
    0% {
        filter: blur(10px);
        opacity: 0;
    }
    100% {
        filter: blur(0);
        opacity: 1;
    }
}

.slide.active {
    opacity: 1;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 42, 68, 0.6);
}

/* ========== ENHANCED CROSSED DIVIDER LINE ========== */
.divider-line {
    position: absolute;
    right: 0;
    top: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, 
        rgba(244, 185, 66, 0) 0%,
        var(--secondary) 15%,
        var(--secondary) 50%,
        var(--secondary) 85%,
        rgba(244, 185, 66, 0) 100%
    );
    z-index: 10;
    box-shadow: -3px 0 20px rgba(244, 185, 66, 0.4);
    animation: dividerPulse 2s ease-in-out infinite;
}

@keyframes dividerPulse {
    0%, 100% {
        box-shadow: -3px 0 15px rgba(244, 185, 66, 0.3);
        width: 6px;
    }
    50% {
        box-shadow: -5px 0 25px rgba(244, 185, 66, 0.6);
        width: 7px;
    }
}

/* Crossed/Slashed effect overlay */
.divider-cross-effect {
    position: absolute;
    right: -20px;
    top: 0;
    width: 40px;
    height: 100%;
    z-index: 11;
    pointer-events: none;
    overflow: hidden;
}

.divider-cross-effect::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 0;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        115deg,
        transparent,
        transparent 15px,
        rgba(244, 185, 66, 0.25) 15px,
        rgba(244, 185, 66, 0.4) 18px,
        transparent 18px,
        transparent 35px
    );
    animation: slashMove 8s linear infinite;
    transform: skewX(-5deg);
}

@keyframes slashMove {
    0% {
        transform: translateY(-20%) skewX(-5deg);
    }
    100% {
        transform: translateY(20%) skewX(-5deg);
    }
}

/* Diagonal cross pattern overlay on divider */
.divider-line::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 0;
    width: 22px;
    height: 100%;
    background: repeating-linear-gradient(
        135deg,
        rgba(244, 185, 66, 0) 0px,
        rgba(244, 185, 66, 0) 4px,
        rgba(244, 185, 66, 0.3) 4px,
        rgba(244, 185, 66, 0.5) 6px,
        rgba(244, 185, 66, 0) 6px,
        rgba(244, 185, 66, 0) 12px
    );
    pointer-events: none;
    animation: crossGlow 3s ease-in-out infinite;
}

@keyframes crossGlow {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

/* RIGHT SIDE - TEXT CONTENT (50%) */
.hero-text-content {
    flex: 0 0 50%;
    background: linear-gradient(135deg, #0d2b48 0%, #06203a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    position: relative;
}

.hero-inner-wrapper {
    max-width: 550px;
    text-align: center;
    animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-logo-container {
    margin-bottom: 1.5rem;
}

.hero-logo-circular {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--secondary);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    background: #fff;
    padding: 3px;
}

.hero-text-content h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 800;
    line-height: 1.3;
    color: #ffffff;
    letter-spacing: -0.03em;
}

.hero-text-content h1 span {
    display: block;
    font-size: 1.2rem;
    color: var(--secondary);
    margin-top: 8px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.hero-course-cards {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 1.5rem 0;
}

.mini-card-link {
    text-decoration: none;
}

.mini-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(244, 185, 66, 0.4);
    padding: 8px 20px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    cursor: pointer;
}

.mini-card i {
    color: var(--secondary);
    font-size: 1rem;
}

.mini-card span {
    color: white;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.mini-card:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.mini-card:hover i,
.mini-card:hover span {
    color: #0a2a44;
}

.hero-address {
    margin: 1rem 0;
    padding: 8px 0;
    border-top: 1px solid rgba(244,185,66,0.3);
    border-bottom: 1px solid rgba(244,185,66,0.3);
}

.hero-address p {
    color: var(--secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-subtext {
    font-size: 1rem;
    margin: 1rem 0;
    opacity: 0.9;
    font-weight: 400;
}

.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.01em;
}

.btn-primary {
    background: var(--secondary);
    color: #0a2a44;
}

.btn-primary:hover {
    background: #e6a817;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: #ffffff;
    font-weight: 700;
}

.section-title h2 span {
    color: var(--secondary);
}

.section-title p {
    color: var(--gray);
    font-weight: 400;
}

/* Courses Section */
.courses-section {
    padding: 5rem 0;
    background: var(--gradient-dark);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.course-card {
    background: var(--gradient-card);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(244,185,66,0.15);
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 40px rgba(0,0,0,0.3);
    border-color: rgba(244,185,66,0.4);
}

.course-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--secondary);
    color: #0a2a44;
    padding: 5px 12px;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 1;
}

.course-img {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.bca-bg {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%) !important;
}

.bcom-bg {
    background: linear-gradient(135deg, #ff6a00 0%, #ee0979 100%) !important;
}

.course-img i {
    font-size: 5rem;
    color: white;
    z-index: 1;
    transition: transform 0.3s ease;
}

.course-card:hover .course-img i {
    transform: scale(1.1);
}

.course-info {
    padding: 1.8rem;
}

.course-info h3 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    color: var(--secondary);
    font-weight: 700;
}

.course-info p {
    color: #c0d0e0;
    line-height: 1.6;
    font-weight: 400;
}

.course-meta {
    display: flex;
    margin: 1rem 0;
    padding: 0.8rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.course-meta span {
    color: #c0d0e0;
    font-size: 0.9rem;
    font-weight: 400;
}

.course-features {
    margin: 1rem 0;
    list-style: none;
}

.course-features li {
    padding: 5px 0;
    color: #c0d0e0;
    font-size: 0.9rem;
    font-weight: 400;
}

.course-features i {
    color: var(--success);
    margin-right: 10px;
}

.btn-small {
    display: inline-block;
    padding: 10px 25px;
    background: var(--secondary);
    color: #0a2a44;
    text-decoration: none;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
    margin-top: 0.5rem;
    font-family: 'Inter', sans-serif;
}

.btn-small:hover {
    background: #e6a817;
    transform: translateX(5px);
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background: #071f38;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-img img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 2px solid rgba(244,185,66,0.3);
}

.about-text h2 {
    font-size: 2.2rem;
    color: #ffffff;
    font-weight: 700;
}

.about-text h2 span {
    color: var(--secondary);
}

.about-text p {
    color: #c0d0e0;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stats div {
    text-align: center;
}

.stats i {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.stats strong {
    display: block;
    font-size: 1.5rem;
    color: var(--secondary);
    font-weight: 700;
}

/* Facilities Section */
.facilities-section {
    padding: 5rem 0;
    background: var(--gradient-dark);
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.facility-card {
    background: rgba(13, 53, 87, 0.7);
    border-radius: 15px;
    transition: var(--transition);
    overflow: hidden;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(244,185,66,0.2);
}

.facility-card a.card-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-decoration: none;
    color: #e0e6ed;
    text-align: center;
}

.facility-card i {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.facility-card h3 {
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-weight: 600;
}

.facility-card p {
    color: #b0c4de;
    font-size: 0.9rem;
    font-weight: 400;
}

.facility-card:hover {
    transform: translateY(-8px);
    border-color: var(--secondary);
    background: rgba(13, 53, 87, 0.9);
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background: #071f38;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h2 {
    font-size: 2rem;
    color: #ffffff;
    font-weight: 700;
}

.contact-info h2 span {
    color: var(--secondary);
}

.contact-info p {
    margin-bottom: 1rem;
    color: #c0d0e0;
    font-weight: 400;
}

.contact-info i {
    color: var(--secondary);
    width: 30px;
}

.socials a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    transition: var(--transition);
}

.socials a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
    color: #0a2a44;
}

.contact-form {
    background: rgba(13, 53, 87, 0.6);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(244,185,66,0.2);
}

.contact-form h3 {
    color: var(--secondary);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 1rem;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    background: rgba(0,0,0,0.3);
    color: white;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary);
}

.btn-submit {
    background: var(--secondary);
    color: #0a2a44;
    font-weight: 700;
}

.btn-submit:hover {
    background: #e6a817;
}

.form-message {
    margin-top: 1rem;
    text-align: center;
    font-weight: 500;
}

.form-message.success {
    color: var(--success);
}

.form-message.error {
    color: var(--danger);
}

footer {
    background: #030e18;
    color: #8a9bb0;
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(244,185,66,0.1);
    font-weight: 400;
}

/* Side Menu Styles */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 999;
    display: none;
}

.side-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100%;
    background: linear-gradient(180deg, #0a2a44 0%, #061b30 100%);
    z-index: 1000;
    transition: left 0.3s ease;
    box-shadow: 2px 0 20px rgba(0,0,0,0.5);
    padding-top: 80px;
}

.side-menu.active {
    left: 0;
}

.menu-toggle {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    background: var(--secondary);
    color: #0a2a44;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    transform: scale(1.05);
    background: #e6a817;
}

.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.side-menu ul li {
    list-style: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.side-menu ul li a {
    display: block;
    padding: 15px 25px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.side-menu ul li a:hover {
    background: rgba(244,185,66,0.2);
    padding-left: 35px;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 992px) {
    .hero-split {
        flex-direction: column;
    }
    
    .hero-slideshow {
        flex: 0 0 60vh;
        min-height: 60vh;
    }
    
    .hero-text-content {
        flex: 0 0 auto;
        padding: 3rem 1.5rem;
    }
    
    .divider-line {
        width: 100%;
        height: 6px;
        top: auto;
        bottom: 0;
        right: 0;
        background: linear-gradient(90deg, 
            rgba(244,185,66,0) 0%,
            var(--secondary) 30%,
            var(--secondary) 70%,
            rgba(244,185,66,0) 100%
        );
    }
    
    .divider-cross-effect::before {
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        transform: skewX(-5deg);
    }
    
    .about-wrapper,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .hero-text-content h1 {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 15px;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .facilities-grid {
        grid-template-columns: 1fr;
    }
    
    .stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .hero-text-content h1 span {
        font-size: 1rem;
    }
    
    .hero-logo-circular {
        width: 80px;
        height: 80px;
    }
    
    .course-info h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .hero-course-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .mini-card {
        width: 120px;
        justify-content: center;
    }
    
    .btn-primary {
        padding: 10px 24px;
        font-size: 0.9rem;
    }
    
    .section-title h2 {
        font-size: 1.5rem;
    }
}