/* ================ BASE STYLES ================ */
:root {
    --primary: #0056b3;
    --primary-dark: #003366;
    --secondary: #6c757d;
    --dark: #343a40;
    --light: #f8f9fa;
    --accent: #0b5394;
    --white: #ffffff;
    --gray-light: #f4f4f4;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 15px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }

p {
    margin-bottom: 1.25rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ================ UTILITY CLASSES ================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.section--light {
    background-color: var(--light);
}

.section--dark {
    background-color: var(--dark);
    color: var(--white);
}

.section-title {
    position: relative;
    margin-bottom: 3rem;
    text-align: center;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent);
    margin: 1rem auto 0;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-align: center;
    border-radius: 50px;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn--primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn--primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn--outline {
    background-color: transparent;
    border-color: currentColor;
}

/* ================ COMPONENTS ================ */
/* Navigation */
.navbar {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background-color: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    display: flex;
    align-items: center;
    padding: 0;
    margin-right: 1rem;
}

.navbar-brand img {
    height: 60px;
    width: auto;
    transition: var(--transition);
}

.navbar.scrolled .navbar-brand img {
    height: 50px;
}

.nav-link {
    padding: 0.5rem 1rem;
    font-weight: 500;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background-color: var(--accent);
    transform: scaleX(0);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 86, 179, 0.9), rgba(0, 86, 179, 0.9)), 
                url('../imgs/hero.jpg') center/cover no-repeat;
    color: var(--white);
    padding: 8rem 0 6rem;
    text-align: center;
    margin-top: 80px; /* Account for fixed navbar */
}

.hero__title {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero__subtitle {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* Cards */
.card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card__img {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.card__img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.card__title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: var(--white);
    padding: 1rem;
    margin: 0;
}

.card-body {
    padding: 1.5rem;
}

/* ================ SERVICES SECTION ================ */
.services-section {
    padding: 5rem 0;
    background-color: var(--white);
    position: relative;
}

.services-header {
    text-align: center;
    margin-bottom: 3rem;
}

.services-header .section-subtitle {
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.5rem;
}

.services-header .section-title {
    color: var(--dark);
    margin-bottom: 1rem;
    position: relative;
}

.services-header .divider {
    width: 80px;
    height: 3px;
    background: var(--accent);
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.service-card {
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    background: var(--white);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    border-top: 3px solid transparent;
}

.service-card.featured {
    border-top-color: var(--accent);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 86, 179, 0.15);
}

.service-card__image-container {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.service-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-card__image {
    transform: scale(1.05);
}

.service-card__image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.6));
}

.service-card__icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    box-shadow: var(--shadow-md);
    z-index: 2;
    transition: var(--transition);
}

.service-card:hover .service-card__icon {
    background: var(--accent);
    transform: scale(1.1);
}

