/* ==========================================
   SNS School Balotra - Mobile First Design
   Roboto Mono Typography
   All Mobile Design Changes Applied
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* REMOVE BLUE HIGHLIGHT ON TAP/SELECT */
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Allow text selection only where needed */
p, h1, h2, h3, h4, h5, h6, span {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* REMOVE BLUE SELECTION BACKGROUND */
::selection {
    background-color: transparent;
    color: inherit;
}

::-moz-selection {
    background-color: transparent;
    color: inherit;
}

:root {
    --primary-white: #ffffff;
    --primary-black: #000000;
    --accent-red: #a41034;
    --light-black: rgba(0, 0, 0, 0.6);
    --border-color: rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Roboto Mono', monospace;
    background-color: var(--primary-white);
    color: var(--primary-black);
    line-height: 1.7;
    overflow-x: hidden;
    font-weight: 400;
}

/* ==========================================
   HEADER STYLES
   ========================================== */

.header {
    background-color: var(--primary-white);
    padding: 18px 0;
    position: relative;
    z-index: 1000;
    border: none;
}

.container {
    max-width: 100%;
    padding: 0 20px;
    margin: 0 auto;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Section - 38% Width, 3 Lines */
.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 38%;
}

.logo-img {
    height: 48px;
    width: auto;
    border-right: 2px solid var(--primary-black);
    padding-right: 12px;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    flex: 1;
}

/* All 3 lines same color - NO LIGHT/DARK */
.logo-text .line1,
.logo-text .line2,
.logo-text .line3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-black);
    letter-spacing: 0.3px;
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.notification-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--primary-black);
    transition: color 0.3s ease;
    position: relative;
    font-size: 24px;
}

.notification-btn:hover {
    color: var(--accent-red);
}

/* Notification DOT instead of badge number */
.notification-dot {
    position: absolute;
    top: 6px;
    right: 6px;
    background-color: var(--accent-red);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--primary-white);
}

/* ==========================================
   MENU BUTTON - HAMBURGER
   ========================================== */

.menu-btn {
    width: 30px;
    height: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
}

.menu-btn .bar {
    width: 26px;
    height: 3px;
    background-color: var(--primary-black);
    transition: all 0.3s ease;
    position: absolute;
    border-radius: 2px;
    left: 50%;
    transform: translateX(-50%);
}

.menu-btn .bar:nth-child(1) {
    top: 6px;
}

.menu-btn .bar:nth-child(2) {
    top: 50%;
    transform: translate(-50%, -50%);
}

.menu-btn .bar:nth-child(3) {
    bottom: 6px;
}

.menu-btn:hover .bar {
    background-color: var(--accent-red);
}

/* ==========================================
   HERO SECTION
   ========================================== */

.hero-section {
    background-color: var(--primary-white);
    padding: 25px 0 45px;
    border: none;
}

.hero-title {
    font-size: clamp(30px, 7.5vw, 40px);
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 35px;
    color: var(--primary-black);
    letter-spacing: -0.8px;
}

/* Interactive Underlined Links */
.underline-link {
    position: relative;
    cursor: pointer;
    transition: color 0.3s ease;
    display: inline-block;
    padding-bottom: 2px;
}

.underline-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 12px;
    background-color: var(--light-black);
    opacity: 0.2;
    transition: all 0.3s ease;
}

.underline-link:hover {
    color: var(--accent-red);
}

.underline-link:hover::after,
.underline-link.active::after {
    background-color: var(--accent-red);
    opacity: 0.3;
}

/* ==========================================
   IMAGE SLIDER - 16:9 RATIO
   ========================================== */

.slider-container {
    position: relative;
    width: 100%;
    margin-top: 25px;
}

.slider-wrapper {
    position: relative;
    overflow: hidden;
}

.slide {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.slide.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 16:9 Image Area with same side margin */
.slide-image {
    width: calc(100% - 40px); /* Same side margin */
    margin: 0 20px;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    position: relative;
    border-radius: 8px 8px 0 0;
}

.slide-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 16:9 Content Area with same side margin */
.slide-content {
    background-color: var(--primary-white);
    padding: 25px 20px;
    width: calc(100% - 40px); /* Same side margin */
    margin: 0 20px;
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 8px 8px;
}

.slide-content h3 {
    font-size: 23px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--primary-black);
    letter-spacing: -0.5px;
}

.slide-content p {
    font-size: 15px;
    line-height: 1.75;
    color: var(--light-black);
    margin-bottom: 22px;
    font-weight: 400;
}

