/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: sans-serif;
    background-color: #F5F5F5;
    color: #333;
}

/* Header Section */
header {
    position: sticky; /* Keeps the header stuck to the top */
    top: 0; /* Sticks to the top of the page */
    z-index: 1000; /* Ensures it stays above other elements */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
header .logo {
    display: flex;
    align-items: center;
    
}

header .logo img {
    width: 80px; /* Adjust size as needed */
    height: auto;
    margin-right: 20px;
}

header .logo h1 {
    font-size: calc(20px + 2vw); /* Adjust size dynamically based on screen width */
    font-weight: bold;
    margin: 0;
    color: #000271;
    text-align: center;
    line-height: 1.2; /* Adjust for better readability */
}
nav ul {
    list-style-type: none;
    display: flex;
}
nav ul li {
    margin-left: 20px;
}
nav ul li a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-size: 14px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 20px;
        background-color: #ffffff;
        padding: 15px;
        border-radius: 8px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    nav ul.show {
        display: flex;
    }

    nav ul li {
        margin-left: 0px;
        margin-bottom: 10px;
        text-align: center;
    }

    .nav-toggle {
        display: flex;
        align-items: center;
        cursor: pointer;
    }

    .nav-icon {
        position: absolute;
        right: 10px;
        font-size: 24px;
        color: #333;
    }
}

@media (min-width: 769px) {
    .nav-toggle {
        display: none;
    }
}
@media (max-width: 769px) {
    header .logo img {
        width: 40px; /* Adjust size as needed */
        height: auto;
        margin-right: 10px;
    }
}

@media (max-width: 480px) {
    header .logo h1 {
        font-size: 18px; /* Set a smaller size for very small screens */
    }
}

/* Optional fine-tuning for larger screens */
@media (min-width: 1024px) {
    header .logo h1 {
        font-size: calc(20px + 2vw); /* Set a larger size for very large screens */
    }
}


/* Hero Section */
.hero {
    background: url('Images/Herobg.jpg') no-repeat center center/cover; /* Background image */
    height: 70vh; /* Adjust height to fit content */
    width: 98%; /* Ensure it doesn't take up the full width */
    margin: 20px auto; /* Center the section horizontally and add space above */
    border-radius: 10px; /* Curved edges */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.150); /* Floating effect */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative; /* Allows precise positioning of elements inside */
    padding: 20px;
}

.hero .hero-content {
    max-width: 800px; /* Limit the content width */
    padding: 20px;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent background for readability */
    border-radius: 15px; /* Curved edges for the content block */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Inner content shadow */
}

.hero .hero-content h2 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
}

