:root {
    --primary: #0b457a; 
    --secondary: #ff9900; 
    --cyan: #21b6e5; 
    --text: #333;
    --bg-light: #f4f7f6;
    --white: #fff;
    --font: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: var(--font); }
html { scroll-behavior: smooth; }
body { line-height: 1.6; color: var(--text); background: var(--bg-light); }
.container { width: 90%; max-width: 1100px; margin: 0 auto; }
.gray-bg { background-color: #f8f9fa; }

/* Typography & Buttons */
.cyan-heading { color: var(--cyan); font-size: 2.5rem; margin-bottom: 20px; line-height: 1.2; font-weight: 800;}
.btn { display: inline-block; padding: 12px 24px; background: var(--secondary); color: var(--white); text-decoration: none; font-weight: bold; border-radius: 4px; border: none; cursor: pointer; transition: all 0.3s ease; }
.btn:hover { background: #e68a00; transform: translateY(-3px); box-shadow: 0 4px 10px rgba(0,0,0,0.2); }
.btn-small { padding: 8px 16px; margin-top: 0; }
.dark-blue-btn { background-color: var(--primary); border-radius: 30px; width: 100%; padding: 15px; font-size: 1.1rem; margin-top: 10px;}
.dark-blue-btn:hover { background-color: #08335a; }

/* Header */
header { background: var(--white); box-shadow: 0 2px 5px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 9999; }
.nav-container { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; }
.logo { font-size: 1.5rem; font-weight: bold; color: var(--primary); }
nav ul { list-style: none; display: flex; gap: 20px; align-items: center; }
nav a { text-decoration: none; color: var(--text); font-weight: 600; transition: color 0.3s; }

/* =========================================
   DROPDOWN MENU FIX
   ========================================= */
.logo {
    white-space: nowrap; /* Prevents the logo from ever stacking */
}

nav ul li {
    white-space: nowrap; /* Prevents menu items from stacking */
}

.dropdown { 
    position: relative; 
    display: inline-block; 
}

.dropdown .arrow { 
    font-size: 0.7em; 
    margin-left: 4px; 
    vertical-align: middle; 
}

/* This hides the box and positions it under the menu */
.dropdown-content { 
    display: none; 
    position: absolute; 
    background-color: var(--white); 
    min-width: 240px; 
    box-shadow: 0px 8px 20px rgba(0,0,0,0.1); 
    z-index: 1000; 
    border-radius: 8px; 
    top: 100%; 
    left: -20px; 
    overflow: hidden; 
}

.dropdown-content a { 
    color: var(--text); 
    padding: 14px 20px; 
    text-decoration: none; 
    display: block; 
    text-align: left; 
    border-bottom: 1px solid #f0f0f0; 
    font-weight: 500; 
    transition: background-color 0.2s ease, padding-left 0.2s ease; 
}

.dropdown-content a:last-child { 
    border-bottom: none; 
}

.dropdown-content a:hover { 
    background-color: var(--bg-light); 
    color: var(--cyan); 
    padding-left: 25px; 
}

/* Makes it appear when hovered */
.dropdown:hover .dropdown-content { 
    display: block; 
    animation: fadeIn 0.3s ease; 
}

@keyframes fadeIn { 
    from { opacity: 0; transform: translateY(-10px); } 
    to { opacity: 1; transform: translateY(0); } 
}

/* Hero Section */
.hero { position: relative; height: 80vh; min-height: 600px; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--white); overflow: hidden; }
.hero-video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.4); z-index: -1; }
.hero-content { position: relative; z-index: 1; }
.hero-subtitle { font-size: 1.2rem; letter-spacing: 2px; margin-bottom: 10px; }
.hero-title { font-size: 4rem; line-height: 1.1; margin-bottom: 20px; }
.hero-btn { padding: 15px 30px; border-radius: 30px; font-size: 1.2rem; }

