/* ===================================
   Reset & Base Styles
   Mobile Optimized - v2.0
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--secondary-color), #2980b9);
    border-radius: 10px;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #2980b9, var(--primary-color));
}

/* Scroll Progress Bar */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), #9b59b6, var(--accent-color));
    z-index: 9999;
    transition: width 0.1s ease;
    box-shadow: 0 2px 10px rgba(52, 152, 219, 0.5);
}

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #ecf0f1;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 140px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.8;
    color: var(--text-dark);
    background-color: var(--white);
    animation: fadeIn 0.5s ease-in;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ===================================
   Top Header Bar
   =================================== */
.top-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 0;
    font-size: 0.875rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    transition: all 0.4s ease;
}

.top-header.hidden {
    transform: translateY(-100%);
}

.top-header-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.header-contact {
    display: flex;
    gap: 2rem;
}

.header-contact a {
    color: var(--white);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.header-contact a:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.header-contact i {
    font-size: 0.875rem;
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    background: linear-gradient(to bottom, rgba(44, 62, 80, 0.6), rgba(44, 62, 80, 0.4));
    position: fixed;
    top: 38px;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.navbar.scrolled {
    top: 0;
    background: rgba(44, 62, 80, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    transition: all 0.4s ease;
}

.navbar.scrolled .nav-wrapper {
    padding: 0.75rem 0;
}

.logo {
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.logo-img {
    height: 100px;
    width: auto;
    object-fit: contain;
    transition: all 0.4s ease;
}

.navbar.scrolled .logo-img {
    height: 50px;
}

.logo:hover .logo-img {
    opacity: 0.8;
}

.logo i {
    color: var(--secondary-color);
}

.logo:hover {
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--white);
    font-weight: 600;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--white);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 60%;
}

.navbar.scrolled .nav-menu a {
    color: var(--white);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.nav-menu a:hover {
    color: var(--white);
}

.nav-menu a.active {
    color: var(--white);
    background-color: var(--secondary-color);
}

.navbar.scrolled .nav-menu a.active {
    color: var(--white);
    background-color: rgba(52, 152, 219, 0.8);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    transition: var(--transition);
}

.navbar.scrolled .mobile-toggle span {
    background-color: var(--white);
}

/* ===================================
   Hero Slider
   =================================== */
.hero-slider {
    position: relative;
    height: 100vh;
    overflow: hidden;
    margin-top: 0;
}

.slider-container {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
}

.slide:nth-child(1) {
    background-image: url('../images/hero/slide-1-construction.jpg');
}

.slide:nth-child(2) {
    background-image: url('../images/hero/slide-2-transport.jpg');
}

.slide:nth-child(3) {
    background-image: url('../images/hero/slide-3-blocks.jpg');
}

.slide:nth-child(4) {
    background-image: url('../images/hero/slide-4-revetment.jpg');
}

.slide:nth-child(5) {
    background-image: url('../images/hero/slide-5-sewer.jpg');
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.4), rgba(52, 152, 219, 0.3));
}

.slide-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    color: var(--white);
    z-index: 2;
}

.slide-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.slide-description {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    max-width: 650px;
    animation: fadeInUp 1s ease-out 0.2s both;
    font-weight: 400;
    line-height: 1.8;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    border: none;
    color: var(--white);
    font-size: 2rem;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 5px;
    z-index: 10;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.5);
}

.slider-btn.prev {
    left: 20px;
}

.slider-btn.next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slider-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

.slider-dot.active {
    background: var(--white);
    width: 40px;
    border-radius: 7px;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.4);
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    font-size: 1.05rem;
    position: relative;
    z-index: 10;
    overflow: hidden;
    letter-spacing: 0.3px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

