/* --- CSS VARIABLES & FLUID SETTINGS --- */
:root {
    --primary-color: #553982; /* Deep Purple */
    --secondary-color: #faaf41; /* Gold/Orange */
    --accent-color: #ff8c00; /* Bright Orange */
    --dark-bg: #171025;
    --light-bg: #f4f4f4;
    --white: #ffffff;
    --text-color: #2c2c2c;
    --transition: all 0.3s ease;
    
    /* Fluid Container Width */
    --container-padding: clamp(15px, 5vw, 30px);
    --max-container-width: 1300px; /* Slightly wider for ultra-wide screens */
}

/* --- RESET & BASE STYLES --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased; /* Crisper text on Mac/Retina */
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px; /* FIX: Prevents header from covering section titles */
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.7; /* Improved readability for international text */
    overflow-x: hidden;
    font-size: 16px; /* Base size */
}

/* --- CUSTOM SELECTION (Branding) --- */
::selection {
    background-color: var(--secondary-color);
    color: var(--dark-bg);
}

::-moz-selection {
    background-color: var(--secondary-color);
    color: var(--dark-bg);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--dark-bg);
    line-height: 1.2;
    margin-bottom: 1rem;
}

/* FLUID TYPOGRAPHY - Scales perfectly from Mobile to 4K */
h1 { font-size: clamp(2.2rem, 5vw, 4rem); } /* Hero Title */
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); } /* Section Titles */
h3 { font-size: clamp(1.4rem, 3vw, 2rem); } /* Card Titles */
h4 { font-size: clamp(1.1rem, 2vw, 1.5rem); } /* Subtitles */

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    cursor: pointer;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- CONTAINER UTILITY --- */
.container {
    width: 100%;
    max-width: var(--max-container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* --- HERO ANIMATION (Fixed Pixel sizes for Animation Integrity) --- */
.hero-heading {
    text-align: left;
    margin: 0;
    padding: 0;
    font-size: 3.5rem; /* Kept fixed for the typewriter calculation */
    font-weight: 800;
    line-height: 1.2;
    color: var(--white);
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
    border-right: .15em solid var(--accent-color); 
    animation: 
        typing 3.5s steps(40, end) forwards,
        blink-caret .75s step-end infinite 3.5s;
    width: 0;
}

.hero-heading .text-accent {
    color: var(--secondary-color);
}

/* Typewriter Keyframes */
@keyframes typing { from { width: 0 } to { width: 100% } }
@keyframes blink-caret { from, to { border-color: transparent } 50% { border-color: var(--accent-color) } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideUpBtn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* Mobile Typewriter Override */
@media (max-width: 768px) {
    .hero-heading {
        font-size: 2.2rem; /* Fixed mobile size */
        white-space: normal;
        border-right: none;
        animation: fadeIn 1s ease-out forwards;
        width: 100%;
    }
}

/* --- BUTTONS (Touch Optimized) --- */
.btn {
    display: inline-block;
    padding: 14px 32px; /* Slightly taller for touch */
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: clamp(0.8rem, 1vw, 0.95rem);
    cursor: pointer;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
    min-height: 50px; /* iOS Touch target */
    min-width: 44px;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--dark-bg);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* --- UTILITY: HIDE/SHOW SECTIONS --- */
.hidden-section { display: none !important; }
.visible-section { display: block !important; animation: fadeIn 0.5s ease; }

/* --- HEADER & NAVIGATION --- */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent; 
    padding: 20px 0;
    transition: all 0.4s ease;
}

header.scrolled {
    position: fixed;
    top: 0;
    background: var(--dark-bg);
    padding: 10px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap; 
}

.logo {
    display: flex;
    align-items: center;
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    font-weight: 700;
    color: var(--white);
    font-family: 'Playfair Display', serif;
    z-index: 1002;
    flex-shrink: 0; /* Prevent shrinking on small screens */
}

.logo img {
    height: clamp(60px, 10vw, 90px);
    width: auto;
    margin-right: 15px;
}

/* Desktop Menu */
.elementor-nav-menu--main {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap; /* Allows wrapping on medium tablets */
}

.elementor-nav-menu--main .elementor-item {
    color: var(--dark-bg);
    font-weight: 600;
    font-size: 0.9rem;
    background-color: rgba(255,255,255, 0.95);
    padding: 10px 18px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.elementor-nav-menu--main .elementor-item:hover {
    background-color: var(--white);
    color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Scrolled State for Menu */
header.scrolled .elementor-nav-menu--main .elementor-item {
    background-color: transparent;
    color: var(--white);
    padding: 10px 15px;
    box-shadow: none;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    transform: none;
}

header.scrolled .elementor-nav-menu--main .elementor-item:hover {
    color: var(--secondary-color);
    text-shadow: none;
}

/* Mobile Menu Toggle */
.elementor-menu-toggle {
    display: none; /* Hidden on Desktop by default */
    position: fixed;
    top: 20px;
    right: 15px;
    cursor: pointer;
    padding: 9px;
    background: rgba(255,255,255,0.2);
    border-radius: 40%;
    z-index: 1002;
    transition: background 0.3s;
}

.elementor-menu-toggle:hover {
    background: rgba(255,255,255,0.4);
}

.elementor-menu-toggle i {
    color: var(--white);
    font-size: 24px;
    width: 24px;
    height: 24px;
}

/* Dropdown Menu */
.elementor-nav-menu--dropdown {
    display: none; 
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    text-align: center;
    padding: 20px 0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.elementor-nav-menu--dropdown .elementor-item {
    display: block;
    padding: 15px 0;
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
}

.elementor-nav-menu--dropdown .elementor-item:hover {
    color: var(--secondary-color);
}

/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    min-height: 600px; /* Minimum height for landscape mobile */
    position: relative;
    display: flex;
    align-items: center;
    background-color: #000;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6));
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
    position: relative;
    padding-top: 60px; /* Space for header */
}

.hero p {
    margin-left: 20px; 
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 30px;
    font-weight: 300;
    opacity: 0.9;
    color: var(--accent-color); 
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* --- SECTIONS GENERAL --- */
.section-padding {
    /* Fluid padding: 40px on mobile, 80px on desktop */
    padding: clamp(40px, 8vw, 80px) 0;
}

.section-header {
    max-width: 800px; 
    margin-left: 0;   
    padding-left: 20px; 
    text-align: left;
}

.section-header p {
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
    color: #555; 
}

/* --- INTERNAL MESSAGE NOTIFICATIONS --- */
.form-message {
    margin-top: 15px;
    padding: 15px;
    border-radius: 8px;
    display: none;
    font-size: 0.95rem;
    line-height: 1.5;
    align-items: center;
    gap: 10px;
    animation: slideDown 0.4s ease-out;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border-left: 5px solid #28a745;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border-left: 5px solid #dc3545;
}

.form-message i { font-size: 1.2rem; }

/* --- ABOUT SECTION (UPDATED GLOBAL STYLE - MATCHES MOBILE) --- */
.about-grid {
    display: flex;
    flex-direction: column; /* Stacked layout (Image Behind Text) */
    position: relative; /* Needed to position image behind text */
    min-height: 70vh; /* Taller on desktop for better impact */
    gap: 0;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 40px;
}

.about-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4); /* Darken so text pops */
}

.about-text {
    position: relative;
    z-index: 2;
    padding: 60px 20px; /* Increased padding for desktop */
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    text-align: center; /* Centered text like mobile */
    max-width: 900px;
    margin: 0 auto;
}

/* 1. THE COLORFUL TYPING TITLE (Now applies to Desktop too) */
.about-text h2 {
    margin-bottom: 20px;
    font-size: clamp(1.5rem, 4vw, 3rem); /* Responsive size */
    font-weight: 800;
    line-height: 1.2;
    
    /* A. RAINBOW GRADIENT COLOR */
    background: linear-gradient(90deg, #ff0000, #ff9900, #ffff00, #00ff00, #00ffff, #0099ff, #9900ff);
    background-size: 400%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    animation: rainbow-flow 3s linear infinite; 

    /* B. TYPEWRITER EFFECT */
    overflow: hidden;
    white-space: nowrap; /* Keeps text on one line for typing effect */
    border-right: 3px solid rgba(255, 255, 255, 0.8); 
    margin: 0 auto 10px auto;
    width: 0; /* Start width 0 */
    animation: 
        type-text 3s steps(40, end) forwards; /* Types out text */
        cursor-blink 0.75s step-end infinite 3s; /* Blinks cursor after typing */
}

/* 2. PARAGRAPHS (Fade in one by one) */
.about-text p {
    opacity: 0; /* Hidden initially for animation */
    transform: translateY(20px); /* Start slightly lower */
    
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.9); /* Shadow for readability */
    font-size: clamp(1rem, 1.5vw, 1.25rem); /* Responsive font size */
    
    /* CENTERING THE BLOCKS */
    margin: 0 auto 20px auto; 
    max-width: 800px; /* Limit width for readability on big screens */
    width: 100%; 
    text-align: center; 
    
    animation: text-appear 0.8s ease forwards;
}

/* Delays for paragraphs so they wait for title */
.about-text p:nth-of-type(1) { animation-delay: 3s; }
.about-text p:nth-of-type(2) { animation-delay: 3.5s; }
.about-text p:nth-of-type(3) { animation-delay: 4s; }

/* 3. BUTTON (Appears last - Green Border Style) */
.about-text .btn-outline {
    opacity: 0;
    animation: text-appear 0.8s ease forwards;
    animation-delay: 4.5s;
    
    border: 2px solid #0f0; /* Green border from mobile style */
    color: #fff;
    background-color: rgba(255, 255, 255, 0.15); /* Semi-transparent white button */
    align-self: center;
    width: auto; /* Auto width on desktop */
    min-width: 300px; /* Ensure it's big enough */
    padding: 14px 40px; /* Bigger padding for desktop */
}

.about-text .btn-outline:hover {
    background-color: #fff;
    color: #000 !important;
}

/* --- ANIMATIONS KEYFRAMES (Renamed for Global Use) --- */

/* Typing effect */
@keyframes type-text {
    from { width: 0; }
    to { width: 100%; }
}

/* Cursor blink */
@keyframes cursor-blink {
    from, to { border-color: transparent }
    50% { border-color: rgba(255, 255, 255, 0.8); }
}

/* Rainbow color flow */
@keyframes rainbow-flow {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

/* Paragraph Slide Up */
@keyframes text-appear {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- SERVICES SECTION --- */
.services {
    background-color: var(--light-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    justify-content: center; /* Centers the 7th item on the last row */
}

.service-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensures equal height cards */
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-img {
    height: 250px;
    background-color: #ddd;
    position: relative;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-content p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-link {
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

/* --- SUCCESS STORIES SECTION (INTERNATIONAL LAYOUT) --- */
#success-stories {
    background-color: var(--white);
    position: relative;
    padding: 80px 0; /* Consistent section padding */
}

.stories-grid {
    display: grid;
    /* Mobile & Tablet: Stacked 1 Column */
    grid-template-columns: 1fr;
    gap: 50px; /* Generous spacing for a clean look */
    margin-top: 60px;
    
    /* CONSTRAIN WIDTH: Creates a focused, international "Magazine" look */
    max-width: 1100px; 
    margin-left: auto;
    margin-right: auto;
    
    /* PERFECT ORGANIZATION: Forces all cards in a row to have equal height */
    align-items: stretch; 
}

/* DESKTOP LAYOUT: 2 Columns (International Style) */
@media (min-width: 992px) {
    .stories-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 Equal Columns */
        gap: 40px;
    }
}

.story-card {
    background: var(--white);
    border-radius: 12px; /* Slightly softer radius */
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensures card fills the grid cell */
    position: relative;
}

.story-card:hover {
    transform: translateY(-8px); /* Smooth lift effect */
    box-shadow: 0 15px 35px rgba(0,0,0,0.1); /* Deeper shadow on hover */
    border-color: rgba(0,0,0,0.06);
}

.story-img-wrapper {
    position: relative;
    /* Taller images for Desktop Premium Look */
    height: 300px; 
    overflow: hidden;
    background: #f0f0f0;
}

/* Mobile Image Height Adjustment */
@media (max-width: 991px) {
    .story-img-wrapper {
        height: 240px;
    }
}

.mini-slider {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.mini-slide { 
    min-width: 100%; 
    height: 100%; 
}

.mini-slide img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: var(--dark-bg);
    width: 40px; /* Slightly larger touch target */
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: all 0.3s ease;
    opacity: 0; /* Hidden by default for cleaner look */
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* Show arrows on hover */
.story-card:hover .slider-arrow { opacity: 1; }

.slider-arrow:hover { 
    background: var(--secondary-color); 
    color: var(--white); 
    transform: translateY(-50%) scale(1.1); 
}

.slider-prev { left: 15px; }
.slider-next { right: 15px; }

.story-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--secondary-color);
    color: var(--dark-bg);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 4;
}

.story-content { 
    padding: 35px 30px; /* Increased padding for better readability */
    display: flex; 
    flex-direction: column; 
    flex-grow: 1; /* Pushes stats to bottom */
    text-align: left; /* Ensure alignment is consistent */
}

.story-content h3 { 
    margin-bottom: 15px; 
    color: var(--primary-color);
    font-size: 1.6rem; /* Slightly larger title */
}

.story-content p { 
    font-size: 1rem; /* Readable body text */
    color: #555; 
    margin-bottom: 25px; 
    line-height: 1.7;
    flex-grow: 1;
}

.story-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: auto; /* Pushes to bottom if card height varies */
    padding-top: 25px;
    border-top: 1px solid #eee;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #666;
    font-weight: 600;
}

.stat-item i { 
    color: var(--secondary-color); 
    font-size: 1.1rem;
}

/* --- TESTIMONIALS SECTION --- */
#testimonials {
    background: var(--light-bg);
    color: var(--dark-bg);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.testimonial-slider {
    position: relative;
    max-width: 900px;
    margin: 50px auto;
    overflow: hidden;
    padding: 20px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.testimonial-slide.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
    pointer-events: all;
}

.quote-icon { font-size: 3rem; color: var(--primary-color); margin-bottom: 20px; opacity: 0.2; }
.testimonial-text {
    font-size: clamp(1rem, 2vw, 1.4rem);
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 800px;
    color: #444;
}

.client-info { display: flex; align-items: center; gap: 15px; }
.client-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--secondary-color);
}
.client-details h4 { color: var(--primary-color); margin-bottom: 5px; font-size: 1.1rem; }
.client-details span { color: #777; font-size: 0.9rem; }

/* Slider Controls */
.slider-controls { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 20px; }

.control-btn {
    background: rgba(85, 57, 130, 0.1);
    border: 1px solid rgba(85, 57, 130, 0.2);
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.control-btn:hover { background: var(--secondary-color); color: var(--dark-bg); border-color: var(--secondary-color); }

.dots-container { display: flex; gap: 10px; }
.dot {
    width: 10px;
    height: 10px;
    background: rgba(85, 57, 130, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}
.dot.active { background: var(--secondary-color); transform: scale(1.2); }

/* --- SHOWCASE / OUR RESULT SECTION --- */
#showcase {
    background: var(--dark-bg);
    color: var(--white);
    text-align: center;
    position: relative;
}

#showcase h2 { color: var(--white); }

.ba-slider {
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: clamp(300px, 50vh, 500px); /* Responsive height */
    margin: 40px auto;
    border-radius: 10px;
    overflow: hidden;
    border: 5px solid var(--white);
}

.ba-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ba-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    border-right: 3px solid var(--secondary-color);
    z-index: 2;
}
.ba-overlay img { width: 100%; height: 100%; object-fit: cover; }

.ba-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 10;
    margin: 0;
}

.ba-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 5;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.ba-labels {
    position: absolute;
    top: 20px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    pointer-events: none;
    z-index: 4;
}

.ba-label {
    background: rgba(0,0,0,0.7);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

/* --- CONTACT SECTION --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.contact-info-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}
.contact-item:last-child { margin-bottom: 0; }
.contact-item i { color: var(--secondary-color); font-size: 1.8rem; margin-top: 5px; }
.contact-item h4 { margin-bottom: 5px; color: var(--primary-color); }
.contact-item p { color: #555; font-size: 1rem; }

.contact-map-wrapper {
    height: 100%;
    min-height: 350px;
}
.contact-map-wrapper iframe {
    width: 100%;
    height: 100%;
    min-height: 350px;
    border: 0;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* --- LEGAL/POLICY SECTIONS --- */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.legal-content h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
}

.legal-content h3 { margin-top: 25px; margin-bottom: 10px; }
.legal-content p { margin-bottom: 15px; color: #555; }
.legal-content ul { list-style: disc; padding-left: 20px; margin-bottom: 20px; color: #555; }
.legal-content li { margin-bottom: 8px; }

.back-to-home {
    display: inline-block;
    margin-top: 30px;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 5px;
    cursor: pointer;
}
.back-to-home:hover { background-color: var(--secondary-color); }

/* --- FOOTER --- */
footer {
    background-color: #111;
    color: #aaa;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 { color: var(--white); margin-bottom: 20px; font-size: 1.2rem; }
.footer-links li { margin-bottom: 10px; }
.footer-links a:hover { color: var(--secondary-color); padding-left: 5px; }

.social-icons a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 10px;
    transition: var(--transition);
}
.social-icons a:hover { background: var(--secondary-color); color: var(--dark-bg); }

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 0.9rem;
}

/* --- MODAL --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.85);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active { display: flex; opacity: 1; }

.modal-content {
    background-color: var(--white);
    width: 90%;
    max-width: 600px;
    max-height: 90vh; /* Prevents overflow on small mobile landscape */
    padding: 30px; /* Reduced padding for mobile */
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.modal-overlay.active .modal-content { transform: translateY(0); }

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: var(--text-color);
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close:hover { color: var(--accent-color); }

.modal-header {
    border-bottom: 2px solid var(--light-bg);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.modal-header h3 { color: var(--primary-color); margin: 0; }

.modal-body { color: #555; line-height: 1.7; }
.modal-body ul { list-style: disc; padding-left: 20px; margin-top: 15px; }
.modal-body li { margin-bottom: 8px; }

/* --- ACCESSIBILITY FOCUS STATES (International Standards) --- */
a:focus,
button:focus,
.btn:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 4px;
}

/* Remove default ugly outline on active click */
a:active,
button:active {
    outline: none;
}

/* --- FLOATING WHATSAPP BUTTON --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    left: 30px; /* Positioned on the LEFT */
    background-color: #25d366; /* WhatsApp Green */
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100; /* Sits above content but below modal */
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Icon styling inside the button */
.whatsapp-float i {
    color: white;
}

/* Hover Effect */
.whatsapp-float:hover {
    transform: scale(1.1); /* Grows slightly */
    background-color: #1ebc57;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* Pulse Animation (Ring effect) */
@keyframes pulse-ring {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Apply the animation */
.whatsapp-float {
    animation: pulse-ring 2s infinite;
}

/* Adjust for Mobile to ensure it doesn't cover text */
@media (max-width: 480px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        left: 20px;
    }
}

/* --- PERFECT RESOLUTION RESPONSIVENESS --- */

/* Large Desktops (Laptops & Big Screens) */
@media (max-width: 1200px) {
    .about-grid { gap: 30px; }
}

/* Tablets (Landscape & Portrait) */
@media (max-width: 992px) {
    .logo img { height: 70px; margin-right: 10px; }
    .elementor-nav-menu--main { display: none; }
    .elementor-menu-toggle { display: block; }
    .elementor-nav-menu--dropdown {
        display: block;
        visibility: hidden; 
        opacity: 0;
        transition: 0.3s ease;
        margin-top: 10px;
        border-radius: 10px;
        background-color: var(--dark-bg);
    }
    
    .elementor-nav-menu--dropdown.elementor-active { 
        visibility: visible; 
        opacity: 1; 
        margin-top: 0;
    }
    
    .contact-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
    .stories-grid { grid-template-columns: 1fr; } /* Stack stories on tablet */
}

/* Desktop Fix for Typing Effect on smaller screens */
@media (max-width: 992px) {
    .about-text h2 {
        white-space: normal; /* Allow wrapping */
        width: 100%;
        border-right: none; /* Remove cursor on wrap */
        animation: fadeIn 1s ease forwards; /* Simple fade instead */
    }
    .about-text p {
        opacity: 1; /* Show immediately on smaller screens to improve UX */
        transform: none;
        animation: none;
    }
    .about-text .btn-outline {
        opacity: 1;
        animation: none;
    }
}

/* Mobile Phones */
@media (max-width: 768px) {
    .nav-wrapper { flex-wrap: nowrap; }
    
    .hero {
        min-height: 500px;
        align-items: flex-start; /* Align top for better text visibility */
        padding-top: 100px;
    }
    
    .hero-content {
        width: 100%;
        text-align: center;
    }
    
    .hero p { 
        margin-left: 0; 
        margin-right: 0; 
        text-align: center; 
        padding: 0 10px;
    }
    
    /* HERO BUTTONS MOBILE FIX: Separate and Animate */
    .hero-btns {
        display: flex;
        flex-direction: column; /* Stack vertically */
        gap: 20px; /* Creates gap to stop touching */
        width: 100%;
        padding: 0 20px; /* Space from edges */
        align-items: center;
    }

    /* Animation: Buttons slide up one by one */
    .hero-btns .btn {
        opacity: 0; /* Hidden initially */
        transform: translateY(30px); /* Start from below */
        animation: slideUpBtn 0.6s ease forwards;
    }

    /* Delay: Services button (1st button) */
    .hero-btns .btn:nth-child(1) {
        animation-delay: 0.5s;
    }

    /* Delay: Contact Us button (2nd button) */
    .hero-btns .btn:nth-child(2) {
        animation-delay: 0.7s;
    }
    
    .section-header { padding-left: 0; text-align: center; margin: 0 auto 40px auto; }
    
    .testimonial-text { font-size: 1rem; }
    .quote-icon { font-size: 2rem; }

    /* Mobile Menu Styling */
    .elementor-menu-toggle {
        background: transparent !important;
        border-radius: 0 !important;
        padding: 0 !important;
    }
    
    .elementor-menu-toggle i {
        font-size: 28px; 
    }
    
    /* Ensure text doesn't overflow on small phones */
    h1, h2, h3 {
        padding: 0 10px;
    }
    
    /* ABOUT SECTION ON MOBILE (Overrides specific heights/sizes) */
    .about-grid {
        min-height: 600px;
    }
    .about-text h2 {
        font-size: 1.5rem; /* Slightly smaller to fit typing on phone */
        border-right: 3px solid rgba(255, 255, 255, 0.8); /* Add cursor back on phone */
        animation: 
            type-text 3s steps(30, end) forwards; /* Types out text */
            cursor-blink 0.75s step-end infinite 3s; /* Blinks cursor after typing */
    }
    .about-text p {
        opacity: 0; /* Re-enable animations for mobile */
        animation: text-appear 0.8s ease forwards;
    }
    .about-text .btn-outline {
        opacity: 0;
        animation: text-appear 0.8s ease forwards;
        width: 80%; /* Mobile width */
        padding: 14px 20px; /* Reset padding */
    }

/* Very Small Mobile (International / Old Devices) */
@media (max-width: 480px) {
    :root {
        --container-padding: 15px;
    }
    
    .modal-content {
        padding: 20px;
        width: 95%;
    }
    
    .btn {
        width: 100%; /* Force full width on very small screens */
        text-align: center;
        font-size: 0.8rem;
        padding: 12px 20px;
    }
    
    .contact-info-card, .legal-content {
        padding: 20px;
    }
    
    .ba-slider {
        height: 250px; /* Fixed short height for tiny phones */
    }
}

/* --- PRINT STYLES (Professional Touch) --- */
@media print {
    /* Hide non-essential elements */
    header,
    footer,
    .hero,
    .hero-video,
    .elementor-menu-toggle,
    .ba-slider, 
    .ba-input,
    .ba-handle,
    .ba-labels,
    .whatsapp-float,
    #scroll-top,
    #success-stories,
    .modal-overlay,
    .social-icons {
        display: none !important;
    }

    /* Reset background to white to save ink */
    body, 
    #showcase, 
    #testimonials {
        background-color: #fff !important;
        color: #000 !important;
    }

    /* Ensure text is legible */
    h1, h2, h3, h4, h5, h6, p, span, li {
        color: #000 !important;
    }

    /* Ensure links are readable */
    a {
        text-decoration: underline;
        color: #000 !important;
    }
    
    /* Display URL after links */
    a[href^="http"]::after {
        content: " (" attr(href) ")";
        font-size: 0.8rem;
        color: #555;
    }
    
    .container {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
    
    .section-padding {
        padding: 20px 0 !important;
    }
}