/* style.css - Rudra Sena Defence Institution */
/* Military Inspired Theme: Army Green, Black, White, Orange */

:root {
    --army-green: #4b5320;
    --dark-green: #2c3a0e;
    --black: #0a0a0a;
    --white: #ffffff;
    --orange: #e67e22;
    --dark-orange: #cf711f;
    --light-gray: #f8f9fc;
    --army-badge: #5d6b2f;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--white);
    color: #1e1e2a;
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.army-text {
    color: var(--army-green);
    border-bottom: 2px solid var(--orange);
    display: inline-block;
    padding-bottom: 2px;
}

.text-orange {
    color: var(--orange) !important;
}

.bg-orange {
    background-color: var(--orange) !important;
}

.btn-orange {
    background-color: var(--orange);
    border-color: var(--orange);
    color: white;
    font-weight: 600;
}

.btn-orange:hover {
    background-color: var(--dark-orange);
    border-color: var(--dark-orange);
    color: white;
}

.btn-army {
    background-color: var(--army-green);
    border-color: var(--army-green);
    color: white;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-army:hover {
    background-color: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(75, 83, 32, 0.3);
    color: white;
}

.btn-outline-orange {
    border: 2px solid var(--orange);
    color: var(--orange);
    background: transparent;
    font-weight: 600;
    border-radius: 30px;
}

.btn-outline-orange:hover {
    background-color: var(--orange);
    color: white;
    transform: translateY(-2px);
}

/* Institution Navbar */
.navbar {
    background: linear-gradient(135deg, #0a1f44, #102c57);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 12px 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffffff !important;
}

.navbar-brand span,
.navbar-brand i {
    color: #f4b400;
}

.navbar-nav .nav-link {
    color: #ffffff !important;
    font-weight: 600;
    margin: 0 8px;
    position: relative;
    transition: 0.3s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #f4b400 !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #f4b400;
    transition: 0.3s;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}
/* Hero Section with Parallax */
.hero-section {
    position: relative;
    min-height: 90vh;
    background: url('images/hero-bg2.png') no-repeat center center/cover;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    text-transform: uppercase;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    margin-bottom: 20px;
}

.hero-content .highlight {
    color: var(--orange);
    border-bottom: 3px solid var(--orange);
}

.hero-content p {
    font-size: 1.2rem;
    letter-spacing: 1px;
    margin-bottom: 30px;
}

/* Parallax Stats */
.parallax-stats {
    background: linear-gradient(rgba(0,0,0,0.85), rgba(0,0,0,0.85)), url('https://images.unsplash.com/photo-1581092335871-4b5fbfb9e9d3?auto=format&fit=crop&w=1950&q=80') fixed center center/cover;
    background-attachment: fixed;
    padding: 70px 0;
}

.stat-circle {
    font-size: 3rem;
    font-weight: 800;
    background: rgba(230, 126, 34, 0.15);
    border: 2px solid var(--orange);
    display: inline-block;
    width: 130px;
    height: 130px;
    line-height: 130px;
    border-radius: 50%;
    text-align: center;
    margin-bottom: 15px;
    backdrop-filter: blur(4px);
    transition: transform 0.3s;
}

.stat-circle:hover {
    transform: scale(1.05);
    background: rgba(230, 126, 34, 0.4);
}

.counter {
    font-size: 2.8rem;
    font-weight: 800;
}

/* Cards for Courses */
.course-card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    background: white;
    text-align: center;
    padding: 20px 10px;
    border-bottom: 4px solid var(--orange);
}

.course-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 35px rgba(0,0,0,0.15);
}

.course-card i {
    transition: 0.2s;
}

.course-card:hover i {
    transform: scale(1.1);
}

/* Feature items */
.feature-item {
    padding: 20px;
    border-radius: 16px;
    background: #fff;
    transition: all 0.3s;
    box-shadow: 0 5px 12px rgba(0,0,0,0.03);
}

.feature-item:hover {
    background: #fffcf7;
    transform: translateY(-8px);
    box-shadow: 0 20px 30px -12px rgba(0,0,0,0.1);
}

.feature-item i {
    transition: 0.2s;
}

/* Hover Zoom for Gallery */
.gallery-img {
    transition: transform 0.4s ease, filter 0.2s;
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 16px;
    cursor: pointer;
}

.gallery-img:hover {
    transform: scale(1.02);
    filter: brightness(1.05);
    box-shadow: 0 15px 25px rgba(0,0,0,0.2);
}

/* Testimonial Carousel Styles */
.testimonial-card {
    background: #f9fafb;
    border-radius: 24px;
    border-left: 6px solid var(--orange);
    box-shadow: 0 8px 20px rgba(0,0,0,0.03);
}

/* Map Container */
.map-container iframe {
    border-radius: 20px;
    width: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Footer Main */
.footer-section{
    background: linear-gradient(135deg,#06121f,#0d1f33,#102944);
    position: relative;
    overflow: hidden;
}

/* Decorative Glow */
.footer-section::before{
    content:'';
    position:absolute;
    width:300px;
    height:300px;
    background:rgba(255,255,255,0.05);
    border-radius:50%;
    top:-100px;
    left:-100px;
}

/* Logo */
.footer-logo{
    color:#fff;
    font-size:28px;
    letter-spacing:1px;
}

.footer-logo i{
    color:#00d4ff;
    margin-right:10px;
}

/* Text */
.footer-tagline{
    color:#00d4ff;
    font-weight:600;
    font-size:18px;
}

.footer-text{
    color:#cfd8e3;
    line-height:1.8;
    margin-top:15px;
}

/* Badge */
.footer-badge{
    display:inline-block;
    background:rgba(0,212,255,0.15);
    color:#00d4ff;
    padding:10px 18px;
    border-radius:30px;
    margin-top:15px;
    font-weight:600;
    border:1px solid rgba(0,212,255,0.3);
}

/* Titles */
.footer-title{
    font-size:22px;
    margin-bottom:20px;
    position:relative;
    display:inline-block;
}

.footer-title::after{
    content:'';
    position:absolute;
    left:0;
    bottom:-8px;
    width:50%;
    height:3px;
    background:#00d4ff;
    border-radius:10px;
}

/* Links */
.footer-links li{
    margin-bottom:14px;
}

.footer-links a{
    color:#d9e3f0;
    text-decoration:none;
    transition:0.3s ease;
    font-size:16px;
}

.footer-links a i{
    color:#00d4ff;
    margin-right:8px;
}

.footer-links a:hover{
    color:#00d4ff;
    padding-left:6px;
}

/* Contact */
.footer-contact p{
    color:#d9e3f0;
    margin-bottom:16px;
    line-height:1.7;
}

.footer-contact i{
    color:#00d4ff;
    margin-right:12px;
    font-size:18px;
}

/* Social Icons */
.social-icons{
    display:flex;
    gap:15px;
}

.social-icons a{
    width:45px;
    height:45px;
    background:rgba(255,255,255,0.08);
    border:1px solid rgba(255,255,255,0.1);
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    color:#fff;
    font-size:18px;
    transition:0.4s ease;
}

.social-icons a:hover{
    background:#00d4ff;
    color:#000;
    transform:translateY(-5px) scale(1.08);
    box-shadow:0 0 20px rgba(0,212,255,0.5);
}

/* Divider */
.footer-divider{
    border-color:rgba(255,255,255,0.12);
    margin-top:40px;
}

/* Bottom */
.footer-bottom{
    color:#cfd8e3;
    font-size:15px;
    padding-top:10px;
}

.brand-highlight{
    color:#00d4ff;
    font-weight:700;
}

/* Responsive */
@media(max-width:768px){

    .footer-logo{
        font-size:24px;
    }

    .footer-title{
        margin-top:10px;
    }

    .social-icons{
        justify-content:start;
    }
}
/* REMOVE underline / border from social icons */
.social-icons a{
    text-decoration: none !important;
    border: none;
    outline: none;
    box-shadow: none;
}

/* Remove underline on hover */
.social-icons a:hover{
    text-decoration: none !important;
}


/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: white;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    text-align: center;
    font-size: 32px;
    line-height: 55px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
    z-index: 100;
    transition: all 0.2s;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.08);
    color: white;
}

/* Modal Customization */
.modal-content {
    border-radius: 24px;
    border-top: 5px solid var(--orange);
}

.bg-army {
    background-color: var(--army-green) !important;
}

/* Accordion button styling */
.accordion-button:not(.collapsed) {
    background-color: rgba(75, 83, 32, 0.1);
    color: var(--army-green);
}

/* Contact Form Validation */
.form-control:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 0.2rem rgba(230, 126, 34, 0.25);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.4rem;
    }
    .stat-circle {
        width: 100px;
        height: 100px;
        line-height: 100px;
        font-size: 2rem;
    }
    .counter {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 70vh;
        background-attachment: scroll;
    }
    .navbar-brand {
        font-size: 1.2rem;
    }
    .btn-army, .btn-outline-light {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    .stat-circle {
        width: 80px;
        height: 80px;
        line-height: 80px;
    }
    .counter {
        font-size: 1.6rem;
    }
}

/* Smooth hover zoom utility */
.hover-zoom {
    transition: transform 0.4s;
}

.hover-zoom:hover {
    transform: scale(1.01);
}

/* Card border orange */
.border-orange {
    border: 1px solid rgba(230,126,34,0.3);
}

/* Notice List */
.list-group-item i {
    margin-right: 12px;
}

/* Parallax class for other sections */
.parallax-bg {
    background-attachment: fixed;
}

@media (max-width: 1024px) {
    .parallax-bg, .parallax-stats {
        background-attachment: scroll;
    }
}

/* Scroll animation improvements */
[data-aos] {
    pointer-events: auto;
}