/* Design Tokens & Theme Settings */
:root {
    --primary-color: #0b2545;       /* Deep Navy */
    --primary-light: #134074;      /* Navy Blue */
    --accent-color: #f4d03f;       /* Premium Gold */
    --accent-dark: #d4ac0d;        /* Darker Gold */
    --secondary-color: #1d3557;     /* Secondary Dark Blue */
    --success-color: #2ec4b6;       /* Teal Green */
    --text-dark: #1f2937;          /* Dark Grey for readability */
    --text-light: #f8f9fa;         /* Off-white */
    --text-muted: #6b7280;         /* Medium Grey */
    --bg-light: #f8fafc;           /* Cool light blueish-grey */
    --bg-white: #ffffff;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --hover-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius: 12px;
    --container-width: 1200px;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

/* Reset & Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Helper Utilities */
.text-center { text-align: center; }
.hidden { display: none !important; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(244, 208, 63, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 208, 63, 0.45);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

/* Section Headers */
.section-header {
    margin-bottom: 60px;
}

.sub-title {
    font-family: var(--font-heading);
    color: var(--primary-light);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 10px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 800;
}

.underline {
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 15px auto 0;
    border-radius: 2px;
    position: relative;
}

.underline span {
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: var(--primary-color);
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Top Contact Bar */
.top-bar {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 8px 0;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-info {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.top-info span i {
    color: var(--accent-color);
    margin-right: 5px;
}

.govt-badge {
    background-color: var(--success-color);
    color: var(--primary-color);
    padding: 3px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Header & Navigation */
.header {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    padding: 12px 0;
    transition: var(--transition);
}

.header.scrolled {
    padding: 8px 0;
    background-color: rgba(255, 255, 255, 0.95);
}

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

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 55px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.school-name-main {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 0.5px;
    line-height: 1.1;
}

.school-type {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1.5px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-light);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary-light);
}

.contact-btn {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 8px 20px;
    border-radius: 20px;
}

.contact-btn:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.contact-btn::after {
    display: none;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--text-light);
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.hero-badge {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.telugu-motto {
    background-color: rgba(255, 255, 255, 0.08);
    border-left: 4px solid var(--accent-color);
    padding: 15px 20px;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    margin-bottom: 35px;
}

.motto-telugu {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 6px;
}

.motto-translation {
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.85;
}

.hero-cta-group {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(0, 0, 0, 0.25);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.trust-title {
    opacity: 0.7;
}

.trust-name {
    color: var(--accent-color);
    font-weight: 700;
}

.hero-image-wrapper {
    position: relative;
}

.hero-img {
    border-radius: var(--border-radius);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border: 4px solid rgba(255, 255, 255, 0.1);
}

.admission-floating-badge {
    position: absolute;
    top: -20px;
    right: -20px;
    background: radial-gradient(circle, #f39c12 0%, #d35400 100%);
    color: white;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    box-shadow: 0 10px 25px rgba(211, 84, 0, 0.5);
    text-align: center;
    padding: 10px;
    z-index: 10;
}

.admission-floating-badge .year {
    font-size: 0.8rem;
    font-weight: 700;
    opacity: 0.9;
}

.admission-floating-badge .status {
    font-size: 0.7rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 2px 0;
}

.admission-floating-badge .action {
    font-size: 0.6rem;
    text-transform: uppercase;
    background-color: white;
    color: #d35400;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 700;
}

.animate-bounce {
    animation: bounce 3s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Quick Stats */
.quick-stats {
    background-color: var(--bg-white);
    padding: 40px 0;
    margin-top: -40px;
    position: relative;
    z-index: 20;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 10px;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-card:last-child {
    border-right: none;
}

.stat-icon {
    font-size: 2.2rem;
    color: var(--primary-light);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-info-col h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-info-col p {
    color: var(--text-dark);
    margin-bottom: 20px;
    font-size: 1rem;
    opacity: 0.95;
}

.about-features {
    margin-top: 35px;
    display: grid;
    gap: 25px;
}

.about-feature-item {
    display: flex;
    gap: 15px;
}

.about-feature-item .feature-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(19, 64, 116, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary-light);
    flex-shrink: 0;
}

.about-feature-item h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.about-feature-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

.about-img-col {
    display: flex;
    justify-content: center;
}

.about-image-stack {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.about-img-1 {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 4px solid var(--bg-white);
    display: block;
}

.about-img-2 {
    display: none;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 15px 25px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 25px rgba(11, 37, 69, 0.3);
    z-index: 3;
    text-align: center;
    border: 2px solid var(--accent-color);
}

.experience-badge .exp-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
}

.experience-badge .exp-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Academics Section */
.academics {
    padding: 100px 0;
    background-color: var(--bg-white);
}

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

.academic-card {
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.academic-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
    background-color: var(--bg-white);
    border-color: rgba(19, 64, 116, 0.1);
}

.academic-card .card-icon {
    font-size: 2.5rem;
    color: var(--primary-light);
    margin-bottom: 25px;
}

.academic-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.academic-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.academic-card .card-list {
    list-style: none;
    display: grid;
    gap: 12px;
}

.academic-card .card-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

.academic-card .card-list li i {
    color: var(--success-color);
}

/* Featured Academic Card styling */
.featured-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.featured-card:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
}

.featured-card .card-icon {
    color: var(--accent-color);
}

.featured-card h3 {
    color: var(--text-light);
}

.featured-card p {
    color: rgba(255, 255, 255, 0.85);
}

.featured-card .card-list li {
    color: var(--text-light);
}

.featured-card .card-list li i {
    color: var(--accent-color);
}

/* School Life Section */
.school-life {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.life-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.life-text h2 {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 800;
}

.life-text p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 30px;
}

.life-bullets {
    display: grid;
    gap: 25px;
}

.bullet-item {
    display: flex;
    gap: 20px;
}

.bullet-item i {
    font-size: 1.8rem;
    color: var(--primary-light);
    margin-top: 4px;
}

.bullet-item h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--primary-color);
    margin-bottom: 6px;
    font-weight: 700;
}

.bullet-item p {
    margin: 0;
    font-size: 0.95rem;
}

.life-visuals {
    position: relative;
}

.video-placeholder {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border: 6px solid var(--bg-white);
}

.visual-main-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
}

.overlay-glass {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(11, 37, 69, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--text-light);
    padding: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.overlay-glass h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.overlay-glass p {
    font-size: 0.85rem;
    opacity: 0.9;
    margin: 0;
}

/* Gallery Section */
.gallery {
    padding: 100px 0;
    background-color: var(--bg-white);
}

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

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--card-shadow);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(11, 37, 69, 0.95) 0%, rgba(11, 37, 69, 0.3) 70%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
    padding: 25px;
}

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

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.overlay-content {
    color: var(--text-light);
}

.overlay-content .tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-color);
    font-weight: 700;
    display: block;
    margin-bottom: 6px;
}

.overlay-content h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
}

/* Admissions Section */
.admissions-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.admissions-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--hover-shadow);
    overflow: hidden;
}