/* Read More Button - No Background, Only Text */
.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: transparent;
    color: var(--accent-red);
    padding: 0;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border-radius: 0;
    transition: all 0.3s ease;
    border: none;
}

.read-more-btn:hover {
    color: var(--primary-black);
    transform: translateX(4px);
}

.read-more-btn .arrow {
    transition: transform 0.3s ease;
    font-size: 18px;
}

.read-more-btn:hover .arrow {
    transform: translateX(4px);
}

/* ==========================================
   NAVIGATION ARROWS - TOP RIGHT IN IMAGE BOX
   ========================================== */

.nav-arrow {
    position: absolute;
    top: 15px; /* Top margin */
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--primary-black);
    border: 2px solid var(--border-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.prev-arrow {
    right: 60px; /* Position from right with gap */
}

.next-arrow {
    right: 15px; /* Position from right */
}

.nav-arrow:hover {
    background-color: var(--accent-red);
    color: var(--primary-white);
    border-color: var(--accent-red);
    transform: scale(1.1);
}

/* ==========================================
   MOBILE MENU OVERLAY - STRETCHABLE
   ========================================== */

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-white);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.95);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow-y: auto;
    overflow-x: hidden;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

/* Close Button (Cross) - Top Right - VISIBLE */
.menu-close-btn {
    position: fixed;
    top: 22px;
    right: 22px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-red);
    font-size: 32px;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.menu-close-btn:hover {
    color: var(--primary-black);
    background-color: rgba(0, 0, 0, 0.05);
    transform: rotate(90deg);
}

/* Mobile Menu Content */
.mobile-menu {
    padding: 80px 30px 40px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mobile-menu ul {
    list-style: none;
    margin-bottom: 40px;
}

.mobile-menu li {
    margin-bottom: 20px;
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.menu-overlay.active .mobile-menu li {
    opacity: 1;
    transform: translateX(0);
}

.menu-overlay.active .mobile-menu li:nth-child(1) { transition-delay: 0.1s; }
.menu-overlay.active .mobile-menu li:nth-child(2) { transition-delay: 0.15s; }
.menu-overlay.active .mobile-menu li:nth-child(3) { transition-delay: 0.2s; }
.menu-overlay.active .mobile-menu li:nth-child(4) { transition-delay: 0.25s; }
.menu-overlay.active .mobile-menu li:nth-child(5) { transition-delay: 0.3s; }
.menu-overlay.active .mobile-menu li:nth-child(6) { transition-delay: 0.35s; }
.menu-overlay.active .mobile-menu li:nth-child(7) { transition-delay: 0.4s; }

.mobile-menu a {
    color: var(--primary-black);
    text-decoration: none;
    font-size: 26px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    letter-spacing: -0.3px;
}

.mobile-menu a:hover {
    color: var(--accent-red);
    transform: translateX(12px);
}

/* ==========================================
   SOCIAL LINKS - CENTERED PERFECTLY
   ========================================== */

.social-links {
    display: flex;
    gap: 18px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.menu-overlay.active .social-links {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

.social-link {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: transparent;
    color: var(--primary-black);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 24px;
    border: 2px solid var(--primary-black);
}

/* CENTER THE ICON PERFECTLY */
.social-link i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.social-link:hover {
    transform: translateY(-6px) scale(1.12);
}

.social-link.youtube:hover {
    color: #FF0000;
    border-color: #FF0000;
}

.social-link.instagram:hover {
    color: #E4405F;
    border-color: #E4405F;
}

.social-link.facebook:hover {
    color: #1877F2;
    border-color: #1877F2;
}

.social-link.whatsapp:hover {
    color: #25D366;
    border-color: #25D366;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (min-width: 768px) {
    .hero-title {
        font-size: 45px;
    }

    .slide-content {
        padding: 35px 30px;
    }

    .nav-arrow {
        width: 46px;
        height: 46px;
        font-size: 18px;
        top: 20px;
    }

    .prev-arrow {
        right: 70px;
    }

    .next-arrow {
        right: 20px;
    }

    .logo-text .line1,
    .logo-text .line2,
    .logo-text .line3 {
        font-size: 18px;
    }

    .mobile-menu a {
        font-size: 32px;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 1200px;
    }

    .hero-title {
        font-size: 52px;
    }
    
    .slide-image,
    .slide-content {
        width: calc(100% - 40px);
        margin: 0 auto;
    }
}