/* CSS Custom Properties */
:root {
    --primary-color: #056193;
    --secondary-color: #044a73;
    --accent-color: #f48c20;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --bg-dark: #2c3e50;
    --white: #ffffff;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Global link reset for social media */
a[aria-label="Facebook"],
a[aria-label="Instagram"], 
a[aria-label="TikTok"],
a[aria-label="LinkedIn"] {
    text-decoration: none !important;
    border-bottom: none !important;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.lead {
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--text-light);
}

/* Top Header */
.top-header {
    background: var(--bg-dark);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.9rem;
}

.header-info {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-item i {
    color: var(--accent-color);
}

.info-item a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.info-item a:hover {
    color: var(--accent-color);
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
}

.reach-us-btn {
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.reach-us-btn:hover {
    background: var(--accent-color);
    color: var(--white);
}

.social-icons {
    display: flex;
    gap: 0.5rem;
}

.social-icons a {
    color: var(--white);
    font-size: 1.1rem;
    transition: var(--transition);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
}

.social-icons a:hover {
    background: var(--accent-color);
    color: var(--white);
    text-decoration: none;
}

/* Main Navigation */
.main-nav {
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.navbar-brand .logo {
    height: 40px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .navbar-brand .logo {
        height: 35px;
        max-width: 180px;
    }
}

.navbar-brand:hover {
    color: var(--secondary-color);
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: var(--transition);
    text-decoration: none;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

/* Hero Slideshow */
.hero-slideshow {
    position: relative;
    height: 80vh;
    min-height: 480px;
    overflow: hidden;
}

.heroSwiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 1;
    background-attachment: scroll;
}

/* Enhanced background positioning for reduced hero height */
@media (min-width: 992px) {
    .slide-bg {
        background-size: cover;
        background-position: center 40%;
    }
}

@media (min-width: 1200px) {
    .slide-bg {
        background-size: cover;
        background-position: center 35%;
    }
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

/* Enhanced overlay for reduced hero height */
@media (min-width: 992px) {
    .slide-overlay {
        background: rgba(0, 0, 0, 0.45);
    }
}

.slide-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 2rem;
}

.slide-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.slide-content h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.slide-cta {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.slide-cta:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    color: var(--white);
}

/* Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
    color: var(--white);
    background: rgba(5, 97, 147, 0.8);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: var(--shadow);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.2rem;
    font-weight: bold;
}
.swiper-button-prev:after {
    content: '←';
}
.swiper-button-next:after {
    content: '→';
}

.swiper-pagination-bullet {
    background: var(--white);
    opacity: 0.7;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color);
    opacity: 1;
}

/* Brand Partners Ticker */
.brands-ticker {
    background: var(--bg-light);
    padding: 4rem 0 2.5rem;
    overflow: hidden;
    border-top: 1px solid rgba(5, 97, 147, 0.1);
    border-bottom: 1px solid rgba(5, 97, 147, 0.1);
    white-space: nowrap;
}

.brands-ticker .section-header {
    white-space: normal;
    margin-bottom: 3rem;
}

.brands-ticker .section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.brands-ticker .section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.ticker-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.ticker-content {
    display: inline-flex;
    align-items: center;
    animation: scroll-infinite 90s linear infinite;
    gap: 4rem;
}

.brand-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 80px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.brand-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(5, 97, 147, 0.2);
}

.brand-logo {
    max-width: 180px;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.8);
    transition: var(--transition);
}

.brand-item:hover .brand-logo {
    filter: grayscale(0%) opacity(1);
}

@keyframes scroll-infinite {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-200px * 15 - 4rem * 14));
    }
}

/* Pause animation on hover */
.brands-ticker:hover .ticker-content {
    animation-play-state: paused;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .brands-ticker {
        padding: 3rem 0 2rem;
    }
    
    .brands-ticker .section-header {
        margin-bottom: 2rem;
    }
    
    .brands-ticker .section-title {
        font-size: 2rem;
    }
    
    .brands-ticker .section-description {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .ticker-content {
        gap: 2rem;
    }
    
    .brand-item {
        width: 150px;
        height: 60px;
    }
    
    .brand-logo {
        max-width: 130px;
        max-height: 45px;
    }
    
    @keyframes scroll-infinite {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-150px * 15 - 2rem * 14));
        }
    }
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-title {
    margin-bottom: 3rem;
}

