/* =========================================================================
   Base Variables & Resets
========================================================================= */
:root {
    /* Primary Color Palette */
    --color-primary: #FBBF24;
    /* Professional Gold/Yellow */
    --color-primary-dark: #D97706;
    --color-secondary: #065F46;
    /* Deep Corporate Green */
    --color-secondary-light: #10B981;

    /* Neutrals */
    --text-main: #334155;
    /* Slate 700 */
    --text-light: #64748B;
    /* Slate 500 */
    --bg-white: #FFFFFF;
    --bg-light: #F8FAFC;
    /* Slate 50 */
    --bg-dark: #0F172A;
    /* Slate 900 */

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Shadows & Transitions */
    --shadow-soft: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* =========================================================================
   Typography & Typography Utilities
========================================================================= */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--bg-dark);
}

.section {
    padding: 6rem 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(251, 191, 36, 0.1);
    color: var(--color-primary-dark);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

/* Button */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--bg-dark);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* =========================================================================
   Header & Navigation (Glassmorphism)
========================================================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 1.5rem 0;
}

/* Scrolled state for header */
.header.scrolled {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-bab {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-secondary);
    line-height: 1;
}

.logo-int {
    font-size: 0.75rem;
    color: var(--text-light);
    letter-spacing: 0.5px;
}

.nav-list {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--text-main);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-secondary);
}

.header:not(.scrolled) .nav-link:not(.btn-contact) {
    color: var(--bg-white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.header:not(.scrolled) .logo-bab,
.header:not(.scrolled) .logo-int {
    color: var(--bg-white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.btn-contact {
    background-color: var(--color-secondary);
    color: var(--bg-white) !important;
    padding: 0.6rem 1.25rem;
    border-radius: 4px;
    text-shadow: none !important;
}

.btn-contact:hover {
    background-color: var(--color-secondary-light);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--color-secondary);
    transition: var(--transition);
}

/* =========================================================================
   Hero Section (Swiper)
========================================================================= */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
}

.hero-slide {
    position: relative;
    display: flex;
    align-items: center;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.8) 0%, rgba(15, 23, 42, 0.3) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding-top: 100px;
    /* Offset for header */
}

.hero-title {
    font-size: 4rem;
    color: var(--bg-white);
    max-width: 800px;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-bottom: 2.5rem;
}

/* Swiper Overrides */
.swiper-button-next,
.swiper-button-prev {
    color: var(--bg-white);
}

.swiper-pagination-bullet {
    background: var(--bg-white);
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background: var(--color-primary);
    opacity: 1;
}

/* =========================================================================
   About Section
========================================================================= */
.about {
    text-align: center;
}

.title-underline {
    width: 80px;
    height: 4px;
    background-color: var(--color-primary);
    margin: 0 auto 2rem;
    border-radius: 2px;
}

.about-text {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--text-light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.stat-item {
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 8px;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--color-secondary);
}

.stat-label {
    color: var(--text-light);
    font-weight: 500;
}

/* About Card */
.about-card {
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

@media (min-width: 992px) {
    .about-card {
        flex-direction: row;
        align-items: center;
    }
}

.about-card-img {
    flex: 1;
    min-height: 300px;
}

.about-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 100%;
}

.about-card-content {
    flex: 1.2;
    padding: 3rem 2rem;
    text-align: left;
}

.about-card-content h3 {
    font-size: 2rem;
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
}

.about-card-content p {
    color: var(--text-main);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    line-height: 1.8;
}

.mt-4 {
    margin-top: 1.5rem;
}

.btn-outline {
    background: transparent;
    color: var(--color-secondary);
    border: 2px solid var(--color-secondary);
    padding: 0.8rem 1.8rem;
}

.btn-outline:hover {
    background: var(--color-secondary);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* =========================================================================
   Services Section (CSS Grid)
========================================================================= */
.bg-light {
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-primary);
}

.service-img-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img {
    transform: scale(1.05);
}

.service-icon-acc {
    position: absolute;
    bottom: -20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: 4px solid var(--bg-white);
}

.service-content {
    padding: 2.5rem 2rem 2rem;
}

.service-name {
    font-size: 1.5rem;
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.service-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.service-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}

/* =========================================================================
   Gallery Section
========================================================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-overlay span {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    transform: translateY(20px);
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay span {
    transform: translateY(0);
}

/* =========================================================================
   Footer Section
========================================================================= */
.footer {
    background-color: var(--bg-dark);
    color: var(--bg-light);
    padding: 4rem 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--text-light);
    margin-top: 1rem;
    max-width: 300px;
}

.footer-logo {
    color: var(--bg-white);
    font-size: 1.5rem;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--bg-white);
    margin-bottom: 1.5rem;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: var(--text-light);
}

.footer-links ul li a:hover {
    color: var(--color-primary);
}

.footer-contact p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    text-align: center;
    color: var(--text-light);
    font-size: 0.875rem;
}

/* =========================================================================
   Animations & Reveal Classes
========================================================================= */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

[data-animation="fade-up"] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

[data-animation="fade-up"].active {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================================
   Responsive Design
========================================================================= */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-list {
        display: none;
        /* simple mobile nav override needed in real app */
    }

    .mobile-toggle {
        display: flex;
    }

    .header:not(.scrolled) .mobile-toggle span {
        background-color: var(--bg-white);
    }

    .stats-grid,
    .footer-container {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.5rem;
    }
}