﻿/* ============================================
   KATAR DEFTECH - MASTER STYLESHEET
   ============================================ */

/* ============================================
   1. BASE CONFIGURATION & RESET
   ============================================ */

html {
    font-size: 14px;
    scroll-behavior: smooth;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

/* ============================================
   2. CSS VARIABLES
   ============================================ */

:root {
    /* Brand Colors */
    --def-green: #5B7742;
    --def-dark-green: #3F522F;
    --dark-bg: #0a0a0a;
    --card-bg: #1a1a1a;
    /* Neutral Colors */
    --gray-light: #ddd;
    --gray: #ccc;
    /* Spacing */
    --section-padding: 60px 0;
    --section-padding-mobile: 40px 0;
}

/* ============================================
   3. GLOBAL STYLES
   ============================================ */

body {
    background-color: var(--dark-bg);
    color: var(--gray);
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Focus States */
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

/* Form Placeholder Alignment */
.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* ============================================
   4. HEADER & NAVIGATION
   ============================================ */

header {
    background-color: var(--dark-bg);
    padding: 15px 0;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.6);
    position: sticky;
    top: 0;
    z-index: 1000;
}

    /* Brand Section */
    header .brand {
        display: flex;
        align-items: center;
        justify-content: center;
    }

        header .brand img {
            height: 75px;
            margin-right: 10px;
        }

        header .brand h1 {
            color: var(--def-green);
            font-weight: 700;
            letter-spacing: 1px;
            margin: 0;
        }

/* Main Navigation */
nav.main-nav a {
    color: var(--def-green);
    margin: 0 15px;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease, border-bottom 0.3s ease;
    padding-bottom: 3px;
}

    nav.main-nav a:hover {
        color: #fff;
    }

    nav.main-nav a.active {
        color: #fff;
        border-bottom: 2px solid #fff;
        font-weight: 600;
    }

/* ============================================
   5. HERO CAROUSEL
   ============================================ */

#heroCarousel .carousel-item img {
    height: 85vh;
    object-fit: cover;
    filter: brightness(0.6);
}

#heroCarousel .carousel-caption {
    bottom: 30%;
}

    #heroCarousel .carousel-caption h2 {
        font-weight: 800;
        text-transform: uppercase;
        color: #fff;
        text-shadow: 0 0 15px rgba(91, 119, 66, 0.8);
    }

    #heroCarousel .carousel-caption p {
        color: #ddd;
        font-size: 1.1rem;
        max-width: 700px;
        margin: 0 auto;
    }

/* ============================================
   6. SECTION LAYOUTS
   ============================================ */

section {
    padding: var(--section-padding);
}

/* Section Title */
h2.section-title {
    color: var(--def-green);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
}

/* Section Title for drone pages*/
h2.drone-section-title {
    color: var(--def-green);
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
}

/* ============================================
   7. ABOUT SECTION
   ============================================ */

#about {
    background: radial-gradient(circle at top left, #151515, #000);
    text-align: center;
}

    #about p {
        max-width: 800px;
        margin: 0 auto;
        line-height: 1.7;
    }

/* About Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 40px;
}

    .gallery img {
        border-radius: 10px;
        transition: all 0.4s ease;
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

        .gallery img:hover {
            transform: scale(1.05);
            box-shadow: 0 0 25px rgba(91, 119, 66, 0.5);
        }

/* ============================================
   8. BUTTONS
   ============================================ */

.btn-custom {
    display: inline-block;
    padding: 10px 25px;
    border: 1px solid #fff;
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    border-radius: 6px;
    background: transparent;
    transition: all 0.2s ease;
    margin-top: 30px;
}

    .btn-custom:hover {
        background: #fff;
        color: #000;
        transform: translateY(-2px);
    }

.featured-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--def-green);
    color: white;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s, transform 0.2s;
    width: fit-content;
}

    .featured-btn:hover {
        background: var(--def-dark-green);
        transform: translateX(5px);
    }