.btn-light {
    background-color: var(--white);
    color: var(--secondary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-light:hover {
    background-color: var(--bg-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* ===================================
   Sections
   =================================== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: -0.8px;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ===================================
   About Section (Home Page)
   =================================== */
.about-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.3), transparent);
}

.section-subtitle {
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

.about-content-home {
    margin: 3rem 0;
}

.about-text {
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: center;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.vision-mission-home {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.vm-box {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #e9ecef;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
}

.vm-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(52, 152, 219, 0.2);
    border-color: var(--secondary-color);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.vm-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.vm-box:hover .vm-icon {
    transform: scale(1.1);
}

.vm-box h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.vm-box p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-light);
    font-style: italic;
}

.clients-home {
    margin-top: 5rem;
    text-align: center;
}

.clients-home h2 {
    font-size: 2.25rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-weight: 700;
}

.clients-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.clients-slider-container {
    margin-top: 3rem;
    position: relative;
    padding: 2rem 0;
    overflow: hidden;
    width: 100%;
}

.clients-slider {
    display: flex;
    width: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.clients-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    padding: 0 1.5rem;
    min-width: 100%;
    flex-shrink: 0;
}

.clients-slide img {
    max-width: 280px;
    max-height: 160px;
    width: auto;
    height: auto;
    object-fit: contain;
    padding: 2.5rem 3rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.clients-slide img:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Hide mobile scroll on desktop */
.clients-scroll-mobile {
    display: none;
}

.clients-slider-dots {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.5rem;
}

.clients-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--secondary-color);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.clients-dot:hover {
    background: rgba(52, 152, 219, 0.3);
    transform: scale(1.2);
}

.clients-dot.active {
    background: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}


/* ===================================
   Services Section (Home Page)
   =================================== */
.services-section {
    padding: 6rem 0;
    background-color: var(--white);
    position: relative;
}

.services-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.3), transparent);
}

.services-grid-home {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.service-box {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #e9ecef;
    display: block;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.service-box::after {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    color: var(--secondary-color);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(52, 152, 219, 0.2);
    border-color: var(--secondary-color);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.service-box:hover::after {
    opacity: 1;
    transform: translateX(0);
}

.service-icon-box {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.service-box:hover .service-icon-box {
    transform: scale(1.1);
}

.service-icon-box i {
    transition: transform 0.3s ease;
}

.service-box h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-box p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 0;
    font-size: 0.95rem;
}

.services-cta {
    text-align: center;
    margin-top: 3rem;
}

.service-link {
    display: inline-block;
    color: var(--secondary-color);
    text-decoration: underline;
    font-weight: 500;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--primary-color);
}

/* ===================================
   Service Image Section
   =================================== */
.service-image-section {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.service-image-wrapper {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.service-image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* ===================================
   Contact Section (Home Page)
   =================================== */
.contact-section-home {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.95), rgba(52, 152, 219, 0.95)), url('../images/contact-formbg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    position: relative;
}

.contact-section-home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-header h2 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.contact-form-home {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-row:first-child {
    grid-template-columns: 1fr 1fr;
}

.form-group {
    position: relative;
}

.contact-form-home input,
.contact-form-home textarea {
    width: 100%;
    padding: 1.25rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    color: var(--text-dark);
}

.contact-form-home input:focus,
.contact-form-home textarea:focus {
    outline: none;
    border-color: var(--white);
    background: var(--white);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.contact-form-home input::placeholder,
.contact-form-home textarea::placeholder {
    color: #999;
    font-weight: 400;
}

.contact-form-home textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-form-home button {
    margin-top: 1.5rem;
    width: auto;
    padding: 1.25rem 4rem;
    font-size: 1.1rem;
    background: var(--white);
    color: var(--secondary-color);
    font-weight: 700;
}

.contact-form-home button:hover {
    background: var(--bg-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3);
}

/* ===================================
   Services Overview (Legacy)
   =================================== */
.services-overview {
    padding: 5rem 0;
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid var(--bg-light);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--secondary-color);
}

.service-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ===================================
   Call to Action
   =================================== */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* ===================================
   Page Header
   =================================== */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 8rem 0 3rem;
    text-align: center;
    margin-top: 0;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.25rem;
    opacity: 0.95;
}

/* ===================================
   About Page
   =================================== */
.about-content {
    padding: 5rem 0;
}

.about-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.about-intro h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about-intro p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.vision-mission {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 5rem;
}

.vm-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 10px;
    text-align: center;
}

.vm-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.vm-card h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.vm-card p {
    color: var(--text-light);
    line-height: 1.8;
}

.core-values {
    margin-bottom: 5rem;
}

.core-values h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-item {
    text-align: center;
    padding: 2rem;
}

.value-item i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.value-item h4 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.value-item p {
    color: var(--text-light);
}

.why-choose-us {
    margin-bottom: 5rem;
}

.why-choose-us h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.reason-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    border: 2px solid var(--bg-light);
    transition: var(--transition);
}

.reason-card:hover {
    border-color: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.reason-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--secondary-color);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.reason-card h4 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.reason-card p {
    color: var(--text-light);
    line-height: 1.8;
}

.clients-section {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 10px;
}

.clients-section h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}


