/* assets/css/style.css - REPAIRED & COMPLETE */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:wght@400;600;700&display=swap');

:root {
    --primary: #0f172a;
    /* Dark Navy */
    --primary-light: #1e293b;
    --accent: #cca43b;
    /* Gold */
    --text-dark: #334155;
    --text-light: #64748b;
    --white: #ffffff;
    --off-white: #f1f5f9;
    --border: #e2e8f0;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

/* Base Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--off-white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    /* Prevent horizontal scroll */
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- HEADER --- */
.top-bar {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.8);
    padding: 10px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

header {
    background: var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    font-size: 2.2rem;
    color: var(--accent);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
}

.brand-slogan {
    font-size: 0.8rem;
    color: var(--text-light);
    letter-spacing: 1px;
    text-transform: uppercase;
}

nav {
    display: flex;
    gap: 20px;
    align-items: center;
}

nav a {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

nav a:hover,
nav a.active {
    color: var(--accent);
}

.btn-nav {
    background: var(--accent);
    color: white !important;
    padding: 10px 25px;
    border-radius: 4px;
}

.btn-nav:hover {
    background: var(--primary);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

/* --- HERO SECTION --- */
.hero-section {
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    position: relative;
    background-size: cover;
    background-position: center;
}

/* Dark Overlay */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.75);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
}

.hero-badge {
    display: inline-block;
    background: rgba(204, 164, 59, 0.2);
    color: var(--accent);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 25px;
    border: 1px solid rgba(204, 164, 59, 0.4);
    backdrop-filter: blur(5px);
}

.hero-section h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.9;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
    cursor: pointer;
}

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

.btn-accent:hover {
    background: transparent;
    color: white;
}

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

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

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

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

/* --- STATS BAR --- */
.stats-bar {
    background: white;
    padding: 40px 0;
    margin-top: -50px;
    /* Overlap effect */
    position: relative;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-bottom: 4px solid var(--accent);
    border-radius: 8px 8px 0 0;
    /* Only top radius if attached usually, but here detached */
}

/* Re-add container if needed inside stats-bar in html or adjust here */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
    border-right: 1px solid #eee;
    padding: 0 20px;
}

.stat-item:last-child {
    border-right: none;
}

.stat-item i {
    margin-bottom: 15px;
    display: block;
}

/* --- SERVICES GRID (FIXED) --- */
.section-padding {
    padding: 80px 0;
}

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

.section-header {
    margin-bottom: 50px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.services-grid,
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 35px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f1f1f1;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--accent);
}

.service-card .icon-box {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.read-more {
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

/* --- FOOTER (FIXED) --- */
.main-footer {
    background-color: var(--primary);
    color: #cbd5e1;
    padding: 70px 0 20px;
    margin-top: 80px;
}

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

.footer-col h3 {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent);
}

.footer-col p {
    margin-bottom: 15px;
    line-height: 1.7;
    font-size: 0.9rem;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #cbd5e1;
    transition: 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-links i {
    font-size: 0.8rem;
    color: var(--accent);
}

.contact-info li {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    align-items: flex-start;
}

.contact-info i {
    color: var(--accent);
    margin-top: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
}

/* --- RESPONSIVE FIXES --- */
@media (max-width: 900px) {
    .stats-bar {
        margin-top: 30px;
        border-radius: 0;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid #eee;
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .nav-wrapper {
        flex-wrap: wrap;
        height: auto;
        padding: 15px 0;
    }

    #nav-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        margin-top: 20px;
    }

    .mobile-menu-btn {
        display: block;
        position: absolute;
        right: 0;
        top: 25px;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hide-mobile {
        display: none !important;
    }

    .top-bar .container {
        justify-content: center !important;
    }

    .top-bar .container {
        justify-content: center !important;
    }
}

/* --- FAQ ACCORDION --- */
.faq-section {
    background: #f8fafc;
    padding: 80px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.faq-item.active {
    border-left: 4px solid var(--accent);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}

.faq-question:hover {
    background: #fdfdfd;
    color: var(--accent);
}

.faq-toggle-icon {
    font-size: 0.9rem;
    color: var(--text-light);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle-icon {
    transform: rotate(45deg);
    color: var(--accent);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-light);
    line-height: 1.7;
    border-top: 1px solid transparent;
}

.faq-item.active .faq-answer {
    padding: 0 25px 25px;
    max-height: 500px;
    /* Arbitrary large height */
    border-top-color: #f1f5f9;
}

/* --- ANIMATIONS --- */
@keyframes pulse-soft {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes float-icon {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0);
    }
}

.service-card i,
.stat-item i,
.icon-box i {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
}

.service-card:hover i {
    transform: scale(1.15);
    color: var(--primary) !important;
}

.stat-item:hover i {
    animation: float-icon 2s infinite ease-in-out;
    color: var(--primary) !important;
}

/* --- SUBPAGE STYLES --- */
.page-hero {
    height: 45vh;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect */
    margin-bottom: 0;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.7) 100%);
    z-index: 1;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

.services-container {
    padding: 80px 20px;
}

.service-summary {
    color: var(--text-light);
    margin-bottom: 25px;
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 4.5em;
    /* Fallback height */
}