/* assets/styles/SchoolLandingPages/cave/cave.css */

:root {
    /* Classic Academic Blue Theme */
    --cave-primary: #1E3A8A;
    --cave-secondary: #3B82F6;
    --cave-accent: #F59E0B;
    --cave-light: #f8fafc;
    --cave-dark: #1e293b;
    --cave-text: #334155;
    --cave-shadow: rgba(0, 0, 0, 0.1);
}
/* Solid icons (fas) */
.cave-feature-icon i,
[class^="fas"],
[class*=" fas"] {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

/* Brand icons (fab) */
[class^="fab"],
[class*=" fab"] {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
}
.cave-root * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

.cave-root body {
    background-color: var(--cave-light);
    color: var(--cave-text);
    line-height: 1.6;
}

.cave-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header & Navigation */
#cave-header {
    background-color: var(--cave-primary);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--cave-shadow);
}

.cave-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    position: relative;
}

.cave-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cave-logo-icon {
    width: 50px;
    height: 50px;
    background-color: var(--cave-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cave-primary);
    font-weight: bold;
    text-shadow: 5px 5px 10px rgb(255, 255, 255);
    font-size: 0.9rem;
}

.cave-logo-text {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.cave-nav-links {
    display: flex;
    list-style: none;
    gap: 5px;
}

.cave-nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.cave-nav-links a:hover {
    background-color: var(--cave-secondary);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.7);
}

.cave-nav-links .cave-admission-btn {
    background-color: var(--cave-accent);
    color: var(--cave-primary);
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 17px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cave-nav-links .cave-admission-btn:hover {
    background-color: #e68a00;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.8);
    transform: translateY(-2px);
}

/* Mobile Navigation Toggle */
.cave-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 30px;
    height: 25px;
    justify-content: space-between;
}

.cave-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.cave-menu-toggle.cave-active span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.cave-menu-toggle.cave-active span:nth-child(2) {
    opacity: 0;
}

.cave-menu-toggle.cave-active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

/* Hero Section */
.cave-hero {
    position: relative;
    height: 80vh;
    min-height: 500px;
    max-height: 800px;
    width: 100%;
    overflow: hidden;
    border-radius: 0 0 10px 10px;
    margin: none;
    padding: none;
}

.cave-slider {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 0.5s ease;
}

.cave-slide {
    width: 33.33%;
    height: 100%;
    position: relative;
}

.cave-slide-img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.cave-slide-content {
    position: absolute;
    bottom: 20%;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    padding: 0 5vw;
    z-index: 2;
}

.cave-slide-content h2 {
    font-size: clamp(1.8rem, 5vw, 3.3rem);
    margin-bottom: 2vw;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.cave-slide-content p {
    font-size: clamp(1rem, 3vw, 1.8rem);
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
    font-weight: 600;
    line-height: 1.4;
}

.cave-slider-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.cave-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}

.cave-slider-dot.cave-active {
    background-color: var(--cave-accent);
}

/* Section Styling */
.cave-root section {
    padding: 8vh 0;
}

.cave-section-title {
    text-align: center;
    margin-bottom: 5vh;
    color: var(--cave-primary);
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    position: relative;
}

.cave-section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--cave-accent);
    border-radius: 2px;
}

.cave-highlight {
    color: var(--cave-primary);
    font-weight: 700;
}

/* About Section */
.cave-about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.cave-about-text {
    flex: 1;
}

.cave-about-text p {
    margin-bottom: 20px;
    font-size: clamp(1rem, 2vw, 1.1rem);
    line-height: 1.8;
}

.cave-about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px var(--cave-shadow);
}

.cave-about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Why Choose Us Section */
.cave-why-choose-us {
    background-color: #f1f5f9;
}

.cave-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.cave-feature-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--cave-shadow);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cave-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px var(--cave-shadow);
}

