/* ==========================================================================
   Global Variables & Reset
   ========================================================================== */
:root {
    --primary-color: #d97706;
    /* Construction Warm Amber */
    --primary-hover: #b45309;
    --dark-bg: #0f172a;
    /* Deep Slate */
    --dark-card: #1e293b;
    --light-bg: #f8fafc;
    --card-bg: #ffffff;
    --text-main: #334155;
    --text-muted: #64748b;
    --border-color: #e2e8f0;

    --font-heading: 'Raleway', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    --radius: 8px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: #ffffff;
    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;
}

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

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--primary-color);
    color: var(--dark-bg);
    padding: 0.8rem 1.8rem;
    border-radius: var(--radius);
    font-weight: 700;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 2px solid var(--primary-color);
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    color: #ffffff;
    box-shadow: var(--shadow-md);
}

.btn-outline-white {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: transparent;
    color: #ffffff;
    padding: 0.8rem 1.8rem;
    border-radius: var(--radius);
    font-weight: 700;
    border: 2px solid #ffffff;
    transition: var(--transition);
}

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

.btn-outline-gold {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: transparent;
    color: var(--primary-color);
    padding: 0.8rem 1.8rem;
    border-radius: var(--radius);
    font-weight: 700;
    border: 2px solid var(--primary-color);
    transition: var(--transition);
}

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

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: var(--dark-bg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    z-index: 1001;
}

.logo-main {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 1px;
}

.logo-r {
    color: var(--primary-color);
}

.logo-main em {
    font-style: normal;
    color: #cbd5e1;
    font-weight: 400;
}

.logo-sub {
    font-size: 0.65rem;
    color: var(--primary-color);
    letter-spacing: 2px;
    font-weight: 700;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: #cbd5e1;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

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

.nav-cta {
    background-color: var(--primary-color);
    color: var(--dark-bg) !important;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius);
    font-weight: 700 !important;
}

.nav-cta:hover {
    background-color: var(--primary-hover);
    color: #ffffff !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: var(--transition);
}

/* ==========================================================================
   Animated Hero Section
   ========================================================================== */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 6rem 5% 4rem;
    color: #ffffff;
    overflow: hidden;
}

.hero-bg-slider {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg-slider .slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: imageFade 15s infinite;
}

.hero-bg-slider .slide-1 {
    background-image: url('https://images.unsplash.com/photo-1541888946425-d0fbb186a5b3?auto=format&fit=crop&w=1600&q=80');
    animation-delay: 0s;
}

.hero-bg-slider .slide-2 {
    background-image: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1600&q=80');
    animation-delay: 5s;
}

.hero-bg-slider .slide-3 {
    background-image: url('https://images.unsplash.com/photo-1590486803833-1c5dc8ddd4c8?auto=format&fit=crop&w=1600&q=80');
    animation-delay: 10s;
}

@keyframes imageFade {
    0% {
        opacity: 0;
        transform: scale(1);
    }

    8% {
        opacity: 1;
    }

    33% {
        opacity: 1;
    }

    41% {
        opacity: 0;
        transform: scale(1.05);
    }

    100% {
        opacity: 0;
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.75) 60%, rgba(15, 23, 42, 0.5) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 750px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(217, 119, 6, 0.15);
    border: 1px solid rgba(217, 119, 6, 0.4);
    color: #fef3c7;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px var(--primary-color);
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.15;
    font-weight: 900;
    margin-bottom: 1.25rem;
    color: #ffffff;
}

.hero-word-gold {
    color: var(--primary-color);
}

.hero-word-outline {
    color: transparent;
    -webkit-text-stroke: 1.5px #ffffff;
}

.hero-content p {
    font-size: 1.15rem;
    color: #e2e8f0;
    margin-bottom: 2rem;
    max-width: 620px;
}

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

/* Dynamic Entrance Animations */
.animate-fadedown {
    animation: fadeInDown 0.8s ease forwards;
}

.animate-fadein {
    animation: fadeIn 0.8s ease 0.2s forwards;
    opacity: 0;
}

.animate-fadein-delay {
    animation: fadeIn 0.8s ease 0.4s forwards;
    opacity: 0;
}

.animate-fadein-delay2 {
    animation: fadeIn 0.8s ease 0.6s forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Marquee Strip
   ========================================================================== */
.marquee-strip {
    background-color: var(--primary-color);
    color: var(--dark-bg);
    overflow: hidden;
    white-space: nowrap;
    padding: 0.8rem 0;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.marquee-track {
    display: inline-flex;
    gap: 3rem;
    animation: marquee 25s linear infinite;
}

.marquee-track span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ==========================================================================
   Stats Banner
   ========================================================================== */
.stats-banner {
    background-color: var(--dark-bg);
    padding: 3.5rem 5%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-item {
    text-align: center;
    color: #ffffff;
}

.stat-icon-wrap {
    width: 50px;
    height: 50px;
    background: rgba(217, 119, 6, 0.15);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    font-size: 1.25rem;
}

.stat-item h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.counter-plus {
    color: var(--primary-color);
}

.stat-item p {
    color: #cbd5e1;
    font-size: 0.9rem;
    font-weight: 600;
}

/* ==========================================================================
   Content Sections General
   ========================================================================== */
.section {
    padding: 5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.dark-section {
    background-color: var(--dark-bg);
    color: #ffffff;
    max-width: 100%;
}

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

.section-label {
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 0.5rem;
}

.section-label.light {
    color: var(--primary-color);
}

.section-title h2 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--dark-bg);
}

.section-title h2.light {
    color: #ffffff;
}

.section-title p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0.5rem auto 0;
}

.section-title p.light {
    color: #94a3b8;
}

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

.service-card {
    background: #ffffff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-img-wrap {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.service-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.service-card-body {
    padding: 1.5rem;
    position: relative;
}

.service-icon {
    position: absolute;
    top: -25px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--dark-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.service-card-body h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--dark-bg);
}

