/* ===== CSS Reset & Variables ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1a4d8c;
    --primary-dark: #0d3a6e;
    --primary-light: #2a6cb8;
    --secondary: #333333;
    --accent: #e67e22;
    --text: #444444;
    --text-light: #666666;
    --white: #ffffff;
    --light-bg: #f5f5f5;
    --border: #dddddd;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ===== Top Bar ===== */
.top-bar {
    background: var(--primary);
    color: var(--white);
    padding: 8px 0;
    font-size: 13px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-info {
    display: flex;
    gap: 25px;
}

.top-info span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-social {
    display: flex;
    gap: 15px;
}

.top-social a {
    color: var(--white);
    transition: var(--transition);
}

.top-social a:hover {
    color: var(--accent);
}

/* ===== Header ===== */
.header {
    background: var(--white);
    padding: 15px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 2px;
}

.logo-sub {
    font-size: 12px;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 4px;
}

.logo-text {
    font-size: 26px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 2px;
}

.logo-sub {
    font-size: 11px;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 4px;
}

.nav-list {
    display: flex;
    gap: 30px;
    align-items: center;
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--secondary);
    color: var(--secondary);
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: var(--transition);
    font-family: inherit;
    font-size: 14px;
}

.lang-btn:hover {
    background: var(--secondary);
    color: var(--white);
}

.nav-list a {
    color: var(--secondary);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    padding: 10px 0;
    position: relative;
    transition: var(--transition);
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-list a:hover {
    color: var(--primary);
}

.nav-list a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--secondary);
    border-radius: 3px;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-text {
    text-align: center;
    color: var(--white);
}

.slide-subtitle {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.slider-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
}

.slider-nav button {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.slider-nav button:hover {
    background: var(--primary);
}

/* ===== About Section ===== */
.about {
    padding: 80px 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.about-text h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.about-title {
    color: var(--accent);
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.8;
}

.about-contact {
    margin-top: 25px;
}

.about-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary);
    color: var(--white);
    padding: 12px 25px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 5px;
    transition: var(--transition);
}

.about-phone:hover {
    background: var(--primary-dark);
}

.about-phone i {
    font-size: 20px;
}

/* ===== Page Header ===== */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}

.page-header h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 16px;
    opacity: 0.9;
}

/* ===== About Page ===== */
.about-page {
    padding: 80px 0;
    background: var(--white);
}

.about-page-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-page-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.about-page-text h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.about-page-text .about-title {
    color: var(--accent);
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 25px;
}

.about-page-text p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.8;
    text-align: center;
}

/* ===== Services Page ===== */
.services-page {
    padding: 80px 0;
    background: var(--white);
}

.about-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin: 40px 0;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-weight: 500;
}

.about-feature i {
    color: var(--accent);
    font-size: 18px;
}

.about-contact-box {
    background: var(--light-bg);
    padding: 25px;
    border-radius: 10px;
    display: inline-block;
    min-width: 300px;
    text-align: center;
    margin-top: 30px;
}

.about-contact-box h4 {
    font-size: 18px;
    color: var(--secondary);
    margin-bottom: 15px;
}

.about-phone-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--primary);
    color: var(--white);
    padding: 15px 30px;
    font-size: 20px;
    font-weight: 700;
    border-radius: 5px;
    transition: var(--transition);
}

.about-phone-btn:hover {
    background: var(--accent);
}

.about-phone-btn i {
    font-size: 22px;
}

/* ===== Stats Section ===== */
.stats-section {
    padding: 60px 0;
    background: var(--primary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    color: var(--white);
}

.stat-number {
    display: block;
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
}

/* ===== Welcome Section ===== */
.welcome {
    padding: 80px 0;
    background: var(--white);
}

.welcome-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.welcome-text h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}

.welcome-line {
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin-bottom: 25px;
}

.welcome-text p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.8;
    text-align: justify;
}

.welcome-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: var(--shadow);
}

/* ===== Section Header ===== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-line {
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 0 auto 20px;
}

.section-header p {
    color: var(--text-light);
    font-size: 15px;
}

/* ===== Services Section ===== */
.services {
    padding: 80px 0;
    background: var(--light-bg);
}