/* ============================================
   9. DRONE TYPES SECTION
   ============================================ */

#types {
    background-color: #111;
}

    #types h3 {
        color: var(--def-green);
        font-weight: 700;
    }

    #types img {
        border-radius: 15px;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

        #types img:hover {
            transform: scale(1.05);
            box-shadow: 0 0 20px rgba(91, 119, 66, 0.5);
        }

/* ============================================
   10. TESTIMONIALS SECTION
   ============================================ */

#testimonials {
    background: linear-gradient(180deg, #0a0a0a 0%, #111 100%);
    position: relative;
    overflow: hidden;
    color: #fff;
    text-align: center;
}

/* Testimonial Container */
.testimonial-container {
    display: flex;
    overflow: hidden;
    position: relative;
    justify-content: center;
    align-items: center;
}

/* Testimonial Card */
.testimonial-card {
    min-width: 70%;
    margin: 0 auto;
    background: rgba(20, 25, 18, 0.8);
    border-radius: 20px;
    padding: 40px 60px;
    box-shadow: 0 0 20px rgba(91, 119, 66, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
    position: absolute;
}

    .testimonial-card.active {
        opacity: 1;
        position: relative;
    }

    .testimonial-card p {
        font-size: 1.1rem;
        font-style: italic;
        color: #ddd;
        line-height: 1.7;
    }

/* Testimonial Author */
.testimonial-author {
    margin-top: 20px;
    font-weight: 600;
    color: var(--def-green);
}

.testimonial-role {
    color: #999;
    font-size: 0.9rem;
}

/* Testimonial Navigation */
.testimonial-nav {
    margin-top: 40px;
}

    .testimonial-nav button {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        border: none;
        background-color: #555;
        margin: 0 5px;
        transition: all 0.3s ease;
    }

        .testimonial-nav button.active {
            background-color: var(--def-green);
        }

/* ============================================
   11. PAGE HERO BANNERS
   ============================================ */

.about-hero {
    height: 40vh;
    background: url('https://www.katardeftech.com/assets/banner3.jpg') center center / cover no-repeat;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
}

    .about-hero::after {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.7);
    }

    .about-hero h2 {
        position: relative;
        font-size: clamp(1.5rem, 4vw, 3rem);
        text-transform: uppercase;
        letter-spacing: 2px;
        z-index: 1;
        color: #fff;
        text-align: center;
    }

    .about-hero h6 {
        position: relative;
        font-size: 1rem;
        letter-spacing: 1px;
        z-index: 1;
        color: #fff;
        text-align: center;
    }

/* ============================================
   12. TYPOGRAPHY
   ============================================ */

.last-updated {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.main-heading {
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--def-green);
    margin-bottom: 20px;
    text-align: left;
}

.main-heading-2 {
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--def-green);
    margin-bottom: 20px;
    text-align: left;
}

.submain-heading {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--def-green);
    margin-bottom: 10px;
}

.main-body {
    font-size: 1rem;
    color: var(--gray);
    line-height: 1.8;
    text-align: left;
    margin-bottom: 20px;
}

.main-subtitle {
    font-size: 1rem;
    color: var(--gray);
    line-height: 1.8;
    text-align: center;
    margin-bottom: 20px;
}

.intro-section {
    text-align: center;
    margin-bottom: 60px;
}

    .intro-section h3 {
        font-size: 2rem;
        color: var(--def-green);
        text-transform: uppercase;
        margin-bottom: 20px;
        font-weight: 700;
        text-align: center;
    }

    .intro-section p {
        color: var(--gray);
        font-size: 1rem;
        line-height: 1.8;
        margin-bottom: 40px;
        text-align: center;
    }

/* ============================================
   13. CONTENT SECTIONS WITH IMAGES
   ============================================ */

.content-section .content-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.content-section .text-content {
    flex: 1;
    min-width: 300px;
    padding: 10px 20px;
}

.content-section .image-content {
    flex: 1;
    min-width: 300px;
}