.cave-feature-icon {
    width: 70px;
    height: 70px;
    background-color: var(--cave-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.8rem;
}

.cave-feature-card h3 {
    color: var(--cave-primary);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

/* Location Section */
.cave-location-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.cave-map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px var(--cave-shadow);
    transition: box-shadow 0.3s;
}

.cave-map-container:hover {
    box-shadow: 0 0 20px var(--cave-accent);
}

.cave-map-iframe {
    width: 100%;
    height: 450px;
    border: none;
    filter: grayscale(20%) contrast(110%);
    transition: filter 0.3s;
}

.cave-map-iframe:hover {
    filter: grayscale(0%) contrast(100%);
}

.cave-address {
    text-align: center;
    font-size: 1.1rem;
    padding: 25px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--cave-shadow);
    border-left: 4px solid var(--cave-accent);
}

.cave-address p {
    margin-bottom: 10px;
}

.cave-address strong {
    color: var(--cave-primary);
    font-size: 1.3rem;
}

/* Contact Section */
.cave-contact-content {
    display: flex;
    gap: 40px;
}

.cave-contact-info {
    flex: 1;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--cave-shadow);
}

.cave-contact-info h3 {
    color: var(--cave-primary);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.cave-contact-details {
    margin-bottom: 30px;
}

.cave-contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.cave-contact-icon {
    width: 40px;
    height: 40px;
    background-color: var(--cave-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 15px;
    flex-shrink: 0;
}

.cave-social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.cave-social-icon {
    width: 40px;
    height: 40px;
    background-color: var(--cave-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s;
}

.cave-social-icon:hover {
    background-color: var(--cave-secondary);
}

.cave-contact-form {
    flex: 1;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--cave-shadow);
}

.cave-form-group {
    margin-bottom: 20px;
}

.cave-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--cave-primary);
}

.cave-form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #546f8d;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.cave-form-control:focus {
    outline: none;
    border-color: var(--cave-secondary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.cave-submit-btn {
    background-color: var(--cave-accent);
    color: var(--cave-primary);
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: block;
    margin: 0 auto;
    font-size: 1.1rem;
    min-width: 180px;
}

.cave-submit-btn:hover {
    background-color: #e68a00;
    box-shadow: 0 5px 15px rgba(245, 158, 11, 0.4);
    transform: translateY(-2px);
}

/* Footer */
#cave-footer {
    background-color: var(--cave-primary);
    color: white;
    padding: 40px 0 20px;
}

.cave-footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.cave-footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cave-footer-social {
    display: flex;
    gap: 15px;
}

.cave-copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Back to Top Button */
.cave-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--cave-accent);
    color: var(--cave-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
}

.cave-back-to-top.cave-show {
    opacity: 1;
    visibility: visible;
}

.cave-back-to-top:hover {
    background-color: #e68a00;
    transform: translateY(-5px);
}