.services-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 12px 30px;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--primary);
    color: var(--white);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-item {
    background: var(--white);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.service-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-item h4 {
    padding: 20px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary);
    background: var(--white);
}

/* ===== References Section ===== */
.references {
    padding: 80px 0;
    background: var(--white);
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.reference-card {
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.reference-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: var(--transition);
}

.reference-card:hover img {
    transform: scale(1.05);
}

.reference-info {
    padding: 20px;
    background: var(--white);
    text-align: center;
}

.reference-info h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.reference-info p {
    font-size: 12px;
    color: var(--text-light);
}

/* ===== CTA Section ===== */
.cta {
    background: var(--primary);
    padding: 40px 0;
}

.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cta-text h3 {
    color: var(--white);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 5px;
}

.cta-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.cta-phone a {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--white);
    color: var(--primary);
    padding: 15px 30px;
    font-size: 20px;
    font-weight: 700;
    transition: var(--transition);
}

.cta-phone a:hover {
    background: var(--accent);
    color: var(--white);
}

.cta-phone i {
    font-size: 24px;
}

/* ===== Contact Section ===== */
.contact {
    padding: 80px 0;
    background: var(--light-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-item i {
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 5px;
}

.contact-item p {
    font-size: 14px;
    color: var(--text-light);
}

.contact-item a {
    color: var(--primary);
    font-weight: 600;
    font-size: 15px;
}

.contact-item a:hover {
    color: var(--accent);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 35px;
    box-shadow: var(--shadow);
}

.contact-form-wrapper h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 25px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    font-family: inherit;
    font-size: 14px;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.btn-submit {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 14px 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    background: var(--primary-dark);
}

/* ===== Footer ===== */
.footer {
    background: var(--secondary);
    color: var(--white);
    padding-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
    margin-bottom: 15px;
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: var(--transition);
}

.footer-links ul a:hover {
    color: var(--accent);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--accent);
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

/* ===== Lightbox ===== */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 5px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--accent);
}

.service-item {
    cursor: pointer;
}

/* ===== WhatsApp Button ===== */
.whatsapp-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 55px;
    height: 55px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 28px;
    box-shadow: 0 3px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

/* ===== Homepage New Sections ===== */

/* Home About */
.home-about {
    padding: 80px 0;
    background-color: var(--white);
    text-align: center;
}

.home-about-content {
    max-width: 800px;
    margin: 0 auto;
}

.home-about p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
    font-size: 16px;
}

/* Why Us */
.why-us {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.why-us-item {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.why-us-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.why-us-item i {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 20px;
}

.why-us-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--secondary);
}

.why-us-item p {
    font-size: 14px;
    color: var(--text-light);
}

/* Process Section */
.process-section {
    padding: 80px 0;
    background-color: var(--white);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
    position: relative;
}

.process-item {
    position: relative;
    z-index: 2;
}

.process-icon {
    width: 80px;
    height: 80px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    margin: 0 auto 20px;
    box-shadow: 0 0 0 10px rgba(6, 40, 61, 0.1);
}

.process-item h4 {
    margin-bottom: 10px;
    font-size: 18px;
    color: var(--secondary);
}

.process-item p {
    color: var(--text-light);
    font-size: 14px;
}

@media (max-width: 992px) {
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .why-us-grid {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .welcome-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .welcome-image {
        order: -1;
    }

    .service-grid,
    .references-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .nav {
        display: none;
    }

    .nav.active {
        display: flex;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        align-items: center;
    }

    .nav.active .nav-list {
        flex-direction: column;
        gap: 20px;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        height: 350px;
    }

    .slide-subtitle {
        font-size: 18px;
    }

    .welcome {
        padding: 50px 0;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .services-tabs {
        flex-direction: column;
        align-items: center;
    }

    .tab-btn {
        width: 100%;
        max-width: 300px;
    }

    .service-grid,
    .references-grid {
        grid-template-columns: 1fr;
    }

    .cta-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-contact p {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .slide-subtitle {
        font-size: 16px;
        padding: 0 20px;
    }

    .welcome-text h2,
    .section-header h2 {
        font-size: 22px;
    }

    .cta-text h3 {
        font-size: 18px;
    }

    .cta-phone a {
        font-size: 16px;
        padding: 12px 20px;
    }
}