/* Reverse Layout */
.content-section.reverse .text-content {
    order: 2;
}

.content-section.reverse .image-content {
    order: 1;
}

/* Images */
.content-section img {
    width: 80%;
    max-width: 450px;
    height: auto;
    border-radius: 12px;
    margin: 10px auto;
    display: block;
}

    .content-section img:hover {
        transform: scale(1.03);
    }

/* ============================================
   14. VALUES SECTION
   ============================================ */

.values-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.values-item {
    background: #111;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .values-item:hover {
        transform: translateY(-8px);
        box-shadow: 0 0 25px rgba(91, 119, 66, 0.4);
    }

    .values-item i {
        font-size: 2.5rem;
        color: var(--def-green);
        margin-bottom: 15px;
    }

    .values-item h4 {
        color: #fff;
        font-weight: 600;
        margin-bottom: 10px;
    }

    .values-item p {
        color: #ccc;
        font-size: 0.95rem;
    }

/* ============================================
   15. TEAM SECTION
   ============================================ */

.team-section {
    margin-top: 60px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.team-member {
    text-align: center;
    padding: 20px;
    background: #111;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .team-member:hover {
        transform: translateY(-8px);
        box-shadow: 0 0 25px rgba(91, 119, 66, 0.4);
    }

    .team-member img {
        width: 150px;
        height: 150px;
        object-fit: cover;
        border-radius: 50%;
        margin-bottom: 15px;
        background: #222;
    }

    .team-member h5 {
        color: var(--def-green);
        font-weight: 600;
        margin-bottom: 5px;
    }

    .team-member p.role {
        color: #999;
        font-size: 0.9rem;
    }

/* ============================================
   16. ACCORDION
   ============================================ */

.accordion {
    margin-top: 40px;
}

.accordion-item {
    background: #111;
    border: none;
    border-bottom: 1px solid #333;
    margin-bottom: 0;
}

.accordion-button {
    background-color: #111;
    color: var(--def-green);
    font-weight: 600;
    padding: 1.5rem;
    font-size: 1.1rem;
    border: none;
    box-shadow: none;
    transition: all 0.3s ease;
}

    .accordion-button:not(.collapsed) {
        background-color: #1a1a1a;
        color: var(--def-green);
        box-shadow: none;
    }

    .accordion-button:hover {
        background-color: #1a1a1a;
    }

    .accordion-button:focus {
        border: none;
        box-shadow: none;
    }

    .accordion-button::after {
        content: '+';
        background-image: none;
        font-size: 1.8rem;
        font-weight: 300;
        width: auto;
        height: auto;
        color: var(--def-green);
    }

    .accordion-button:not(.collapsed)::after {
        content: "−";
        transform: none;
    }

.accordion-body {
    padding: 1.5rem;
    color: var(--gray-light);
    font-size: 1rem;
    background-color: #0d0d0d;
    line-height: 1.7;
}

    .accordion-body ul {
        margin: 1rem 0;
        padding-left: 1.5rem;
    }

    .accordion-body li {
        margin-bottom: 0.5rem;
    }

    .accordion-body strong {
        color: var(--def-green);
    }

.subtext {
    position: relative;
    z-index: 1;
    margin-left: 20px;
}

    .subtext li {
        color: var(--gray-light);
        font-size: 1rem;
        background-color: #0d0d0d;
        line-height: 2;
        margin: 4px 0;
    }

/* ============================================
   17. BENEFITS SECTION
   ============================================ */

#why-choose {
    background: var(--dark-bg);
    margin-top: 40px;
}

.section-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--def-green);
    font-weight: 600;
    margin-bottom: 15px;
    text-align: left;
}

.benefit-subtitle {
    font-size: 1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 0 20px 0;
    line-height: 1.6;
    text-align: left;
}