.cave-ab {
    margin-top: 10px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .cave-about-content,
    .cave-contact-content {
        flex-direction: column;
    }
    
    .cave-back-to-top {
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 1034px) {
    .cave-navbar {
        flex-direction: row;
        gap: 35px;
    }
    
    .cave-nav-links {
        position: fixed;
        top: 60px;
        left: 50%;
        width: 50%;
        background-color: #e68a00;
        flex-direction: column;
        align-items: center;
        padding: 10px 0;
        border-radius: 5px 8px 5px 8px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }
    
    .cave-nav-links.cave-active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    /* Add borders and spacing to individual nav links */
    .cave-nav-links li {
        width: 90%;
        margin: 5px 0;
    }
    
    .cave-nav-links li a {
        display: block;
        padding: 12px 15px;
        text-align: center;
        border: 2px solid rgba(0, 0, 0, 0.2);
        border-radius: 4px;
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
        transition: all 0.3s ease;
        margin: 2px 0;
    }
    
    .cave-nav-links li a:hover {
        border-color: rgba(0, 0, 0, 0.4);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    }
    
    /* Specific styling for admission buttons */
    .cave-nav-links li a.cave-admission-btn {
        background-color: #ff9800;
        border: 2px solid rgba(0, 0, 0, 0.3);
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
    }
    
    .cave-nav-links li a.cave-admission-btn:hover {
        border-color: rgba(0, 0, 0, 0.5);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    }
    
    .cave-menu-toggle {
        display: flex;
    }
    
    .cave-hero {
        height: 60vh;
        min-height: 400px;
        padding: none;
        margin: none;
    }
    
    .cave-footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .cave-back-to-top {
        width: 46px;
        height: 46px;
    }
}

@media (max-width: 768px) {
    .cave-features {
        grid-template-columns: 1fr;
    }
    
    .cave-contact-item {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
    
    .cave-contact-icon {
        margin-right: 0;
    }
    
    .cave-nav-links {
        left: 40%;
        width: 60%;
    }
    
    .cave-back-to-top {
        width: 43px;
        height: 43px;
    }
}

@media (max-width: 480px) {
    .cave-container {
        padding: 0 10px;
    }
    
    .cave-root section {
        padding: 5vh 0;
    }
    
    .cave-nav-links {
        left: 30%;
        width: 70%;
    }
    
    .cave-logo-text {
        font-size: 1.2rem;
    }
    
    .cave-hero {
        height: 50vh;
        min-height: 350px;
        padding: none;
        margin: none;
    }
    
    .cave-slide-content {
        padding: 0 10px;
    }
    
    .cave-section-title {
        margin-bottom: 30px;
    }
    
    .cave-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cave-feature-card {
        padding: 20px;
    }
    
    .cave-contact-content,
    .cave-about-content {
        gap: 20px;
    }
    
    .cave-contact-info,
    .cave-contact-form {
        padding: 20px;
    }
    
    .cave-map-iframe {
        height: 300px;
    }
    
    .cave-address {
        padding: 15px;
    }
    
    .cave-social-icons {
        justify-content: center;
    }
    
    .cave-setbound {
        margin: 3px;
    }
    
    .cave-back-to-top {
        width: 41px;
        height: 41px;
    }
}

@media (max-width: 320px) {
    .cave-logo-text {
        font-size: 1rem;
    }
    
    .cave-root section {
        padding: 5vh 0;
    }
    
    .cave-nav-links {
        top: 50px;
        left: 30%;
        width: 70%;
    }
    
    .cave-logo-icon {
        width: 40px;
        height: 40px;
        font-size: 0.8rem;
    }
    
    .cave-hero {
        height: 60vh;
        min-height: 300px;
        padding: none;
        margin: none;
    }
    
    .cave-section-title {
        font-size: 1.3rem;
    }
    
    .cave-feature-card {
        padding: 15px;
    }
    
    .cave-feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }
    
    .cave-contact-info,
    .cave-contact-form {
        padding: 15px;
    }
    
    .cave-form-control {
        padding: 10px 12px;
    }
    
    .cave-submit-btn {
        padding: 10px 20px;
        font-size: 1rem;
        min-width: 150px;
    }
    
    .cave-setbound {
        margin: 4px;
    }
    
    .cave-back-to-top {
        width: 39px;
        height: 39px;
    }
}

@media (max-width: 260px) {
    .cave-container {
        padding: 0 5px;
    }
    
    .cave-nav-links {
        padding: none;
        left: 30%;
        width: 70%;
        top: 45px;
    }
    
    .cave-logo-text {
        font-size: 0.9rem;
    }
    
    .cave-logo-icon {
        width: 35px;
        height: 35px;
        font-size: 0.7rem;
    }
    
    .cave-hero {
        height: 90vh;
        min-height: 250px;
        padding: none;
        margin: none;
    }
    
    .cave-section-title {
        font-size: 1.1rem;
    }
    
    .cave-feature-card h3 {
        font-size: 1.1rem;
    }
    
    .cave-feature-card p {
        font-size: 0.9rem;
    }
    
    .cave-social-icon {
        width: 35px;
        height: 35px;
    }
    
    .cave-submit-btn {
        width: 100%;
        min-width: auto;
    }
    
    .cave-setbound {
        margin: 15px;
    }
    
    .cave-foot {
        margin: 0px 10px 10px 0px;
    }
    
    .cave-back-to-top {
        width: 35px;
        height: 35px;
    }
}

/* Admission Form Styles */
.cave-admission-form {
    background-color: #f1f5f9;
}

.cave-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .cave-form-grid {
        grid-template-columns: 1fr;
    }
}