@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #0e58a3;
    --secondary: #2c9f3a;
    --accent: #0493bf;
    --white: #fff;
    --black: #000;
    --light-bg: #f8f9fa;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--black);
    padding-top: 112px;
    /* For fixed header with top-bar */
}

@media (max-width: 991px) {
    body {
        padding-top: 76px;
        /* For mobile where top-bar is hidden */
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--primary);
}

/* Utilities */
.text-primary-custom {
    color: var(--primary);
}

.text-secondary-custom {
    color: var(--secondary);
}

.text-accent {
    color: var(--accent);
}

.bg-primary-custom {
    background-color: var(--primary);
    color: var(--white);
}

.bg-secondary-custom {
    background-color: var(--secondary);
    color: var(--white);
}

.btn-primary-custom {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    padding: 10px 24px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: var(--accent);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(4, 147, 191, 0.3);
}

/* Top Bar */
.top-bar {
    background-color: var(--accent);
    color: var(--white);
    padding: 5px 0;
    font-size: 0.9rem;
}

.top-bar a {
    color: var(--white);
    text-decoration: none;
    margin-left: 15px;
}

.top-bar a:hover {
    text-decoration: underline;
}

/* Header */
.header-custom {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    background-color: var(--white);
    z-index: 1030;
}

/* Navbar */
.navbar {
    background-color: var(--white);
    transition: all 0.3s ease;
}

.navbar-brand img {
    height: 55px;
    object-fit: contain;
}

.nav-link {
    font-weight: 500;
    color: var(--black) !important;
    margin: 0 10px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Dropdown Custom Styles */
.dropdown-menu {
    border-radius: 8px;
    padding: 10px 0;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
    padding: 8px 20px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    color: var(--black);
    transition: all 0.2s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: rgba(14, 88, 163, 0.05);
    color: var(--primary);
}

/* Multi-level Dropdown for Desktop */
@media (min-width: 992px) {
    .dropdown:hover>.dropdown-menu {
        display: block;
        margin-top: 0;
        animation: fadeIn 0.2s ease;
    }

    .dropdown-submenu {
        position: relative;
    }

    .dropdown-submenu>.dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -10px;
        margin-left: 0;
        display: none;
    }

    .dropdown-submenu:hover>.dropdown-menu {
        display: block;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Section */
.hero {
    background: url('../images/home-banner.png') no-repeat center center;
    background-size: cover;
    color: var(--white);
    
    width: 100%;
    min-height: 100vh;           /* Full screen height */
    
    display: flex;
    align-items: center;         /* Vertical center */
    justify-content: center;     /* Horizontal center */
    
    padding: 60px 20px;
    text-align: center;
}

/* Large devices */
@media (max-width: 1200px) {
    .hero {
        min-height: 80vh;
    }
}

/* Tablets */
@media (max-width: 992px) {
    .hero {
        min-height: 70vh;
        padding: 50px 20px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .hero {
        min-height: 60vh;
        padding: 40px 15px;
    }
}

/* Small Mobile */
@media (max-width: 576px) {
    .hero {
        min-height: 50vh;
        padding: 30px 15px;
    }
}

.hero-2 {
    background: linear-gradient(135deg, rgba(199, 245, 229, 0.9), rgba(205, 252, 225, 0.8)), url('../images/h-banner2.jpg') center/cover no-repeat;
    color: var(--white);
    padding: 120px 0;
    text-align: center;
}

.hero h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
    animation: fadeInUp 1s ease;
}

/* Sections */
.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    width: 60px;
    height: 3px;
    background-color: var(--secondary);
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

/* Cards */
.feature-card {
    background: var(--white);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border-bottom: 3px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid var(--secondary);
}

.feature-icon {
    font-size: 40px;
    color: var(--accent);
    margin-bottom: 20px;
}

/* Footer layout */
.footer {
    position: relative;
    /* background: url('https://images.unsplash.com/photo-1519494026892-80ba3f524738?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat; */
    color: var(--white);
    padding: 80px 0 20px;
}

.footer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(14, 88, 163, 0.92);
    /* Primary color overlay */
    z-index: 1;
}

.footer>.container {
    position: relative;
    z-index: 2;
}

.footer h5 {
    color: var(--white);
    margin-bottom: 25px;
    position: relative;
}

.footer h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 40px;
    height: 2px;
    background: var(--secondary);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 15px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer-contact i {
    color: var(--secondary);
    margin-right: 15px;
    font-size: 1.2rem;
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Services */
.service-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.service-list li::before {
    content: '\f058';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--secondary);
    margin-right: 15px;
    font-size: 1.2rem;
}

.contact-card {
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.icon-circle {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #0d6efd, #6610f2);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    transition: 0.3s;
}

.contact-card:hover .icon-circle {
    transform: scale(1.1);
}