/* =========================================
   VARIABLES & RESETS
   ========================================= */
:root {
    /* Colors as requested */
    --primary: #F2A900; /* Yellow / Orange */
    --primary-hover: #D99700;
    --dark: #1E2A38;    /* Dark Blue */
    --dark-light: #2A3B4F;
    --light: #F8F9FA;   /* Light Gray */
    --white: #FFFFFF;
    --text-main: #333333;
    --text-light: #666666;
    --border: #E0E0E0;

    /* Shadows & Transitions */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 15px 30px rgba(30, 42, 56, 0.15);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

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

ul {
    list-style: none;
}

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

/* =========================================
   LAYOUT & REUSABLE CLASSES
   ========================================= */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-title {
    font-size: 2.2rem;
    color: var(--dark);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

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

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    text-align: center;
}

.btn i {
    font-size: 1.1rem;
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(242, 169, 0, 0.3);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--dark);
    border-color: var(--white);
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

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

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

.btn-large {
    padding: 1rem 2.2rem;
    font-size: 1.1rem;
}

/* =========================================
   TOP BAR
   ========================================= */
.top-bar {
    background-color: var(--dark);
    color: var(--white);
    padding: 0.5rem 0;
    font-size: 0.9rem;
    font-weight: 500;
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.top-bar-info i {
    color: var(--primary);
    margin-right: 0.5rem;
}

.top-bar-phone {
    color: var(--primary);
    font-weight: 700;
}

.top-bar-phone:hover {
    color: var(--white);
}

/* =========================================
   HEADER & NAVIGATION
   ========================================= */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
    padding: 0.5rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
}

.logo-icon {
    font-size: 2rem;
}

.logo-text span {
    font-weight: 300;
    color: var(--text-light);
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    font-weight: 500;
    color: var(--dark);
    position: relative;
}

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

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--dark);
    cursor: pointer;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1621905251189-08b45d6a269e?q=80&w=2069&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(30, 42, 56, 0.95) 0%, rgba(30, 42, 56, 0.7) 100%);
}

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

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

.badge {
    display: inline-block;
    background-color: rgba(242, 169, 0, 0.2);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid var(--primary);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-title span {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: #E2E8F0;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* =========================================
   SERVICES SECTION
   ========================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--white);
    padding: 2.5rem 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--primary);
}

.card-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(30, 42, 56, 0.05);
    color: var(--dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.service-card:hover .card-icon {
    background-color: var(--dark);
    color: var(--primary);
}

.service-card h3 {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

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

/* =========================================
   FEATURES SECTION
   ========================================= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.feature-item {
    text-align: center;
    padding: 1rem;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.feature-item h4 {
    color: var(--dark);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* =========================================
   LOCATION / MAP
   ========================================= */
.location-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4rem;
}

.location-content {
    flex: 1;
    min-width: 300px;
}

.location-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.location-list {
    margin-bottom: 1.5rem;
}

.location-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
}

.location-list i {
    color: var(--primary);
}

.location-map {
    flex: 1;
    min-width: 300px;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: -10px;
    right: 20px;
    font-size: 5rem;
    color: rgba(30, 42, 56, 0.05);
    font-family: serif;
    line-height: 1;
}

.stars {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.testi-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.testi-author {
    font-weight: 700;
    color: var(--dark);
}

/* =========================================
   CONTACT SECTION
   ========================================= */
.contact {
    background-color: var(--dark);
    color: var(--white);
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
}

.contact-item.a:hover h5 {
    color: var(--primary);
}

.c-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-item h5 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
    color: var(--white);
}

.contact-item p {
    color: #a0aec0;
}

.contact-form-container {
    flex: 1;
    min-width: 300px;
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    color: var(--dark);
}

.contact-form-container h3 {
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(242, 169, 0, 0.1);
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    background-color: #16202A;
    color: #a0aec0;
    padding-top: 4rem;
}

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

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer h4::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: var(--primary);
    bottom: -8px;
    left: 0;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-contact p {
    margin-bottom: 0.8rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    font-size: 0.9rem;
}

.legal-links a {
    margin-left: 1.5rem;
}

.legal-links a:hover {
    color: var(--primary);
}

/* =========================================
   FLOATING BUTTON
   ========================================= */
.floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    color: var(--dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(242, 169, 0, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.floating-btn:hover {
    transform: scale(1.1);
    background-color: var(--primary-hover);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(242, 169, 0, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(242, 169, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(242, 169, 0, 0); }
}

/* =========================================
   ANIMATIONS (JS Fade-In)
   ========================================= */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   MEDIA QUERIES (MOBILE FIRST ADAPTATIONS)
   ========================================= */
@media (max-width: 900px) {
    .nav {
        display: flex;
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        box-shadow: inset 0 5px 10px -5px rgba(0,0,0,0.1);
    }
    
    .nav.active {
        left: 0;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        margin-bottom: 2rem;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero {
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }
    
    .contact-wrapper, .location-wrapper {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .top-bar-container {
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .btn {
        width: 100%;
    }
    
    .floating-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}
