:root {
    --primary-color: #2c3e50; /* A deep, professional English blue variant */
    --secondary-color: #3498db; /* A brighter blue for accents */
    --light-gray: #f8f9fa;
    --dark-gray: #343a40;
    --text-color: #555;
    --heading-font: 'Poppins', sans-serif;
    --body-font: 'Poppins', sans-serif;
}

body {
    font-family: var(--body-font);
    color: var(--text-color);
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 600;
    color: var(--primary-color);
}
/* Navbar height */

.navbar {
    background-color: #fff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease-in-out;
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-color) !important;
}

.nav-link {
    color: var(--primary-color) !important;
    font-weight: 500;
    transition: color 0.3s;
    margin: 0 0.5rem;
}

.nav-link:hover, .nav-link.active {
    color: var(--secondary-color) !important;
}

.section {
    padding: 80px 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

#overview {
    background: linear-gradient(rgba(44, 62, 80, 0.7), rgba(44, 62, 80, 0.7)), url('https://images.unsplash.com/photo-1550439062-609e1531270e?q=80&w=1920&auto=format&fit=crop') no-repeat center center/cover;
    color: #fff;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#overview h1 {
    color: #fff;
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

#overview p {
    font-size: 1.25rem;
    font-weight: 300;
    max-width: 600px;
    margin: 1rem auto;
}

.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #2980b9;
    border-color: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

#about, #contact {
    background-color: var(--light-gray);
}

.info-card, .service-card {
    background-color: #fff;
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.info-card:hover, .service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.info-card i, .service-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.form-control {
    border-radius: 8px;
    padding: 12px;
    border: 1px solid #ddd;
}

.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(52, 152, 219, 0.25);
    border-color: var(--secondary-color);
}

.footer {
    background-color: var(--primary-color);
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

.footer p {
    margin: 0;
    color: rgba(255,255,255,0.8);
}

.social-links a {
    color: #fff;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    #overview h1 {
        font-size: 2.5rem;
    }
    #overview p {
        font-size: 1rem;
    }
}
.service-card {
    min-height: 480px; /* keeps all cards equal height */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.service-card img.service-img {
    width: 100%;          /* fill the card width */
    max-width: 300px;     /* medium size (adjust to taste) */
    height: 220px;        /* fixed height */
    object-fit: cover;    /* crop to fit, no extra white space */
    border-radius: 10px;  /* soft rounded edges */
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.service-card img.service-img:hover {
    transform: scale(1.05); /* smooth zoom */
}
/* Navbar styling */
mainNavbar {
    background-color: #fff;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    padding: 0 1rem;
    height: auto; /* let height grow with logo and text */
    display: flex;
    align-items: center;
}

/* Logo covering both lines */
.navbar-logo {
    height: 60px; /* adjust to cover both text lines */
    width: auto;
    object-fit: contain;
}

/* Company name */
.brand-text {
    font-weight: 700;
    font-size: 1.25rem;
    color: #003366;
    line-height: 1.1;
}

/* Tagline */
.brand-tagline {
    font-size: 0.85rem;
    font-weight: 400;
    color: #003366;
    line-height: 1.1;
}

/* Align text next to logo */
.navbar-brand div {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .navbar-logo {
        height: 50px;
    }
    .brand-text {
        font-size: 1rem;
    }
    .brand-tagline {
        font-size: 0.75rem;
    }
}
