/* Base Styles */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #008e44;
    --primary-light: #00b359;
    --secondary-color: #6c757d;
    --light-color: #f8f9fa;
    --dark-color: #343a40;

    /* Bootstrap palette overrides */
    --bs-primary: #008e44;
    --bs-primary-rgb: 0, 142, 68;
    --bs-danger: #d31e28;
    --bs-danger-rgb: 211, 30, 40;
}

.brand-green-text {
    color: #008e44 !important;
}

.brand-green-bg {
    background-color: #008e44 !important;
    color: #fff;
}

.brand-green-light {
    color: #00b359 !important;
}

.brand-green-light-bg {
    background-color: #00b359 !important;
    color: #fff;
}

.text-primary {
    color: #008e44 !important;
}

.bg-primary {
    background-color: #008e44 !important;
}

.border-primary {
    border-color: #008e44 !important;
}

body {
    font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

body.contact-page {
    position: relative;
}

body.contact-page::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../../static/img/HD/Droneview_L.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    z-index: -2;
}

body.contact-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.3);
    z-index: -1;
    pointer-events: none;
}

/* Header & Navigation */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
}

.navbar.scroll-down {
    transform: translateY(-100%);
}

.navbar.scroll-up {
    transform: translateY(0);
}

/* Offset page content for fixed navbar */
body {
    padding-top: 90px;
    background:
        linear-gradient(to right, #ffffff 0%, #ffffff 30%, #212529 45%, #212529 100%) 0 0 / 100% 90px no-repeat,
        #ffffff;
}

@media (max-width: 991.98px) {
    body {
        padding-top: 70px;
        background:
            linear-gradient(to right, #ffffff 0%, #ffffff 100%) 0 0 / 100% 70px no-repeat,
            #ffffff;
    }

    /* Ensure mobile nav dropdown stays readable and full-width */
    .navbar-collapse {
        background: #212529;
        padding: 0.75rem 0;
    }

    .navbar-nav .nav-link {
        padding: 0.75rem 1.25rem;
        text-align: left;
    }

    .navbar-toggler {
        border-color: rgba(255, 255, 255, 0.6);
    }
}

.navbar.bg-dark {
    background: linear-gradient(to right, #ffffff 0%, #ffffff 30%, #212529 45%, #212529 100%) !important;
}

@media (max-width: 991.98px) {
    .navbar.bg-dark {
        background: rgba(33, 37, 41, 0.85) !important; /* Slightly transparent dark */
        box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    }
    .navbar-brand img {
        background: rgba(255,255,255,0.7);
        border-radius: 8px;
        padding: 2px 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.10);
        max-height: 48px;
    }
}

.navbar .nav-link {
    font-size: 1.15rem;
    font-weight: 700;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-brand .logo-text {
    font-family: 'Georgia', serif;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 1.5rem;
}

/* Scroll reveal animation */
.scroll-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-animate.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section */
.hero {
    color: white;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-text-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 3rem 2rem;
    z-index: 2;
    min-height: 250px;
    clip-path: polygon(0% 100%, 100% 100%, 100% 100%, 0% 100%);
    transition: clip-path 0.6s ease, background 0.6s ease;
}

.hero:hover .hero-text-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 100%);
    clip-path: polygon(0% 100%, 100% 100%, 100% 0%, 0% 0%);
    transition: clip-path 0.6s ease, background 0.6s ease;
}

@media (max-width: 767.98px) {
    /* Always show faded overlay on mobile, remove animation */
    .hero-text-overlay {
        background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 100%) !important;
        clip-path: none !important;
        transition: none !important;
    }
    .hero:hover .hero-text-overlay {
        background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 100%) !important;
        clip-path: none !important;
        transition: none !important;
    }
}
.hero-content {
    text-align: center;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero:hover .hero-content {
    opacity: 1;
    transform: translateY(0);
}

/* Center content on mobile */
@media (max-width: 767.98px) {
    .hero {
        text-align: center;
    }
}

.image-gallery {
    padding: 3rem 0;
}

.gallery-grid,
.projects-grid {
    margin-top: 2rem;
}

.gallery-grid img,
.projects-grid img {
    width: 100%;
    height: auto;
    aspect-ratio: 5 / 3;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.gallery-grid img:hover,
.projects-grid img:hover {
    transform: scale(1.03);
}

/* Project Image Carousel */
.project-image-carousel {
    width: 100%;
    height: 100%;
    aspect-ratio: 5 / 3;
    overflow: hidden;
    border-radius: 8px;
    background-color: #f0f0f0;
}

.carousel-track {
    display: flex;
    width: 300%;
    height: 100%;
    transform: translateX(-33.333%);
    transition: transform 0.3s ease;
}

.carousel-item {
    width: calc(100% / 3);
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-item img,
.carousel-item a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-item a {
    width: 100%;
    height: 100%;
}

.carousel-item-center {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease;
}

.hero .lead {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

/* About Section */
.about {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.about h2 {
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

/* Project Showcase */
.project-showcase {
    background-color: #fff;
    margin-bottom: 2rem;
}

.project-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

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

.project-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.2));
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-info {
    color: white;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

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

.project-info h3 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.project-info p {
    margin-bottom: 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

/* Services Section */
.services-section {
    background-color: #f8f9fa;
    position: relative;
    min-height: 500vh;
}

.services-sticky-wrapper {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
}

.services-text-section {
    position: relative;
    padding: 0 15px;
}

.services-text-section::before {
    content: '';
    position: absolute;
    left: 120px;
    top: -300px;
    width: 600px;
    height: 600px;
    background-image: url('../../static/img/final_alpha.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.12;
    z-index: 0;
    pointer-events: none;
}

@media (max-width: 991.98px) {
    .services-text-section {
        padding: 0 12px;
    }

    .services-text-section::before {
        display: none;
    }

    .services-text-section h2 {
        font-size: 1.75rem;
        word-break: break-word;
    }

    .services-text-section p {
        font-size: 0.95rem;
        word-break: break-word;
        overflow-wrap: break-word;
    }
}

.services-text-section > * {
    position: relative;
    z-index: 1;
}

.frame-animation-container {
    position: sticky;
    top: 100px;
    width: 100%;
    aspect-ratio: 1518 / 1080;
    background-color: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.5), inset 0 0 60px rgba(0, 0, 0, 0.6);
    border: 2px solid #666;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 991.98px) {
    .services-section {
        min-height: auto;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .services-sticky-wrapper {
        position: static;
        height: auto;
    }

    .frame-animation-container {
        position: relative;
        top: 0;
        margin-bottom: 2rem;
    }
}

.frame-animation-container img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
}

/* Image Frame Template (frame + shadow + zoom) */
.img-frame-template {
    border: 2px solid #666;
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.5), inset 0 0 60px rgba(0, 0, 0, 0.6);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    transform-origin: center;
}

.img-frame-template:hover {
    transform: scale(1.05);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.65), inset 0 0 80px rgba(0, 0, 0, 0.5);
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
    letter-spacing: -0.5px;
}

/* Feature Highlights */
.feature-highlights {
    background-color: #fff;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.about-feature-icon {
    color: #008e44;
    font-size: 1.75rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.about-feature-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 0.5rem;
}

.about-feature-content p {
    color: #6c757d;
    margin-bottom: 0;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .project-card img {
        height: 200px;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Gallery */
.gallery-item,
.project-item {
    transition: transform 0.3s ease;
}

.gallery-item:hover,
.project-item:hover {
    transform: translateY(-5px);
}

.gallery-item .card,
.project-item .card {
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    height: 100%;
    overflow: hidden;
}

.gallery-item .card:hover,
.project-item .card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.gallery-item .card-img-top,
.project-item .card-img-top {
    width: 100%;
    height: 350px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.gallery-item .card:hover .card-img-top,
.project-item .card:hover .card-img-top {
    transform: scale(1.05);
}

.gallery-item .card-body,
.project-item .card-body {
    padding: 1.25rem;
    background-color: #fff;
}

.gallery-item .card-title,
.project-item .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
    line-height: 1.4;
}

.gallery-item .badge,
.project-item .badge {
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.4rem 0.8rem;
}

.gallery-page .container,
.projects-page .container {
    max-width: 1400px;
}

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

/* Brand button overrides */
.btn-outline-primary {
    color: #008e44 !important;
    border-color: #008e44 !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active,
.btn-outline-primary.active,
.btn-outline-primary.show,
.btn-outline-primary:active:focus {
    background-color: #008e44 !important;
    border-color: #008e44 !important;
    color: #fff !important;
    box-shadow: none;
}

.btn-primary {
    background-color: #008e44 !important;
    border-color: #008e44 !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.btn-primary.show,
.btn-primary:active:focus {
    background-color: #00753a !important;
    border-color: #00753a !important;
    box-shadow: none;
}

.footer-links h5 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

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

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

.footer-links a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
    text-decoration: none;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    color: #fff;
    margin-right: 10px;
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .lead {
        font-size: 1.25rem;
    }
}

@media (max-width: 767.98px) {
    .hero {
        min-height: 80vh;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero .lead {
        font-size: 1.1rem;
    }
    
    .hero-logo {
        max-width: 200px;
    }
    
    .logo-title {
        font-size: 2rem;
        letter-spacing: 4px;
    }
    
    .gallery-item .card-img-top {
        height: 300px;
    }
}

/* Adjust spacing after testimonials removal */


/* Contact page boxes */
.contact-box {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 100%);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    color: #fff;
}

.contact-info.contact-box {
    max-width: 75%;
    margin-left: auto;
    margin-right: auto;
}

.cta-section {
    position: relative;
    overflow: hidden;
    padding-top: 3.5rem;
    padding-bottom: 3rem;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(0deg, transparent 0%, rgba(0, 0, 0, 0.05) 100%);
    pointer-events: none;
}

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

.cta-section h2 {
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
}

.cta-section p {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    font-weight: 300;
    letter-spacing: 0.3px;
}

.cta-section .btn {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.cta-section .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Enhanced Page Headers */
.page-header {
    position: relative;
    overflow: hidden;
    text-align: center;
}

.page-header.brand-green-bg {
    background: linear-gradient(135deg, #008e44 0%, #006633 100%) !important;
    color: #fff;
    padding: 5rem 0 6rem !important;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.05) 100%);
    pointer-events: none;
}

.page-header h1,
.page-header .display-4 {
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.5px;
    font-size: 3.5rem;
    font-weight: 700;
}

.page-header p,
.page-header .lead {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    font-weight: 300;
    letter-spacing: 0.3px;
    font-size: 1.35rem;
}

.page-header .decorative-line {
    width: 80px;
    height: 4px;
    background: rgba(255, 255, 255, 0.8);
    margin: 1.5rem auto;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* About page hover zoom for images */
.about-hover-zoom {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.about-hover-zoom:hover {
    transform: scale(1.08);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.65), inset 0 0 80px rgba(0, 0, 0, 0.5);
}

/* Prevent navbar overlap on small screens */
@media (max-width: 767.98px) {
    .about-page .page-header {
        margin-top: 15px;
        padding-top: 1.25rem;
        padding-bottom: 1rem;
    }
}

/* Service Cards */
.service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    scroll-margin-top: 100px;
}

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

.service-card-body {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 1rem;
}

.service-card-description {
    color: #6c757d;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    margin-bottom: 0.75rem;
    color: #495057;
    font-size: 0.95rem;
}

.service-features i {
    color: #008e44;
    margin-right: 0.75rem;
    width: 16px;
}

/* Clickable image open indicator for service cards */
.service-image-wrapper {
    position: relative;
}

.image-open-indicator {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    line-height: 1;
    pointer-events: none; /* do not block clicks on the image */
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
    transition: background 0.2s ease, transform 0.2s ease;
}

.service-card:hover .image-open-indicator {
    background: rgba(0, 0, 0, 0.75);
    transform: translateY(-1px);
}

.services-header {
    background: linear-gradient(135deg, #008e44 0%, #006633 100%);
    color: white;
    padding: 5rem 0 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.services-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at 20% 50%,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 50%
      ),
      radial-gradient(
        circle at 80% 80%,
        rgba(255, 255, 255, 0.08) 0%,
        transparent 50%
      );
    pointer-events: none;
}

.services-header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(
      180deg,
      transparent 0%,
      rgba(0, 0, 0, 0.05) 100%
    );
    pointer-events: none;
}

.services-header .container {
    position: relative;
    z-index: 1;
}

.services-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.5px;
}

.services-header p {
    font-size: 1.35rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    font-weight: 300;
    letter-spacing: 0.3px;
}

.services-header .decorative-line {
    width: 80px;
    height: 4px;
    background: rgba(255, 255, 255, 0.8);
    margin: 1.5rem auto;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.services-container {
    padding: 4rem 0;
}

.section-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.section-intro h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 1rem;
}

.section-intro p {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .service-card-body {
        padding: 1.5rem;
    }

    .services-header h1 {
        font-size: 2rem;
    }

    .section-intro h2 {
        font-size: 1.75rem;
    }
}

/* Image Modal Styles */
#imageModal .modal-dialog {
    max-width: fit-content;
    margin: 1.75rem auto;
}

#imageModal .modal-content {
    background: transparent;
    border: none;
    box-shadow: none;
}

#imageModal img {
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    display: block;
}

.modal-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1050;
    background: rgba(0, 0, 0, 0.6);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    padding: 0;
}

.modal-close-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.modal-close-btn .btn-close {
    margin: 0;
    padding: 0;
    opacity: 1;
}

/* Enhanced CTA Section */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at 30% 50%,
        rgba(255, 255, 255, 0.15) 0%,
        transparent 50%
      ),
      radial-gradient(
        circle at 70% 70%,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 50%
      );
    pointer-events: none;
}

.cta-section::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(
      0deg,
      transparent 0%,
      rgba(0, 0, 0, 0.05) 100%
    );
    pointer-events: none;
}

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

.cta-section h2 {
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
}

.cta-section p {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    font-weight: 300;
    letter-spacing: 0.3px;
}

.cta-section .btn {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.cta-section .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