/* Zig-Zag Sections */
.diagonal-wrapper { overflow: hidden; }
.zigzag-section { padding: 100px 0; position: relative; background-color: var(--white); }
.angled-bottom { clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%); margin-bottom: -8%; z-index: 2; }
.angled-top { padding-top: 140px; clip-path: polygon(0 0, 100% 10%, 100% 100%, 0 100%); z-index: 1; }
.zigzag-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.desktop-reverse { direction: rtl; }
.desktop-reverse > * { direction: ltr; }
.zigzag-content p { margin-bottom: 30px; font-size: 1.1rem; color: #555; }
.rounded-media { width: 100%; height: 100%; object-fit: cover; border-radius: 25px; box-shadow: 0 15px 35px rgba(0,0,0,0.15); display: block; }

/* Before & After Slider */
.ba-slider-container { 
    position: relative; width: 100%; max-width: 900px; margin: 0 auto; overflow: hidden; 
    border-radius: 15px; box-shadow: 0 15px 35px rgba(0,0,0,0.15); line-height: 0; 
    cursor: ew-resize; touch-action: none; 
    user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; 
}
.ba-image { width: 100%; height: auto; display: block; object-fit: cover; pointer-events: none; }
.ba-after { position: absolute; top: 0; left: 0; width: 100%; height: 100%; clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%); }
.ba-slider-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 4px; background: white; transform: translateX(-50%); z-index: 10; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.ba-slider-arrows { background: rgba(0,0,0,0.6); color: white; padding: 10px 8px; border-radius: 50%; border: 2px solid white; font-size: 14px; line-height: 1; white-space: nowrap; backdrop-filter: blur(4px); }

/* Contact Form */
.contact-form-section { padding: 80px 0; background: var(--white); }
.form-container { max-width: 600px; margin: 0 auto; background: var(--bg-light); padding: 40px; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 5px; font-weight: bold; color: var(--primary);}
.form-group input { width: 100%; padding: 15px; border: 1px solid #ccc; border-radius: 8px; font-size: 1rem; background: var(--white);}

/* Animations & Responsive */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

@media(max-width: 800px) {
    nav ul { display: none; }
    .hero-title { font-size: 2.5rem; }
    .zigzag-grid { grid-template-columns: 1fr; gap: 40px; }
    .desktop-reverse { direction: ltr; }
    .desktop-reverse .zigzag-content { order: 2; }
    .desktop-reverse .zigzag-media { order: 1; }
    .angled-bottom, .angled-top { clip-path: none; margin-bottom: 0; padding: 60px 0; }
}

.welcome-section {
    padding: 80px 0 40px; /* Less bottom padding so it flows nicely into the zig-zag */
    background: var(--white);
    text-align: center;
}

.welcome-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.25rem; /* Slightly larger text for readability */
    color: #555;
    line-height: 1.8;
}


/* =========================================
   PROFESSIONAL FOOTER
   ========================================= */
.site-footer {
    background-color: #ffffff; /* Matches the clean white look from your image */
    padding: 60px 0 0 0;
    color: #333;
    border-top: 1px solid #eaeaea; /* Adds a nice subtle line above the footer */
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 800;
    color: #000;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
    font-size: 1.05rem;
}

.footer-col ul li a {
    text-decoration: none;
    color: #555; /* Dark gray for easy reading */
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--cyan); /* Turns bright blue when hovered */
}

.contact-info li {
    color: #555;
}

.footer-bottom {
    border-top: 1px solid #eaeaea;
    padding: 20px 0;
    text-align: center;
    background-color: #fcfcfc;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: #777;
}

/* =========================================
   ABOUT US PAGE
   ========================================= */
