/* ==========================================================================
   1. BASE STYLES & RESET
   ========================================================================== */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

/* ==========================================================================
   2. HEADER & NAVIGATION (DESKTOP)
   ========================================================================== */
header {
    background-color: white;
    padding: 10px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo img {
    height: 50px;
    margin-left: 20px;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #000;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 10px 16px;
}

nav {
    margin-right: 20px;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    position: relative;
}

nav ul li a {
    color: rgb(8, 8, 8);
    text-decoration: none;
    padding: 10px 15px;
    font-size: 15px;
    font-weight: 500;
    line-height: 30px;
    display: block;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: rgb(0, 76, 174);
}

/* Submenu / Dropdown (Desktop) */
nav ul li ul {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    width: 260px;
    display: none; 
    flex-direction: column;
    padding: 10px 0;
    border-radius: 4px;
}

nav ul li ul li a {
    padding: 10px 20px;
    display: flex;
    align-items: center;
    line-height: 1.4;
}

nav ul li ul li a img {
    height: 30px;
    width: 30px;
    object-fit: cover;
    margin-right: 10px;
    border-radius: 4px;
}

nav ul li:hover > ul {
    display: flex;
}

/* ==========================================================================
   3. SECTIONS & LAYOUT CONTENT
   ========================================================================== */
section {
    padding: 60px 20px;
    text-align: center;
}

#home {
    padding: 0;
    margin-top: 70px; 
}

/* Home Carousel Styling */
.carousel {
    position: relative;
    width: 100%;
    margin: auto;
    overflow: hidden;
}

.carousel-images {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-images .slide {
    min-width: 100%;
    position: relative;
}

.carousel-images img {
    width: 100%;
    height: auto;
    display: block;
}

/* **कैरोसेल टेक्स्ट को लाइट/हल्का किया गया है** */
.carousel-text {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    padding: 20px;
    /* ओपेसिटी (0.35) कम कर दी ताकि पीछे की इमेज लाइट और साफ़ दिखे */
    background-color: rgba(0, 0, 0, 0.35); 
    border-radius: 5px;
    width: 80%;
    text-align: center;
    font-weight: 500;
    font-size: 1.6rem;
    line-height: 1.4;
}

/* होम कैरोसेल लेफ्ट और राइट बटन */
button.prev-slide, button.next-slide {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    z-index: 10;
    font-size: 24px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

button.prev-slide:hover, button.next-slide:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

button.prev-slide { left: 20px; }
button.next-slide { right: 20px; }

/* Typography */
h1 { font-size: 2.5rem; color: #333; font-weight: 400; margin-bottom: 20px; }
h2 { color: #333; }
h3 { font-family: 'Poppins', sans-serif; margin-top: 10px; }
p { color: #666; line-height: 1.6; }

/* Services Section */
.services_background {
    content-visibility: auto;
    /* सिर्फ स्क्रीन पर आने पर ही रेंडर करेगा (Huge performance boost) */
    contain-intrinsic-size: 0 500px;
    background-color:#004CAE;
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.frame {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    width: calc(25% - 20px); 
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.frame:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.frame img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    /* जो भी आपकी इमेज का रेशियो हो */
    object-fit: cover;
    will-change: transform;
    /* ब्राउज़र को रेंडरिंग के लिए तैयार रखता है */
}

/* Specifications Table */
.container-spec-table {
    display: none;
    margin: 20px auto;
    border-collapse: collapse;
    width: 90%;
    max-width: 1000px;
    background: white;
}

.container-spec-table th, .container-spec-table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

.container-spec-table th {
    background-color: #f2f2f2;
    font-weight: 600;
}

/* Buttons */
.show-button, .view-more-button, .view-more {
    background-color: rgb(0, 76, 174);
    color: white;
    padding: 12px 24px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border-radius: 4px;
    transition: background 0.3s ease;
    margin: 20px 0;
}

.view-more {
    background-color: #f4f5f6;
    color: #333;
}

.show-button:hover, .view-more-button:hover { background-color: #050505; }
.view-more:hover { color: rgb(0, 76, 174); background-color: #e4e5e6; }

/* About Us Section */
.content {
    padding: 100px 20px;
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('airfreight.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
}

.content-overlay {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 10px;
    max-width: 800px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Awards Controls */
.awards_form {
    background-color: rgb(0, 76, 174);
    padding: 40px 20px;
    position: relative;
}

button.prev-award, button.next-award {
    position: absolute;
    top: 55%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 20px;
    border-radius: 50%;
}
button.prev-award { left: 10px; }
button.next-award { right: 10px; }

.awards-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.award-block {
    background-color: #dde5f3;
    border-radius: 5px;
    padding: 20px;
    width: 280px;
    text-align: center;
}

.award-block img {
    width: 100%;
    height: 200px;
    object-fit: contain;
}

/* Modal Popup */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80vh;
    object-fit: contain;
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* Contact Us Form */
.contact_form {
    background-color: white;
    padding: 40px 20px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto 30px;
    background-color: #d9e2f3;
    padding: 30px;
    border-radius: 8px;
}

.contact-form input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.map {
    width: 100%;
    height: 400px;
    margin: 20px 0;
    border: 0;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 15px 0;
}

/* ==========================================================================
   4. RESPONSIVE MEDIA QUERIES (MOBILE FIXES)
   ========================================================================== */
@media (max-width: 992px) {
    .frame { width: calc(50% - 20px); }
    h1 { font-size: 2rem; }
}

@media (max-width: 768px) {
    .menu-toggle { display: block; }
    nav {
        display: none; 
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        border-top: 1px solid #eee;
    }
    .menu-open nav { display: block; }
    nav ul { flex-direction: column; }
    nav ul li { width: 100%; }
    nav ul li a { padding: 15px 20px; border-bottom: 1px solid #f5f5f5; }
    nav ul li ul { position: static; width: 100%; box-shadow: none; background-color: #fafafa; display: none; padding: 0; }
    nav ul li:hover ul { display: block; }
    nav ul li ul li a { padding-left: 40px; }
    .frame { width: 100%; }
    
    /* **मोबाइल स्क्रीन पर कैरोसेल टेक्स्ट को छोटा और सेट किया गया है** */
    .carousel-text { 
        font-size: 0.9rem !important; 
        width: 85% !important; 
        bottom: 15px !important; 
        padding: 8px 12px !important;
        line-height: 1.3 !important;
    }

    /* मोबाइल पर एरो बटनों का साइज भी छोटा किया गया */
    button.prev-slide, button.next-slide {
        padding: 8px 12px !important;
        font-size: 16px !important;
    }

    .container-spec-table { font-size: 12px; }
    .container-spec-table th, .container-spec-table td { padding: 6px; }
}


.section-title-white { color: #ffffff; }
.dark-text { color: #0d0d0d; }
.about-section { position: relative; 
    display:flex;
    justify-content: center;
     padding: 100px; 
     text-align: center; 
    }
.about-heading { font-size: 3em; color: #333333; }
.about-subtext { color: #666666; line-height: 1.6; }
.about-description { color: #0c0c0c; line-height: 1.6; }
.content-overlay { background-color: rgba(255, 255, 255, 0.8); padding: 10px; border-radius: 10px; }
.contact-details { margin-top: 20px; }