/* General Styles */
html, body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    padding-top: 70px; /* Space for fixed header - DO NOT REMOVE */
    line-height: 1.6;
    color: #fff; /* White text for black background */
    background-color: #000; /* Black background for the entire website */
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

/* Adjust padding for mobile */
@media (max-width: 768px) {
    html, body {
        padding-top: 60px; /* Smaller space for fixed header on mobile */
    }
}

/* Container styles - but NOT for header */
section .container,
.hero-section .container,
.services-section .container,
.contact-section .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    section .container,
    .hero-section .container,
    .services-section .container,
    .contact-section .container {
        width: 100%;
        padding: 0 10px;
    }   

    /* Adjust specific elements if needed */
    .hero-title {
        font-size: 40px; /* Example: Reduce font size for mobile */
        white-space: normal; /* Allow text to wrap */
    }
}

div, section {
    max-width: 100%; /* Ensure elements don't exceed container width */
    height: auto; /* Maintain aspect ratio for images */
}

/* ===== HEADER SECTION 1 - COMMENTED OUT =====
   All header styles moved to unified css/header.css
   ==============================================

.logo {
    margin-right: auto;
}

.logo img {
    height: 40px;
    width: auto;
}

.main-nav {
    margin-left: auto;
    display: flex;
    justify-content: flex-end;
}

... ALL HEADER STYLES REMOVED ...

END OF COMMENTED HEADER SECTION 1
=============================================== */


/* Standard Container Styles - NOT for header */
section .container,
.main-container, 
.grid-container, 
.services-grid, 
.team-grid,
.image-flip-container,
.mantra-container,
.hero-container,
.contact-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Ensure full width sections */
section {
    width: 100%;
    overflow: hidden;
}

/* REMOVED - Header specific adjustments (now in header.css) */

/* Standard Container Styles for content sections */
.main-container,
section > .container:not(.main-header .container) {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Mobile adjustments for content containers only */
@media (max-width: 768px) {
    .main-container,
    section > .container:not(.main-header .container) {
        padding: 0 15px;
    }
}

/* ===== HEADER SECTION 2 - COMMENTED OUT =====
   All header styles moved to unified css/header.css
=============================================== */

/* ===== HEADER SECTION 3 - COMMENTED OUT =====
   All header styles moved to unified css/header.css
=============================================== */

/* ===== HERO SECTION STYLES ===== */
/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 80vh; /* Increased height to prevent overlap */
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: linear-gradient(135deg, #18A999, #0093D4);
    padding-left: 10%;
    padding-top: 0;
    overflow: hidden;
    animation: zoomBg 10s infinite alternate ease-in-out;
    margin-bottom: 40px; /* Added margin to create space below */
}

@keyframes zoomBg {
    0% {
        transform: scale(1.1);
    }
    50% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

.hero-content {
    position: relative;
    text-align: left;
    max-width: 900px;
    z-index: 2;
}

.hero-subtitle {
    font-size: 28px;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.hero-title {
    font-size: 65px;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.1;
    margin-bottom: 30px;
    white-space: nowrap;
}

.cta-button {
    display: inline-block;
    background-color: transparent;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 22px;
    border: 4px solid white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.cta-button:hover {
    background-color: white;
    color: #008080;
}

.hero-bg {
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 1;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* RTL Support for Hero Section */
html[dir="rtl"] .hero-section,
body[dir="rtl"] .hero-section {
    padding-left: 0;
    padding-right: 0;
    justify-content: center;
}

html[dir="rtl"] .hero-content,
body[dir="rtl"] .hero-content {
    text-align: center;
}

html[dir="rtl"] .hero-subtitle,
body[dir="rtl"] .hero-subtitle {
    text-align: center;
}

html[dir="rtl"] .hero-title,
body[dir="rtl"] .hero-title {
    text-align: center;
}

html[dir="rtl"] .cta-button,
body[dir="rtl"] .cta-button {
    text-align: center;
}

/* Responsive Design for Hero Section */
@media (max-width: 768px) {
    .hero-section {
        height: 60vh; /* Adjusted height for mobile */
        padding-left: 5%; /* Adjusted padding for mobile */
    }

    .hero-subtitle {
        font-size: 24px; /* Adjusted font size for mobile */
    }

    .hero-title {
        font-size: 40px; /* Adjusted font size for mobile */
        white-space: normal; /* Allow text to wrap */
    }

    .cta-button {
        font-size: 18px; /* Adjust button font size for mobile */
        padding: 10px 20px; /* Adjust button padding for mobile */
    }
    
    /* RTL mobile adjustments */
    html[dir="rtl"] .hero-section,
    body[dir="rtl"] .hero-section {
        padding-right: 5%;
    }
}