/* --- CSS VARIABLES & TOKENS --- */
:root {
    /* Colors - Professional Navy & Construction Orange */
    --clr-bg: #f4f7f6; /* Very light grey/blue */
    --clr-surface: #ffffff;
    
    --clr-primary: #0a192f; /* Deep Navy Blue */
    --clr-primary-light: #172a45;
    
    --clr-accent: #ff6b35; /* Vibrant Orange */
    --clr-accent-hover: #e85a28;
    
    --clr-text: #333333;
    --clr-text-muted: #666666;
    --clr-text-light: #f8f9fa;
    
    --clr-border: rgba(10, 25, 47, 0.1);
    
    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    
    /* Spacing */
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- RESET & GLOBAL STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--clr-bg);
    color: var(--clr-text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

.section-padding {
    padding: 6rem 0;
}

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

.text-accent {
    color: var(--clr-accent);
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--clr-primary);
    line-height: 1.2;
    font-weight: 700;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.subtitle {
    display: inline-block;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--clr-accent);
    margin-bottom: 0.5rem;
}

/* --- BUTTONS --- */
.btn-primary, .btn-outline {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.875rem;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary {
    background-color: var(--clr-accent);
    color: #fff;
    border: 2px solid var(--clr-accent);
}

.btn-primary:hover {
    background-color: var(--clr-accent-hover);
    border-color: var(--clr-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1rem;
}

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

.btn-outline:hover {
    background-color: #fff;
    color: var(--clr-primary);
}

/* --- NAVIGATION --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition-smooth);
    background: linear-gradient(to bottom, rgba(10, 25, 47, 0.9) 0%, rgba(10, 25, 47, 0) 100%);
}

.navbar.scrolled {
    background: var(--clr-primary);
    padding: 1rem 5%;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

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

.logo-text {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.logo-sub {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ccc;
    margin-top: 5px;
}

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

.nav-links a {
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    position: relative;
}

.nav-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--clr-accent);
    transition: var(--transition-smooth);
}

.nav-links a:not(.btn-primary):hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--clr-primary);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.mobile-menu.active {
    right: 0;
}

.close-menu {
    position: absolute;
    top: 2rem;
    right: 5%;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
}

.mobile-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.mobile-links a {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

/* --- HERO SECTION & SWIPER 3D --- */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background-color: var(--clr-primary);
}

.swiper.hero-slider {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 5%;
    overflow: hidden;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.slide-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1); /* For GSAP parallax zoom out */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(10,25,47,0.9) 0%, rgba(10,25,47,0.4) 100%);
}

.slide-content {
    max-width: 600px;
    opacity: 0;
    transform: translateY(30px);
    z-index: 10;
}

.slide-title {
    font-size: clamp(3rem, 6vw, 5rem);
    color: #fff;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.slide-desc {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 2.5rem;
}

/* Swiper Controls */
.swiper-button-next, .swiper-button-prev {
    color: var(--clr-accent);
    background: rgba(255,255,255,0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    backdrop-filter: blur(5px);
}
.swiper-button-next:hover, .swiper-button-prev:hover {
    background: var(--clr-accent);
    color: #fff;
}
.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 1.2rem;
}
.swiper-pagination-bullet {
    background: #fff;
    opacity: 0.5;
}
.swiper-pagination-bullet-active {
    background: var(--clr-accent);
    opacity: 1;
}

/* --- ABOUT SECTION --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    color: var(--clr-text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.feature-list li {
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    color: var(--clr-primary);
}

.feature-list i {
    color: var(--clr-accent);
    font-size: 1.2rem;
}

.about-images {
    position: relative;
}

.main-img img {
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background-color: var(--clr-accent);
    color: #fff;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
}

.experience-badge .num {
    display: block;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* --- SERVICES SECTION --- */
.services-section {
    background-color: var(--clr-surface);
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.service-card {
    background-color: var(--clr-bg);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition-smooth);
    border: 1px solid var(--clr-border);
}

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

.card-img {
    height: 200px;
    overflow: hidden;
}

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

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

.card-content {
    padding: 2rem;
    position: relative;
}

.card-icon {
    position: absolute;
    top: -25px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--clr-accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

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

/* --- CTA SECTION --- */
.cta-section {
    padding: 6rem 5%;
    background-color: var(--clr-primary);
    color: #fff;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('https://images.pexels.com/photos/544966/pexels-photo-544966.jpeg') center/cover;
    opacity: 0.1;
}

.cta-section h2 {
    color: #fff;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}
.cta-section p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
}
.cta-section .btn-primary {
    position: relative;
    z-index: 1;
}

/* --- FOOTER --- */
.footer {
    background-color: var(--clr-primary-light);
    color: #fff;
    padding: 5rem 0 2rem;
}

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

.footer-brand h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 0;
}
.company-desc {
    color: #ccc;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.footer h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-contact p {
    color: #ccc;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.footer-contact i {
    color: var(--clr-accent);
}

.footer-contact a {
    color: #ccc;
    word-break: break-word;
}

.footer-contact a:hover {
    color: var(--clr-accent);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.footer-links a {
    color: #ccc;
}
.footer-links a:hover {
    color: var(--clr-accent);
    padding-left: 5px;
}

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

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .experience-badge {
        bottom: 20px;
        left: 20px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hamburger {
        display: block;
    }
    
    .slide-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .experience-badge {
        padding: 1.5rem;
    }
    
    .experience-badge .num {
        font-size: 2rem;
    }
}