/* Responsive Styles for C-DOT Website */

/* Tablets and below */
@media (max-width: 1024px) {
    .col-lg-3,
    .col-lg-4,
    .col-lg-6,
    .col-lg-8,
    .col-lg-12 {
        width: 100%;
    }

    .container {
        padding: 0 20px;
    }

    .section-padding {
        padding: 60px 0;
    }

    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.75rem; }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

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

/* Mobile Landscape and below */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        overflow-y: auto;
        z-index: 999;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid var(--light);
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--light);
        margin-top: 10px;
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-cta {
        width: 100%;
        margin-top: 20px;
    }

    .btn-donate {
        display: block;
        text-align: center;
    }

    .hero-section,
    .hero-slider .swiper-slide,
    .hero-content {
        height: 500px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .top-bar-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .about-image {
        margin-bottom: 30px;
    }

    .about-badge {
        bottom: -20px;
        right: 20px;
    }

    .event-card {
        flex-direction: column;
    }

    .event-image {
        width: 100%;
        height: 250px;
    }

    .event-content {
        padding: 30px 20px;
    }

    .event-date {
        top: auto;
        bottom: 20px;
        left: 20px;
    }

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

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .reels-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .reel-item {
        height: 300px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .tv-frame-container {
        padding: 0 20px;
    }

    .newsletter-content,
    .newsletter-form-wrapper {
        margin-bottom: 30px;
    }

    .scroll-top-btn,
    .whatsapp-float {
        right: 20px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 80px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    h4 { font-size: 1.1rem; }

    .section-padding {
        padding: 40px 0;
    }

    .container {
        padding: 0 15px;
    }

    .hero-section,
    .hero-slider .swiper-slide,
    .hero-content {
        height: 400px;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .btn-lg {
        padding: 12px 30px;
        font-size: 16px;
    }

    .feature-card {
        padding: 20px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .program-content {
        padding: 20px;
    }

    .program-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

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

    .reel-item {
        height: 400px;
    }

    .youtube-thumbnail {
        height: 180px;
    }

    .testimonial-card {
        padding: 20px;
    }

    .testimonial-image {
        width: 80px;
        height: 80px;
    }

    .review-card {
        padding: 20px;
    }

    .location-card {
        padding: 20px;
    }

    .map-container iframe {
        height: 300px;
    }

    .blog-image {
        height: 180px;
    }

    .blog-content {
        padding: 20px;
    }

    .newsletter-form-wrapper {
        padding: 25px;
    }

    .newsletter-form-main input {
        padding: 12px;
        font-size: 14px;
    }

    .footer-top {
        padding: 40px 0 30px;
    }

    .mission-card,
    .vision-card {
        padding: 25px;
    }

    .mv-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .nav-brand img.logo {
        height: 50px;
    }

    .top-bar {
        font-size: 12px;
    }

    .social-links a {
        width: 25px;
        height: 25px;
        font-size: 12px;
    }

    .scroll-top-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

/* Utility Classes for Responsive */
.d-md-none {
    @media (min-width: 768px) {
        display: none !important;
    }
}

.d-md-block {
    @media (max-width: 767px) {
        display: none !important;
    }
}

/* Landscape Orientation */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section,
    .hero-slider .swiper-slide,
    .hero-content {
        height: 100vh;
    }
}