.about-hero {
    background: linear-gradient(135deg, #4da1db 0%, #1c5b8e 100%); /* Matches the blue gradient in your image */
    color: white;
    padding: 100px 0 80px;
    text-align: left;
}

.about-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

.about-content {
    padding: 60px 0;
    background-color: var(--white);
}

.about-content p {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-list {
    list-style-type: square;
    margin-left: 20px;
    margin-bottom: 25px;
}

.about-list li {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 10px;
}

.about-why-us {
    background-color: #124b7a; /* Dark blue matching your image */
    color: white;
    padding: 80px 0;
}

.about-why-us p {
    font-size: 1.1rem;
    color: #e0f0ff; /* Soft light blue/white for readability */
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Subpage Hero (For Services, About, etc.) */
.subpage-hero { 
    background: linear-gradient(135deg, #0b457a 0%, #21b6e5 100%); 
    padding: 100px 0 80px; 
    text-align: center; 
}

/* FAQ Accordion */
.faq-section { padding: 80px 0; background: var(--white); }
.faq-container { max-width: 800px; margin: 0 auto; }
.accordion { margin-top: 30px; }

.accordion-header {
    background: var(--bg-light);
    color: var(--primary);
    font-weight: 700;
    cursor: pointer;
    padding: 20px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 1.15rem;
    transition: background 0.3s ease;
    border-radius: 8px;
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.accordion-header.active, .accordion-header:hover {
    background: #e2f2fc; /* Light blue highlight on hover */
}

/* The Plus/Minus Icon */
.accordion-header .icon {
    font-size: 1.5rem;
    font-weight: normal;
    transition: transform 0.3s ease;
}

/* Turns the + into an x when opened */
.accordion-header.active .icon {
    transform: rotate(45deg); 
}

.accordion-content {
    padding: 0 20px;
    background-color: var(--white);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    border-radius: 0 0 8px 8px;
}

.accordion-content p {
    padding: 20px 0;
    color: #555;
    font-size: 1.05rem;
}

/* =========================================
   BLOG SECTION
   ========================================= */
.blog-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.blog-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.blog-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.blog-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-tag {
    color: var(--secondary); /* The orange from your logo/buttons */
    font-weight: 800;
    font-size: 0.85rem;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.blog-content h3 {
    color: var(--primary);
    font-size: 1.35rem;
    margin-bottom: 15px;
    line-height: 1.4;
    font-weight: 700;
}

.blog-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.read-more {
    text-decoration: none;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.read-more:hover {
    color: var(--cyan);
}

@media (max-width: 600px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* Individual Blog Article Page */
.blog-article-page {
    padding: 80px 0;
    background: var(--white);
}

.article-main-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 40px;
}

.article-body p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 25px;
}

/* =========================================
   MODERN CONTACT SECTION
   ========================================= */
.modern-contact-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f4f7f6 0%, #eef2f5 100%); /* Subtle background gradient */
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Left Side Styling */
.contact-text .tag {
    color: var(--orange);
    font-weight: 800;
    letter-spacing: 2px;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 10px;
}

.contact-methods { margin-top: 40px; }

.method {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.03);
    border-left: 4px solid var(--cyan);
}

.method .icon { font-size: 1.5rem; }
.method a { color: var(--primary-blue); text-decoration: none; font-weight: 700; }

/* Right Side: Modern Form Card */
.modern-form-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(11, 69, 122, 0.08); /* Deep, soft luxury shadow */
    position: relative;
}

/* Floating Labels CSS */
.input-group {
    position: relative;
    margin-bottom: 35px;
}

.input-group input, 
.input-group select, 
.input-group textarea {
    width: 100%;
    padding: 15px 0 10px 0;
    border: none;
    border-bottom: 2px solid #ddd; /* Clean bottom line only */
    background: transparent;
    font-size: 1rem;
    color: var(--text);
    transition: all 0.3s ease;
    font-family: var(--font);
}

.input-group input:focus, 
.input-group select:focus, 
.input-group textarea:focus {
    outline: none;
    border-bottom-color: var(--cyan); /* Line turns blue when typing */
}

/* Base state of the label (sitting inside the input) */
.input-group label {
    position: absolute;
    top: 15px;
    left: 0;
    color: #999;
    font-size: 1rem;
    transition: 0.3s ease all;
    pointer-events: none;
}

/* The Magic Animation: When focused OR when text is inside, label slides up! */
.input-group input:focus ~ label, 
.input-group input:valid ~ label,
.input-group select:focus ~ label, 
.input-group select:valid ~ label,
.input-group textarea:focus ~ label, 
.input-group textarea:valid ~ label {
    top: -15px;
    font-size: 0.85rem;
    color: var(--cyan);
    font-weight: 700;
}

/* 1. Force the Inputs to be Clean Lines (Overrides old boxes) */
.input-group input, 
.input-group select, 
.input-group textarea {
    width: 100%;
    padding: 25px 0 10px 0 !important; 
    border: none !important; 
    border-bottom: 2px solid #ddd !important; 
    background: transparent !important;
    border-radius: 0 !important; 
    box-shadow: none !important;
    font-size: 1rem;
    color: #333;
    transition: all 0.3s ease;
}

.input-group input:focus, 
.input-group select:focus, 
.input-group textarea:focus {
    outline: none !important;
    border-bottom-color: #21b6e5 !important; /* Cyan color */
}

/* 2. Fix the Label Positioning */
.input-group label {
    position: absolute;
    top: 20px; /* Aligns perfectly with the text */
    left: 0;
    color: #999;
    font-size: 1rem;
    transition: 0.3s ease all;
    pointer-events: none;
}

.input-group input:focus ~ label, 
.input-group input:valid ~ label,
.input-group select:focus ~ label, 
.input-group select:valid ~ label,
.input-group textarea:focus ~ label, 
.input-group textarea:valid ~ label {
    top: -5px;
    font-size: 0.85rem;
    color: #21b6e5;
    font-weight: 700;
}

/* 3. Fix the Missing Button Colors */
.btn-modern-submit {
    width: 100%;
    padding: 18px;
    background: #0b457a !important; /* Backup Dark Blue */
    background: linear-gradient(135deg, #0b457a, #21b6e5) !important; /* Dark Blue to Cyan Gradient */
    color: #ffffff !important;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(33, 182, 229, 0.3); 
}

.btn-modern-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(33, 182, 229, 0.4);
}

/* Side-by-Side Form Rows */
.form-row {
    display: flex;
    gap: 20px; /* Space between the two inputs */
}

.form-row .input-group {
    width: 100%; /* Makes sure both inputs take up exactly half the space */
}

/* On mobile phones, stack them normally */
@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}
/* =========================================
   PRO POLISH & MODERN UPGRADES
   ========================================= */

/* 1. Apply the Modern Font */
:root {
    --font: 'Montserrat', sans-serif; 
}

/* 2. Premium Button Animations */
.btn {
    box-shadow: 0 4px 6px rgba(0,0,0,0.08); /* Subtle resting shadow */
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); /* Apple-style smooth curve */
}

.btn:hover {
    box-shadow: 0 8px 15px rgba(0,0,0,0.15); /* Shadow grows on hover */
    transform: translateY(-2px); /* Button lifts up slightly */
}

/* 3. Modern Form Inputs (Makes the contact form look expensive) */
.form-input, textarea, input[type="text"], input[type="email"], input[type="tel"] {
    transition: all 0.3s ease;
    border: 1px solid #ddd;
}

.form-input:focus, textarea:focus, input:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 0 4px rgba(33, 182, 229, 0.15); /* Adds a soft blue glowing ring when typing */
    background-color: #fff;
}

/* 4. Ultra-Soft Shadows for Images and Cards */
.rounded-media, .blog-card, .info-item, .form-container {
    box-shadow: 0 12px 35px rgba(0,0,0,0.06); /* Very soft, diffuse shadow */
    border: 1px solid rgba(0,0,0,0.02); /* Crisp microscopic border */
}

/* 5. Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Success Popup Styling */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 69, 122, 0.85); /* Dark blue transparent bg */
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(8px); /* Modern blur effect */
}

.popup-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    animation: popupScale 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popupScale {
    from { transform: scale(0.7); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.popup-icon {
    width: 70px;
    height: 70px;
    background: #21b6e5;
    color: white;
    font-size: 40px;
    line-height: 70px;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.popup-content h2 {
    color: #0b457a;
    margin-bottom: 15px;
}

.popup-content p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}