/* Custom CSS for Land Solutions--Uganda Limited - SHAPEN Style */

:root {
    --primary-color: #2d5016; /* Dark forest green from logo */
    --secondary-color: #f8f9fa;
    --accent-color: #8b4513; /* Brown from logo */
    --accent-light: #32cd32; /* Lime green from tagline */
    --text-dark: #2d5016;
    --text-light: #6c757d;
    --white: #ffffff;
    --dark: #1a3d0e;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Typography */
.section-title {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

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

/* Top Bar */
.top-bar {
    font-size: 0.9rem;
}

.top-bar-info span {
    display: inline-block;
    margin-right: 1rem;
}

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

/* Navigation */
.navbar {
    box-shadow: var(--shadow);
    transition: var(--transition);
    padding: 1rem 0;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-container i {
    font-size: 2.5rem;
}

.logo-text h2 {
    font-size: 1.5rem;
    margin: 0;
    line-height: 1.2;
}

.logo-text p {
    margin: 0;
    font-size: 0.8rem;
}

.nav-link {
    font-weight: 600;
    color: var(--text-dark) !important;
    margin: 0 0.5rem;
    transition: var(--transition);
    position: relative;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-light) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-light);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 600px; /* Fixed height instead of min-height: 100vh */
    display: flex;
    align-items: center;
    color: var(--white);
    margin-top: 0;
    overflow: hidden; /* Ensure sliding content doesn't overflow */
    background: var(--primary-color); /* Fallback background */
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: left;
    max-width: 800px;
    margin: 0;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .hero-content {
        padding: 0 1rem;
        text-align: left;
    }
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

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

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-buttons .btn {
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    text-transform: uppercase;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.btn-warning {
    background: var(--accent-light);
    border-color: var(--accent-light);
    color: var(--white);
}

.btn-warning:hover {
    background: #28a745;
    border-color: #28a745;
    transform: translateY(-2px);
}

.btn-dark {
    background: var(--dark);
    border-color: var(--dark);
}

.btn-dark:hover {
    background: #23272b;
    border-color: #23272b;
    transform: translateY(-2px);
}

/* Hero Image and Slider */
.hero-image {
    position: relative;
    z-index: 2;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: var(--shadow);
    animation: fadeInRight 1s ease-out 0.9s both;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hero slide content styles removed - now using main hero content overlay */

.hero-slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    gap: 10px;
}

.hero-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.hero-slider-dot.active {
    background: var(--accent-light);
    transform: scale(1.2);
}

/* Services Preview Section */
.services-preview {
    background: var(--secondary-color);
    position: relative;
}

.services-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle, #ffffff 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.3;
}

.service-preview-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-preview-card:hover {
    transform: translateY(-5px);
}

.service-preview-card img {
    width: 100%;
    height: auto;
    min-height: 200px;
    flex: 1;
    object-fit: cover;
    transition: var(--transition);
}

.service-preview-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--white);
    padding: 1rem;
    margin-top: auto;
}

.service-preview-content h5 {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.service-preview-content p {
    font-size: 0.8rem;
    margin: 0;
    opacity: 0.9;
}

.service-preview-info {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    border: 2px dashed var(--accent-light);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

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

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

/* About Company Section */
.about-company {
    background: var(--dark);
    position: relative;
}

.about-company::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle, #ffffff 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.1;
}

.about-company .section-title {
    color: var(--white);
    position: relative;
    display: inline-block;
    padding: 0 20px;
}

.about-company .section-title::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -100px;
    width: 80px;
    height: 2px;
    background: var(--accent-light);
    transform: translateY(-50%);
}

.about-company .section-title::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -100px;
    width: 80px;
    height: 2px;
    background: var(--accent-light);
    transform: translateY(-50%);
}

.about-content h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.about-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-image img {
    border-radius: 10px;
    transition: var(--transition);
}

.about-image img:hover {
    transform: scale(1.02);
}

/* Stats Section */
.stats-section {
    background: var(--accent-light);
}

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

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Featured Projects */
.project-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 300px;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

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

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: var(--white);
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    transform: translateY(0);
}

.project-overlay h5 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.project-overlay p {
    margin: 0 0 1rem 0;
    opacity: 0.9;
}

.project-details {
    margin-bottom: 3rem;
}

/* ========================================
   PROJECT DETAILS PAGE STYLES
   ======================================== */

/* Project Details Main Section */
.project-details {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    min-height: 60vh;
}

.project-details .container {
    max-width: 1200px;
}

/* Project Image Section */
.project-image {
    position: relative;
    margin-bottom: 2rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.project-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

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

.project-image:hover img {
    transform: scale(1.05);
}

/* Project Info Overlay */
.project-info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    border-radius: 0 0 20px 20px;
    z-index: 2;
}

