/* --- 1. Global Reset & Variables --- */
:root {
    --brand-green: #14903b;
    --brand-blue: #3498db;
    --dark-grey: #333;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f4f7f6;
    color: var(--dark-grey);
    overflow-x: hidden;
}

/* --- 2. Navbar & Hamburger --- 
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #333;
    padding: 10px 5%;
    color: white;
    position: sticky;
    top: 0;
    z-index: 2000;
}*/
   
    .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* 1. Semi-transparent background (White or Black with low alpha) */
    background-color: rgba(19, 18, 18, 0.3); 
    /* 2. The "Blur" effect that creates the glass look */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* For Safari support */
    /* 3. Optional: A thin border to define the edges */
    border-bottom: 3px solid rgba(3, 149, 13, 0.732);
    padding: 20px 5%;
    color: rgb(6, 119, 14);
    position: sticky;
    top: 0;
    z-index: 2000;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 2100;
}

.hamburger span {
    width: 30px;
    height: 3px;
   /* background-color: red;*/
   background-color: rgb(6, 119, 14);
    transition: 1s;
}

/* Hamburger 'X' Animation */
.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/*My attemp for read-more class*/
.read-more {
    display: inline-block;
    margin-top: 10px;
    text-decoration: underline;
    color: var(--brand-blue);
    
}

/* --- 3. The Menu (Desktop Logic First) --- */
.nav-links {
    display: none; /* Hidden until active */
    list-style: none;
    margin: 0;
    padding: 20px;
    background: rgba(45, 45, 45, 0.5);
        position: absolute; 
    top: 60px;      /* Drops right below navbar */
    right: 5%;     /* Aligns with hamburger */
    width: 250px;   /* Small box, NOT full screen */
    border-radius: 8px;
    /*flex-direction: column;*/
    gap: 15px;
    z-index: 2050;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.nav-links.active {
    display: flex;
    
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
}

/* --- 4. Dropdown Logic (Floating Box) --- */
.dropdown {
    position: relative;
    display: flex;
    flex-direction: column;
}

.dropdown-content {
    display: none;
    flex-direction: column;
    /*background-color: #444;*/
    background: rgba(45, 45, 45, 0.5);
    padding: 10px;
    margin-top: 5px;
    border-radius: 5px;
}

.dropdown:hover .dropdown-content {
    display: flex;
    
}

.dropdown-content a {
    font-size: 0.95rem;
    padding: 8px 0;
    color: #ccc;
}

/*000000000('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Playfair+Display:wght@700&display=swap');*/

.brand {
    /* Font Choice: Montserrat for Modern/Tech, Playfair for Luxury/Elegant */
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5px; /* Tighter letters look more like a logo */
    text-transform: uppercase;
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease;
    
    /* Optional: Subtle glow to help it sit on the glass background */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    
    /* Ensure it aligns perfectly in your flex navbar */
    display: flex;
    align-items: center;
}

.brand:hover {
    opacity: 0.8;
}

/* Accent color for the first or last letter/word */
.brand span {
    color: #00d4ff; /* A bright pop of color */
    margin-left: 5px;
    font-weight: 400;
}

/* --- 5. Mobile Override (Only for Phones) --- */
@media (max-width: 768px) {
    .nav-links {
        position: fixed; /* Switch back to full screen for mobile */
        top: 0; left: 0; right: 0;
        width: 100%;
        height: 100vh;
        border-radius: 0;
        justify-content: center;
        align-items: center;
        font-size: 1.5rem;
    }
    
    .hero {
        flex-direction: column; /*was column-reverse*/
        text-align: center;
        padding: 40px 5%;
    }
}

/* --- 6. Hero & Grid --- */
.hero {
    display: flex;
    align-items: center;
    padding: 60px 10%;
    gap: 40px;
}

.hero-content { flex: 1; }
.hero-image { flex: 1; display: flex; justify-content: center; }

.image-caption-container {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.image-caption-container img { width: 100%; display: block; }

.image-title {
    background-color: var(--brand-green);
    color: white;
    padding: 12px;
    text-align: center;
}

.grid-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 40px 10%;
}

.card {
    flex: 1 1 300px;
    background: white;
    padding: 25px;
    border-radius: 10px;
    border-left: 5px solid var(--brand-blue);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
}
.card:hover {
    transform: translateY(-8px); /* Lifts the card up slightly */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15); /* Softens/deepens the shadow */
    border-left-color: var(--brand-green); /* Changes the side-bar color on hover */
}

/* Subtle effect for the text inside the full-width card */
.card.full-width:hover .read-more {
    padding-left: 10px; /* Makes the arrow move slightly to the right */
    transition: 0.3s ease;
}
.card.full-width {
    flex: 1 1 100%;
    text-align: center;
}
@media (hover: hover) {
    .card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    }
}
/*Here is some UL styling for the list in the hero section*/
/* First, we hide the old dots only inside your cards */
.card ul {
list-style-type: none;
padding-left: 0;
}

/* Next, we style the list items to make them look modern */
.card li {
position: relative;
padding-left: 25px;
margin-bottom: 10px;
color: white;
font-size: 0.95rem;
}

/* Finally, we add the custom checkmark or dot */
.card li::before {
content: "✓";
position: absolute;
left: 0;
top: 0;
color: #00d4ff;
font-weight: bold;
}
.feature-list {
list-style: none;
padding: 0;
margin: 20px 0;
}

.feature-list li {
position: relative;
padding-left: 30px;
margin-bottom: 3px;
color: rgb(50, 48, 133);
font-size: 1.1rem;
line-height: 1.2;
}

.feature-list li::before {
content: "✓";
position: absolute;
left: 0;
top: 0;
color: #00d4ff; /* That bright cyan/blue for your tech look */
font-weight: bold;
font-size: 1.2rem;
}
/*probably delete this setion below */
.feature-listarr {
list-style: none;
padding: 0;
margin: 20px 0;
}
.feature-listarr li {
position: relative;
padding-left: 30px;
margin-bottom: 3px;
color: rgb(50, 48, 133);
font-size: 1.1rem;
line-height: 1.2;
}

.feature-listarr li::before {
/*content: "→";  Right arrow symbol */
content: "⇒"; /* Double right arrow for a stronger effect */
position: absolute;
left: 0;
top: 0;
color: #00d4ff; /* That bright cyan/blue for your tech look */
font-weight: bold;
font-size: 1.2rem;
}
.pillar-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.pillar-card {
  flex: 1;
  min-width: 300px;
  padding: 25px;
  border-top: 5px solid #0056b3; /* Or your brand color */
  background: #fff;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Healthcare Page Hero Section */
.healthcare-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)), 
                url('../images/healthcare-crane-lift.jpg');
    background-size: cover;
    background-position: center;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white; /* Forces all text in the hero to be white */
    padding: 60px 20px;
}

.healthcare-hero h1 {
    color: white !important; /* Overrides the brand-blue for better visibility */
    font-size: 2.8rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.healthcare-hero .lead {
    color: #f0f0f0;
    font-size: 1.3rem;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}