:root {
    --primary-color: #eab308; /* Stylish vibrant yellow */
    --primary-dark: #ca8a04; /* Darker yellow for hover effects */
    --secondary-color: #fefce8; /* Very soft yellow for backgrounds */
    --text-color: #171717; /* Deep black for text */
    --text-light: #525252;
    --bg-color: #ffffff;
    --bg-light: #f9f9f9;
    --dark-bg: #111111; /* Pure dark for footer */
    --border-color: #eaeaea;
    --radius: 12px;
    --radius-round: 50px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 40px rgba(212, 163, 115, 0.15);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    --header-height: 80px;
}

/* =========== RESET & BASE =========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

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

.section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--dark-bg);
}

.section-title {
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-title .line {
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

.section-title.center .line {
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: var(--radius-round);
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 15px rgba(234, 179, 8, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: all 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(234, 179, 8, 0.6);
    color: #fff;
}

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

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

/* ========== HEADER ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.header.scrolled {
    height: 70px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 50px;
    background-color: #ffffff;
    padding: 5px 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    object-fit: contain;
    transition: var(--transition);
}

.header.scrolled .logo img {
    height: 40px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-list {
    display: flex;
    gap: 25px;
}

.nav-link {
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-bg);
}

/* ========== HERO SECTION ========== */
.hero {
    padding-top: calc(var(--header-height) + 60px);
    background: linear-gradient(135deg, #fff 0%, #fdfbf7 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Hero abstract shape */
.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 50vw;
    height: 50vw;
    background-color: var(--secondary-color);
    border-radius: 50%;
    z-index: 0;
    opacity: 0.6;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 600px;
}

.subtitle {
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.title {
    font-size: 3.5rem;
    margin-bottom: 25px;
    color: var(--dark-bg);
}

.description {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.description strong {
    color: var(--primary-color);
}

.hero-btns {
    display: flex;
    gap: 15px;
}

.hero-image {
    position: relative;
}

.hero-image::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -20px;
    right: 20px;
    top: 20px;
    border: 2px solid var(--primary-color);
    border-radius: var(--radius);
    z-index: -1;
}

.hero-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    width: 100%;
}

/* Banner Slider inside Hero */
.banner-slider {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.banner-slide.active {
    opacity: 1;
}

/* ========== ABOUT SECTION ========== */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    width: 100%;
}

.about-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-item p {
    font-weight: 500;
    color: var(--dark-bg);
    margin: 0;
}

/* ========== SERVICES SECTION ========== */
.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.service-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--border-color);
    text-align: center;
    position: relative;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 40px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    padding: 2px;
    background: linear-gradient(45deg, transparent, var(--primary-color), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: 0.4s;
    z-index: -1;
}

.service-card:hover::before {
    opacity: 1;
}

.service-img {
    height: 200px;
    margin-bottom: 25px;
    overflow: hidden;
    border-radius: calc(var(--radius) - 5px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
}

.service-img img {
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-img img {
    transform: scale(1.05);
}

.service-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-info p {
    color: var(--text-light);
}

/* ========== GALLERY SECTION ========== */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.2) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line><line x1="11" y1="8" x2="11" y2="14"></line><line x1="8" y1="11" x2="14" y2="11"></line></svg>') no-repeat center;
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* ========== MODAL / LIGHTBOX ========== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 5vh;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    animation: zoom 0.3s;
    border-radius: 8px;
}

@keyframes zoom {
    from {transform:scale(0.9); opacity: 0;} 
    to {transform:scale(1); opacity: 1;}
}

.modal-close {
    position: fixed;
    top: 20px;
    right: 40px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: 300;
    transition: 0.3s;
    cursor: pointer;
    z-index: 2001;
}

.modal-close:hover,
.modal-close:focus {
    color: var(--primary-color);
    text-decoration: none;
}

/* ========== TESTIMONIALS ========== */
.testimonial-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    position: relative;
    text-align: left;
}

.quote-icon {
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.3;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-light);
}

.client-name {
    font-weight: 600;
    color: var(--dark-bg);
}

/* ========== FOOTER ========== */
.footer {
    background-color: var(--dark-bg);
    color: #fff;
    padding-top: 80px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    height: 70px;
    margin-bottom: 20px;
    background-color: #ffffff;
    padding: 10px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    object-fit: contain;
}

.footer-col p {
    color: #aaa;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1.2rem;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-col h3 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 25px;
}

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

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

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

/* ========== ANIMATIONS ========== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}
.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}
.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}
.reveal-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.active.reveal,
.active.reveal-left,
.active.reveal-right,
.active.reveal-up {
    opacity: 1;
    transform: translate(0, 0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
    .title {
        font-size: 2.8rem;
    }
    .hero-container,
    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero::before {
        display: none;
    }
    .hero-content {
        margin: 0 auto;
    }
    .hero-btns {
        justify-content: center;
    }
    .section-title.center .line,
    .about-content .section-title .line {
        margin: 0 auto;
    }
    .stats {
        justify-content: center;
    }
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: #fff;
        flex-direction: column;
        justify-content: center;
        transition: var(--transition);
    }
    .nav-menu.active {
        left: 0;
    }
    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        font-size: 1.2rem;
    }
    .mobile-toggle {
        display: block;
    }
    .hero {
        padding-top: 120px;
    }
    .title {
        font-size: 2.2rem;
    }
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .contact-info li {
        justify-content: center;
    }
    .social-links {
        justify-content: center;
    }
}
