/* ============================================================
   Raipur Defence Academy — Enhanced Stylesheet
   ============================================================ */

:root {
    --primary: #0c234b;
    --primary-dark: #06122e;
    --secondary: #c53030;
    --secondary-dark: #7f1d1d;
    --accent: #dd6b20;
    --accent-light: #f59e0b;
    --bg-light: #f8fafc;
    --bg-card: #ffffff;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --text-light: #f1f5f9;
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
}

/* ============================================================
   Reset & Base
   ============================================================ */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

html::-webkit-scrollbar {
    width: 8px;
}

html::-webkit-scrollbar-track {
    background: var(--bg-light);
}

html::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--bg-light);
    font-size: 1rem;
}

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

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
textarea {
    font-family: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================================
   Utility Classes
   ============================================================ */

.section {
    padding: 5rem 0;
}

.section-sm {
    padding: 3rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: var(--primary);
    margin-bottom: 0.75rem;
    font-weight: 700;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    border-radius: 2px;
}

.section-title p {
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto;
    font-size: 1.05rem;
}

.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-3 {
    margin-top: 1rem;
}

/* ============================================================
   Header
   ============================================================ */

header {
    background: var(--bg-card);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--primary);
}

.logo-img {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: contain;
}

.logo-text {
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--primary);
}

.nav-pills {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-fast);
    position: relative;
}

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

.nav-link.active::after,
.nav-link:hover::after {
    content: '';
    position: absolute;
    bottom: 0.35rem;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--secondary);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 3.5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition-fast);
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-card);
    box-shadow: var(--shadow-lg);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-nav .nav-link {
    display: block;
    padding: 0.85rem 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
    position: relative;
    padding: 5.5rem 0 4.5rem;
    text-align: center;
    color: var(--text-light);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon points="0,0 100,0 100,100" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="2"/></svg>');
    opacity: 0.1;
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--secondary);
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    animation: pulse 2s ease-in-out infinite;
}

.hero h1 {
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 800;
    margin-bottom: 1.25rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero .subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    max-width: 640px;
    margin: 0 auto 2.25rem;
    opacity: 0.9;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.75rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-decoration: none;
    line-height: 1;
}

.btn-primary {
    background: var(--secondary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(199, 48, 48, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(199, 48, 48, 0.5);
    background: #9b2c2c;
}

.btn-outline {
    background: transparent;
    color: var(--text-light);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.05rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat .number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary);
}

.hero-stat .label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 0.25rem;
}

/* ============================================================
   Services / Programs
   ============================================================ */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.75rem;
}

.service-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.25rem;
    display: block;
}

.service-card h3 {
    color: var(--primary);
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

.card-cta {
    color: var(--secondary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.card-cta:hover {
    gap: 0.6rem;
    transform: translateX(4px);
}

/* ============================================================
   Why Choose Us
   ============================================================ */

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.why-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 1.75rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.why-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.75rem;
    color: #fff;
}

.why-card h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.why-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ============================================================
   Social Media Gallery Section
   ============================================================ */

/* Instagram Gallery */

.instagram-section {
    background: var(--bg-card);
}

.instagram-hero {
    text-align: center;
    margin-bottom: 2.5rem;
}

.instagram-hero .social-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #833ab8, #c13584, #e1306c);
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.instagram-hero h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.instagram-hero p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.instagram-feed {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.instagram-post {
    position: relative;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    aspect-ratio: 1 / 1;
    background: #e5e7eb;
}

.instagram-post:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-xl);
}

.instagram-post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.instagram-post:hover img {
    transform: scale(1.1);
}

.instagram-post::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(135, 55, 213, 0.15), transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.instagram-post:hover::after {
    opacity: 1;
}

.instagram-post .insta-overlay {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.instagram-post:hover .insta-overlay {
    opacity: 1;
}

.instagram-post .insta-overlay svg {
    width: 18px;
    height: 18px;
    fill: #e1306c;
}

.instagram-view-all {
    text-align: center;
    margin-top: 1.5rem;
}

.instagram-view-all .btn {
    background: linear-gradient(135deg, #833ab8, #c13584, #e1306c);
    color: #fff;
}

.instagram-view-all .btn:hover {
    background: #9b2c2c;
    transform: translateY(-2px);
}

/* ============================================
   Facebook Section
   ============================================ */

.facebook-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--text-light);
    text-align: center;
}

.facebook-section .fb-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #1877f2;
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.facebook-section .fb-badge svg {
    width: 18px;
    height: 18px;
    fill: #fff;
}

.facebook-timeline {
    max-width: 1100px;
    margin: 0 auto;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-xl);
}

