/* =================================================================
   JUNODRONE GLOBAL STYLES (Inspired by your templates)
   ================================================================= */

/* --- Basic Setup & Typography --- */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif; /* A clean, modern font like in the templates */
    background-color: #fff;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-family: 'Teko', sans-serif; /* A bold, impactful headline font */
    font-weight: 700;
    text-transform: uppercase;
    color: #142850; /* Dark Blue */
}

a {
    color: #2781E7; /* Bright Blue */
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/* --- Header & Navigation --- */
.main-header {
    background-color: #142850; /* Dark Blue */
    padding: 10px 0;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px; /* Adjust as needed */
    width: auto;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 25px;
}

.main-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
}
.main-nav a:hover {
    color: #98caff;
}

.nav-button {
    background-color: #2781E7; /* Bright Blue */
    padding: 8px 18px;
    border-radius: 5px;
}
.nav-button:hover {
    background-color: #1f68bb;
    color: #fff;
    text-decoration: none;
}


/* --- Hero Section --- */
.hero-section {
    background-size: cover;
    background-position: center;
    padding: 120px 0;
    text-align: center;
    color: #fff;
}

.hero-title {
    font-size: 4rem;
    color: #fff;
    margin: 0;
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 10px auto 30px auto;
    font-family: 'Roboto', sans-serif;
}

.cta-button {
    background-color: #2781E7; /* Bright Blue */
    color: #fff;
    padding: 15px 35px;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
}
.cta-button:hover {
    background-color: #1f68bb;
    text-decoration: none;
}


/* --- General Section Styling --- */
.section-padded {
    padding: 80px 0;
}

.bg-light-gray {
    background-color: #f7f7f7;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header span {
    text-transform: uppercase;
    color: #2781E7;
    font-weight: bold;
    font-family: 'Roboto', sans-serif;
}

.section-header h2 {
    font-size: 3rem;
    margin: 5px 0 15px 0;
}

.section-header p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}


/* --- Three Column Grid & Cards --- */
.three-col-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.card-icon {
    font-size: 2.5rem;
    color: #142850; /* Dark Blue */
    margin-bottom: 15px;
}


.feature-card {
    text-align: center;
    padding: 30px 20px;
    background-color: #ffffff; /* White card background */
    border-radius: 8px;        /* Rounded corners */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); /* Subtle shadow for depth */
    transition: transform 0.3s ease; /* Smooth animation on hover */
    border: 1px solid #eee;    /* Very light border */
}

/* Adds a nice lift effect when you hover over a service */
.feature-card:hover {
    transform: translateY(-5px);
}


/* --- Two Column Layout --- */
.two-col-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.col-text span {
    text-transform: uppercase;
    color: #2781E7;
    font-weight: bold;
}
.col-text h2 {
    font-size: 3rem;
    margin: 5px 0 15px 0;
}
.col-text ul {
    list-style: none;
    padding-left: 0;
}
.col-text ul li {
    margin-bottom: 10px;
    font-size: 1.1rem;
}
.col-text ul .fas {
    color: #142850; /* Dark Blue */
    margin-right: 10px;
}
.col-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.cta-button-secondary {
    display: inline-block;
    margin-top: 20px;
    font-weight: bold;
}

/* --- Final CTA & Footer --- */
.cta-section {
    background-color: #142850;
    color: #fff;
    padding: 60px 0;
    text-align: center;
}
.cta-section h2 {
    color: #fff;
    font-size: 2.5rem;
}

.main-footer {
    padding: 40px 0;
    text-align: center;
    background-color: #f7f7f7;
}

/* --- Responsive Adjustments for Mobile --- */
@media (max-width: 768px) {
    .three-col-grid, .two-col-layout {
        grid-template-columns: 1fr;
    }
    .hero-title, .section-header h2, .col-text h2 {
        font-size: 2.5rem;
    }
}
/* --- 2x2 Grid for Homepage Services --- */
.two-by-two-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px; /* Controls the space between the cards */
    max-width: 950px; /* Optional: Keeps the cards from getting too wide on large screens */
    margin: 0 auto; /* Centers the grid */
}


.two-by-two-grid .feature-card {
    text-align: center; /* Centers the text inside each card */
    padding: 20px; /* Adds padding inside each card */
}

/* --- Styling for the logo in the 'About Us' section --- */
.about-logo {
  max-width: 350px; /* Controls the size. Adjust this value up or down. */
  display: block;   /* Helps with alignment */
}

/* =================================================================
   NAVIGATION DROPDOWN MENU
   ================================================================= */

/* Style for the dropdown container */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Add down-arrow icon */
.drop-btn .fa-caret-down {
    margin-left: 5px;
}

/* Update this block */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 240px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1000; /* Increased z-index to ensure it sits on top of everything */
    border-radius: 5px;
    
    /* Positioning */
    top: 100%;       /* Anchors it to the bottom of the nav item */
    margin-top: 10px; /* Keeps the visual gap you like */
}

/* ADD THIS NEW BLOCK - The Invisible Bridge */
.dropdown-content::before {
    content: "";
    position: absolute;
    /* This creates an invisible block that fills the gap above the menu */
    top: -20px; 
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent; /* It is invisible! */
}

/* Links inside the dropdown */
.dropdown-content a {
  color: #142850; /* Dark Blue text */
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-size: 15px; /* Slightly smaller font */
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
  background-color: #e9e9e9;
  color: #142850;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
}