.hero .hero-content p {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.hero .cta-btn {
    padding: 10px 30px;
    background-color: #D72638;
    color: white;
    text-decoration: none;
    font-size: 18px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.hero .cta-btn:hover {
    background-color: #B71C2A;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero {
        height: 60vh; /* Adjust height for medium screens */
        margin: 15px auto;
    }

    .hero .hero-content h2 {
        font-size: 40px; /* Reduce heading size */
    }

    .hero .hero-content p {
        font-size: 18px; /* Slightly smaller text */
    }

    .hero .cta-btn {
        font-size: 16px;
        padding: 10px 20px;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 50vh; /* Smaller height for smaller screens */
        padding: 10px;
    }

    .hero .hero-content {
        padding: 15px;
    }

    .hero .hero-content h2 {
        font-size: 32px; /* Reduce heading size further */
    }

    .hero .hero-content p {
        font-size: 16px;
    }

    .hero .cta-btn {
        font-size: 14px;
        padding: 8px 16px;
    }
}

@media (max-width: 480px) {
    .hero {
        height: auto; /* Allow the height to adjust based on content */
        margin: 10px auto;
        padding: 10px;
    }

    .hero .hero-content {
        padding: 10px;
        max-width: 90%; /* Reduce content width on smaller screens */
    }

    .hero .hero-content h2 {
        font-size: 24px; /* Small font for smaller screens */
    }

    .hero .hero-content p {
        font-size: 14px;
    }

    .hero .cta-btn {
        font-size: 12px;
        padding: 6px 12px;
    }
}

/* About Section */
.about-section {
    display: flex;
    justify-content: center; /* Center the box horizontally */
    align-items: center;    /* Center the box vertically */
    padding: 60px 20px;
    background-color: #F4F4F4; /* Light gray background */
}

.about-box {
    max-width: 800px;
    background: linear-gradient(135deg, #D72638, #001F54); /* Red to blue gradient */
    border: 2px solid #001F54; /* Border color */
    border-radius: 15px; /* Rounded corners */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* Shadow effect */
    padding: 40px; /* Space inside the box */
    text-align: center; /* Center-align text */
    color: #f0f0f0; /* Light gray for text */
    transition: all 0.3s ease; /* Smooth transition for hover effects */
}

.about-box h2 {
    font-size: 36px; /* Heading size */
    font-weight: bold;
    color: #ffffff; /* Soft white for heading */
    margin-bottom: 20px; /* Space below the heading */
}

.about-box p {
    font-size: 18px; /* Font size for paragraphs */
    line-height: 1.8; /* Line spacing */
    color: #f0f0f0; /* Light gray for paragraph text */
    margin-bottom: 20px; /* Space between paragraphs */
}

.about-box strong {
    color: #FFD700; /* Highlighted text color (lime-yellow) */
    font-weight: bold;
}

/* Optional: Add hover effect for the box */
.about-box:hover {
    transform: translateY(-5px); /* Slight upward movement */
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3); /* Stronger shadow on hover */
    transition: all 0.3s ease; /* Smooth transition */
}


/* Responsive Styles */
@media (max-width: 768px) {
    .about-box {
        padding: 30px; /* Reduce padding for smaller screens */
    }

    .about-box h2 {
        font-size: 1.8rem; /* Slightly smaller heading */
    }

    .about-box p {
        font-size: 0.9rem; /* Adjust font size for better readability */
    }
}

@media (max-width: 480px) {
    .about-box {
        padding: 20px; /* Further reduce padding on very small screens */
        border-radius: 10px; /* Slightly smaller corners */
    }

    .about-box h2 {
        font-size: 1.5rem; /* Smaller heading for compact screens */
    }

    .about-box p {
        font-size: 0.85rem; /* Compact text for smaller screens */
    }
}


/* Agriculture Section */
.agriculture-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    background-color: #F9FAFC; /* Light background for contrast */
}

.agriculture-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    width: 100%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); /* Subtle shadow for elegance */
    border-radius: 15px; /* Smooth corners */
    overflow: hidden;
    background-color: #ffffff; /* White background for the container */
}

.agriculture-image {
    flex: 1; /* Takes up half the space */
    min-width: 300px; /* Ensures proper sizing on smaller screens */
}

.agriculture-image img {
    width: 100%; /* Ensures the image scales */
    height: 100%; /* Maintain proportional height */
    object-fit: cover; /* Ensures the image fills the area nicely */
}

.agriculture-content {
    flex: 1; /* Takes up half the space */
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.agriculture-content h2 {
    font-size: 36px;
    font-weight: bold;
    color: #001F54; /* Aeronest theme blue */
    margin-bottom: 20px;
}

.agriculture-content p {
    font-size: 18px;
    line-height: 1.8;
    color: #333333; /* Neutral gray for readability */
}

/* Responsive Design */
@media screen and (max-width: 1800px) {
    .agriculture-container {
        flex-direction: column; /* Stack the image and text vertically */
    }

    .agriculture-image, .agriculture-content {
        flex: none; /* Reset flex properties */
        width: 100%; /* Full width for each section */
    }

    .agriculture-content {
        padding: 20px;
    }
    .cta-button {
        display: inline-block;
        background-color: #D72638;
        color: white;
        font-weight: bold;
        text-align: center;
        padding: 10px 20px;
        text-decoration: none;
        margin: 0px 0px 15px 0px;
        border-radius: 5px;
        border: none;
        font-size: 16px;
        cursor: pointer;
    }
    
    /* Small Screen Styles */
    @media (max-width: 768px) {
        .cta-button {
            font-size: 14px;
            margin: 0px 0px 10px 0px;
        }
    }
    
    /* Large Screen Styles */
    @media (min-width: 769px) {
        .cta-button {
            font-size: 18px;
            margin: 0px 0px 20px 0px;
        }
    }
    
    .cta-button:hover {
        background-color: #B71C2A;
    }


    /* Specific styling for buttons in drone-details-box */
    .details-button {
        display: inline-flex; /* Allows flexible alignment */
        align-items: center; /* Centers content vertically */
        justify-content: center; /* Centers content horizontally */
        padding: 8px 15px; /* Minimal padding to maintain button shape */
        text-decoration: none; /* Removes underline from links */
        color: #000000; /* Text color */
        background-color: #ffffff; /* Background color */
        border: 2px solid #ffffff; /* Border color */
        border-radius: 8px; /* Rounded corners */
        font-weight: normal; /* Normal text weight */
        font-size: 14px; /* Font size */
        transition: all 0.3s ease; /* Smooth transition for hover effects */
        white-space: nowrap; /* Prevents text wrapping */
        width: fit-content; /* Adjusts to content size */
        line-height: normal; /* Ensures text height matches font size */
    }

.details-button:hover {
    background-color: #ffffff;
    color: #000000;
    border-color: #ffffff;
    font-weight:bold;
}

.drone-button-list {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 10px; /* Adds spacing between buttons */
}

    
}



/* Drone Sector Section */
.drone-sector {
    padding: 60px 20px;
    background-color: #F5F9FF; /* Light blue background */
    text-align: center;
}

.drone-sector h2 {
    font-size: 36px;
    color: #001F54;
    margin-bottom: 10px;
}

.drone-sector p {
    font-size: 18px;
    color: #555;
    margin-bottom: 40px;
}

/* Drone Content Layout */
.drone-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
}

