:root {
    --primary: #0a192f; /* Dark Navy - Professionalism */
    --secondary: #ff8c00; /* Construction Orange - Action */
    --light: #f4f4f4;
    --dark: #333;
    --white: #fff;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--dark);
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { width: 100%; display: block; }

/* Utilities */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }
.text-orange { color: var(--secondary); }
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.btn-primary {
    background: var(--secondary);
    color: var(--white);
    border: 2px solid var(--secondary);
}
.btn-primary:hover {
    background: transparent;
    color: var(--secondary);
}
.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
    margin-left: 10px;
}
.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    height: 70px;
    display: flex;
    align-items: center;
}
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.2;
}
.logo img {
    height: 50px;
    width: auto;
    display: block;
}
.logo .highlight { color: var(--secondary); }
.nav-menu { display: flex; align-items: center; }
.nav-menu li { margin-left: 20px; }
.nav-link {
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition);
}
.nav-link:hover { color: var(--secondary); }
.btn-quote {
    background: var(--primary);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 4px;
}
.btn-quote:hover { background: var(--secondary); color: var(--white); }

/* Hamburger Menu (Mobile) */
.menu-toggle { display: none; cursor: pointer; }
.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--primary);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(10, 25, 47, 0.85); /* Darker blue tint for better readabilty */
}
.hero-content {
    position: relative;
    max-width: 800px;
    padding: 0 20px;
    margin: 0 auto;
    text-align: center;
}
.hero-content h1 { font-size: 3.5rem; margin-bottom: 20px; }
.hero-content p { font-size: 1.2rem; margin-bottom: 30px; }

/* Stats */
.stats { background: var(--secondary); color: var(--white); padding: 40px 0; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-box i { font-size: 2rem; margin-bottom: 10px; }
.stat-box h3 { font-size: 2rem; }

/* About Section Styles */
.about-content {
    background: #fff;
    padding: 40px;
    border-left: 5px solid var(--secondary);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-radius: 4px;
}
.about-text {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #444;
}

/* Services */
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 2.5rem; color: var(--primary); margin-bottom: 10px; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}
.service-card:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid var(--secondary);
}
.icon-box {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 20px;
}
.service-list { margin-top: 15px; text-align: left; }
.service-list li { margin-bottom: 8px; color: #555; }
.service-list i { color: var(--secondary); margin-right: 10px; }

/* Client Grid Styles */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    text-align: center;
}
.client-item {
    background: #fff;
    padding: 20px 10px;
    border: 1px solid #eee;
    border-radius: 4px;
    font-weight: 600;
    color: #555;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.client-item:hover {
    border-color: var(--secondary);
    color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

/* Portfolio */
.portfolio { background: var(--light); }
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.portfolio-item {
    position: relative;
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}
.portfolio-img {
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}
.portfolio-item:hover .portfolio-img { transform: scale(1.1); }
.portfolio-overlay {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--white);
    padding: 20px;
    transform: translateY(100px);
    transition: var(--transition);
}
.portfolio-item:hover .portfolio-overlay { transform: translateY(0); }

/* Contact */
.contact-wrapper {
    display: flex;
    gap: 50px;
    background: var(--white);
    padding: 40px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    border-radius: 10px;
}
.contact-info { flex: 1; }
.info-item { 
    display: flex; 
    align-items: flex-start; 
    gap: 15px;
    margin: 20px 0; 
    width: 100%;
    font-size: 1.1rem; 
}
.info-item i { 
    flex-shrink: 0;
    width: 25px;
    margin-top: 6px;
    color: var(--secondary); 
    font-size: 1.4rem;
}
.contact-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.office-box {
    display: flex;
    flex-direction: column;
    line-height: 1.5;
}
.label-orange {
    color: #ff8c00;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 4px;
}
.office-box .contact-link {
    color: #333;
    font-size: 0.95rem;
    text-decoration: none;
    word-wrap: break-word;
}
.contact-form { flex: 1; }
.form-group { margin-bottom: 20px; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}
.btn-block { width: 100%; }

/* Footer */
footer { 
    background: var(--primary); 
    color: var(--white); 
    text-align: center; 
    padding: 20px; 
    padding-bottom: 75px !important; 
    position: relative;
    z-index: 10;
}
@media (min-width: 769px) {
    footer {
        padding-bottom: 20px !important;
        padding-right: 120px !important; 
    }
}
a.company-link {
    color: #00ffff !important;   
    font-weight: 700;            
    text-decoration: none;       
    border-bottom: 2px solid #00ffff; 
    padding-bottom: 2px;         
    transition: all 0.3s ease;
}
a.company-link:hover {
    color: #ff8c00 !important;   
    border-bottom-color: #ff8c00;
}

/* Responsiveness */
@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    }
    .nav-menu.active { left: 0; }
    .nav-menu li { margin: 20px 0; }
    
    .hero-content h1 { font-size: 2.2rem; }
    .grid-4 { grid-template-columns: 1fr 1fr; }
    .contact-wrapper { flex-direction: column; }
}

