/* ============ BASE STYLES ============ */
:root {
    --clr-primary: #0d9488;
    --clr-primary-dark: #0f766e;
    --clr-secondary: #3b82f6;
    --clr-accent: #f59e0b;
    --clr-dark: #1e293b;
    --clr-light: #f8fafc;
    --clr-text: #1e293b;
    --clr-text-light: #64748b;
    --clr-surface: #ffffff;
    --clr-bg: #f1f5f9;
    --clr-border: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --transition: all 0.3s ease;
    --font-main: 'Inter', system-ui, sans-serif;
    --font-heading: 'Montserrat', system-ui, sans-serif;
    --max-width: 1200px;
    --section-padding: 6rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--clr-text);
    background-color: var(--clr-bg);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--clr-primary);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: var(--clr-text-light);
}

.grid {
    display: grid;
    gap: 2rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--clr-primary);
    color: white;
}

.btn-primary:hover {
    background: var(--clr-primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--clr-secondary);
    color: white;
}

.btn-secondary:hover {
    background: #2563eb;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-block {
    display: block;
    width: 100%;
}

.text-center {
    text-align: center;
}

/* ============ HEADER ============ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-sm);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
    padding: 0.75rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--clr-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo img {
    height: 75px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--clr-text);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--clr-primary);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--clr-text);
    z-index: 1001;
}

/* ============ HERO SECTION ============ */
.hero {
    height: 100vh;
    min-height: 800px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: white;
}

.page-hero {
    padding: 12rem 0 6rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slider .slide.active {
    opacity: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* ============ ABOUT SECTION ============ */
.about {
    background: var(--clr-surface);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-card {
    background: var(--clr-bg);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 2rem;
    color: var(--clr-primary);
    margin-bottom: 1rem;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-height: 500px;
}

/* ============ SERVICES SECTION ============ */
.services {
    background: var(--clr-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--clr-surface);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
    padding: 2rem;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.service-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
}

.service-icon {
    font-size: 3rem;
    color: var(--clr-primary);
    margin-bottom: 1.5rem;
}

.service-content {
    padding: 1.5rem;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--clr-primary);
}

.service-list {
    margin-top: 1rem;
    text-align: left;
}

.service-list li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--clr-primary);
    font-weight: bold;
}

/* Service Detail Pages */
.service-detail {
    margin-bottom: 4rem;
    padding: 2rem;
    background: var(--clr-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.service-header {
    text-align: center;
    margin-bottom: 3rem;
}

.service-header h2 {
    color: var(--clr-primary);
    font-size: 2.5rem;
}

.service-header p {
    font-size: 1.2rem;
    color: var(--clr-text-light);
}

.service-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--clr-border);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.service-features li:last-child {
    border-bottom: none;
}

.service-features .fas.fa-check {
    color: var(--clr-primary);
}

.service-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.service-image img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

/* ============ FAQ SECTION ============ */
.faq {
    background: var(--clr-surface);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    text-align: left;
    background: var(--clr-primary);
    color: white;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--clr-primary-dark);
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    background: var(--clr-bg);
    transition: max-height 0.3s ease-out;
}

.faq-answer-content {
    padding: 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* ============ CONTACT SECTION ============ */
.contact {
    background: var(--clr-bg);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--clr-surface);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--clr-primary);
    background: var(--clr-bg);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-details h3 {
    margin-bottom: 0.5rem;
    color: var(--clr-primary);
}

.contact-details a {
    color: var(--clr-secondary);
    font-weight: 500;
}

.business-hours {
    background: var(--clr-surface);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.business-hours h3 {
    color: var(--clr-primary);
    margin-bottom: 1rem;
}

.business-hours li {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--clr-border);
}

.business-hours li:last-child {
    border-bottom: none;
}

.business-hours span {
    font-weight: 600;
}

.contact-form-wrapper {
    background: var(--clr-surface);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.contact-form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-form-header h2 {
    color: var(--clr-primary);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--clr-text);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    transition: var(--transition);
    background: var(--clr-surface);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--clr-primary);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.2);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.form-alternative {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--clr-border);
}

.whatsapp-btn {
    background: #25D366;
    color: white;
}

.whatsapp-btn:hover {
    background: #128C7E;
}

/* ============ CAREERS PAGE ============ */
.job-listings {
    background: var(--clr-bg);
}

.job-card {
    background: var(--clr-surface);
    border-radius: var(--radius-md);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.job-title {
    color: var(--clr-primary);
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.job-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    color: var(--clr-text-light);
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.job-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.job-description {
    margin-bottom: 1.5rem;
}

.job-requirements {
    margin-bottom: 1.5rem;
}

.job-requirements h4 {
    margin-bottom: 0.5rem;
    color: var(--clr-primary);
}

.job-requirements ul {
    list-style: disc;
    margin-left: 1.5rem;
}

.job-requirements li {
    margin-bottom: 0.3rem;
    color: var(--clr-text-light);
}

.job-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.process-step {
    padding: 2rem 1rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--clr-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

/* ============ SUPPORT PAGE ============ */
.support-options {
    background: var(--clr-surface);
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.support-card {
    background: var(--clr-surface);
    border-radius: var(--radius-md);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.support-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.support-icon {
    font-size: 3rem;
    color: var(--clr-primary);
    margin-bottom: 1.5rem;
}

.support-card h3 {
    margin-bottom: 1rem;
    color: var(--clr-primary);
}

.support-card p {
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.knowledge-base {
    background: var(--clr-bg);
}

.kb-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.kb-category {
    background: var(--clr-surface);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-radius: var(--radius-md);
}

.kb-category:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.kb-icon {
    font-size: 2.5rem;
    color: var(--clr-primary);
    margin-bottom: 1rem;
}

.kb-category h4 {
    margin-bottom: 0.5rem;
    color: var(--clr-primary);
}

.kb-category p {
    margin-bottom: 1rem;
    color: var(--clr-text-light);
    font-size: 0.9rem;
}

.kb-link {
    color: var(--clr-primary);
    font-weight: 500;
}

.emergency-support {
    background: var(--clr-dark);
    color: white;
    text-align: center;
}

.emergency-contacts {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ============ MAP SECTION ============ */
.map-section {
    background: var(--clr-surface);
}

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* ============ CTA SECTION ============ */
.cta {
    text-align: center;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============ FOOTER ============ */
.footer {
    background: var(--clr-dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--clr-primary);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-link {
    color: #94a3b8;
    transition: var(--transition);
}

.footer-link:hover {
    color: white;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--clr-primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-size: 0.9rem;
}

/* ============ BACK TO TOP BUTTON ============ */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--clr-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--clr-primary-dark);
    transform: translateY(-3px);
}

/* ============ WHATSAPP FLOATING BUTTON ============ */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    left: 25px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}

/* ============ RESPONSIVE STYLES ============ */
@media (max-width: 992px) {
    :root {
        --section-padding: 4rem;
    }

    .about-container,
    .contact-container,
    .service-content-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 3rem;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--clr-surface);
        flex-direction: column;
        justify-content: center;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
    }

    .hero-btns,
    .job-cta,
    .service-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .job-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .cta-buttons,
    .emergency-contacts {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .section {
        padding: 3rem 0;
    }

    .container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .page-hero {
        padding: 8rem 0 4rem;
    }

    .service-detail {
        padding: 1rem;
    }

    .contact-method {
        flex-direction: column;
        text-align: center;
    }

    .contact-icon {
        align-self: center;
    }
}