.section-title h2 {
    color: var(--text-dark);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title h2 .text-primary {
    color: #f48c20 !important;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 6rem 0 4rem;
    text-align: center;
}

/* Gallery Header Background */
.gallery-header {
    background: linear-gradient(rgba(5, 97, 147, 0.8), rgba(26, 68, 128, 0.8)), url('../img/gallery-header-bg.jpg');
    background-size: cover;
    background-position: center 60%;
    background-repeat: no-repeat;
    color: var(--white);
    padding: 6rem 0 4rem;
    text-align: center;
}

/* About Header Background */
.about-header {
    background: linear-gradient(rgba(5, 97, 147, 0.95), rgba(26, 68, 128, 0.95)), url('../img/about-banner-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    padding: 6rem 0 4rem;
    text-align: center;
}

.about-header .lead {
    color: var(--white) !important;
}

.about-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

/* Services Header Background */
.services-header {
    background: linear-gradient(rgba(5, 97, 147, 0.8), rgba(26, 68, 128, 0.8)), url('../img/services-header-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    padding: 6rem 0 4rem;
    text-align: center;
}

.services-header .lead {
    color: var(--white) !important;
}

.services-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.gallery-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.page-header .lead {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Service Cards */
.service-card {
    background: var(--white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.service-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--secondary-color);
}

/* Featured Service Cards */
.featured-service-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.featured-service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.featured-service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
}

.service-tag {
    background: #f48c20;
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(244, 140, 32, 0.3);
}

.service-content {
    padding: 2rem;
}

.service-content h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.service-content p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

.section-subtitle {
    color: #f48c20;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-description {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* Statistics */
.stats-row {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.stat-card {
    padding: 1.5rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

/* Quick Links - Override Bootstrap bg-primary */
.section.bg-primary,
section.bg-primary,
.bg-primary.text-white,
section.section.bg-primary.text-white,
section.bg-primary.text-white {
    background-color: #056195 !important;
    background: #056195 !important;
}

/* Additional specificity for the exact section */
section.section.bg-primary.text-white {
    background-color: #056195 !important;
}

.quick-link {
    text-align: center;
    padding: 2rem;
}

.quick-link h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.quick-link p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

/* Testimonials */
.testimonial-card {
    background: var(--white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--shadow);
    height: 100%;
}

.testimonial-content {
    text-align: center;
}

.stars {
    color: var(--warning-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.testimonial-author strong {
    color: var(--text-dark);
    font-weight: 600;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Gallery */
.gallery-filter {
    margin-bottom: 3rem;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    margin: 0 0.5rem 0.5rem 0;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
}

.gallery-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.gallery-image {
    position: relative;
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-content {
    text-align: center;
    color: var(--white);
    padding: 1rem;
}

.gallery-content h4 {
    margin-bottom: 0.5rem;
}

.gallery-content p {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.gallery-btn {
    background: var(--white);
    color: var(--primary-color);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.gallery-btn:hover {
    background: var(--accent-color);
    color: var(--white);
}

.gallery-info {
    padding: 1.5rem;
}

.gallery-info h5 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.gallery-category {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-right: 0.5rem;
}

.gallery-location {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Contact Forms */
.contact-form-wrapper {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-form-wrapper h3 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.form-label {
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-control,
.form-select {
    border: 2px solid var(--border-color);
    border-radius: 5px;
    padding: 0.75rem;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(44, 90, 160, 0.25);
}

.contact-info-wrapper {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    height: fit-content;
}

.contact-info-wrapper h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-details h5 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-details p {
    margin-bottom: 0.25rem;
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-details a:hover {
    color: var(--secondary-color);
}

.contact-details small {
    color: var(--text-light);
    font-size: 0.8rem;
}

.social-contact {
    margin-top: 2rem;
}

.social-contact h5 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    margin-right: 0.5rem;
    transition: var(--transition);
    text-decoration: none;
}

.social-icon:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    color: var(--white);
}

/* Map Section */
.map-section {
    background: var(--bg-light);
    padding: 3rem 0;
}

.map-container {
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.map-placeholder {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.map-content h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-areas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.area-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: var(--bg-light);
    border-radius: 5px;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer h5 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer ul li a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    padding-top: 2rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0;
}

.footer-logo {
    max-width: 120px;
    height: auto;
    display: block;
}

/* Process Section */
.process-section {
    background: linear-gradient(rgba(5, 97, 147, 0.85), rgba(4, 74, 115, 0.85)), url('../img/process-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
}

.process-section .section-title h2 {
    color: var(--white);
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.process-section .section-title p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.process-step {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    height: 100%;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    background: rgba(255, 255, 255, 1);
}

.process-step .step-number {
    background: var(--primary-color);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 15px rgba(5, 97, 147, 0.3);
}

.process-step .step-icon {
    margin-bottom: 1rem;
}

.process-step h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.process-step p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    line-height: 1.5;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-color);
}

.btn-light {
    background: var(--white);
    color: var(--primary-color);
}

.btn-light:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-slideshow {
        height: 60vh;
        min-height: 400px;
    }
    
    .slide-bg {
        background-size: cover;
        background-position: center center;
    }
    
    .header-info {
        flex-direction: column;
        gap: 1rem;
    }
    
    .header-actions {
        justify-content: center;
    }
    
    .slide-content h1 {
        font-size: 2rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .slide-content h3 {
        font-size: 1.2rem;
    }
    
    .stats-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .page-header {
        padding: 4rem 0 2rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .hero-slideshow {
        height: 50vh;
        min-height: 350px;
    }
    
    .slide-bg {
        background-size: cover;
        background-position: center center;
    }
    
    .slide-content {
        padding: 0 1rem;
    }
    
    .slide-content h1 {
        font-size: 1.5rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .slide-content h3 {
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Social Media Icons - Remove underlines */
.social-icons a,
.social-icon,
.footer .social-icons a,
.header-actions .social-icons a,
.social-contact .social-icons a {
    text-decoration: none !important;
    border-bottom: none !important;
    text-underline-offset: unset !important;
}

.social-icons a:hover,
.social-icon:hover,
.footer .social-icons a:hover,
.header-actions .social-icons a:hover,
.social-contact .social-icons a:hover,
.social-icons a:focus,
.social-icon:focus,
.footer .social-icons a:focus {
    text-decoration: none !important;
    border-bottom: none !important;
    text-underline-offset: unset !important;
}

/* Footer Contact Info - Remove underlines */
.footer .contact-info a {
    text-decoration: none !important;
    border-bottom: none !important;
    text-underline-offset: unset !important;
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer .contact-info a:hover {
    text-decoration: none !important;
    border-bottom: none !important;
    text-underline-offset: unset !important;
    color: var(--accent-color);
}

/* Utilities */
.text-primary { color: var(--primary-color); }
.bg-primary { background: #056195 !important; }
.bg-light { background: var(--bg-light); }
.bg-dark { 
    background: var(--bg-dark); 
}

/* CTA Section with Background Image */
.section.bg-dark:last-of-type {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/support-bg.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}

.section.bg-dark:last-of-type .lead,
.section.bg-primary .lead {
    color: white !important;
}

/* Mobile optimization for CTA background */
@media (max-width: 768px) {
    .section.bg-dark:last-of-type {
        background-attachment: scroll;
    }
}

/* CTA Button Styling */
.section.bg-primary .btn-light {
    background-color: #1a4480 !important;
    border-color: #1a4480 !important;
    color: white !important;
}

.section.bg-primary .btn-light:hover {
    background-color: #0f2a56 !important;
    border-color: #0f2a56 !important;
    color: white !important;
}

.section.bg-primary .btn-outline-light {
    color: white !important;
    border-color: white !important;
    background-color: transparent !important;
}

.section.bg-primary .btn-outline-light:hover {
    background-color: white !important;
    border-color: white !important;
    color: #056193 !important;
}

/* Contact Page Header Background */
section.page-header.bg-primary {
    background: linear-gradient(rgba(5, 97, 149, 0.725), rgba(5, 97, 149, 0.725)), url('../img/contact-header-bg.jpg') !important;
    background-size: cover !important;
    background-position: center 10% !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
    position: relative;
    padding: 5rem 0 3rem;
}

section.page-header.bg-primary h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

/* Core Values Section Background */
.core-values-section {
    background: linear-gradient(rgba(5, 97, 147, 0.9), rgba(26, 68, 128, 0.9)), url('../img/support-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--white);
    padding: 5rem 0;
}

/* SEO Optimization - Image Performance */
img {
    max-width: 100%;
    height: auto;
    loading: lazy;
}

/* First image should load immediately */
.hero-slideshow img,
.slide-bg {
    loading: eager;
}

/* Add alt text styling for accessibility */
img[alt] {
    font-style: italic;
    font-size: 0.9em;
    color: #666;
}

.core-values-section .section-title h2 {
    color: var(--white);
}

.core-values-section .section-title p {
    color: var(--white);
    opacity: 0.9;
}

.core-values-section .value-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.core-values-section .value-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.core-values-section .value-card h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.core-values-section .value-card p {
    color: var(--white);
    opacity: 0.9;
}

/* Mobile optimization for core values background */
@media (max-width: 768px) {
    .core-values-section {
        background-attachment: scroll;
        padding: 4rem 0;
    }
}

/* Mobile optimization for contact header background */
@media (max-width: 768px) {
    section.page-header.bg-primary {
        background-attachment: scroll !important;
        padding: 4rem 0 2rem;
    }
}
.text-center { text-align: center; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }
.mt-5 { margin-top: 3rem; }
.me-3 { margin-right: 1rem; }
.mx-auto { margin: 0 auto; }
.d-flex { display: flex; }
.align-items-center { align-items: center; }
.justify-content-center { justify-content: center; }
.gap-2 { gap: 1rem; }
.rounded { border-radius: 0.5rem; }
.shadow { box-shadow: var(--shadow); }
.img-fluid { max-width: 100%; height: auto; }
.list-unstyled { list-style: none; padding: 0; }
.w-100 { width: 100%; }
.h-100 { height: 100%; }
.position-relative { position: relative; }
.position-absolute { position: absolute; }
.overflow-hidden { overflow: hidden; }

/* SME Registration Section */
.sme-content h2 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.sme-content p.lead {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.1rem;
}

.sme-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.sme-logo img {
    max-width: 300px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.sme-logo img:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(5, 97, 147, 0.15);
}

/* Responsive adjustments for SME section */
@media (max-width: 768px) {
    .sme-content h2 {
        font-size: 1.8rem;
        text-align: center;
    }
    
    .sme-content p.lead {
        text-align: center;
        font-size: 1rem;
    }
    
    .sme-logo {
        padding: 1rem;
        margin-top: 2rem;
    }
    
    .sme-logo img {
        max-width: 250px;
    }
}

/* Office Location Section */
.office-location-section {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    height: fit-content;
}

.office-location-section h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.office-info {
    margin-bottom: 1.5rem;
}

.office-detail {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.office-detail i {
    margin-right: 0.5rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.office-detail strong {
    color: var(--text-dark);
    margin-right: 0.5rem;
}

.office-detail a {
    color: var(--primary-color);
    text-decoration: none;
}

.office-detail a:hover {
    text-decoration: underline;
}

.map-image-container {
    margin-bottom: 1.5rem;
}

.map-image-container img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.map-image-container img:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.directions-info h5 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.directions-info ul {
    margin-bottom: 1.5rem;
}

.directions-info li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
    display: flex;
    align-items: flex-start;
}

.directions-info li i {
    margin-right: 0.5rem;
    margin-top: 0.3rem;
    flex-shrink: 0;
}

.faq-section {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    height: fit-content;
}

.faq-section h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

/* Responsive adjustments for FAQ and Office Location */
@media (max-width: 991px) {
    .office-location-section,
    .faq-section {
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .office-location-section,
    .faq-section {
        padding: 1.5rem;
    }
    
    .office-detail {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .office-detail i {
        margin-bottom: 0.25rem;
    }
}