/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&family=Poppins:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #004595;
    /* Deep Professional Blue */
    --secondary-color: #00b4d8;
    /* Bright Tech Blue */
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --text-color: #333;
    --accent-color: #ffc107;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
}

/* Navbar */
.navbar {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.nav-link {
    font-weight: 500;
    color: #333 !important;
    margin-left: 10px;
    /* Reduced from 15px */
    font-size: 0.95rem;
    /* Slightly smaller text */
    white-space: nowrap;
    /* Prevent text wrapping */
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

.btn-primary-custom {
    background-color: var(--primary-color);
    color: #fff;
    padding: 8px 20px;
    /* Reduced padding */
    border-radius: 5px;
    border: none;
    font-weight: 600;
    white-space: nowrap;
    /* Prevent text wrapping */
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: #003370;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 69, 149, 0.3);
}

.btn-outline-light-custom {
    border: 2px solid #fff;
    color: #fff;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-light-custom:hover {
    background-color: #fff;
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 69, 149, 0.8), rgba(0, 20, 60, 0.9)), url('../images/hero_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    display: flex;
    align-items: center;
    color: #fff;
    position: relative;
    /* margin-top: 76px; removed to be behind transparent nav if needed, but nav is white */
    margin-top: 0;
    padding-top: 80px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
}

.hero-btns {
    animation: fadeInUp 1s ease 0.6s forwards;
    opacity: 0;
}

/* Page Header */
.page-header {
    background: linear-gradient(rgba(0, 69, 149, 0.9), rgba(0, 20, 60, 0.9)), url('../images/hero_bg.png');
    background-size: cover;
    background-position: center;
    padding: 150px 0 80px;
    color: #fff;
    text-align: center;
    margin-bottom: 50px;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Services Section */
.service-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid var(--primary-color);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background-color: #fff;
}

.about-img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Stats Counter */
.stats-section {
    background-color: var(--primary-color);
    color: #fff;
    padding: 50px 0;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
}

/* Contact Form */
.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.form-control {
    padding: 12px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

/* Footer */
footer {
    background-color: #111;
    color: #bbb;
    padding: 60px 0 20px;
    margin-top: auto;
}

footer h5 {
    color: #fff;
    margin-bottom: 20px;
    font-weight: 600;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    margin-bottom: 10px;
}

footer ul li a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s;
}

footer ul li a:hover {
    color: var(--secondary-color);
}

.copyright {
    border-top: 1px solid #333;
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
}