/* ==================== ROOT VARIABLES ==================== */
:root {
    --primary-color: #FF6B00;
    --dark-color: #000000;
    --light-color: #FFFFFF;
    --gray-color: #333333;
    --accent-color: #FF8C33;
    --text-dark: #000000;
    --text-light: #666666;
    --white: #ffffff;
    --black: #000000;
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 40px rgba(255, 107, 0, 0.3);
}

/* ==================== GLOBAL STYLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
    object-fit: cover;
}

/* Ensure images are responsive */
img, picture, video, canvas, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

/* ==================== CONTAINER ==================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    box-sizing: border-box;
}

/* ==================== HEADER & NAVIGATION ==================== */
#header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

#header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    z-index: 1001;
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
}

.main-nav .nav-menu {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.main-nav .nav-menu > li {
    position: relative;
}

.main-nav .nav-menu > li > a {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    border-radius: 8px;
    background: transparent;
}

.main-nav .nav-menu > li > a:hover {
    color: var(--white);
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.4);
}

.main-nav .nav-menu > li > a i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
    color: inherit;
}

.main-nav .nav-menu > li:hover > a i {
    transform: rotate(180deg);
    color: inherit;
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    min-width: 250px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 1rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(10px);
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    border-radius: 4px;
    margin: 0 0.5rem;
}

.dropdown-menu a:hover {
    background: var(--primary-color);
    color: var(--white);
    padding-left: 2rem;
    transform: translateX(5px);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
    min-width: 48px;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 85%;
    height: 100vh;
    background: var(--black);
    z-index: 1000;
    padding: 2rem;
    overflow-y: auto;
    transition: right 0.4s ease;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-header .logo-text {
    font-size: 1.5rem;
}

.close-mobile-menu {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: var(--transition);
    min-width: 48px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
}

.close-mobile-menu:hover {
    color: var(--primary-color);
}

.close-mobile-menu:active {
    transform: scale(0.95);
}

.mobile-nav-menu li {
    margin-bottom: 0.5rem;
}

.mobile-nav-menu > li > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    color: var(--white);
    font-weight: 500;
    border-radius: 8px;
    transition: var(--transition);
}

.mobile-nav-menu > li > a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
}

.mobile-nav-menu .submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-left: 1rem;
}

.mobile-nav-menu .has-submenu.active .submenu {
    max-height: 500px;
}

.mobile-nav-menu .submenu li a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--accent-color);
    font-size: 0.95rem;
    border-left: 2px solid rgba(255, 255, 255, 0.2);
    margin: 0.25rem 0;
}

.mobile-nav-menu .submenu li a:hover {
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    padding-left: 1.5rem;
}

/* ==================== HERO SECTION ==================== */
.hero {
    margin-top: 80px;
    height: calc(100vh - 80px);
    min-height: 600px;
    position: relative;
}

.hero-slide {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
}

.hero-swiper {
    width: 100%;
    height: 100%;
}

.hero-slide {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-content {
    text-align: center;
    color: var(--white);
    z-index: 2;
    padding: 3rem 2rem;
    max-width: 1000px;
    animation: fadeInUp 1s ease;
    margin: 0 auto;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 2rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9);
    line-height: 1.1;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.hero-text {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Swiper Custom Styles */
.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--white);
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary-color);
}

.swiper-button-prev,
.swiper-button-next {
    color: var(--white);
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    color: var(--primary-color);
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 1rem;
    text-align: center;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #d62839;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(230, 57, 70, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-light {
    background: var(--white);
    color: var(--dark-color);
}

.btn-light:hover {
    background: var(--light-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--dark-color);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
}