/* Left Content: Image Box */
.drone-image-box {
    flex: 1 1 400px;
    max-width: 450px;
    text-align: center;
}

.drone-image-box img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.drone-caption {
    margin-top: 10px;
    background-color: #EAF2FA; /* Soft blue */
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.drone-caption h3 {
    font-size: 20px;
    color: #001F54;
}

.drone-caption p {
    font-size: 16px;
    color: #666;
}

/* Right Content: Details Box */
.drone-details-box {
    flex: 1 1 auto;
    max-width: 235px;
    background-color: white;
    padding: 20px;
    border: 2px solid #EAEAEA;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.drone-details-box h3 {
    font-size: 18px;
    color: #001F54;
    margin-bottom: 10px;
    text-align: center;
}

.drone-details-box p {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
}

.drone-details-box ul {
    list-style-type: disc;
    margin-left: 20px;
    color: #444;
}

.drone-details-box ul li {
    margin-bottom: 10px;
    font-size: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .drone-content {
        flex-direction: column;
        align-items: center;
    }

    .drone-image-box, .drone-details-box {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .drone-sector h2 {
        font-size: 28px;
    }

    .drone-sector p {
        font-size: 16px;
    }

    .drone-details-box h3 {
        font-size: 16px;
    }

    .drone-details-box ul li {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .drone-sector h2 {
        font-size: 24px;
    }

    .drone-sector p {
        font-size: 14px;
    }

    .drone-caption h3 {
        font-size: 18px;
    }

    .drone-details-box h3 {
        font-size: 14px;
    }

    .drone-details-box ul li {
        font-size: 12px;
    }

    .drone-details-box {
        padding: 15px;
    }

    .drone-image-box img {
        border-radius: 6px;
    }
}


/* Farmer Story Section */
.farmer-story-section {
    padding: 60px 20px;
    background-color: #F4F4F4;
    text-align: center;
}

.farmer-story-section h2 {
    font-size: 36px;
    color: #003366;
    margin-bottom: 20px;
    font-weight: bold;
}

.farmer-card {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.farmer-card:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.farmer-card img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    transition: opacity 0.3s ease;
}

.farmer-card .card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 15px;
}

.farmer-card:hover .card-overlay {
    opacity: 1;
}

.card-overlay h3 {
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: bold;
}

.card-overlay p {
    font-size: 16px;
    line-height: 1.6;
    padding: 0 20px;
}

.card-overlay .read-more-btn {
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #D72638;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.card-overlay .read-more-btn:hover {
    background-color: #B71C2A;
}

@media (max-width: 768px) {
    .farmer-card {
        max-width: 90%;
    }

    .card-overlay h3 {
        font-size: 22px;
    }

    .card-overlay p {
        font-size: 14px;
    }

    .card-overlay .read-more-btn {
        font-size: 14px;
        padding: 8px 16px;
    }
}



@media (max-width: 415px) {
    .farmer-card {
        max-width: 100%;
    }

    .card-overlay h3 {
        font-size: 18px;
    }

    .card-overlay p {
        font-size: 12px;
    }

    .card-overlay .read-more-btn {
        font-size: 14px;
        padding: 6px 12px;
    }
}


/* drone app */

.drone-app {
    padding: 20px;
    text-align: center;
  }
  
  .drone-app h1 {
    color: #003366;
    font-size: 2rem;
  }
  
  .highlight {
    color: #666;
    margin-bottom: 20px;
  }
  
  .content-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
  }
  
  .left-section,
  .right-section {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  
  .left-section {
    flex: 1;
    text-align: center;
  }
  
  .left-section .image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
  }
  
  .inspiring-innovation {
    text-align: left;
  }
  
  .inspiring-innovation h2 {
    color: #003366;
    font-size: 1.5rem;
    margin-bottom: 10px;
  }
  
  .right-section {
    flex: 1;
    text-align: left;
  }
  
  .right-section h2 {
    color: #003366;
    font-size: 1.5rem;
    margin-bottom: 10px;
  }
  
  .right-section .subtitle {
    font-weight: bold;
    color: #666;
    margin-bottom: 15px;
  }
  
  .right-section ul {
    list-style: none;
    padding: 0;
  }
  
  .right-section ul li {
    margin-bottom: 15px;
  }
  
  .right-section ul li strong {
    color: #003366;
  }

  /* Responsive Design */
@media (max-width: 768px) {
    .content-container {
        flex-direction: column;
        gap: 20px;
    }

    .left-section, 
    .right-section {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .drone-app h1 {
        font-size: 1.8rem;
    }

    .inspiring-innovation h2,
    .right-section h2 {
        font-size: 1.3rem;
    }

    .right-section ul li {
        font-size: 14px;
    }

    .right-section .subtitle {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .drone-app h1 {
        font-size: 1.5rem;
    }

    .content-container {
        padding: 10px;
    }

    .left-section, 
    .right-section {
        padding: 15px;
        box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
    }

    .inspiring-innovation h2,
    .right-section h2 {
        font-size: 1.2rem;
    }

    .right-section ul li {
        font-size: 12px;
    }

    .right-section .subtitle {
        font-size: 12px;
    }
}



/* Partnership Section */
.partnership-section {
    padding: 60px 20px;
    background-color: #F8FBFF; /* Light blue background */
    text-align: center;
}

.partnership-section h2 {
    font-size: 36px;
    color: #001F54;
    margin-bottom: 10px;
}

.partnership-section p {
    font-size: 18px;
    color: #555;
    margin-bottom: 40px;
}

/* Partnership Content Layout */
.partnership-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

/* Left Content: Details */
.partnership-details {
    flex: 1 1 400px;
    max-width: 450px;
    background-color: white;
    padding: 20px;
    border: 2px solid #EAEAEA;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.partnership-details h3 {
    font-size: 22px;
    color: #001F54;
    margin-bottom: 15px;
}

.partnership-details ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #444;
}

.partnership-details ul li {
    margin-bottom: 10px;
    font-size: 16px;
}

.partnership-details .buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.partnership-details .btn-primary,
.partnership-details .btn-secondary {
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.partnership-details .btn-primary {
    background-color: #D72638;
    color: white;
    
}

.partnership-details .btn-primary:hover {
    background-color: #B71C2A;
    color: white;
}

.partnership-details .btn-secondary {
    background-color: white;
    color: #B71C2A;
    border: 2px solid #B71C2A;
}



/* Right Content: Image */
.partnership-image {
    flex: 1 1 400px;
    max-width: 450px;
    text-align: center;
}

.partnership-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.image-caption {
    margin-top: 10px;
    background-color: #EAF2FA; /* Soft blue */
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.image-caption h4 {
    font-size: 20px;
    color: #001F54;
}

.image-caption p {
    font-size: 16px;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .partnership-content {
        flex-direction: column;
        gap: 20px;
    }

    .partnership-details,
    .partnership-image {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .partnership-section h2 {
        font-size: 28px;
    }

    .partnership-section p {
        font-size: 16px;
    }

    .partnership-details h3 {
        font-size: 20px;
    }

    .partnership-details ul li {
        font-size: 14px;
    }

    .image-caption h4 {
        font-size: 18px;
    }

    .image-caption p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .partnership-section {
        padding: 40px 10px;
    }

    .partnership-section h2 {
        font-size: 24px;
    }

    .partnership-section p {
        font-size: 14px;
    }

    .partnership-details,
    .partnership-image {
        padding: 15px;
        border-radius: 6px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

    .partnership-details h3 {
        font-size: 18px;
    }

    .partnership-details ul li {
        font-size: 12px;
    }

    .image-caption h4 {
        font-size: 16px;
    }

    .image-caption p {
        font-size: 12px;
    }
}


/* General Styles for Section */
.join-us-section {
    padding: 60px 20px;
    background-color: #F5F8FB;
    text-align: center;
    font-family: 'Arial', sans-serif;
}

.join-us-section h2 {
    font-size: 36px;
    color: #003366;
    margin-bottom: 20px;
}

.join-us-section p {
    font-size: 18px;
    color: #555555;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Info Boxes */
.join-us-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.info-box {
    background-color: white;
    border: 1px solid #E1E5EA;
    border-radius: 10px;
    padding: 20px;
    width: 300px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.info-box h3 {
    font-size: 22px;
    color: #003366;
    margin-bottom: 15px;
}

.info-box ul {
    list-style-type: disc;
    margin: 0;
    padding-left: 20px;
    color: #555555;
}

.info-box ul li {
    font-size: 16px;
    margin-bottom: 10px;
}

/* Call to Action Button */
.join-us-cta {
    margin: 0px 0;
}

.join-us-cta-btn {
    background-color: #D72638;
    color: white;
    text-decoration: none;
    font-size: 18px;
    padding: 12px 30px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.join-us-cta-btn:hover {
    background-color: #B71C2A; /* Lighter blue on hover */
}

/* Responsive Styles */
@media (max-width: 768px) {
    .join-us-section h2 {
        font-size: 2rem; /* Smaller heading size for tablets */
    }

    .join-us-section p {
        font-size: 0.9rem; /* Smaller text for tablets */
    }

    .info-box {
        width: auto; /* Full width for smaller screens */
        padding: 15px; /* Adjust padding for compact design */
    }

    .info-box h3 {
        font-size: 1.2rem; /* Slightly smaller text */
    }

    .info-box ul li {
        font-size: 0.9rem; /* Smaller list items */
    }

    .join-now-btn {
        font-size: 1rem; /* Adjust button font size */
        padding: 10px 25px;
    }
}

@media (max-width: 480px) {
    .join-us-section h2 {
        font-size: 1.8rem; /* Even smaller heading size for phones */
    }

    .join-us-section p {
        font-size: 0.85rem; /* Compact text for phones */
    }

    .info-box {
        padding: 10px; /* Compact padding for phones */
    }

    .info-box h3 {
        font-size: 1rem; /* Compact text size */
    }

    .info-box ul li {
        font-size: 0.8rem; /* Smaller list items */
    }

    .join-now-btn {
        font-size: 0.9rem; /* Smaller button text */
        padding: 8px 20px;
    }
}

/* Services Section */
.services {
    padding: 60px 20px;  /* Adds 60px of vertical padding (top and bottom) and 20px of horizontal padding (left and right). */
    background-color: #ffffff;  /* Sets the background color to white. */
    text-align: center;  /* Aligns text in the center for the entire section. */
}

.services h2 {
    font-size: 36px;  /* Sets the font size of the heading to 36px. */
    font-weight: bold;  /* Makes the font weight bold. */
    color: #001F54;  /* Sets the heading text color to a vibrant red. */
    margin-bottom: 40px;  /* Adds 40px of space below the heading. */
}

.service-cards {
    display: flex;  /* Creates a flex container for arranging child elements. */
    justify-content: space-around;  /* Distributes the cards evenly with space between them. */
    flex-wrap: wrap;  /* Allows the cards to wrap onto the next row if the container is too narrow. */
}

.card {
    flex: 1;  /* Allows each card to grow equally, taking up available space. */
    max-width: 30%;  /* Limits the maximum width of each card to 30% of the container. */
    margin: 10px;  /* Adds 10px of space around each card. */
    background-color: #F5F5F5;  /* Sets a light gray background color for the cards. */
    border-radius: 10px;  /* Rounds the card corners with a 10px radius. */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);  /* Adds a subtle shadow effect to give a lifted appearance. */
    padding: 20px;  /* Adds 20px of padding inside each card. */
    text-align: left;  /* Aligns text to the left inside the card. */
}

.card h3 {
    font-size: 24px;  /* Sets the heading size for the card title to 24px. */
    color: #001F54;  /* Sets the card title color to a deep navy blue. */
    margin-bottom: 10px;  /* Adds 10px of space below the card title. */
}

.card p {
    font-size: 16px;  /* Sets the font size for the card description to 16px. */
    line-height: 1.6;  /* Increases line spacing for better readability. */
    color: #555;  /* Sets the text color to a medium gray for contrast. */
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .card {
        flex: 1 1 calc(50% - 40px); /* Cards take up 50% of the width on medium screens */
        max-width: 100%; /* Allow cards to adjust to available space */
    }

    .services h2 {
        font-size: 2rem; /* Slightly smaller heading */
    }

    .card h3 {
        font-size: 1.25rem; /* Adjust card title size */
    }

    .card p {
        font-size: 0.95rem; /* Adjust card text size */
    }
}

@media (max-width: 768px) {
    .card {
        flex: 1 1 calc(100% - 40px); /* Cards take up full width on smaller screens */
        max-width: 100%;
    }

    .services h2 {
        font-size: 1.8rem; /* Smaller heading size for smaller screens */
    }

    .card h3 {
        font-size: 1.1rem; /* Adjust card title size */
    }

    .card p {
        font-size: 0.9rem; /* Compact font size */
    }
}

@media (max-width: 480px) {
    .services h2 {
        font-size: 1.5rem; /* Compact heading size for phones */
    }

    .card {
        padding: 15px; /* Compact padding for phones */
        margin: 5px; /* Reduce margin */
    }

    .card h3 {
        font-size: 1rem; /* Smaller card title */
    }

    .card p {
        font-size: 0.85rem; /* Smaller card description */
    }
}

/* Contact Section */
.contact-section {
    padding: 60px 20px;  /* Vertical and horizontal padding */
    background-color: #001F54;  /* Sets a dark navy blue background color */
    text-align: center;  /* Centers the text */
    color: white;  /* Makes all text white for better readability on a dark background */
}

.contact-section h2 {
    font-size: 36px;  /* Font size for the heading */
    font-weight: bold;  /* Bold text */
    color: white;  /* Gold color for the heading to make it stand out */
    margin-bottom: 20px;  /* Space below the heading */
}

.contact-section p {
    font-size: 18px;  /* Font size for the paragraph */
    color: #f0f0f0;  /* Light gray text for readability */
    line-height: 1.6;  /* Line spacing for better readability */
    margin-bottom: 30px;  /* Space below the paragraph */
}

.contact-section .btn-get-in-touch {
    padding: 10px 30px;  /* Padding for the button */
    background-color: #D72638;  /* Gold background color for the button */
    color:  white;  /* Dark blue text color for contrast */
    text-decoration: none;  /* Removes underline from text */
    font-size: 18px;  /* Font size for the button text */
    border-radius: 5px;  /* Rounds the button corners */
    transition: background-color 0.3s ease, color 0.3s ease;  /* Smooth transition for hover effects */
}

.contact-section .btn-get-in-touch:hover {
    background-color: #B71C2A;  /* Slightly lighter gold on hover */
    color: white;  /* Changes text color to white for hover */
}



/* Responsive Styles */
@media (max-width: 1024px) {
    .contact-section {
        padding: 50px 15px; /* Slightly reduce padding for tablets */
    }

    .contact-section h2 {
        font-size: 2rem; /* Reduce heading size */
    }

    .contact-section p {
        font-size: 1rem; /* Adjust paragraph text size */
    }

    .contact-section .btn-get-in-touch {
        font-size: 1rem; /* Adjust button text size */
        padding: 8px 25px; /* Adjust button padding */
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 40px 10px; /* Compact padding for smaller screens */
    }

    .contact-section h2 {
        font-size: 1.8rem; /* Smaller heading size for smaller screens */
    }

    .contact-section p {
        font-size: 0.95rem; /* Adjust text size for smaller devices */
    }

    .contact-section .btn-get-in-touch {
        font-size: 0.95rem; /* Compact button text */
        padding: 8px 20px; /* Compact button padding */
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 30px 5px; /* Compact padding for phones */
    }

    .contact-section h2 {
        font-size: 1.5rem; /* Small heading for phones */
    }

    .contact-section p {
        font-size: 0.85rem; /* Compact paragraph text */
        line-height: 1.4; /* Reduce line spacing */
    }

    .contact-section .btn-get-in-touch {
        font-size: 0.85rem; /* Smaller button text */
        padding: 6px 15px; /* Compact button padding */
    }
}
#gallery {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center horizontally */
    justify-content: center; /* Center vertically */
    height: 40vh; /* Full viewport height */
    margin: 0; /* Remove default margin */
    text-align: center; /* Center align text */
}

.gallery-preview {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Ensure images wrap if they exceed the row width */
}

.gallery-item {
    width: 150px;
    height: 150px;
    overflow: hidden;
    position: relative;
}

.gallery-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    border-radius: 8px;
}

.gallery-btn {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
    background-color: #D72638;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-decoration: none;
}

.gallery-btn:hover {
    background-color: #B71C2A;
    transform: scale(1.05);
}


/* Responsive Styles for Small Screens */
@media (max-width: 360px) {
    #gallery {
        padding: 10px; /* Add some padding */
        height: auto; /* Let the height adjust based on content */
    }

    .gallery-preview {
        gap: 5px; /* Reduce gap further */
    }

    .gallery-item {
        width: 100px; /* Smaller size for thumbnails */
        height: 100px;
    }

    .gallery-btn {
        font-size: 12px; /* Reduce button text size */
        padding: 6px 12px; /* Smaller button padding */
    }
}

/* Responsive Styles for Medium Screens (1024px and below) */
@media (max-width: 1024px) {
    #gallery {
        padding: 20px; /* Add padding for spacing */
        height: auto; /* Let content define height */
    }

    .gallery-preview {
        gap: 15px; /* Slightly smaller gap between thumbnails */
    }

    .gallery-item {
        width: 180px; /* Adjust thumbnail size for larger screens */
        height: 180px; /* Keep proportional height */
    }

    .gallery-thumb {
        border-radius: 10px; /* Slightly larger rounding for aesthetics */
    }

    .gallery-btn {
        font-size: 14px; /* Slightly smaller font for balance */
        padding: 8px 18px; /* Adjust padding */
    }
}



/* Responsive Styles */
@media (max-width: 768px) {
    .gallery-item {
        width: 120px; /* Smaller size for medium screens */
        height: 120px;
    }

    .gallery-btn {
        font-size: 14px; /* Adjust font size for smaller screens */
        padding: 8px 16px;
    }
}

@media (max-width: 480px) {
    .gallery-item {
        width: 100px; /* Smaller size for very small screens */
        height: 100px;
    }

    .gallery-preview {
        gap: 10px; /* Reduce spacing between images */
    }

    .gallery-btn {
        font-size: 12px; /* Compact font size for very small screens */
        padding: 6px 12px;
    }
}


/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    overflow: auto; /* Enable scrolling for modal if content overflows */
}


/* Modal Content */
.modal-content {
    position: relative;
    margin: auto;
    padding: 20px;
    max-width: 90%;
    background-color: #fff;
    border-radius: 10px;
}

/* Close Button */
.close {
    position: absolute;
    top: 10px;
    right: 20px;
    color: #aaa;
    font-size: 24px;
    cursor: pointer;
}

.close:hover {
    color: #000;
}

/* Full Gallery */
.full-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px; /* Space between images */
}

.full-gallery img {
    width: calc(30% - 10px); /* 30% width for three images per row */
    height: 200px; /* Set a consistent height */
    object-fit: cover; /* Ensures image fills the space while maintaining aspect ratio */
    border-radius: 8px; /* Optional: Rounded corners */
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.full-gallery img:hover {
    transform: scale(1.2); /* Slightly enlarge on hover */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3); /* Optional shadow effect */
}


/* Enlarged Image Modal */
#imageModal .modal-content {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    border-radius: 8px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .full-gallery img {
        width: calc(45% - 10px); /* Two images per row on medium screens */
        height: 150px; /* Reduce height for smaller screens */
    }

    .close {
        font-size: 20px; /* Adjust close button size for smaller screens */
    }
}