.admissions-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
}

.admissions-info {
    padding: 60px;
    background: linear-gradient(135deg, rgba(11, 37, 69, 0.03) 0%, rgba(19, 64, 116, 0.05) 100%);
}

.admissions-info .badge {
    background-color: var(--primary-light);
    color: var(--text-light);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 20px;
}

.admissions-info h2 {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 800;
}

.admissions-info p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 30px;
}

.requirements h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.process-list {
    list-style: none;
    display: grid;
    gap: 20px;
    margin-bottom: 35px;
}

.process-list li {
    display: flex;
    gap: 15px;
}

.process-list .step-num {
    width: 32px;
    height: 32px;
    background-color: var(--primary-color);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.process-list h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--primary-color);
    margin-bottom: 2px;
}

.process-list p {
    font-size: 0.85rem;
    margin: 0;
}

.phone-link-box {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 25px;
}

.phone-link-box p {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.phone-link-box .phones {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.phone-link-box .phones a {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--primary-light);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.phone-link-box .phones a:hover {
    color: var(--accent-dark);
}

.admissions-form-box {
    padding: 60px;
    background-color: var(--primary-color);
    color: var(--text-light);
}

.admissions-form-box h3 {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    margin-bottom: 8px;
}

.admissions-form-box p {
    opacity: 0.8;
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.inquiry-form {
    display: grid;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group label .required {
    color: var(--accent-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 12px 16px;
    border-radius: 8px;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background-color: rgba(255, 255, 255, 0.12);
}

.form-group select option {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.form-success-msg {
    margin-top: 20px;
    background-color: rgba(46, 196, 182, 0.15);
    border: 1px solid var(--success-color);
    padding: 15px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--success-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Trust Banner */
.trust-banner {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-color) 100%);
    color: var(--text-light);
    padding: 80px 0;
    position: relative;
}

.trust-logo-icon {
    font-size: 3.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.trust-banner h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.trust-motto {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--accent-color);
    letter-spacing: 1px;
    margin-bottom: 20px;
    font-weight: 600;
}

.trust-description {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.05rem;
    opacity: 0.9;
    line-height: 1.7;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.contact-info-card {
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--card-shadow);
    display: grid;
    gap: 30px;
}

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

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-text h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-weight: 700;
}

.contact-text p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.contact-text a:hover {
    color: var(--primary-light);
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    border: 6px solid var(--bg-light);
}

/* Footer Section */
.footer {
    background-color: #051427;
    color: var(--text-light);
    padding: 70px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    font-weight: 700;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.about-col .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 20px;
}

.about-col .footer-logo img {
    height: 45px;
}

.about-col p {
    opacity: 0.7;
    font-size: 0.9rem;
    margin-bottom: 25px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.social-links a:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.links-col ul {
    list-style: none;
    display: grid;
    gap: 12px;
}

.links-col ul li a {
    font-size: 0.9rem;
    opacity: 0.7;
}

.links-col ul li a:hover {
    opacity: 1;
    color: var(--accent-color);
    padding-left: 5px;
}

.accreditation-col p {
    font-size: 0.9rem;
    opacity: 0.75;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.accreditation-col p i {
    color: var(--accent-color);
}

.footer-bottom {
    background-color: #030e1b;
    padding: 25px 0;
    font-size: 0.85rem;
    opacity: 0.6;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

/* Lightbox Modal */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 20, 39, 0.98);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 35px;
    font-size: 2.8rem;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--accent-color);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 20px;
    transition: var(--transition);
}

.lightbox-prev:hover,
.lightbox-next:hover {
    color: var(--accent-color);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-content {
    max-width: 80%;
    max-height: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.lightbox-caption {
    margin-top: 20px;
    color: var(--text-light);
    text-align: center;
    max-width: 600px;
}

.lightbox-caption h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--accent-color);
    margin-bottom: 6px;
}

.lightbox-caption p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Mobile Responsiveness styling */
@media (max-width: 991px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2.6rem;
    }
    
    .hero-cta-group {
        justify-content: center;
    }
    
    .telugu-motto {
        border-left: none;
        border-top: 4px solid var(--accent-color);
        border-radius: var(--border-radius);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-card {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        padding-bottom: 15px;
    }
    
    .stat-card:nth-child(2n) {
        border-right: none;
    }
    
    .about-grid,
    .life-container,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-img-col {
        order: -1;
    }
    
    .academics-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
    }
    
    .gallery-item.large {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .admissions-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--bg-white);
        flex-direction: column;
        padding: 40px;
        gap: 25px;
        transition: var(--transition);
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        align-items: flex-start;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu .nav-link {
        font-size: 1.1rem;
        width: 100%;
    }
    
    .nav-menu .contact-btn {
        text-align: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
    }
    
    .gallery-item.large {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .admissions-info,
    .admissions-form-box,
    .contact-info-card {
        padding: 30px 20px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
}