/* ===================================
   Services Detail Page
   =================================== */
.services-detail {
    padding: 5rem 0;
}

.service-detail-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 5rem;
    padding: 3rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    scroll-margin-top: 140px;
}

.service-detail-card.reverse {
    direction: rtl;
}

.service-detail-card.reverse > * {
    direction: ltr;
}

.service-detail-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.service-detail-content h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-detail-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: 0.75rem 0;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.service-features i {
    color: var(--secondary-color);
    font-size: 1.25rem;
}

.service-detail-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-detail-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    object-fit: cover;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}

.service-detail-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

/* ===================================
   Contact Page
   =================================== */
.contact-section {
    padding: 5rem 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-details {
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-text h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-text p {
    color: var(--text-light);
    line-height: 1.6;
}

.contact-form-wrapper {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 10px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    padding: 0.875rem;
    border: 2px solid transparent;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--white);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.form-group textarea {
    resize: vertical;
}

.contact-form button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.form-message {
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    display: block;
    margin-top: 1.5rem;
    padding: 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    border: 2px solid #28a745;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    display: block;
}

.h-captcha {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
}

/* hCaptcha iframe styling to blend with form */
.h-captcha > div > iframe {
    border-radius: 12px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    overflow: hidden;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c3e50 100%);
    color: var(--white);
    padding: 4rem 0 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), #9b59b6, var(--accent-color));
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-weight: 600;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 60px;
    width: auto;
}

.footer-about {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact i {
    color: var(--secondary-color);
    width: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 8px;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.footer-links a {
    position: relative;
}

.footer-links a:hover::after {
    width: 80%;
}

.footer-links i {
    font-size: 0.7rem;
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding: 2rem 0;
    position: relative;
}

.footer-bottom p {
    opacity: 0.7;
    font-size: 0.9rem;
    margin: 0;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--secondary-color), #2980b9);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
    z-index: 999;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
    }
    50% {
        box-shadow: 0 6px 20px rgba(52, 152, 219, 0.6), 0 0 0 10px rgba(52, 152, 219, 0.1);
    }
}

.back-to-top:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 10px 35px rgba(52, 152, 219, 0.6);
    animation: none;
}