@media (max-width: 480px) {
    .full-gallery img {
        width: calc(100% - 20px); /* One image per row on very small screens */
        height: auto; /* Adjust height based on image aspect ratio */
    }

    .modal-content {
        padding: 10px; /* Reduce padding for modal content */
    }

    .close {
        font-size: 18px; /* Further reduce close button size */
    }
}


/* Footer Section */
footer {
    background-color: #ffffff; /* White background */
    color: #333333; /* Dark text color for readability */
    padding: 40px 20px; /* Increased padding for larger size */
    text-align: center;
    font-size: 16px; /* Larger text size for better readability */
    line-height: 1.6; /* Adjusted line height for better spacing */
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow for definition */
    position: relative; /* For proper alignment of child elements */
}

footer a {
    color: #007BFF; /* Blue for links */
    text-decoration: none;
    margin: 0 15px; /* Increased spacing between links */
    font-size: 16px; /* Adjusted font size for consistency */
}

footer a:hover {
    text-decoration: underline;
}

/* Social Icons Section */
.footer-social-icons {
    position: fixed;
    bottom: 30px; /* Adjusted space from the bottom */
    right: 30px; /* Adjusted space from the right */
    display: flex;
    gap: 5px; /* Increased spacing between icons */
    z-index: 1000; /* Ensures visibility above other elements */
    background-color: #f9f9f9; /* Light background for contrast */
    padding: 15px; /* Increased padding for larger size */
    border-radius: 12px; /* Rounded corners for the container */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); /* Enhanced shadow for emphasis */
}

