/* css/style.css */

/* --- Google Font & Variables --- */
:root {
    --primary-color: #0a4275; /* A strong, professional blue */
    --secondary-color: #6c757d;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --font-family-headings: 'Montserrat', sans-serif;
    --font-family-body: 'Roboto', sans-serif;
}

body {
    font-family: var(--font-family-body);
    padding-top: 56px; /* Adjust for fixed navbar height */
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-headings);
    font-weight: 700;
}

section {
    padding: 80px 0;
}

/* --- Navbar --- */
.navbar {
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.navbar .nav-link {
    font-weight: 600;
    transition: color 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
}
.navbar .nav-link:hover, .navbar .nav-link.active {
    color: var(--primary-color) !important;
}

/* --- Hero Section --- */
.hero-section {
    height: 90vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('https://images.unsplash.com/photo-1511377142949-13414a37aa83?q=80&w=1961&auto=format&fit=crop') no-repeat center center/cover;
    color: #fff;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: rgba(20, 22, 24, 0.75); /* 75% opacity */

}
.hero-section .container {
    position: relative;
    z-index: 2;
}

/* --- Section Headings --- */
h2 {
    position: relative;
    margin-bottom: 30px;
    padding-bottom: 15px;
}
h2::after {
    content: '';
    position: absolute;
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* --- Service Cards --- */
.service-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.service-icon {
    color: var(--primary-color);
}

/* --- Project Cards --- */
.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.project-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.project-card:hover img {
    transform: scale(1.1);
}
.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
    padding: 30px 20px 20px;
    text-align: left;
}
.project-info h5 {
    margin-bottom: 5px;
    font-weight: 700;
}

/* --- Contact Info --- */
.contact-info p {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}
.contact-info i {
    color: var(--primary-color);
    font-size: 1.5rem;
    width: 40px;
}
/* --- Hero Section --- */
.hero-section {
    height: 90vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    /* This is the updated background image URL */
    background: url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?q=80&w=1170&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D') no-repeat center center/cover;
    color: #fff;
}

/* --- Buttons --- */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px 30px;
    font-weight: 600;
    transition: background-color 0.3s, border-color 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.btn-primary:hover {
    background-color: #08335a;
    border-color: #08335a;
}

/* --- Reveal on Scroll Animation --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsiveness --- */
@media (max-width: 992px) {
    .hero-section {
        height: auto;
        padding: 120px 0;
    }
}