.project-info-overlay .info-item {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.project-info-overlay .info-item:last-child {
    border-bottom: none;
}

.project-info-overlay .info-item strong {
    color: #ffc107;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 0.25rem;
}

.project-info-overlay .info-item span {
    color: white;
    font-size: 0.95rem;
}

.project-info-overlay .badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

/* Project Content Section */
.project-content {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
    border: 1px solid #e9ecef;
}

.project-content h3 {
    color: var(--text-dark);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.project-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--accent-light), #ffc107);
    border-radius: 2px;
}

.project-content .lead {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-full-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

/* Project Gallery */
.project-gallery {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
    border: 1px solid #e9ecef;
}

.project-gallery h3 {
    color: var(--text-dark);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.project-gallery h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--accent-light), #ffc107);
    border-radius: 2px;
}

.project-gallery .row {
    margin-top: 1.5rem;
}

.project-gallery img {
    border-radius: 15px;
    transition: var(--transition);
    cursor: pointer;
}

.project-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Project Info Card */
.project-details .card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: var(--transition);
}

.project-details .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.project-details .card-header {
    background: linear-gradient(135deg, #ffc107 0%, #ff8c00 100%);
    border: none;
    padding: 1.5rem;
}

.project-details .card-header h5 {
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0;
}

.project-details .card-body {
    padding: 2rem;
    background: white;
}

/* Project Info Items */
.project-info .info-item {
    padding: 1rem 0;
    border-bottom: 1px solid #f1f3f4;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.project-info .info-item:last-child {
    border-bottom: none;
}

.project-info .info-item strong {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-info .info-item p {
    margin: 0;
    color: var(--text-light);
    font-size: 1rem;
}

.project-info .info-item .badge {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Contact CTA Card */
.project-details .card.mt-4 {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e9ecef;
}

.project-details .card.mt-4 .card-body {
    text-align: center;
    padding: 2rem;
}

.project-details .card.mt-4 h6 {
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.project-details .card.mt-4 p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.project-details .card.mt-4 .btn {
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    margin: 0 0.25rem;
    transition: var(--transition);
}

.project-details .card.mt-4 .btn-warning {
    background: linear-gradient(135deg, var(--accent-light), #ffc107);
    border: none;
    color: white;
}

.project-details .card.mt-4 .btn-warning:hover {
    background: linear-gradient(135deg, #ffc107, var(--accent-light));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
}

.project-details .card.mt-4 .btn-outline-secondary {
    border: 2px solid #6c757d;
    color: #6c757d;
}

.project-details .card.mt-4 .btn-outline-secondary:hover {
    background: #6c757d;
    border-color: #6c757d;
    color: white;
    transform: translateY(-2px);
}

/* Related Projects Section */
.related-projects {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0;
}

.related-projects h3 {
    color: var(--text-dark);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
}

.related-projects h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--accent-light), #ffc107);
    border-radius: 2px;
}

.related-projects p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* Related Project Cards */
.related-projects .card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    height: 100%;
}

.related-projects .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.related-projects .card-img-top {
    transition: var(--transition);
}

.related-projects .card:hover .card-img-top {
    transform: scale(1.1);
}

.related-projects .card-body {
    padding: 1.5rem;
    background: white;
}

.related-projects .card-title {
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.related-projects .card-text {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.related-projects .badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-weight: 600;
}

.related-projects .btn-outline-warning {
    border: 2px solid #ffc107;
    color: #ffc107;
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.related-projects .btn-outline-warning:hover {
    background: #ffc107;
    border-color: #ffc107;
    color: white;
    transform: translateY(-2px);
}

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

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-light), #28a745);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: var(--dark);
}

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

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

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
    text-align: left;
}

.service-features li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

/* Process Steps */
.process-step {
    text-align: center;
}

.process-number span {
    font-weight: bold;
    color: var(--dark);
}

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

.process-step p {
    color: var(--text-light);
}

/* Why Choose Us */
.advantage-item {
    margin-bottom: 1.5rem;
}

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

.advantage-item p {
    color: var(--text-light);
    margin: 0;
}

/* Team Section */
.team-card {
    text-align: center;
}

.team-image img {
    border: 4px solid var(--accent-light);
    transition: var(--transition);
}

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

.team-card h5 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.team-card p {
    color: var(--accent-light);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.team-card .small {
    color: rgba(255, 255, 255, 0.8);
}

/* Team Qualifications Styling */
.team-qualifications {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    border-left: 3px solid var(--accent-light);
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-y: auto;
}

.team-qualifications p {
    color: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
    line-height: 1.4;
    flex-shrink: 0;
}

.team-qualifications p:last-child {
    margin-bottom: 0;
}

.team-qualifications strong {
    color: var(--accent-light);
    font-weight: 600;
}

/* Responsive adjustments for team qualifications */
@media (max-width: 768px) {
    .team-qualifications {
        padding: 0.75rem;
        margin: 0.75rem 0;
        height: 180px;
    }
    
    .team-qualifications p {
        font-size: 0.75rem;
    }
}

@media (max-width: 576px) {
    .team-qualifications {
        height: 160px;
    }
}

/* Contact Section */
.contact-card {
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-icon i {
    color: var(--accent-light);
}

.contact-form-container {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-form-container {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-form-container h6 {
    color: var(--accent-light);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.contact-form-container .section-title {
    color: var(--text-dark);
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.contact-form-container .lead {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.6;
}

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

.contact-form .form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: var(--transition);
    font-size: 1rem;
}

.contact-form .form-control:focus {
    border-color: var(--accent-light);
    box-shadow: 0 0 0 0.2rem rgba(50, 205, 50, 0.25);
    transform: translateY(-2px);
}

.contact-form .form-control-lg {
    padding: 1rem 1.25rem;
    font-size: 1.1rem;
}

.contact-form .btn-warning {
    background: linear-gradient(135deg, var(--accent-light), #28a745);
    border: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.contact-form .btn-warning:hover {
    background: linear-gradient(135deg, #28a745, var(--accent-light));
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(50, 205, 50, 0.3);
}

.map-container {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.map-container iframe {
    transition: var(--transition);
}

.map-container:hover iframe {
    transform: scale(1.02);
}

.office-hours, .emergency-contact {
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.office-hours:hover, .emergency-contact:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.office-hours h6, .emergency-contact h6 {
    color: var(--accent-light);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.office-hours .text-muted, .emergency-contact .text-muted {
    font-size: 0.95rem;
    line-height: 1.5;
}

.emergency-contact a {
    text-decoration: none;
    transition: var(--transition);
}

.emergency-contact a:hover {
    color: var(--dark) !important;
}

/* Enhanced Contact Info Cards */
.contact-info .contact-card {
    background: linear-gradient(135deg, var(--white) 0%, #f8f9fa 100%);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.contact-info .contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, var(--white) 0%, #ffffff 100%);
}

.contact-info .contact-card .contact-icon {
    margin-bottom: 1.5rem;
}

.contact-info .contact-card .contact-icon i {
    color: var(--accent-light);
    transition: var(--transition);
}

.contact-info .contact-card:hover .contact-icon i {
    transform: scale(1.1);
    color: var(--dark);
}

.contact-info .contact-card h5 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.contact-info .contact-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.contact-info .contact-card .btn {
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition);
}

.contact-info .contact-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(50, 205, 50, 0.3);
}

/* FAQ Section */
.accordion-button:not(.collapsed) {
    background-color: var(--accent-light);
    color: var(--white);
    border-color: var(--accent-light);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(50, 205, 50, 0.25);
}

/* FAQ Section Enhancement */
.faq-section .accordion-item {
    border: none;
    border-radius: 15px;
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.faq-section .accordion-button {
    background: var(--white);
    border: none;
    padding: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.faq-section .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, var(--accent-light), #28a745);
    color: var(--white);
    box-shadow: none;
}

.faq-section .accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(50, 205, 50, 0.25);
}

.faq-section .accordion-body {
    padding: 1.5rem;
    background: var(--white);
    color: var(--text-light);
    line-height: 1.6;
}

/* CTA Section Enhancement */
.cta-section {
    background: linear-gradient(135deg, var(--accent-light) 0%, #28a745 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    color: var(--dark);
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.3);
}

.cta-section .lead {
    color: var(--dark);
    font-weight: 500;
}

.cta-section .btn {
    border-radius: 50px;
    font-weight: 600;
    padding: 0.75rem 2rem;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Page Header */
.page-header {
    background: var(--dark);
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle, #ffffff 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.1;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--accent-light) !important;
}

/* Category Cards */
.category-card {
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-icon i {
    color: var(--accent-light);
}

/* Footer */
footer {
    background: var(--dark) !important;
}

.footer-brand .logo-container i {
    color: var(--accent-light);
}

.social-links a {
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--accent-light) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .top-bar-info span {
        display: block;
        margin-bottom: 0.5rem;
    }
    
    .logo-text h2 {
        font-size: 1.2rem;
    }
    
    .service-preview-info {
        margin-top: 2rem;
    }
    
    .about-content {
        margin-bottom: 2rem;
    }
    
    .service-card {
        margin-bottom: 1rem;
    }
    
    .contact-form-container {
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .hero-buttons .btn:last-child {
        margin-bottom: 0;
    }
    
    .logo-container {
        flex-direction: column;
        text-align: center;
    }
    
    .logo-container i {
        margin-bottom: 0.5rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Enhanced Contact Page Styles */
.contact-form-icon,
.office-hours-icon,
.map-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ffc107 0%, #ff8c00 100%);
    border-radius: 50%;
    margin: 0 auto;
    box-shadow: 0 10px 25px rgba(255, 193, 7, 0.3);
    transition: var(--transition);
}

.contact-form-icon:hover,
.office-hours-icon:hover,
.map-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 35px rgba(255, 193, 7, 0.4);
}

.contact-form-icon i,
.office-hours-icon i,
.map-icon i {
    color: white !important;
    font-size: 2rem !important;
}

/* Input Group Enhancements */
.input-group-text {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #e9ecef;
    border-right: none;
    transition: var(--transition);
}

.input-group .form-control {
    border-left: none;
    background: white;
}

.input-group .form-control:focus {
    border-color: var(--accent-light);
    box-shadow: none;
}

.input-group .form-control:focus + .input-group-text,
.input-group:focus-within .input-group-text {
    border-color: var(--accent-light);
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
}

/* Office Hours Styling */
.office-hours .bg-light {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    border: 1px solid #dee2e6;
    transition: var(--transition);
}

.office-hours .bg-light:hover {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%) !important;
    transform: translateX(5px);
}

.office-hours .badge {
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 20px;
}

/* Map Container */
.map-wrapper {
    position: relative;
    background: #f8f9fa;
    border: 3px solid #e9ecef;
    transition: var(--transition);
}

.map-wrapper:hover {
    border-color: var(--accent-light);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.map-iframe {
    border-radius: 10px;
    transition: var(--transition);
}

.map-iframe:hover {
    transform: scale(1.02);
}

/* Emergency Contact Button */
.emergency-contact .btn-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border: none;
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
    transition: var(--transition);
}

.emergency-contact .btn-danger:hover {
    background: linear-gradient(135deg, #c82333 0%, #a71e2a 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.4);
}

/* Office Info Container */
.office-info-container {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid #e9ecef;
}

/* Rounded corners for modern look */
.rounded-4 {
    border-radius: 1.5rem !important;
}

.rounded-3 {
    border-radius: 1rem !important;
}

.rounded-pill {
    border-radius: 50rem !important;
}

/* Enhanced Contact Form Container */
.contact-form-container {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid #e9ecef;
}

/* Contact Form Map Section Background */
.contact-form-map {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* ========================================
   PROJECT DETAILS RESPONSIVE STYLES
   ======================================== */

/* Tablet Styles */
@media (max-width: 992px) {
    .project-details {
        padding: 3rem 0;
    }
    
    .project-details .container {
        max-width: 100%;
    }
    
    .project-content,
    .project-gallery {
        padding: 2rem;
    }
    
    .project-details .card-body {
        padding: 1.5rem;
    }
    
    .project-image img {
        height: 300px;
    }
    
    .project-info-overlay {
        padding: 1.5rem 1rem 1rem;
    }
    
    .project-info-overlay .info-item {
        padding: 0.4rem 0;
    }
    
    .project-info-overlay .info-item strong {
        font-size: 0.85rem;
    }
    
    .project-info-overlay .info-item span {
        font-size: 0.9rem;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .project-details {
        padding: 2rem 0;
    }
    
    .project-content,
    .project-gallery {
        padding: 1.5rem;
        border-radius: 15px;
    }
    
    .project-content h3,
    .project-gallery h3 {
        font-size: 1.75rem;
    }
    
    .project-content .lead {
        font-size: 1.1rem;
    }
    
    .project-full-description {
        font-size: 1rem;
    }
    
    .project-image {
        border-radius: 15px;
    }
    
    .project-image img {
        height: 250px;
    }
    
    .project-info-overlay {
        padding: 1.25rem 0.75rem 0.75rem;
    }
    
    .project-info-overlay .info-item {
        padding: 0.3rem 0;
    }
    
    .project-info-overlay .info-item strong {
        font-size: 0.8rem;
    }
    
    .project-info-overlay .info-item span {
        font-size: 0.85rem;
    }
    
    .project-info-overlay .badge {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
    
    .project-details .card {
        border-radius: 15px;
    }
    
    .project-details .card-header {
        padding: 1rem;
    }
    
    .project-details .card-header h5 {
        font-size: 1.1rem;
    }
    
    .project-details .card-body {
        padding: 1.25rem;
    }
    
    .project-info .info-item {
        padding: 0.75rem 0;
    }
    
    .project-info .info-item strong {
        font-size: 0.9rem;
    }
    
    .project-info .info-item p {
        font-size: 0.95rem;
    }
    
    .project-details .card.mt-4 .card-body {
        padding: 1.5rem;
    }
    
    .project-details .card.mt-4 h6 {
        font-size: 1.1rem;
    }
    
    .project-details .card.mt-4 .btn {
        padding: 0.6rem 1.25rem;
        font-size: 0.9rem;
        margin: 0.25rem;
    }
    
    .related-projects {
        padding: 3rem 0;
    }
    
    .related-projects h3 {
        font-size: 2rem;
    }
    
    .related-projects p {
        font-size: 1rem;
    }
    
    .related-projects .card-body {
        padding: 1.25rem;
    }
    
    .related-projects .card-title {
        font-size: 1rem;
    }
    
    .related-projects .card-text {
        font-size: 0.9rem;
    }
}

/* Small Mobile Styles */
@media (max-width: 576px) {
    .project-details {
        padding: 1.5rem 0;
    }
    
    .project-content,
    .project-gallery {
        padding: 1.25rem;
        border-radius: 12px;
    }
    
    .project-content h3,
    .project-gallery h3 {
        font-size: 1.5rem;
    }
    
    .project-content .lead {
        font-size: 1rem;
    }
    
    .project-full-description {
        font-size: 0.95rem;
    }
    
    .project-image {
        border-radius: 12px;
    }
    
    .project-image img {
        height: 200px;
    }
    
    .project-info-overlay {
        padding: 1rem 0.5rem 0.5rem;
    }
    
    .project-info-overlay .info-item {
        padding: 0.25rem 0;
    }
    
    .project-info-overlay .info-item strong {
        font-size: 0.75rem;
    }
    
    .project-info-overlay .info-item span {
        font-size: 0.8rem;
    }
    
    .project-info-overlay .badge {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
    }
    
    .project-details .card {
        border-radius: 12px;
    }
    
    .project-details .card-header {
        padding: 0.75rem;
    }
    
    .project-details .card-header h5 {
        font-size: 1rem;
    }
    
    .project-details .card-body {
        padding: 1rem;
    }
    
    .project-info .info-item {
        padding: 0.5rem 0;
    }
    
    .project-info .info-item strong {
        font-size: 0.85rem;
    }
    
    .project-info .info-item p {
        font-size: 0.9rem;
    }
    
    .project-details .card.mt-4 .card-body {
        padding: 1.25rem;
    }
    
    .project-details .card.mt-4 h6 {
        font-size: 1rem;
    }
    
    .project-details .card.mt-4 .btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        margin: 0.25rem 0;
        display: block;
        width: 100%;
    }
    
    .related-projects {
        padding: 2rem 0;
    }
    
    .related-projects h3 {
        font-size: 1.75rem;
    }
    
    .related-projects p {
        font-size: 0.95rem;
    }
    
    .related-projects .card {
        border-radius: 12px;
    }
    
    .related-projects .card-body {
        padding: 1rem;
    }
    
    .related-projects .card-title {
        font-size: 0.95rem;
    }
    
    .related-projects .card-text {
        font-size: 0.85rem;
    }
    
    .related-projects .btn-outline-warning {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--accent-light);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #28a745;
}

/* Loading Animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading.hidden {
    display: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--accent-light);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Additional Utility Classes */
.text-warning {
    color: var(--accent-light) !important;
}

.bg-warning {
    background-color: var(--accent-light) !important;
}

.btn-warning {
    background-color: var(--accent-light) !important;
    border-color: var(--accent-light) !important;
    color: var(--white) !important;
}

/* Responsive Hero Section */
@media (max-width: 768px) {
    .hero-section {
        height: 500px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-slider {
        height: 100%;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .hero-buttons .btn:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 450px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-slider {
        height: 250px;
    }
}

.btn-warning:hover {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
}

/* Success Stories Page Styles */

/* Achievement Cards */
.achievement-card {
    background: linear-gradient(135deg, var(--white) 0%, #f8f9fa 100%);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.achievement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--accent-light) 0%, #28a745 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.achievement-card:hover::before {
    opacity: 0.1;
}

.achievement-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.achievement-card .achievement-icon {
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.achievement-card:hover .achievement-icon i {
    transform: scale(1.1);
    color: var(--dark);
}

.achievement-card h3 {
    position: relative;
    z-index: 2;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.achievement-card p {
    position: relative;
    z-index: 2;
    color: var(--text-light);
    font-weight: 500;
    font-size: 1rem;
}

/* Story Cards */
.story-card {
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.story-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-light), #28a745);
    transition: var(--transition);
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.story-card:hover::before {
    width: 8px;
}

.story-category .badge {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.story-title {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.story-location {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.story-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.story-challenges h6,
.story-outcome h6 {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.story-challenges ul li {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.story-challenges ul li i {
    font-size: 0.8rem;
}

.story-outcome p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

.story-footer {
    border-top: 1px solid #e9ecef;
    padding-top: 1.5rem;
}

.outcome-stat h5 {
    color: var(--accent-light);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.outcome-stat small {
    color: var(--text-light);
    font-size: 0.8rem;
    font-weight: 500;
}

/* Compact Story Cards */
.story-card-compact {
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.story-card-compact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-light), #28a745);
    transition: var(--transition);
}

.story-card-compact:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.story-card-compact:hover::before {
    width: 6px;
}

.story-card-compact .story-title {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.story-card-compact .story-description {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.story-stats .badge {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.4rem 0.6rem;
}

/* Testimonial Cards */
.testimonial-card {
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--accent-light);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-card:hover::before {
    width: 6px;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

.testimonial-author {
    border-top: 1px solid #e9ecef;
    padding-top: 1rem;
}

.author-avatar i {
    color: var(--accent-light);
}

.testimonial-author h6 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

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

/* Success Overview Section */
.success-overview {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.success-overview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle, var(--accent-light) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.1;
}

.success-overview .container {
    position: relative;
    z-index: 2;
}

/* Featured Stories Section */
.featured-stories {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

/* More Stories Section */
.more-stories {
    background: var(--white);
}

/* Responsive Design for Success Stories */
@media (max-width: 768px) {
    .achievement-card h3 {
        font-size: 2rem;
    }
    
    .story-card {
        padding: 1.5rem !important;
    }
    
    .story-card-compact {
        padding: 1rem !important;
    }
    
    .story-footer .row {
        text-align: center;
    }
    
    .outcome-stat {
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .achievement-card {
        margin-bottom: 1rem;
    }
    
    .story-card,
    .story-card-compact {
        margin-bottom: 1rem;
    }
    
    .testimonial-card {
        margin-bottom: 1rem;
    }
}

/* ===== ENHANCED MOBILE-FIRST RESPONSIVE DESIGN ===== */

/* Enhanced Mobile Typography */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
        text-align: center;
    }
    
    .lead {
        font-size: 1rem;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.6rem;
    }
    
    .lead {
        font-size: 0.9rem;
    }
}

/* Enhanced Mobile Top Bar */
@media (max-width: 768px) {
    .top-bar {
        padding: 0.5rem 0;
    }
    
    .top-bar-info {
        text-align: center;
    }
    
    .top-bar-info span {
        display: block;
        margin-bottom: 0.25rem;
        font-size: 0.75rem;
    }
    
    .top-bar .btn {
        display: block;
        width: 100%;
        margin-top: 0.5rem;
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 576px) {
    .top-bar-info span {
        font-size: 0.7rem;
        margin-bottom: 0.2rem;
    }
    
    .top-bar .btn {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Enhanced Mobile Navigation */
@media (max-width: 768px) {
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar-brand {
        padding: 0;
    }
    
    .logo-container {
        max-width: 220px;
    }
    
    .logo-container img {
        max-height: 60px;
    }
    
    .navbar-toggler {
        padding: 0.25rem 0.5rem;
        border-radius: 8px;
    }
    
    .navbar-collapse {
        background: var(--white);
        border-radius: 15px;
        margin-top: 1rem;
        padding: 1rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    
    .nav-link {
        padding: 0.75rem 1rem !important;
        margin: 0.25rem 0;
        font-size: 0.85rem;
        text-align: center;
        border-radius: 8px;
    }
    
    .nav-link:hover,
    .nav-link.active {
        background-color: rgba(50, 205, 50, 0.1);
    }
    
    .navbar-nav .search-icon {
        justify-content: center;
        margin-top: 0.5rem;
    }
}

@media (max-width: 576px) {
    .logo-container {
        max-width: 200px;
    }
    
    .logo-container img {
        max-height: 55px;
    }
    
    .nav-link {
        padding: 0.625rem 0.875rem !important;
        font-size: 0.8rem;
    }
    
    .navbar-collapse {
        margin-top: 0.75rem;
        padding: 0.75rem;
    }
}

/* Enhanced Mobile Hero Section */
@media (max-width: 768px) {
    .hero-section {
        min-height: 80vh;
        padding: 1.5rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        min-width: 180px;
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .hero-slider {
        height: 100%;
    }
    
    /* Hero slide content styles removed */
    
    .hero-slider-nav {
        margin-top: 0.75rem;
        gap: 0.4rem;
    }
    
    .hero-slider-dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: 70vh;
        padding: 1rem 0;
    }
    
    .hero-title {
        font-size: 1.6rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
        padding: 0 0.5rem;
    }
    
    .hero-buttons .btn {
        min-width: 160px;
        padding: 0.75rem 1.25rem;
        font-size: 0.8rem;
    }
    
    .hero-slider {
        height: 100%;
    }
    
    /* Hero slide content styles removed */
    
    .hero-slider-dot {
        width: 8px;
        height: 8px;
    }
}

/* Enhanced Mobile Services Preview */
@media (max-width: 768px) {
    .services-preview {
        padding: 2rem 0;
    }
    
    .service-preview-card {
        margin-bottom: 1.5rem;
        height: auto;
    }
    
    .service-preview-card img {
        height: 180px;
    }
    
    .service-preview-content {
        padding: 1.25rem;
    }
    
    .service-preview-content h5 {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }
    
    .service-preview-content p {
        font-size: 0.85rem;
    }
    
    .service-preview-info {
        padding: 1.5rem;
        margin-top: 1.5rem;
        text-align: center;
    }
    
    .service-preview-info h3 {
        font-size: 1.3rem;
        margin-bottom: 0.75rem;
    }
    
    .service-preview-info p {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
    }
    
    .service-preview-info .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .services-preview {
        padding: 1.5rem 0;
    }
    
    .service-preview-card {
        margin-bottom: 1rem;
    }
    
    .service-preview-card img {
        height: 160px;
    }
    
    .service-preview-content {
        padding: 1rem;
    }
    
    .service-preview-content h5 {
        font-size: 0.9rem;
    }
    
    .service-preview-content p {
        font-size: 0.8rem;
    }
    
    .service-preview-info {
        padding: 1.25rem;
        margin-top: 1rem;
    }
    
    .service-preview-info h3 {
        font-size: 1.2rem;
        margin-bottom: 0.6rem;
    }
    
    .service-preview-info p {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    .service-preview-info .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.8rem;
    }
}

/* Enhanced Mobile About Company */
@media (max-width: 768px) {
    .about-company {
        padding: 2rem 0;
        text-align: center;
    }
    
    .about-image {
        margin-bottom: 1.5rem;
    }
    
    .about-image img {
        border-radius: 12px;
    }
    
    .about-content h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .about-content p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        line-height: 1.6;
    }
    
    .about-content .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .about-company {
        padding: 1.5rem 0;
    }
    
    .about-image {
        margin-bottom: 1rem;
    }
    
    .about-image img {
        border-radius: 10px;
    }
    
    .about-content h3 {
        font-size: 1.3rem;
        margin-bottom: 0.75rem;
    }
    
    .about-content p {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
    }
    
    .about-content .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.8rem;
    }
}

/* Enhanced Mobile Stats Section */
@media (max-width: 768px) {
    .stats-section {
        padding: 2rem 0;
    }
    
    .stat-item {
        padding: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .stat-item i {
        font-size: 2.5rem !important;
        margin-bottom: 0.75rem;
    }
    
    .stat-item h3 {
        font-size: 2rem;
        margin-bottom: 0.4rem;
    }
    
    .stat-item p {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .stats-section {
        padding: 1.5rem 0;
    }
    
    .stat-item {
        padding: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .stat-item i {
        font-size: 2rem !important;
        margin-bottom: 0.5rem;
    }
    
    .stat-item h3 {
        font-size: 1.75rem;
        margin-bottom: 0.3rem;
    }
    
    .stat-item p {
        font-size: 0.85rem;
    }
}

/* Enhanced Mobile Featured Projects */
@media (max-width: 768px) {
    .featured-projects {
        padding: 2rem 0;
    }
    
    .project-card {
        height: 250px;
        margin-bottom: 1rem;
        border-radius: 12px;
    }
    
    .project-overlay {
        padding: 1.5rem 1rem 1rem;
        border-radius: 0 0 12px 12px;
    }
    
    .project-overlay h5 {
        font-size: 1.1rem;
        margin-bottom: 0.4rem;
    }
    
    .project-overlay p {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }
    
    .project-overlay .btn {
        padding: 0.5rem 1.25rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 576px) {
    .featured-projects {
        padding: 1.5rem 0;
    }
    
    .project-card {
        height: 200px;
        margin-bottom: 0.75rem;
        border-radius: 10px;
    }
    
    .project-overlay {
        padding: 1.25rem 0.75rem 0.75rem;
        border-radius: 0 0 10px 10px;
    }
    
    .project-overlay h5 {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }
    
    .project-overlay p {
        font-size: 0.8rem;
        margin-bottom: 0.6rem;
    }
    
    .project-overlay .btn {
        padding: 0.4rem 1rem;
        font-size: 0.7rem;
    }
}

/* Enhanced Mobile Search Modal */
@media (max-width: 768px) {
    .search-form .input-group {
        border-radius: 12px;
    }
    
    .search-form .form-control {
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .search-form .btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .search-form .form-control {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }
    
    .search-form .btn {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }
}

/* Enhanced Mobile Loading and Error States */
@media (max-width: 768px) {
    .loading-spinner {
        padding: 1.5rem;
    }
    
    .error-message,
    .success-message {
        padding: 0.875rem;
        margin: 0.75rem 0;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .loading-spinner {
        padding: 1rem;
    }
    
    .error-message,
    .success-message {
        padding: 0.75rem;
        margin: 0.5rem 0;
        font-size: 0.85rem;
    }
}

/* Enhanced Mobile Touch Interactions */
@media (hover: none) and (pointer: coarse) {
    .nav-link:hover::after {
        width: 0;
    }
    
    .nav-link.active::after {
        width: 80%;
    }
    
    .service-preview-card:hover {
        transform: none;
    }
    
    .service-preview-card:hover img {
        transform: none;
    }
    
    .project-card:hover {
        transform: none;
    }
    
    .project-card:hover img {
        transform: none;
    }
    
    .project-overlay {
        transform: translateY(0);
        background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    }
    
    .btn:hover {
        transform: none;
    }
}

/* Enhanced Mobile Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Enhanced Mobile Focus States */
.btn:focus,
.form-control:focus,
.nav-link:focus {
    outline: 2px solid var(--accent-light);
    outline-offset: 2px;
}

/* Enhanced Mobile Print Styles */
@media print {
    .navbar,
    .top-bar,
    .hero-buttons,
    .btn {
        display: none !important;
    }
    
    .hero-section {
        min-height: auto;
        padding: 1rem 0;
    }
    
    .hero-title {
        color: var(--text-dark) !important;
        text-shadow: none !important;
    }
    
    .hero-subtitle {
        color: var(--text-light) !important;
    }
}

/* Enhanced Mobile Container Spacing */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
}

/* Enhanced Mobile Grid System */
@media (max-width: 768px) {
    .row {
        margin-left: -0.5rem;
        margin-right: -0.5rem;
    }
    
    .col,
    .col-1,
    .col-2,
    .col-3,
    .col-4,
    .col-5,
    .col-6,
    .col-7,
    .col-8,
    .col-9,
    .col-10,
    .col-11,
    .col-12,
    .col-auto,
    .col-lg,
    .col-lg-1,
    .col-lg-2,
    .col-lg-3,
    .col-lg-4,
    .col-lg-5,
    .col-lg-6,
    .col-lg-7,
    .col-lg-8,
    .col-lg-9,
    .col-lg-10,
    .col-lg-11,
    .col-lg-12,
    .col-lg-auto,
    .col-md,
    .col-md-1,
    .col-md-2,
    .col-md-3,
    .col-md-4,
    .col-md-5,
    .col-md-6,
    .col-md-7,
    .col-md-8,
    .col-md-9,
    .col-md-10,
    .col-md-11,
    .col-md-12,
    .col-md-auto,
    .col-sm,
    .col-sm-1,
    .col-sm-2,
    .col-sm-3,
    .col-sm-4,
    .col-sm-5,
    .col-sm-6,
    .col-sm-7,
    .col-sm-8,
    .col-sm-9,
    .col-sm-10,
    .col-sm-11,
    .col-sm-12,
    .col-sm-auto,
    .col-xl,
    .col-xl-1,
    .col-xl-2,
    .col-xl-3,
    .col-xl-4,
    .col-xl-5,
    .col-xl-6,
    .col-xl-7,
    .col-xl-8,
    .col-xl-9,
    .col-xl-10,
    .col-xl-11,
    .col-xl-12,
    .col-xl-auto {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

@media (max-width: 576px) {
    .row {
        margin-left: -0.375rem;
        margin-right: -0.375rem;
    }
    
    .col,
    .col-1,
    .col-2,
    .col-3,
    .col-4,
    .col-5,
    .col-6,
    .col-7,
    .col-8,
    .col-9,
    .col-10,
    .col-11,
    .col-12,
    .col-auto,
    .col-lg,
    .col-lg-1,
    .col-lg-2,
    .col-lg-3,
    .col-lg-4,
    .col-lg-5,
    .col-lg-6,
    .col-lg-7,
    .col-lg-8,
    .col-lg-9,
    .col-lg-10,
    .col-lg-11,
    .col-lg-12,
    .col-lg-auto,
    .col-md,
    .col-md-1,
    .col-md-2,
    .col-md-3,
    .col-md-4,
    .col-md-5,
    .col-md-6,
    .col-md-7,
    .col-md-8,
    .col-md-9,
    .col-md-10,
    .col-md-11,
    .col-md-12,
    .col-md-auto,
    .col-sm,
    .col-sm-1,
    .col-sm-2,
    .col-sm-3,
    .col-sm-4,
    .col-sm-5,
    .col-sm-6,
    .col-sm-7,
    .col-sm-8,
    .col-sm-9,
    .col-sm-10,
    .col-sm-11,
    .col-sm-12,
    .col-sm-auto,
    .col-xl,
    .col-xl-1,
    .col-xl-2,
    .col-xl-3,
    .col-xl-4,
    .col-xl-5,
    .col-xl-6,
    .col-xl-7,
    .col-xl-8,
    .col-xl-9,
    .col-xl-10,
    .col-xl-11,
    .col-xl-12,
    .col-xl-auto {
        padding-left: 0.375rem;
        padding-right: 0.375rem;
    }
}