/* ===================================
   Animations
   =================================== */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 968px) {
    .top-header {
        padding: 0.4rem 0;
        font-size: 0.75rem;
    }

    .header-contact {
        flex-direction: row;
        gap: 1rem;
    }

    .navbar {
        top: 33px;
    }

    .navbar.scrolled {
        top: 0;
    }

    .logo-img {
        height: 70px;
    }

    .navbar.scrolled .logo-img {
        height: 40px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 110px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .navbar.scrolled .nav-menu {
        top: 70px;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu a {
        color: var(--text-dark);
        text-shadow: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .hero-slider {
        height: 100vh;
        min-height: 500px;
    }

    .slide-title {
        font-size: 2.25rem;
        line-height: 1.3;
        margin-bottom: 1.5rem;
    }

    .slide-description {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }

    .slider-btn {
        padding: 0.5rem 0.75rem;
        font-size: 1.25rem;
        width: 45px;
        height: 45px;
    }
    
    .slider-btn.prev {
        left: 10px;
    }
    
    .slider-btn.next {
        right: 10px;
    }

    .service-detail-card,
    .service-detail-card.reverse {
        grid-template-columns: 1fr;
        padding: 2rem;
        direction: ltr;
        gap: 2rem;
    }
    
    .service-detail-card h2 {
        font-size: 1.75rem;
    }
    
    .service-detail-card p,
    .service-detail-card ul {
        font-size: 0.95rem;
    }
    
    .service-detail-image img {
        max-height: 250px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }

    .form-row:first-child {
        grid-template-columns: 1fr;
    }

    .services-grid-home {
        grid-template-columns: 1fr;
    }

    .vision-mission-home {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .vm-box {
        padding: 2rem 1.5rem;
    }
    
    .clients-slider-container {
        overflow: visible;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .contact-form-home {
        padding: 2rem;
    }

    .about-section,
    .services-section,
    .contact-section-home {
        padding: 4rem 0;
    }
    
    .slider-dots {
        bottom: 25px;
    }
    
    .slider-dot {
        width: 10px;
        height: 10px;
    }

}

@media (max-width: 600px) {
    .hero-slider {
        height: 100vh;
        min-height: 450px;
    }

    .logo-img {
        height: 60px;
    }

    .navbar.scrolled .logo-img {
        height: 35px;
    }

    .slide-title {
        font-size: 1.75rem;
    }

    .slide-description {
        font-size: 0.9rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .values-grid,
    .reasons-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .slide-title {
        font-size: 1.75rem;
        line-height: 1.25;
        margin-bottom: 1rem;
    }

    .slide-description {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }
    
    .slider-btn {
        padding: 0.4rem 0.6rem;
        font-size: 1rem;
        width: 40px;
        height: 40px;
        opacity: 0.7;
    }
    
    .slider-btn:hover {
        opacity: 1;
    }
    
    .slider-btn.prev {
        left: 5px;
    }
    
    .slider-btn.next {
        right: 5px;
    }

    .contact-form-home {
        padding: 1.5rem;
    }

    .contact-header h2 {
        font-size: 1.75rem;
    }

    .service-icon-box {
        font-size: 2.5rem;
    }
    
    .top-header {
        font-size: 0.7rem;
    }
    
    .header-contact a {
        padding: 0.25rem 0.5rem;
    }
    
    .footer-content {
        text-align: left;
    }
    
    .footer-logo,
    .footer-links {
        text-align: left;
    }
    
    .footer-links a {
        justify-content: flex-start;
    }

    .back-to-top {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 1.1rem;
    }

    .service-box {
        padding: 2rem 1.5rem;
    }
    
    .service-box h3 {
        font-size: 1.35rem;
    }
    
    .service-box p {
        font-size: 0.95rem;
    }

    .btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    .slide-content {
        padding: 0 1.5rem;
    }

    .clients-home h2 {
        font-size: 1.75rem;
    }

    .vm-icon {
        font-size: 2.5rem;
    }
    
    .vm-box h3 {
        font-size: 1.35rem;
    }
    
    .vm-box p {
        font-size: 0.95rem;
    }
    
    .vm-box {
        padding: 1.75rem 1.25rem;
    }

    /* Hide desktop slider on mobile */
    .clients-slider {
        display: none;
    }
    
    /* Show mobile horizontal scroll */
    .clients-scroll-mobile {
        display: flex;
        flex-direction: row;
        gap: 1.5rem;
        padding: 2rem 1rem;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        scroll-snap-type: x proximity;
        position: relative;
    }
    
    /* Add fade effect on edges to indicate scrollability */
    .clients-slider-container {
        position: relative;
    }
    
    .clients-slider-container::after {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        bottom: 50px;
        width: 40px;
        background: linear-gradient(to left, rgba(248, 249, 250, 1), rgba(248, 249, 250, 0));
        pointer-events: none;
        z-index: 1;
    }
    
    .clients-scroll-mobile::-webkit-scrollbar {
        height: 6px;
    }
    
    .clients-scroll-mobile::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }
    
    .clients-scroll-mobile::-webkit-scrollbar-thumb {
        background: var(--secondary-color);
        border-radius: 10px;
    }
    
    .clients-scroll-mobile::-webkit-scrollbar-thumb:hover {
        background: #2980b9;
    }

    .clients-scroll-mobile img {
        max-width: 160px;
        max-height: 100px;
        min-width: 140px;
        padding: 1rem 1.25rem;
        width: auto;
        height: auto;
        flex-shrink: 0;
        background: var(--white);
        border-radius: 12px;
        box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
        transition: all 0.3s ease;
        scroll-snap-align: start;
    }
    
    .clients-scroll-mobile img:hover {
        transform: scale(1.05);
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }

    .clients-slider-dots {
        display: flex;
        margin-top: 2rem;
        gap: 0.75rem;
    }
    
    .clients-dot {
        width: 12px;
        height: 12px;
    }
    
    /* Improve very small mobile screens (< 400px) */
    @media (max-width: 400px) {
        .slide-title {
            font-size: 1.5rem;
        }
        
        .slide-description {
            font-size: 0.9rem;
        }
        
        .clients-scroll-mobile {
            gap: 1.25rem;
            padding: 1.5rem 0.75rem;
        }
        
        .clients-scroll-mobile img {
            max-width: 140px;
            max-height: 90px;
            min-width: 120px;
            padding: 0.875rem 1rem;
        }
        
        .slider-btn {
            width: 35px;
            height: 35px;
            font-size: 0.9rem;
        }
        
        .section-header h2 {
            font-size: 1.5rem;
        }
    }

}