.service-card__title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: var(--white);
    padding: 1.5rem;
    margin: 0;
    font-size: 1.4rem;
    z-index: 2;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.service-card__body {
    padding: 1.75rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-card__description {
    margin-bottom: 1.5rem;
    flex-grow: 1;
    color: var(--secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.service-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-card__btn {
    padding: 0.7rem 1.5rem;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
}

.service-card__btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    color: var(--white);
}

.service-card__btn i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.service-card__btn:hover i {
    transform: translateX(3px);
}

.service-card__badge {
    background: var(--accent);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.services-cta {
    text-align: center;
    margin-top: 4rem;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .services-grid {
        gap: 2rem;
    }
    
    .service-card__image-container {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .services-header .section-title {
        font-size: 1.8rem;
    }
    
    .service-card__body {
        padding: 1.5rem;
    }
    
    .service-card__icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .services-section {
        padding: 3.5rem 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .service-card__image-container {
        height: 180px;
    }
}

/* ================ MEDIA QUERIES ================ */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 3rem 0;
    }
    
    .service-card__image-container {
        height: 200px;
    }
    
    .service-card__title {
        font-size: 1.3rem;
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card__image-container {
        height: 180px;
    }
}

/* Icon Box */
.icon-box {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}

.icon-box i {
    font-size: 2rem;
}

/* Contact Form */
.contact-form .form-control {
    border-radius: 0.5rem;
    padding: 1rem;
    border: 1px solid #ddd;
}

.contact-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(0, 86, 179, 0.25);
}

.map-container {
    height: 250px;
    background-color: #eee;
    border-radius: 8px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Footer */
.footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer__logo {
    height: 50px;
    margin-bottom: 1.5rem;
}

.footer__links {
    list-style: none;
    padding: 0;
}

.footer__links li {
    margin-bottom: 0.75rem;
}

.footer__links a {
    color: rgba(255, 255, 255, 0.7);
}

.footer__links a:hover {
    color: var(--accent);
    text-decoration: none;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
}

/* ================ MEDIA QUERIES ================ */
@media (max-width: 992px) {
    .section {
        padding: 4rem 0;
    }
    
    .hero {
        padding: 7rem 0 5rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .hero {
        padding: 6rem 0 4rem;
        margin-top: 70px;
    }
    
    .hero__title {
        font-size: 2.2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .navbar-brand img {
        height: 50px;
    }
    
    .navbar.scrolled .navbar-brand img {
        height: 40px;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 5rem 0 3rem;
        margin-top: 60px;
    }
    
    .hero__title {
        font-size: 1.8rem;
    }
    
    .navbar-brand img {
        height: 80px;
    }
    
    .footer__logo {
        height: 40px;
    }
}

:target {
  scroll-margin-top: 80px;
}

/* Services Section Styles */


.section-header {
    position: relative;
    padding-bottom: 15px;
}

.section-header .section-subtitle {
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.section-header .section-title {
    font-size: 2.2rem;
    color: var(--dark);
    position: relative;
}

.section-header .divider {
    width: 80px;
    height: 3px;
    background: var(--accent);
    margin-top: 1rem;
}

.service-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 86, 179, 0.1);
}

.service-card.featured {
    border-top: 3px solid var(--accent);
}

.service-img-container {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img {
    transform: scale(1.05);
}

.service-icon {
    position: absolute;
    bottom: -25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 86, 179, 0.3);
    z-index: 2;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--accent);
    transform: scale(1.1);
}

.service-content {
    padding: 30px;
    position: relative;
}

.service-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark);
    font-weight: 700;
}

.service-description {
    color: var(--secondary);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.service-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: var(--accent);
    text-decoration: none;
}

.service-link i {
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(5px);
}

.service-badge {
    background: var(--accent);
    color: white;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .service-img-container {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .section-header .section-title {
        font-size: 1.8rem;
    }
    
    .service-content {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .service-card {
        max-width: 400px;
        margin: 0 auto;
    }
}

/* ===== FOOTER STYLES ===== */
.footer {
    background-color: var(--dark);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.footer-main {
    padding: 4rem 0;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 1.5rem;
}

.footer-about {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-title {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent);
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 0.75rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    display: inline-block;
    position: relative;
    padding-left: 0;
}

.footer-link:hover {
    color: var(--accent);
    padding-left: 8px;
    text-decoration: none;
}

.footer-link::before {
    content: '→';
    position: absolute;
    left: -10px;
    opacity: 0;
    transition: var(--transition);
}

.footer-link:hover::before {
    left: 0;
    opacity: 1;
}

/* Contact Info */
.contact-info {
    font-style: normal;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.contact-icon {
    color: var(--accent);
    margin-right: 0.75rem;
    margin-top: 0.2rem;
    min-width: 20px;
}

.contact-item a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--accent);
    text-decoration: none;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.legal-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.legal-link {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: var(--transition);
}

.legal-link:hover {
    color: var(--accent);
    text-decoration: none;
}

.divider {
    color: rgba(255, 255, 255, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .footer-main {
        padding: 3rem 0;
    }
    
    .footer-title {
        margin-bottom: 1rem;
    }
    
    .footer-menu li {
        margin-bottom: 0.5rem;
    }
}