.btn-link {
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

.btn-link:hover {
    color: var(--dark-color);
    padding-left: 0.5rem;
}

/* ==================== SECTIONS ==================== */
.section {
    padding: 100px 0;
    width: 100%;
    overflow-x: hidden;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* About Section */
.about-content {
    max-width: 1000px;
    margin: 0 auto 4rem;
    text-align: center;
}

.lead-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.goals-section {
    max-width: 800px;
    margin: 4rem auto;
}

.goal-box {
    background: linear-gradient(135deg, var(--primary-color), #FF8C33);
    color: var(--white);
    padding: 4rem 3rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(255, 107, 0, 0.3);
    margin: 3rem 0;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

.goal-box i {
    color: var(--white);
    margin-bottom: 1rem;
}

.goal-box h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.goal-box p {
    font-size: 1.2rem;
}

.cta-section {
    text-align: center;
    margin-top: 3rem;
}

/* Services Overview */
.services-overview {
    background: var(--light-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    width: 100%;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .services-grid {
        gap: 1.5rem;
    }
}

.service-card {
    background: var(--white);
    padding: 3rem 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.service-card div[style*="height"],
.service-card div[style*="background"] {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    border-radius: 15px;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(255, 107, 0, 0.25);
}

.service-icon {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Why Section */
.why-section {
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    width: 100%;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.feature-item {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    transition: var(--transition);
}

.feature-item:hover {
    background: var(--light-color);
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.feature-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85)), 
                var(--primary-color);
    position: relative;
    text-align: center;
    color: var(--white);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    width: 100%;
    overflow: hidden;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.cta-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Stats Section */
.stats-section {
    background: var(--black);
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.2rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 4rem 0 2rem;
}

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

.footer-col h3,
.footer-col h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-col p {
    color: var(--accent-color);
    line-height: 1.8;
}

.footer-motto {
    margin-top: 1rem;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--accent-color);
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 0.5rem;
}

.footer-contact li {
    color: var(--accent-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.footer-contact i {
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--accent-color);
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero {
        margin-top: 70px;
        height: calc(100vh - 70px);
        min-height: 500px;
        max-height: 600px;
    }
    
    .hero-slide {
        background-attachment: scroll !important;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
        padding: 0 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        padding: 0 1rem;
    }
    
    .hero-text {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        padding: 0 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 100%;
    }
    
    .btn {
        padding: 1rem 2rem;
        font-size: 0.95rem;
        width: auto;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 2rem;
        padding: 0 1rem;
    }
    
    .services-grid,
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-card,
    .feature-item,
    .content-box {
        margin: 0 0.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    .cta-content h2 {
        font-size: 1.75rem;
        padding: 0 1rem;
    }
    
    .cta-content p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 1rem;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 100%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .swiper-button-prev,
    .swiper-button-next {
        display: none;
    }
    
    .page-hero {
        height: 300px;
        background-size: cover !important;
        background-position: center !important;
        background-attachment: scroll !important;
    }
    
    .page-hero-content h1 {
        font-size: 2rem;
        padding: 0 1rem;
    }
    
    .page-hero-content p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0 -1rem;
        padding: 0 1rem;
    }
    
    table {
        font-size: 0.85rem;
        min-width: 600px;
    }
    
    th, td {
        padding: 0.5rem;
        font-size: 0.85rem;
    }
    
    .content-grid {
        gap: 1.5rem;
        grid-template-columns: 1fr;
    }
    
    .info-boxes {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .info-box {
        padding: 2rem 1.5rem;
    }
    
    .info-box h3 {
        font-size: 2rem;
    }
    
    /* Images responsive */
    img {
        width: 100%;
        height: auto;
        max-width: 100%;
    }
    
    /* Make all image containers responsive */
    div[style*="height"] img {
        object-fit: cover;
        width: 100%;
        height: 100%;
    }
    
    /* Forms mobile optimization */
    .form-container {
        padding: 2rem 1.5rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Goal box mobile */
    .goal-box {
        padding: 2.5rem 2rem;
    }
    
    .goal-box h3 {
        font-size: 1.5rem;
    }
    
    /* About content */
    .about-content {
        padding: 0 0.5rem;
    }
    
    .lead-text {
        font-size: 1.05rem;
        line-height: 1.7;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
        max-width: 100%;
    }
    
    .nav-container {
        padding: 0.75rem 1rem;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .logo img {
        height: 35px;
        max-width: 150px;
    }
    
    .hero {
        min-height: 400px;
        max-height: 500px;
    }
    
    .hero-title {
        font-size: 1.5rem;
        line-height: 1.3;
        padding: 0 0.5rem;
        word-wrap: break-word;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        padding: 0 0.5rem;
    }
    
    .hero-text {
        font-size: 0.9rem;
        padding: 0 0.5rem;
    }
    
    .hero-content {
        padding: 1.5rem 0.5rem;
    }
    
    .hero-buttons {
        gap: 0.75rem;
    }
    
    .section {
        padding: 30px 0;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .lead-text {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 0.95rem;
    }
    
    .btn {
        padding: 0.9rem 1.5rem;
        width: 100%;
        font-size: 0.9rem;
    }
    
    .btn-large {
        padding: 1rem 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }
    
    .cta-content h2 {
        font-size: 1.5rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .info-boxes,
    .content-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .info-box {
        padding: 1.5rem 1rem;
    }
    
    .info-box h3 {
        font-size: 1.75rem;
    }
    
    .info-box p {
        font-size: 0.95rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-container {
        padding: 1.5rem 1rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group label {
        font-size: 0.95rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Prevents iOS zoom */
        padding: 0.85rem;
    }
    
    .page-hero {
        height: 250px;
    }
    
    .page-hero-content h1 {
        font-size: 1.75rem;
    }
    
    .page-hero-content p {
        font-size: 1rem;
    }
    
    .service-card,
    .feature-item,
    .content-box {
        padding: 1.5rem 1rem;
        margin: 0;
    }
    
    .service-card h3,
    .feature-item h3,
    .content-box h3 {
        font-size: 1.3rem;
    }
    
    .service-card p,
    .feature-item p,
    .content-box p {
        font-size: 0.95rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .service-icon i {
        font-size: 2rem !important;
    }
    
    .goal-box {
        padding: 2rem 1.5rem;
    }
    
    .goal-box h3 {
        font-size: 1.3rem;
    }
    
    .goal-box p {
        font-size: 1rem;
    }
    
    .footer-grid {
        gap: 1.5rem;
    }
    
    .footer-col h3,
    .footer-col h4 {
        font-size: 1.1rem;
    }
    
    .footer-col p,
    .footer-links a,
    .footer-contact li {
        font-size: 0.9rem;
    }
    
    .footer-bottom {
        font-size: 0.85rem;
    }
    
    table {
        font-size: 0.75rem;
    }
    
    th, td {
        padding: 0.4rem;
        font-size: 0.75rem;
    }
    
    /* Ensure all images scale properly */
    img {
        max-width: 100%;
        height: auto !important;
        width: 100%;
    }
    
    /* Google Maps responsive */
    iframe {
        width: 100%;
        max-width: 100%;
    }
    
    /* Timeline mobile */
    .timeline-item {
        padding-left: 40px;
    }
    
    .timeline::before {
        left: 10px;
    }
    
    .timeline-item::before {
        left: 10px;
    }
}

/* ==================== PAGE-SPECIFIC STYLES ==================== */

/* Page Hero (for internal pages) */
.page-hero {
    margin-top: 80px;
    height: 450px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    width: 100%;
    overflow: hidden;
}

.page-hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.page-hero-content p {
    font-size: 1.5rem;
    color: var(--accent-color);
}

/* Breadcrumb */
.breadcrumb {
    background: var(--light-color);
    padding: 1rem 0;
}

.breadcrumb-list {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
}

.breadcrumb-list a {
    color: var(--primary-color);
}

.breadcrumb-list a:hover {
    text-decoration: underline;
}

/* Content Sections */
.content-section {
    padding: 80px 0;
    width: 100%;
    overflow-x: hidden;
}

.content-section[style*="background"] {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
}

@media (max-width: 768px) {
    .content-section {
        padding: 40px 0;
    }
    
    .content-section[style*="background"] {
        background-attachment: scroll !important;
    }
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    width: 100%;
}

@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.content-box {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.content-box h3 {
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.content-box ul {
    list-style: none;
    padding: 0;
}

.content-box ul li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-light);
    line-height: 1.8;
}

.content-box ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Form Styles */
.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    min-height: 48px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
    padding: 2rem 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    aspect-ratio: 16/10;
    background: var(--light-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item > div {
    width: 100%;
    height: 100%;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 50px rgba(255, 107, 0, 0.3);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--white);
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
    transform: translateY(0);
}

/* Info Boxes */
.info-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.info-box {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
}

.info-box h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.info-box p {
    font-size: 1.1rem;
}

/* Table Styles */
.table-responsive {
    overflow-x: auto;
    margin: 2rem 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    box-shadow: var(--shadow);
    border-radius: 8px;
    overflow: hidden;
}

thead {
    background: var(--dark-color);
    color: var(--white);
}

th, td {
    padding: 1.25rem;
    text-align: left;
}

tbody tr {
    border-bottom: 1px solid #e0e0e0;
}

tbody tr:hover {
    background: var(--light-color);
}

/* Timeline */
.timeline {
    position: relative;
    padding: 2rem 0;
    margin: 3rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--primary-color);
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border: 4px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--light-color);
}

.timeline-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.timeline-item:nth-child(even) .timeline-content {
    grid-column: 2;
}

.timeline-item:nth-child(odd) .timeline-content {
    grid-column: 1;
}

@media (max-width: 768px) {
    .page-hero {
        height: 300px;
    }
    
    .page-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .page-hero-content p {
        font-size: 1.2rem;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        grid-template-columns: 1fr;
        padding-left: 60px;
    }
    
    .timeline-item::before {
        left: 20px;
    }
    
    .timeline-item:nth-child(even) .timeline-content,
    .timeline-item:nth-child(odd) .timeline-content {
        grid-column: 1;
    }
}

/* Utilities */
.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary-color);
}

.bg-light {
    background: var(--light-color);
}

.bg-dark {
    background: var(--dark-color);
    color: var(--white);
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 2rem; }
.mt-4 { margin-top: 3rem; }
.mt-5 { margin-top: 4rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 2rem; }
.mb-4 { margin-bottom: 3rem; }
.mb-5 { margin-bottom: 4rem; }

.py-1 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2 { padding-top: 1rem; padding-bottom: 1rem; }
.py-3 { padding-top: 2rem; padding-bottom: 2rem; }
.py-4 { padding-top: 3rem; padding-bottom: 3rem; }
.py-5 { padding-top: 4rem; padding-bottom: 4rem; }

/* ==================== GLOBAL IMAGE CENTERING & SPACING ==================== */

/* Ensure all background images are properly centered and sized */
div[style*="background"] {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

/* Specific image containers */
section[style*="background"],
.hero-slide[style*="background"],
.page-hero[style*="background"] {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

/* Gallery and service images */
.gallery-item img,
.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* Ensure proper spacing for content boxes */
.content-box,
.service-box,
.info-box {
    margin: 1.5rem 0;
    padding: 2rem;
}

/* Better spacing for grid layouts */
.content-grid,
.services-grid {
    gap: 2.5rem;
    padding: 1rem 0;
}

/* Responsive image scaling */
@media (max-width: 768px) {
    div[style*="background"] {
        background-attachment: scroll !important;
    }
    
    .page-hero {
        height: 350px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

/* Logo sizing and centering */
.logo img {
    height: 50px;
    width: auto;
    display: block;
    object-fit: contain;
}

@media (max-width: 768px) {
    .logo img {
        height: 40px;
    }
}

/* ==================== IMAGE PLACEHOLDERS ==================== */
.image-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    text-align: center;
    border: 3px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255, 255, 255, 0.05) 10px,
        rgba(255, 255, 255, 0.05) 20px
    );
    animation: placeholder-move 20s linear infinite;
}

@keyframes placeholder-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.image-placeholder span {
    position: relative;
    z-index: 1;
    background: rgba(0, 0, 0, 0.5);
    padding: 1rem 2rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

/* Ensure all image containers are responsive */
div[style*="overflow: hidden"] {
    max-width: 100%;
    width: 100%;
}

div[style*="overflow: hidden"] img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Ensure proper image sizing on all devices */
section img {
    max-width: 100%;
    height: auto;
}

/* Make Google Maps responsive */
iframe {
    max-width: 100%;
    border-radius: 15px;
}

/* ==================== MOBILE OPTIMIZATIONS ==================== */
@media (max-width: 768px) {
    .image-placeholder span {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
    }
}

/* Improve touch targets on mobile */
a, button, input, select, textarea {
    touch-action: manipulation;
}

/* Prevent text selection on buttons */
.btn, .mobile-menu-toggle, button {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Smooth scrolling for iOS */
.mobile-menu {
    -webkit-overflow-scrolling: touch;
}

/* Optimize images for mobile */
@media (max-width: 768px) {
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* All divs containing images should be responsive */
    div[style*="overflow: hidden"] {
        max-width: 100%;
    }
    
    div[style*="overflow: hidden"] img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* Extra small devices optimization */
@media (max-width: 360px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .nav-container {
        padding: 0.5rem 0.75rem;
    }
    
    .hero-title {
        font-size: 1.3rem;
        word-break: break-word;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .logo img {
        height: 30px;
    }
    
    .service-card,
    .feature-item,
    .content-box,
    .info-box {
        padding: 1rem 0.75rem;
    }
    
    table {
        font-size: 0.7rem;
    }
    
    th, td {
        padding: 0.3rem;
    }
}

/* Landscape mode optimization for mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        height: 100vh;
        min-height: auto;
    }
    
    .page-hero {
        height: 100vh;
    }
    
    .hero-title {
        font-size: 2rem;
    }
}

/* ==================== MOBILE SPECIFIC OPTIMIZATIONS ==================== */

/* Prevent horizontal scroll on all devices */
* {
    max-width: 100%;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* Mobile image optimization */
@media (max-width: 768px) {
    /* Hero images */
    .hero-slide {
        background-size: cover !important;
        background-position: center !important;
    }
    
    /* All section backgrounds */
    section[style*="background"] {
        background-size: cover !important;
        background-position: center !important;
        background-attachment: scroll !important;
    }
    
    /* Service card images */
    .service-card div[style*="height"] {
        height: auto;
        min-height: 200px;
        max-height: 250px;
    }
    
    /* Info boxes */
    .info-box {
        width: 100%;
    }
    
    /* Swiper pagination mobile */
    .swiper-pagination {
        bottom: 20px;
    }
    
    .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
    }
}

/* Very small screens */
@media (max-width: 375px) {
    .hero-content {
        padding: 1rem 0.5rem;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .hero-title {
        font-size: 1.4rem;
    }
    
    .cta-content h2 {
        font-size: 1.3rem;
    }
}

/* Ensure proper spacing for all elements */
@media (max-width: 768px) {
    .goal-box,
    .service-card,
    .content-box,
    .info-box,
    .feature-item {
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Prevent text overflow */
    h1, h2, h3, h4, h5, h6, p {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