.footer-social-icons i {
    font-size: 24px; /* Larger size for better visibility */
    color: #333333; /* Default icon color */
    background-color: #ffffff; /* Icon background for contrast */
    border-radius: 50%; /* Circular icon background */
    padding: 12px; /* Increased padding for larger icons */
    transition: all 0.3s ease; /* Smooth hover transition */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for icons */
}

.footer-social-icons i:hover {
    color: white; /* Icon color on hover */
    background-color: #007BFF; /* Blue background on hover */
    transform: scale(1.15); /* Slightly larger zoom effect on hover */
}

/* Hidden state for icons */
.footer-social-icons.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Tablet Devices */
@media (max-width: 768px) {
    footer {
        padding: 30px; /* Reduced padding for smaller screens */
        font-size: 14px; /* Adjusted font size */
    }

    footer a {
        margin: 0 10px;
    }

    .footer-social-icons {
        bottom: 20px; /* Adjusted position for smaller screens */
        right: 20px;
        gap: 10px; /* Reduced spacing between icons */
        padding: 10px; /* Compact padding */
    }

    .footer-social-icons i {
        font-size: 24px; /* Slightly smaller icons */
        padding: 10px; /* Reduced padding */
    }
}

/* Mobile Devices */
@media (max-width: 480px) {
    footer {
        padding: 20px; /* Reduced padding for compact layout */
        font-size: 12px; /* Further font size reduction for small screens */
    }

    footer a {
        margin: 0 8px;
    }

    .footer-social-icons {
        bottom: 15px;
        right: 15px;
        gap: 8px;
        padding: 8px; /* Minimal padding for compact layout */
    }

    .footer-social-icons i {
        font-size: 20px;
        padding: 8px;
    }
}




/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-wrap: wrap;  /* Allows the header content to wrap to the next line if there's not enough space horizontally. */
        justify-content: center;  /* Centers the header elements horizontally. */
    }

    nav ul {
        flex-wrap: wrap;  /* Allows navigation menu items to stack or wrap to the next line if necessary. */
        justify-content: center;  /* Centers the navigation menu items. */
    }

    .hero-content h2 {
        font-size: 36px;  /* Reduces the font size of the main heading for better visibility on smaller screens. */
    }

    .hero-content p {
        font-size: 16px;  /* Reduces the paragraph font size within the hero section for improved readability. */
    }

    .agriculture-container, .drone-content {
        flex-direction: column;  /* Stacks elements in a column layout instead of side-by-side. */
    }

    .card {
        max-width: 80%;  /* Restricts the maximum width of cards to 80% of the viewport width, ensuring proper spacing and alignment. */
    }
}