@media (max-width: 480px) {
    .navbar { height: auto; min-height: 70px; padding: 10px 0; }
    .navbar .container { flex-wrap: nowrap; gap: 15px; }
    .logo { font-size: 1.1rem; max-width: 80%; text-align: left; }
    
    .hero-content { padding-top: 80px; width: 100%; }
    .hero-content h1 { font-size: 1.8rem; }
    .hero-btns { flex-direction: column; width: 100%; }
    
    .grid-4 { grid-template-columns: 1fr; gap: 30px; }
    .services-grid, .portfolio-grid { gap: 40px; }
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
}
/* --- PREMIUM LOGO MARQUEE --- */
.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 40px 0; /* More breathing room */
    background: #fff;
}

/* Fade effects on edges */
.marquee-wrapper::before,
.marquee-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px; /* Wider fade for clearer look */
    height: 100%;
    z-index: 2;
    pointer-events: none; /* Lets you click through the fade */
}

.marquee-wrapper::before { left: 0; background: linear-gradient(to right, #fff, transparent); }
.marquee-wrapper::after { right: 0; background: linear-gradient(to left, #fff, transparent); }

.marquee-track {
    display: flex;
    gap: 60px; /* More space between logos */
    width: max-content;
    animation: scroll 35s linear infinite;
    align-items: center; /* Vertically center all logos */
}

.client-logo {
    height: 60px; /* Fixed height makes them all look uniform */
    width: auto;  /* Width adjusts automatically */
    object-fit: contain;
    
    /* THE PREMIUM EFFECT: */
    filter: grayscale(100%) opacity(0.7); /* Starts Black & White and slightly faded */
    transition: all 0.4s ease;
    cursor: pointer;
}

/* On Hover: Full Color and Full Visibility */
.client-logo:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1); /* Slight pop up */
}

.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Mobile Adjustments */
@media (max-width: 480px) {
    .marquee-track { gap: 30px; animation-duration: 25s; }
    .client-logo { height: 40px; } /* Smaller logos on phone */
}

/* --- 1. NEW STYLES FOR CLIENT LOGO IMAGE --- */
.client-logo-wrapper {
    max-width: 1000px; /* Prevents it from getting too huge on big screens */
    margin: 0 auto;    /* Centers the image */
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); /* Adds a nice subtle pop */
}

.client-logo-wrapper img {
    width: 100%;       /* Makes image responsive */
    height: auto;
    display: block;
}

/* --- 2. MOBILE OPTIMIZATION FIXES --- */
@media (max-width: 480px) {

    /* FIX: Stop buttons from overlapping */
    .hero-btns {
        display: flex;          /* Use Flexbox */
        flex-direction: column; /* Stack them vertically */
        gap: 15px;              /* Force space between them */
        width: 100%;
        margin-top: 20px;
    }

    .hero-btns .btn {
        width: 100%;            /* Make buttons full width */
        display: block;
        text-align: center;
        margin: 0 !important;   /* Force remove old margins */
    }

    /* FIX: Remove the left margin that pushes the second button off-center */
    .btn-outline {
        margin-left: 0 !important; 
    }
}
/* --- CONTACT LINKS INTERACTIVE ANIMATION --- */

/* 1. Define the "Heartbeat" Animation */
@keyframes iconPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); color: #ff8c00; } /* Grows and turns Orange */
    100% { transform: scale(1); }
}

/* 2. Apply it to the Contact Icons (Phone, Mail, Insta, Map) */
.info-item i {
    /* Runs forever, gently */
    animation: iconPulse 2s infinite ease-in-out; 
}

/* 3. The Link Text Animation */
.contact-link {
    display: inline-block; /* Necessary for movement */
    position: relative;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy transition */
}

/* 4. Add a tiny "Arrow" that appears when you touch/hover */
.contact-link::after {
    content: " \f061"; /* FontAwesome Arrow Code */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    opacity: 0;
    margin-left: -10px; /* Start hidden to the left */
    transition: all 0.3s ease;
    color: var(--secondary);
}

/* 5. What happens when they Touch or Hover */
.contact-link:hover {
    color: var(--secondary); /* Turns Orange */
    transform: translateX(5px); /* Moves slightly right */
    text-shadow: 0 0 1px rgba(0,0,0,0.1);
}

.contact-link:hover::after {
    opacity: 1;         /* Show arrow */
    margin-left: 8px;   /* Slide arrow into place */
}

/* 6. Special styling for the Instagram Link to stand out */
.info-item .fa-instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: none; /* Remove pulse, let the color shine */
    font-size: 1.8rem;
    transition: transform 0.3s ease;
}

/* Make Instagram bounce instead of pulse */
.info-item:hover .fa-instagram {
    transform: rotate(15deg) scale(1.2);
}