.benefit-card-new {
    background: #111;
    border-radius: 8px;
    padding: 30px 25px;
    height: 100%;
    transition: all 0.1s ease;
    border: 1px solid #222;
}

    .benefit-card-new:hover {
        background: #1a1a1a;
        border-color: var(--def-green);
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(91, 119, 66, 0.2);
    }

    .benefit-card-new .icon-wrapper-new {
        width: 50px;
        height: 50px;
        background: var(--def-green);
        border-radius: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 20px;
    }

        .benefit-card-new .icon-wrapper-new i {
            font-size: 20px;
            color: #fff;
        }

    .benefit-card-new h3 {
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--gray-light);
        margin-bottom: 12px;
        line-height: 1.4;
    }

    .benefit-card-new p {
        font-size: 0.9rem;
        line-height: 1.7;
        color: var(--gray);
        margin: 0;
    }

/* ============================================
   18. DRONE IMAGE
   ============================================ */

.drone-image {
    width: 100%;
    height: 100%;
    max-height: 450px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(91, 119, 66, 0.3);
    object-position: center;
}

.type-drone-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(91, 119, 66, 0.3);
    object-position: center;
}

/* ============================================
   19. SPECIFICATIONS TABLE
   ============================================ */

.specs-table {
    background: #111;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 10px;
}

    .specs-table table {
        margin: 0;
    }

    .specs-table th {
        background: var(--def-green);
        color: #000;
        font-weight: 600;
        padding: 20px;
        border: none;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .specs-table td {
        background: #111;
        color: var(--gray-light);
        padding: 18px 20px;
        border-bottom: 1px solid #222;
    }

    .specs-table tbody tr:hover td {
        background: #1a1a1a;
    }

    .specs-table tbody tr:last-child td {
        border-bottom: none;
    }

.spec-label {
    color: var(--def-green);
    font-weight: 600;
}

/* ============================================
   20. DRONE PRODUCT CARDS  (Restored from Old site.css)
   ============================================ */

/* Grid Layout */
.drone-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    align-items: stretch; /* Ensures equal height */
}

/* Card Styling */
.drone-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    color: #fff;
    border: 1px solid #2a2a2a;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .drone-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 40px rgba(74, 157, 95, 0.2);
        border-color: var(--def-green);
    }

    .drone-card img {
        width: 100%;
        height: 220px;
        object-fit: cover;
        border-bottom: 1px solid #333;
    }

/* Content inside each card */
.card-content {
    padding: 20px;
    flex-grow: 1; /* Makes text area stretch evenly */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
}

    .card-content h5 {
        font-size: 1.3rem;
        font-weight: 600;
        color: var(--def-green);
        margin-bottom: 10px;
        line-height: 1.4;
    }

    .card-content p {
        font-size: 1rem;
        color: var(--gray);
        line-height: 1.8;
        margin-bottom: 20px;
        flex-grow: 1;
    }

.card-link {
    color: var(--def-green);
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    margin-top: auto;
    transition: color 0.3s ease;
}

    .card-link:hover {
        color: #fff;
    }

    .card-link i {
        font-size: 12px;
        margin-left: 5px;
    }


/* ============================================
   21. FEATURED CARDS
   ============================================ */

.featured-card {
    position: relative;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a3a2e 0%, #0a1f1a 100%);
    background-size: cover;
    background-position: center;
}

.featured-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.50) 0%, rgba(0, 0, 0, 0.75) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
}

