:root {
    --primary-blue: #1E3A8A; /* Navy Blue */
    --secondary-blue: #3B82F6; /* Bright Blue */
    --light-blue: #DBEAFE; /* Light Blue */
    --accent-blue: #2563EB; /* Indigo Blue */
    --header-blue: #172554; /* Darker Navy for Header */
    --footer-bg: #E6F0FA; /* Soft Blue-Gray for Footer */
    --footer-text: #1F2937; /* Dark Gray for Footer Text */
}

body {
    background-color: #F5F7FA; /* Light gray-blue background */
    font-family: sans-serif; /* Added a default font */
}

.hero-bg {
    background-image: url('../img/h9.jpg'); /* Path to your image */
    width: auto; /* Full viewport width */
    height: 100vh; /* Full viewport height */
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 50vh; /* Smaller minimum height for mobile */
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 16, 24, 0.5); /* Navy blue overlay */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    opacity: 0;
    animation: fadeIn 1.5s ease-in-out forwards;
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.feedback-carousel {
    display: flex;
    overflow-x: auto; /* Use auto or scroll for scrollability */
    scroll-behavior: smooth;
    gap: 2rem;
    padding-bottom: 1rem; /* Add padding for scrollbar if needed */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.feedback-carousel::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.feedback-carousel {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.feedback-card {
    flex: 0 0 auto;
    width: 300px; /* Fixed width for carousel items */
}

.btn-primary {
    background-color: var(--accent-blue);
    color: white;
    border: none; /* Ensure no default border */
}

.btn-primary:hover {
    background-color: var(--secondary-blue);
    color: white; /* Ensure text color stays white on hover */
}

.text-primary {
    color: var(--primary-blue) !important; /* Use !important to override Bootstrap if necessary */
}

.text-secondary {
    color: var(--secondary-blue) !important;
}

.bg-light-blue {
    background-color: var(--light-blue);
}

.nav-icon {
    margin-right: 0.5rem;
    width: 1em; /* Ensure icon width is consistent */
    text-align: center;
}

.header {
    background-color: var(--header-blue);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-logo {
    font-family: 'Segoe UI', sans-serif;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.nav-link {
    color: rgb(4, 4, 64) !important; /* Ensure high specificity */
    transition: color 0.3s ease;
    display: flex; /* Use flex for alignment */
    align-items: center; /* Vertically align icon and text */
}

.nav-link:hover {
    color: var(--accent-blue) !important;
}

.footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
}

.gallery-image {
    transition: transform 0.3s ease-in-out;
    width: 100%;
    object-fit: cover; /* Ensure image covers the area */
}

.gallery-image:hover {
    transform: scale(1.05);
}

/* Portfolio Section Styles */
.text-gray-600 {
    color: #4B5563; /* Example gray color */
}

.text-gray-700 {
    color: #374151; /* Example gray color */
}

.text-gray-800 {
    color: #1F2937; /* Example gray color */
}

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.display-4 { font-size: 3rem; line-height: 1.2; } /* Adjusted Bootstrap class */
.h4 { font-size: 1.5rem; line-height: 1.4; } /* Adjusted Bootstrap class */
.lead { font-size: 1.25rem; font-weight: 300; } /* Adjusted Bootstrap class */
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }

/* Tablet and below (up to 768px) */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }

    .hero-bg {
        height: 90vh;
        background-position: center top;
        background-image: url('../img/l1.jpg'); /* Path to your image */
    }

    .hero-content {
        text-align: center;
        padding: 2rem;
    }

    .text-3xl {
        font-size: 1.5rem;
    }

    .lead, .text-lg {
        font-size: 1rem;
    }

    .feedback-card {
        width: 250px;
    }

    /* .gallery-image {
        height: 120px;
    } */

    .display-4 {
        font-size: 2rem;
    }

    .h4 {
        font-size: 1.2rem;
    }

    .btn-primary {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }

    /*
    The following .row override was removed as it conflicts with Bootstrap's grid system.
    Rely on Bootstrap's col-* classes for responsive stacking.
    .row {
        flex-direction: column !important;
        align-items: center;
    }
    */
}

/* Phone (up to 480px) */
@media (max-width: 480px) {
    .hero-bg {
        height: 85vh;
        background-position: top;
    }

    .hero-content {
        padding: 1.5rem;
    }

    .text-3xl, .display-4 {
        font-size: 1.25rem;
    }

    .lead, .text-lg {
        font-size: 0.95rem;
    }

    .feedback-card {
        width: 220px;
    }

    .nav-link {
        font-size: 0.9rem;
    }

    .header-logo {
        font-size: 1.2rem;
    }

    

    .btn-primary {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
}