.service-card-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.card-link {
    color: var(--primary-color);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.card-link:hover {
    gap: 0.75rem;
}

/* ==========================================================================
   Why Choose Us
   ========================================================================== */
.why-section {
    background-color: var(--light-bg);
    max-width: 100%;
}

.why-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.why-text h2 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--dark-bg);
    line-height: 1.25;
    margin-bottom: 1.25rem;
}

.why-text p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.why-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.why-feature {
    background: #ffffff;
    padding: 1.25rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.why-icon {
    width: 42px;
    height: 42px;
    background: rgba(217, 119, 6, 0.1);
    color: var(--primary-color);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.why-feature h4 {
    font-family: var(--font-heading);
    color: var(--dark-bg);
    margin-bottom: 0.25rem;
}

.why-feature p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ==========================================================================
   Projects Preview Section
   ========================================================================== */
.projects-preview-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.proj-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.proj-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 230px;
}

.proj-card.large {
    height: 100%;
    min-height: 480px;
}

.proj-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.proj-info {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.2) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    color: #ffffff;
}

.proj-cat {
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.proj-info h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
}

.proj-info p {
    font-size: 0.85rem;
    color: #cbd5e1;
}

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

.testimonial-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: var(--radius);
    position: relative;
    border: 1px solid var(--border-color);
}

.quote-icon {
    font-size: 1.75rem;
    color: rgba(217, 119, 6, 0.2);
    margin-bottom: 0.5rem;
}

.stars {
    color: #f59e0b;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-main);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 42px;
    height: 42px;
    background: var(--dark-bg);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.testimonial-author h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--dark-bg);
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: block;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
    background: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.9)),
        url('https://images.unsplash.com/photo-1541888946425-d0fbb186a5b3?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    padding: 4rem 5%;
    color: #ffffff;
}

.cta-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cta-text h2 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.cta-text p {
    color: #cbd5e1;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    background-color: var(--dark-bg);
    color: #94a3b8;
    padding-top: 4rem;
}

.footer-top {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5% 3rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2.5rem;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-logo em {
    font-style: normal;
    color: #cbd5e1;
    font-weight: 400;
}

.footer-logo small {
    color: var(--primary-color);
    font-size: 0.65rem;
    letter-spacing: 1.5px;
}

.tagline-footer {
    font-style: italic;
    color: var(--primary-color);
    font-size: 0.85rem;
    margin-top: 0.75rem;
}

.footer-links-group h4,
.footer-contact-col h4 {
    color: #ffffff;
    margin-bottom: 1.2rem;
    font-family: var(--font-heading);
}

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

.footer-links-group a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
}

.footer-links-group a i {
    font-size: 0.75rem;
    color: var(--primary-color);
}

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

.footer-contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.footer-contact-item i {
    color: var(--primary-color);
    margin-top: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    padding: 1.5rem 5%;
    font-size: 0.85rem;
}

/* ==========================================================================
   Floating Action Buttons
   ========================================================================== */
.floating-widget-container {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.floating-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.3rem;
    box-shadow: var(--shadow-lg);
    transition: transform 0.2s ease;
}

.floating-btn:hover {
    transform: scale(1.1);
    color: #ffffff;
}

.floating-wa {
    background-color: #25d366;
}

.floating-call {
    background-color: var(--primary-color);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

/* Laptop / Tablet Landscape (<= 1024px) */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 2.75rem;
    }

    .why-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

/* Tablet Portrait & Mobile Nav Breakpoint (<= 900px) */
@media (max-width: 900px) {
    .navbar {
        padding: 0.8rem 1.25rem;
        position: relative;
    }

    .hamburger {
        display: flex;
        margin-left: auto;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--dark-bg);
        padding: 0 1.5rem;
        margin: 0;
        box-shadow: 0 12px 20px rgba(0, 0, 0, 0.4);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        gap: 0;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        visibility: hidden;
        transition: all 0.35s ease-in-out;
        z-index: 999;
    }

    .nav-links.active {
        max-height: 480px;
        opacity: 1;
        visibility: visible;
        padding: 1.25rem 1.5rem 1.75rem;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        display: block;
        color: #ffffff;
        font-size: 1.05rem;
        padding: 0.75rem 0;
        width: 100%;
    }

    .projects-preview-grid {
        grid-template-columns: 1fr;
    }

    .proj-card.large {
        min-height: 320px;
    }

    .cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .cta-actions {
        justify-content: center;
    }
}

/* Mobile Phones (<= 480px) */
@media (max-width: 480px) {
    .hero {
        padding-top: 4rem;
        min-height: 75vh;
    }

    .hero-content h1 {
        font-size: 2.1rem;
    }

    .hero-badge {
        font-size: 0.75rem;
    }

    .why-cards {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .floating-widget-container {
        bottom: 15px;
        right: 15px;
    }

    .floating-btn {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }
}