.featured-card h3 {
    color: white;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.featured-card p {
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* ============================================
   22. FOOTER
   ============================================ */

footer {
    background: #000;
    color: #aaa;
    text-align: center;
    padding: 40px 0;
    border-top: 2px solid #2d3c22;
}

/* ============================================
   23. HAMBURGER MENU (Mobile)
   ============================================ */

.hamburger {
    display: none;
}

.nav-overlay {
    display: none;
}

/* ============================================
   24. RESPONSIVE DESIGN - MOBILE FIRST
   ============================================ */

/* Tablets and below (768px) */
@media (max-width: 768px) {
    /* Header Container */
    header .container {
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* Brand - Left Aligned with Bigger Logo */
    header .brand {
        justify-content: flex-start;
        margin-left: 0;
    }

        header .brand img {
            height: 65px;
            margin-right: 10px;
        }

        header .brand h1 {
            font-size: 1.5rem;
            letter-spacing: 0.8px;
        }

    /* Show Hamburger Menu on Mobile */
    .hamburger {
        display: flex;
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 10px;
        z-index: 1001;
        width: 40px;
        height: 40px;
    }

        .hamburger span {
            display: block;
            width: 26px;
            height: 2.5px;
            background-color: var(--def-green);
            transition: all 0.3s ease;
            border-radius: 2px;
            position: absolute;
        }

            .hamburger span:nth-child(1) {
                top: 12px;
            }

            .hamburger span:nth-child(2) {
                top: 19px;
            }

            .hamburger span:nth-child(3) {
                top: 26px;
            }

        /* X icon animation when active */
        .hamburger.active span:nth-child(1) {
            top: 19px;
            transform: rotate(45deg);
        }

        .hamburger.active span:nth-child(2) {
            opacity: 0;
        }

        .hamburger.active span:nth-child(3) {
            top: 19px;
            transform: rotate(-45deg);
        }

    /* Slide-in Navigation Menu */
    nav.main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 300px;
        height: 100vh;
        background-color: #0d0d0d;
        display: flex !important;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 80px 0 30px;
        margin: 0;
        transition: right 0.3s ease;
        box-shadow: -2px 0 15px rgba(0, 0, 0, 0.8);
        z-index: 1000;
        overflow-y: auto;
    }

        nav.main-nav.active {
            right: 0;
        }

        nav.main-nav a {
            width: 100%;
            padding: 18px 30px;
            margin: 0 !important;
            border-bottom: 1px solid #222;
            font-size: 1rem;
            display: block;
            text-align: left;
        }

            nav.main-nav a:hover {
                background-color: #1a1a1a;
                padding-left: 35px;
            }

            nav.main-nav a.active {
                background-color: #1a1a1a;
                border-bottom: 1px solid #222;
                border-left: 4px solid var(--def-green);
            }

    /* Mobile Overlay */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.85);
        z-index: 999;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

        .nav-overlay.active {
            display: block;
            opacity: 1;
            pointer-events: auto;
        }

    /* Hero Carousel */
    #heroCarousel .carousel-item img {
        height: 50vh;
    }

    #heroCarousel .carousel-caption {
        bottom: 20%;
    }

        #heroCarousel .carousel-caption h2 {
            font-size: 1.5rem;
        }

        #heroCarousel .carousel-caption p {
            font-size: 0.9rem;
        }

    /* Section Padding */
    section {
        padding: var(--section-padding-mobile);
    }

    /* Typography */
    .main-heading {
        font-size: 1.5rem;
    }

    .main-heading-2 {
        font-size: 1.2rem;
    }

    .submain-heading {
        font-size: 1.3rem;
    }

    .intro-section h3 {
        font-size: 1.6rem;
    }

    /* About Hero */
    .about-hero {
        height: 30vh;
    }

        .about-hero h2 {
            font-size: 1.5rem;
        }

        .about-hero h6 {
            font-size: 0.9rem;
        }

    /* Gallery */
    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 10px;
    }

        .gallery img {
            height: 150px;
        }

    /* Content Sections */
    .content-section .content-row {
        flex-direction: column;
    }

    .content-section .text-content,
    .content-section .image-content {
        min-width: 100%;
    }

    .content-section.reverse .text-content {
        order: 1;
    }

    .content-section.reverse .image-content {
        order: 2;
    }

    .content-section img {
        width: 100%;
        max-width: 100%;
    }

    /* Values Grid */
    .values-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Team Grid */
    .team-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Drone Grid */
    .drone-grid {
        grid-template-columns: 1fr;
    }

    /* Testimonials */
    .testimonial-card {
        min-width: 90%;
        padding: 30px 20px;
    }

        .testimonial-card p {
            font-size: 1rem;
        }

    /* Featured Cards */
    .featured-card {
        height: 300px;
    }

    .featured-overlay {
        padding: 30px 20px;
    }

    .featured-card h3 {
        font-size: 1.4rem;
    }

    /* Accordion */
    .accordion-button {
        padding: 1rem;
        font-size: 1rem;
    }

    .accordion-body {
        padding: 1rem;
        font-size: 0.95rem;
    }

    /* Benefits Cards */
    .benefit-card-new {
        padding: 25px 20px;
    }

        .benefit-card-new h3 {
            font-size: 1rem;
        }

        .benefit-card-new p {
            font-size: 0.85rem;
        }

    /* Specs Table */
    .specs-table th,
    .specs-table td {
        padding: 12px 15px;
        font-size: 0.9rem;
    }

    /* Buttons */
    .btn-custom {
        padding: 8px 20px;
        font-size: 0.9rem;
    }

    .featured-btn {
        padding: 10px 24px;
        font-size: 0.9rem;
    }

    /* Drone Images */
    .drone-image,
    .type-drone-image {
        max-height: 300px;
    }
}