/* ============================================
   YouTube Section
   ============================================ */

.youtube-section {
    background: var(--bg-card);
}

.youtube-hero {
    text-align: center;
    margin-bottom: 2.5rem;
}

.youtube-hero .yt-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ff0000;
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.youtube-hero .yt-badge svg {
    width: 18px;
    height: 18px;
    fill: #fff;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.video-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-content {
    padding: 1.25rem;
}

.video-content h4 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.video-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.video-content .video-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.video-content .video-meta .duration {
    background: rgba(0, 0, 0, 0.08);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
}

/* ============================================
   Testimonials (Social Proof)
   ============================================ */

.testimonials {
    background: var(--bg-light);
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    margin: 0 1.5rem;
    opacity: 0;
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.testimonial.active {
    display: block;
    opacity: 1;
}

.testimonial-quote {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-quote::before,
.testimonial-quote::after {
    content: """;
    font-size: 4rem;
    color: var(--accent);
    opacity: 0.1;
    position: absolute;
    font-family: Georgia, serif;
}

.testimonial-quote::before {
    top: -1rem;
    left: -0.5rem;
}

.testimonial-quote::after {
    bottom: -2rem;
    right: -0.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--secondary);
}

.author-info h5 {
    color: var(--primary);
    font-size: 1rem;
}

.author-info .role {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: var(--transition-fast);
}

.nav-dot.active,
.nav-dot:hover {
    background: var(--secondary);
}

/* ============================================
   Contact Section
   ============================================ */

.contact-section {
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-card,
.social-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.contact-card h4,
.social-card h4 {
    color: var(--primary);
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-card address {
    font-style: normal;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.contact-card strong {
    color: var(--text-dark);
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.contact-actions .btn {
    flex: 1 1 auto;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem;
    border-radius: 10px;
    background: var(--bg-light);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-decoration: none;
    color: var(--text-dark);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.social-link.instagram:hover {
    color: #e1306c;
    background: linear-gradient(135deg, rgba(226, 228, 234, 0.2), rgba(226, 228, 234, 0.2)) #833ab8;
    background: rgba(226, 233, 249, 0.5);
}

.social-link.facebook:hover {
    color: #1877f2;
}

.social-link.youtube:hover {
    color: #ff0000;
}

.social-link.playstore:hover {
    color: #34a853;
}

.social-link svg {
    width: 24px;
    height: 24px;
}

.social-subtext {
    margin-top: 1.25rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.social-subtext a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 500;
}

.social-subtext a:hover {
    text-decoration: underline;
}

/* ============================================
   Support Form
   ============================================ */

.support-form {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: var(--border-radius-sm);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(12, 35, 75, 0.15);
}

.form-note {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.75rem;
}

/* ============================================
   Footer
   ============================================ */

footer {
    background: var(--primary-dark);
    color: var(--text-light);
    padding: 3rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h5 {
    color: var(--text-light);
    margin-bottom: 1.25rem;
    font-size: 1.15rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}

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

.footer-col a {
    color: #cbd5e1;
    text-decoration: none;
    display: block;
    margin: 0.4rem 0;
    transition: color 0.2s;
    font-size: 0.9rem;
}

.footer-col a:hover {
    color: var(--text-light);
    padding-left: 3px;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    transition: var(--transition-fast);
}

.footer-social a:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: #94a3b8;
}

/* ============================================
   Animations
   ============================================ */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.animate-fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-fade-in-up.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Back to Top Button
   ============================================ */

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 46px;
    height: 46px;
    background: var(--secondary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
    box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent);
    transform: translateY(-2px) scale(1.05);
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 992px) {
    .hero {
        padding: 4.5rem 0 3.5rem;
    }

    .hero-stats {
        gap: 2rem;
    }

    .section {
        padding: 4rem 0;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-cta {
        gap: 0.75rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .menu-toggle {
        display: flex;
    }

    .mobile-nav {
        display: block;
    }

    .nav-pills {
        display: none;
    }

    .section {
        padding: 3rem 0;
    }

    .testimonial {
        margin: 0;
        padding: 1.5rem;
    }

    .testimonial-slider {
        margin: 0 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        letter-spacing: -0.01em;
    }

    .hero-stats {
        gap: 1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}