/* Extra Small Screens (480px and below) */
@media (max-width: 480px) {
    /* Brand - Even more compact */
    header .brand img {
        height: 55px;
        margin-right: 8px;
    }

    header .brand h1 {
        font-size: 1.3rem;
    }

    /* Hero Carousel */
    #heroCarousel .carousel-item img {
        height: 40vh;
    }

    #heroCarousel .carousel-caption h2 {
        font-size: 1.2rem;
    }

    #heroCarousel .carousel-caption p {
        font-size: 0.85rem;
    }

    /* Typography */
    .main-heading {
        font-size: 1.3rem;
    }

    .main-heading-2 {
        font-size: 1.1rem;
    }

    .submain-heading {
        font-size: 1.2rem;
    }

    .intro-section h3 {
        font-size: 1.4rem;
    }

    /* About Hero */
    .about-hero {
        height: 25vh;
    }

        .about-hero h2 {
            font-size: 1.3rem;
        }

    /* Gallery */
    .gallery {
        grid-template-columns: 1fr;
    }

    /* Testimonials */
    .testimonial-card {
        min-width: 95%;
        padding: 25px 15px;
    }

        .testimonial-card p {
            font-size: 0.95rem;
        }

    /* Featured Cards */
    .featured-card {
        height: 250px;
    }

        .featured-card h3 {
            font-size: 1.2rem;
        }

    /* Values and Team Items */
    .values-item,
    .team-member {
        padding: 20px;
    }

    /* Accordion */
    .accordion-button {
        padding: 0.85rem;
        font-size: 0.95rem;
    }

    .accordion-body {
        padding: 0.85rem;
        font-size: 0.9rem;
    }

    /* Drone Images */
    .drone-image,
    .type-drone-image {
        max-height: 250px;
    }

    /* Navigation Slide Menu */
    nav.main-nav {
        width: 85%;
    }

        nav.main-nav a {
            padding: 15px 25px;
            font-size: 0.95rem;
        }
}

/* Large Tablets (768px to 992px) */
@media (min-width: 769px) and (max-width: 992px) {
    header .brand img {
        height: 70px;
    }

    header .brand h1 {
        font-size: 1.3rem;
    }

    .drone-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-list,
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop (993px and above) */
@media (min-width: 993px) {
    .drone-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .values-list {
        grid-template-columns: repeat(3, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Extra Large Screens (1400px and above) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }

    header .brand img {
        height: 85px;
    }

    header .brand h1 {
        font-size: 2rem;
    }

    #heroCarousel .carousel-item img {
        height: 90vh;
    }

    .main-heading {
        font-size: 2rem;
    }

    .intro-section h3 {
        font-size: 2.2rem;
    }
}
