/* ================================================
   Punjab Construction - Custom Branding & Styles
   ================================================ */

/* Import Poppins Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-color: #2f5fa7;
    --primary-dark: #1b3f73;
    --primary-light: #3e73c2;
    --accent-color: #f59e0b;
    --accent-light: #fbbf24;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --light-bg: #f8fafc;
    --border-color: #e2e8f0;
    --text-color: #1f2937;
    --text-light: #64748b;
    --shadow-sm: 0 1px 3px rgba(15, 32, 64, 0.08);
    --shadow-md: 0 6px 18px rgba(15, 32, 64, 0.12);
    --shadow-lg: 0 10px 30px rgba(15, 32, 64, 0.16);
}

/* ================================================
   General Styles
   ================================================ */

* {
    box-sizing: border-box;
}

html, body {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: #ffffff;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-color);
    font-weight: 500;
    margin-bottom: 1rem;
}
.accordion-item{
    border: none;
}
h1 {
    font-size: 3rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.25rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.75rem;
    line-height: 1.4;
}

h4 {
    font-size: 1.5rem;
}

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

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.btn-link {
    text-decoration: none !important;
    font-weight: 500;
    color: var(--primary-color);
}

/* ================================================
   Navigation & Header
   ================================================ */

/* Compact Top Bar */
.topbar {
    background: var(--primary-color);
    color: rgba(255,255,255,0.9);
    font-size: 0.8rem;
    padding: 0.35rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

@media (max-width: 991.98px) {
    .topbar {
        padding: 0.5rem 0;
    }

    .topbar .topbar-link,
    .topbar .topbar-item {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
    }

    .topbar .container-lg {
        text-align: center;
        align-items: center !important;
        justify-content: center !important;
    }

    .topbar .container-lg > div:first-child {
        flex-wrap: nowrap;
        gap: 1rem;
    }

    .topbar .topbar-item {
        display: none;
    }
}

.topbar-link, .topbar-item {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-size: 0.8rem;
}

.topbar-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.topbar-social {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.15);
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
}

.topbar-social:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-1px);
}

/* Compact Navbar */
.navbar {
    background-color: #ffffff;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border-color);
    padding: 0.6rem 0;
}

.navbar-brand {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color) !important;
    letter-spacing: -0.5px;
}

.navbar-brand:hover {
    color: var(--accent-color) !important;
}

/* Compact Brand Mark */
.brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 0.65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 158, 11, 0.12);
    color: var(--accent-color);
    border: 1px solid rgba(245, 158, 11, 0.25);
    font-size: 1.3rem;
}

.brand-text {
    font-weight: 800;
    letter-spacing: -0.3px;
    line-height: 1;
    font-size: 1.3rem;
}

.brand-tagline {
    font-weight: 600;
    opacity: 0.8;
    margin-left: 0.25rem;
    font-size: 0.85rem;
}

/* Compact Navigation Links */
.nav-link {
    color: var(--text-color) !important;
    font-weight: 500;
    margin: 0 0.3rem;
    padding: 0.35rem 0.6rem !important;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    border-bottom-color: var(--accent-color);
}

.nav-link.active {
    color: var(--primary-color) !important;
    border-bottom-color: var(--accent-color);
}

/* Compact Navbar Toggler */
.navbar-toggler {
    border: none;
    padding: 0.2rem 0.4rem;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

/* Compact Navbar Buttons */
.navbar .btn {
    padding: 0.45rem 1rem;
    font-size: 0.85rem;
    border-radius: 50px;
}

.navbar .btn-sm {
    padding: 0.4rem 0.9rem;
    font-size: 0.85rem;
}

.nav-cta-row {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

/* ================================================
   Hero Section
   ================================================ */

.hero {
    position: relative;
    color: white;
    padding: 5rem 0 4rem;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

/* Background Image */
.hero-background {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    /* Uncomment and set your image path below to use background image */
    /* background-image: url('/assets/img/hero-bg.jpg'); */
    /* background-size: cover; */
    /* background-position: center; */
    /* background-repeat: no-repeat; */
    background-attachment: fixed;
    z-index: 0;
}

/* Overlay for better text readability */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(47, 95, 167, 0.95) 0%, rgba(27, 63, 115, 0.9) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    animation: fadeInUp 0.8s ease;
}

.hero-badge i {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

/* Hero Title */
.hero-title {
    color: white;
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    letter-spacing: -1px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

/* Hero Description */
.hero-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    max-width: 600px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease 0.4s both;
}

/* Hero Features */
.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.75rem;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.hero-feature i {
    font-size: 1.2rem;
    color: var(--accent-color);
}

/* Hero CTA Buttons */
.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.btn-hero {
    padding: 0.9rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: none;
}

@media (max-width: 576px) {
    .hero-cta {
        flex-wrap: nowrap;
        justify-content: center;
        gap: 0.4rem;
    }

    .hero-cta .btn-hero {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: auto;
        padding: 0.55rem 0.75rem;
        font-size: 0.8rem;
        border-radius: 999px;
        min-width: 0;
        white-space: nowrap;
        flex: 0 1 auto;
    }

    .hero-cta .btn-hero i {
        margin-right: 0.35rem !important;
    }
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.btn-hero.btn-light:hover {
    background-color: transparent;
    color: white;
}

/* Hero Image Wrapper */
.hero-image-wrapper {
    position: relative;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-image-inner {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-dark) 100%);
    aspect-ratio: 4/3;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

/* Actual Hero Image */
.hero-image-actual {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Fallback Placeholder */
.hero-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-dark) 100%);
}

.hero-fallback i {
    font-size: 8rem;
    margin-bottom: 1rem;
}

/* Hide fallback when image loads - will be controlled by JavaScript or CSS */
.hero-image-inner img:not([src=""]),
.hero-image-inner img[src]:not([src=""]) {
    display: block;
}

.hero-image-inner img[src=""],
.hero-image-inner img:not([src]),
.hero-image-inner img[src=" "] {
    display: none;
}

.hero-image-inner img[src=""] + .hero-fallback {
    display: flex;
}

/* If image exists, hide fallback */
.hero-image-inner img[src]:not([src=""]) ~ .hero-fallback {
    display: none;
}

/* Hero Image Badge - NEW */
.hero-image-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: white;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: pulse 2s ease-in-out infinite;
}

.hero-image-badge i {
    position: absolute;
    font-size: 3rem;
    color: var(--accent-color);
    animation: rotate 3s linear infinite;
}

.badge-text {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.badge-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.badge-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    margin-top: 2px;
}

/* Animated Shapes */
.hero-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    animation: float 20s ease-in-out infinite;
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: -50px;
    left: -50px;
    animation-delay: -5s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    right: 15%;
    animation-delay: -10s;
}

/* Float Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-30px) rotate(5deg);
    }
    50% {
        transform: translateY(-15px) rotate(-5deg);
    }
    75% {
        transform: translateY(-40px) rotate(3deg);
    }
}

/* Pulse Animation for Badge */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Rotate Animation for Badge Icon */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero {
        padding: 4rem 0 3rem;
        min-height: auto;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1rem;
        max-width: 100%;
    }

    .hero-features {
        gap: 1.25rem;
    }

    .hero-image-inner {
        aspect-ratio: 16/9;
    }

    .hero-image-actual {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .hero-fallback i {
        font-size: 6rem;
    }

    .shape-1 {
        width: 300px;
        height: 300px;
    }

    .shape-2 {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 3rem 0 2rem;
        min-height: auto;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }

    .hero-features {
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .btn-hero {
        width: 100%;
        text-align: center;
    }

    .hero-image-wrapper {
        margin-top: 2rem;
    }

    .hero-image-inner {
        aspect-ratio: 4/3;
    }

    .hero-image-actual {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .hero-fallback i {
        font-size: 5rem;
    }

    .hero-image-badge {
        width: 80px;
        height: 80px;
        bottom: -15px;
        left: -15px;
    }

    .hero-image-badge i {
        font-size: 2.5rem;
    }

    .badge-number {
        font-size: 1.25rem;
    }

    .badge-label {
        font-size: 0.6rem;
    }

    .shape-1,
    .shape-2,
    .shape-3 {
        opacity: 0.5;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 2.5rem 0 1.5rem;
    }

    .hero-cta {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: center;
        gap: 0.4rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }

    .btn-hero {
        width: auto !important;
        padding: 0.55rem 0.75rem;
        font-size: 0.8rem;
    }

    .hero-fallback i {
        font-size: 4rem;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .hero-background {
        background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    }
}

/* Print styles */
@media print {
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }

    .hero-shapes {
        display: none;
    }

    .hero-image-badge {
        animation: none;
    }

    .hero-image-badge i {
        animation: none;
    }
}

/* ================================================
   Buttons
   ================================================ */

.btn {
    border: none;
    border-radius: 0.5rem;
    font-weight: 500;
    padding: 0.75rem 1.75rem;
    transition: all 0.3s ease;
    text-transform: none;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-primary {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background-color: transparent;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Light outline button for hero section */
.btn-outline-light {
    border: 2px solid white;
    color: white;
    background-color: transparent;
}

.btn-outline-light:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-accent:hover {
    background-color: #d97706;
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
}

/* ================================================
   Cards
   ================================================ */

.card {
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    overflow: hidden;
}

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

.card-body {
    padding: 2rem;
    text-align: center;
}

.card-header {
    background-color: var(--light-bg);
    border: none;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.card-title {
    color: var(--text-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    padding: 10px 0px;
}

.card-text {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ================================================
   Icons
   ================================================ */

.icon-box {
    width: 60px;
    height: 60px;
    background-color: var(--light-bg);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
    font-size: 2rem;
    color: var(--primary-color);
}

.icon-box-accent {
    background-color: rgba(245, 158, 11, 0.12);
    color: var(--accent-color);
}

.icon-box-success {
    background-color: rgba(39, 174, 96, 0.1);
    color: var(--success-color);
}

.card:hover .icon-box {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.card:hover .icon-box-accent {
    background-color: var(--accent-color);
    color: white;
}

.card:hover .icon-box-success {
    background-color: var(--success-color);
    color: white;
}

/* ================================================
   Sections & Spacing
   ================================================ */

section {
    padding: 0rem 0;
}

@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }
}

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

.section-header h2 {
    position: relative;
    padding-bottom: 1rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 1rem auto 0;
}

.bg-light-section {
    background-color: var(--light-bg);
}

/* ================================================
   Trust Badges
   ================================================ */

.badge-box {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.badge-box:hover {
    border-color: var(--accent-color);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.15);
    transform: translateY(-4px);
}

.badge-box i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 0;
    transition: all 0.3s ease;
}

.badge-box:hover i {
    transform: scale(1.1);
    color: var(--primary-color);
}

.badge-box p {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-color);
    margin: 0;
    line-height: 1.4;
}

/* ================================================
   Testimonials
   ================================================ */

.testimonial-card {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .testimonials-row {
        display: flex !important;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.5rem;
        gap: 1rem;
    }

    .testimonials-row > .testimonial-slide {
        flex: 0 0 85% !important;
        max-width: 85% !important;
        width: 85% !important;
        scroll-snap-align: center;
    }

    .testimonials-row::-webkit-scrollbar {
        height: 6px;
    }

    .testimonials-row::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.2);
        border-radius: 999px;
    }
}

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

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

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

.testimonial-author {
    font-weight: 700;
    color: var(--text-color);
    font-size: 0.95rem;
}

.testimonial-role {
    color: var(--text-light);
    font-size: 0.85rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--light-bg);
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
}

/* ================================================
   Accordions
   ================================================ */

.accordion-button {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    font-weight: 600;
    padding: 1.25rem 1.5rem;
    margin-bottom: 0.5rem;
    border-radius: 0.5rem;
}

.accordion-button:not(.collapsed) {
    background-color: var(--light-bg);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary-color);
    background-color: transparent;
}

.accordion-body {
    padding: 1.5rem;
    background-color: var(--light-bg);
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 0.5rem 0.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* ================================================
   Footer
   ================================================ */

footer {
    background-color: #000000;
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 5rem;
}

footer h5 {
    color: white;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

footer p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.8;
}

.site-footer h5 {
    justify-content: center;
    text-align: center;
}

@media (max-width: 768px) {
    .site-footer h5 {
        justify-content: flex-start;
        text-align: left;
    }
}

@media (max-width: 576px) {
    .footer-col-links,
    .footer-col-services {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

footer a {
    color: rgba(255, 255, 255, 0.8);
}

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

.footer-link {
    display: block;
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.footer-link:hover {
    color: var(--accent-color);
    padding-left: 0.5rem;
}

footer .footer-link.d-inline {
    display: inline;
    padding: 0;
}

footer .footer-link.d-inline:hover {
    padding-left: 0;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-link:hover {
    background-color: var(--accent-color);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    background-color: #0a0a0a;
    padding: 2rem 0;
    margin-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* ================================================
   Contact Section
   ================================================ */

.contact-card {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.contact-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

.contact-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    background-color: rgba(47, 95, 167, 0.08);
    border-radius: 50%;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

.contact-card h5 {
    color: var(--text-color);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: var(--text-color);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-card p a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-card p a:hover {
    color: var(--accent-color);
}

.contact-card p.small {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.contact-card .btn {
    margin-top: auto;
    padding-top: 1rem;
}

/* Contact Form Modern */
.contact-form-modern {
    background: #ffffff;
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Map Container - Full Width */
.map-container-full {
    height: 500px;
    width: 100%;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Map Info Cards */
.map-info-card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    height: 100%;
}

.map-info-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

.map-info-icon-lg {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-radius: 1rem;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.map-info-icon-accent {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
}

.map-info-card h5 {
    color: var(--text-color);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.map-info-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.map-info-card p a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.map-info-card p a:hover {
    color: var(--primary-color);
}

/* Responsive Map */
@media (max-width: 991px) {
    .map-container-full {
        height: 400px;
    }
}

@media (max-width: 767px) {
    .map-container-full {
        height: 350px;
    }
    
    .contact-form-modern {
        padding: 1.5rem;
    }
    
    .map-info-card {
        padding: 1.5rem;
    }
    
    .map-info-icon-lg {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

/* ================================================
   FAQ CTA Section
   ================================================ */

.faq-cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 1.5rem;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(47, 95, 167, 0.2);
}

.faq-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    z-index: 1;
}

.faq-cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    z-index: 1;
}

.faq-cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.faq-cta-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.faq-cta-section:hover .faq-cta-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(255, 255, 255, 0.2);
}

.faq-cta-section h3 {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.faq-cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.faq-cta-section .btn-primary {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 0.875rem 2.5rem;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.faq-cta-section .btn-primary:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

/* Responsive FAQ CTA */
@media (max-width: 767px) {
    .faq-cta-section {
        padding: 3rem 1.5rem;
    }
    
    .faq-cta-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
    
    .faq-cta-section h3 {
        font-size: 1.5rem;
    }
    
    .faq-cta-section p {
        font-size: 1rem;
    }
}

/* ================================================
   Forms
   ================================================ */

.form-control,
.form-select {
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

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

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

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* ================================================
   Breadcrumb
   ================================================ */

.breadcrumb {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    display: inline-flex;
    margin-bottom: 0;
    font-size: 0.8rem;
    gap: 0.5rem;
    align-items: center;
}

.breadcrumb-item {
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    padding: 0;
    display: flex;
    align-items: center;
}

.breadcrumb-item::before {
    content: '';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M9 18l6-6-6 6' stroke='rgba(255,255,255,0.5)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    margin: 0 0.4rem;
}

.breadcrumb-item:first-child::before {
    display: none;
}

/* ================================================
   Page Header
   ================================================ */

.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 3rem 0 2rem;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
    min-height: 280px;
    display: flex;
    align-items: center;
}

/* Decorative Background Elements */
.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.06) 0%, transparent 45%);
    pointer-events: none;
}

/* Animated Background Pattern */
.page-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    animation: patternMove 30s linear infinite;
}

@keyframes patternMove {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(60px);
    }
}

/* Floating Circles */
.page-header-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: floatCircle 20s ease-in-out infinite;
}

.page-header-circle-1 {
    width: 200px;
    height: 200px;
    top: -80px;
    right: -80px;
    animation-delay: 0s;
}

.page-header-circle-2 {
    width: 150px;
    height: 150px;
    bottom: -40px;
    left: -40px;
    animation-delay: -5s;
}

.page-header-circle-3 {
    width: 100px;
    height: 100px;
    top: 30%;
    right: 5%;
    animation-delay: -10s;
}

@keyframes floatCircle {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.1;
    }
    50% {
        transform: translateY(-15px) scale(1.1);
        opacity: 0.15;
    }
}

@keyframes floatIcon {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Page Header Content - Centered */
.page-header-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.page-header h1 {
    color: white;
    font-size: 2.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Page Header Subtitle (Optional) */
.page-header-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

/* Improved Breadcrumb */
.breadcrumb {
    background: transparent;
    backdrop-filter: none;
    border: none;
    border-radius: 0;
    padding: 0;
    display: inline-flex;
    margin-bottom: 0;
    font-size: 0.9rem;
    gap: 0.5rem;
}

.breadcrumb-item {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='rgba(255,255,255,0.5)'%3E%3Cpath d='M13.1714 12.0007L8.22168 7.05093L9.63589 5.63672L15.9999 12.0007L9.63589 18.3646L8.22168 16.9504L13.1714 12.0007Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumb-item a:hover {
    color: white;
}

.breadcrumb-item.active {
    color: white;
    font-weight: 600;
}

/* Page Header Icon - Compact */
.page-header-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 1rem;
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Page Header Badge - Compact */
.page-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent-color);
    color: white;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

/* ================================================
   Page Header Responsive Design
   ================================================ */

@media (max-width: 992px) {
    .page-header {
        padding: 2.5rem 0 2rem;
        min-height: 240px;
    }

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

    .page-header-subtitle {
        font-size: 0.9rem;
    }

    .page-header-icon {
        width: 55px;
        height: 55px;
        font-size: 1.75rem;
    }

    .page-header-circle-1 {
        width: 180px;
        height: 180px;
    }

    .page-header-circle-2 {
        width: 130px;
        height: 130px;
    }

    .page-header-circle-3 {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 2rem 0 1.5rem;
        min-height: 200px;
    }

    .page-header h1 {
        font-size: 1.75rem;
        margin-bottom: 0.4rem;
    }

    .page-header-subtitle {
        font-size: 0.85rem;
        max-width: 100%;
        margin-bottom: 0.75rem;
    }

    .page-header-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .breadcrumb {
        padding: 0;
        font-size: 0.75rem;
    }

    .page-header-circle-1 {
        width: 150px;
        height: 150px;
        top: -60px;
        right: -60px;
    }

    .page-header-circle-2 {
        width: 110px;
        height: 110px;
        bottom: -30px;
        left: -30px;
    }

    .page-header-circle-3 {
        width: 60px;
        height: 60px;
        display: none;
    }
}

@media (max-width: 576px) {
    .page-header {
        padding: 1.75rem 0 1.25rem;
        min-height: 180px;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }

    .page-header-subtitle {
        font-size: 0.8rem;
    }

    .page-header-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }

    .breadcrumb {
        display: none;
    }

    .page-header-circle-1,
    .page-header-circle-2 {
        opacity: 0.4;
    }
}

/* ================================================
   CTA Section
   ================================================ */

.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: 0.75rem;
    padding: 2rem 2rem;
    text-align: center;
    margin: 2rem 0;
}

.cta-section h3 {
    color: white;
    margin-bottom: 0.75rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0.5rem auto 0;
}

@media (max-width: 576px) {
    .cta-section .d-flex {
        flex-wrap: nowrap !important;
        gap: 0.4rem !important;
    }

    .cta-section .btn {
        flex: 1 1 0;
        min-width: 0;
        padding: 0.55rem 0.6rem;
        font-size: 0.78rem;
        white-space: nowrap;
    }

    .cta-section .btn i {
        margin-right: 0.35rem !important;
    }
}

/* ================================================
   Badges & Pills
   ================================================ */

.badge {
    border-radius: 0.25rem;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge-primary {
    background-color: var(--bs-link-color);
    color: white;
}

.badge-accent {
    background-color: var(--accent-color);
    color: white;
}

.badge-success {
    background-color: var(--success-color);
    color: white;
}

.pill-btn {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

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

/* ================================================
   Modal
   ================================================ */

.modal-header {
    border-bottom: 1px solid var(--border-color);
}

.modal-header h5 {
    color: var(--text-color);
}

.modal-body {
    color: var(--text-light);
}

.modal-footer {
    border-top: 1px solid var(--border-color);
}

.btn-close {
    opacity: 1;
}

/* ================================================
   Alerts
   ================================================ */

.alert {
    border: none;
    border-radius: 0.5rem;
    border-left: 4px solid;
}

.alert-success {
    background-color: #d4edda;
    border-left-color: var(--success-color);
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    border-left-color: var(--danger-color);
    color: #721c24;
}

.alert-warning {
    background-color: #fff3cd;
    border-left-color: var(--warning-color);
    color: #856404;
}

.alert-info {
    background-color: #d1ecf1;
    border-left-color: var(--primary-color);
    color: #0c5460;
}

/* ================================================
   Expertise Cards (Replaces Timeline)
   ================================================ */

.expertise-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.expertise-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.expertise-card-accent:hover {
    border-color: var(--accent-color);
}

.expertise-card-success:hover {
    border-color: var(--success-color);
}

.expertise-card-info:hover {
    border-color: #0ea5e9;
}

.expertise-card-warning:hover {
    border-color: var(--warning-color);
}

.expertise-card-primary:hover {
    border-color: var(--primary-color);
}

.expertise-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.expertise-card:hover .expertise-icon {
    transform: scale(1.1) rotate(5deg);
}

.expertise-icon-accent {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
}

.expertise-icon-success {
    background: linear-gradient(135deg, var(--success-color), #34d399);
}

.expertise-icon-info {
    background: linear-gradient(135deg, #0ea5e9, #38bdf8);
}

.expertise-icon-warning {
    background: linear-gradient(135deg, var(--warning-color), #fbbf24);
}

.expertise-icon-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
}

.expertise-card h4 {
    color: var(--text-color);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

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

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

.expertise-list li {
    color: var(--text-color);
    font-size: 0.9rem;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.expertise-list li i {
    color: var(--accent-color);
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* ================================================
   Utilities
   ================================================ */

.text-muted {
    color: var(--text-light) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-accent {
    color: var(--accent-color) !important;
}

.border-top-accent {
    border-top: 3px solid var(--accent-color) !important;
}

.shadow-sm {
    box-shadow: var(--shadow-sm) !important;
}

.shadow-md {
    box-shadow: var(--shadow-md) !important;
}

.shadow-lg {
    box-shadow: var(--shadow-lg) !important;
}

/* ================================================
   Animations
   ================================================ */

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

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

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

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

.slide-in-left {
    animation: slideInLeft 0.6s ease;
}

.slide-in-right {
    animation: slideInRight 0.6s ease;
}

/* ================================================
   Responsive Utilities
   ================================================ */

@media (max-width: 1200px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .section-header h2::after {
        width: 60px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    section {
        padding: 2rem 0;
    }
}


/* ================================================
   New UI Enhancements (v2)
   ================================================ */

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    left: -999px;
    top: 10px;
    z-index: 9999;
    background: #ffffff;
    color: var(--text-color);
    border: 1px solid var(--border-color);
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-md);
}
.skip-link:focus {
    left: 10px;
}

/* Simple utility helpers */
.text-accent { color: var(--accent-color) !important; }
.bg-accent { background-color: var(--accent-color) !important; }
.border-accent { border-color: var(--accent-color) !important; }

/* Topbar */
.topbar {
    background: var(--bs-link-color);
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.topbar-link, .topbar-item {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
}
.topbar-link:hover {
    color: #ffffff;
    text-decoration: underline;
}
.topbar-social {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.10);
    color: #ffffff;
    text-decoration: none;
}
.topbar-social:hover {
    background: rgba(255,255,255,0.16);
    transform: translateY(-1px);
}

/* Brand mark */
.brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 158, 11, 0.14);
    color: var(--accent-color);
    border: 1px solid rgba(245, 158, 11, 0.28);
}
.brand-mark--sm {
    width: 34px;
    height: 34px;
    border-radius: 0.7rem;
}
.brand-text {
    font-weight: 800;
    letter-spacing: -0.3px;
    line-height: 1;
}
.brand-tagline {
    font-weight: 600;
    opacity: 0.8;
    margin-left: 0.25rem;
    font-size: 0.95rem;
}

/* Navbar refinements */
.site-navbar {
    backdrop-filter: saturate(180%) blur(10px);
}

.site-navbar.is-scrolled {
    box-shadow: var(--shadow-md);
    padding: 0.5rem 0;
}

/* ================================================
   Compact Header Responsive Design
   ================================================ */

@media (max-width: 992px) {
    .topbar {
        display: block;
    }

    .navbar {
        padding: 0.5rem 0;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }

    .brand-mark {
        width: 32px;
        height: 32px;
        font-size: 1.2rem;
    }

    .brand-text {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.4rem 0;
    }

    .navbar-brand {
        font-size: 1.15rem;
    }

    .nav-link {
        margin: 0.25rem 0.4rem;
        padding: 0.5rem 0.6rem !important;
        font-size: 0.95rem;
        border-bottom: none;
        border-radius: 0.6rem;
    }

    .nav-link:hover {
        background: rgba(47, 95, 167, 0.08);
        border-bottom: none;
    }

    .nav-link.active {
        background: rgba(245, 158, 11, 0.18);
        border-bottom: none;
    }

    .navbar .btn {
        margin-top: 0;
    }

    .nav-cta-row {
        width: 100%;
        justify-content: center;
        margin-top: 0.6rem;
        gap: 0.35rem;
    }

    .nav-cta-row .btn {
        flex: 1 1 0;
        min-width: 0;
        white-space: nowrap;
    }
}

@media (max-width: 576px) {
    .navbar {
        padding: 0.3rem 0;
    }

    .navbar-brand {
        font-size: 1.1rem;
    }

    .brand-mark {
        width: 30px;
        height: 30px;
        font-size: 1.1rem;
    }

    .brand-text {
        font-size: 1.1rem;
    }

    .brand-tagline {
        display: none;
    }
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath stroke='rgba%2833,37,41,0.75%29' stroke-linecap='round' stroke-width='2' d='M2 2 L14 14 M14 2 L2 14'/%3e%3c/svg%3e");
    background-size: 0.85em 0.85em;
}

/* WhatsApp button */
.btn-whatsapp {
    background: #25D366;
    color: #ffffff;
    border: none;
}
.btn-whatsapp:hover {
    background: #1fb45a;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Small icon box */
.icon-box-sm {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}
.icon-box-sm i { font-size: 1.5rem; }

/* Media placeholders to replace inline gradients */
.media-placeholder {
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.media-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.18), rgba(255,255,255,0) 55%);
    pointer-events: none;
}
.media-placeholder--primary { background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%); }
.media-placeholder--accent { background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%); }
.media-placeholder--success { background: linear-gradient(135deg, var(--success-color) 0%, #34d399 100%); }
.media-placeholder--info { background: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 100%); }
.media-h-400 { height: 400px; }
.media-h-300 { height: 300px; }
.media-h-250 { height: 250px; }
.media-h-200 { height: 200px; }
.media-placeholder i {
    position: relative;
    z-index: 1;
    font-size: 5rem;
    color: rgba(255,255,255,0.32);
}
.media-icon-lg { font-size: 4rem !important; }
.media-icon-xl { font-size: 6rem !important; }

/* Project Cards - Improved with Image Support */
.project-card {
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

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

.project-image-wrapper {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

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

.project-image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.project-image-placeholder i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.3);
}

.project-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
}

.project-badge .badge {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    font-weight: 600;
    padding: 0.5rem 1rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.project-card .card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

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

/* Modal Project Image */
.modal-project-image-wrapper {
    position: relative;
    width: 100%;
    border-radius: 0.5rem;
    overflow: hidden;
}

.modal-project-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    display: block;
    border-radius: 0.5rem;
}

/* Project hover overlay */
.project-card .project-overlay,
.card .project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    transition: background 0.25s ease;
}
.project-card:hover .project-overlay,
.card:hover .project-overlay {
    background: rgba(0,0,0,0.08);
}

/* Footer polish */
.site-footer {
    margin-top: 0rem;
}
.site-footer .footer-link {
    padding: 0.4rem 0;
}

/* Floating action buttons */
.floating-actions {
    position: fixed;
    right: 18px;
    bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1050;
}
.fab {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: var(--shadow-md);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
.fab:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}
.fab-whatsapp { background: #25D366; color: #fff; }
.fab-call { background: #ffffff; color: var(--primary-color); }
.fab-top { background: #ffffff; color: var(--primary-color); opacity: 0; pointer-events: none; }
.fab-top.is-visible { opacity: 1; pointer-events: auto; }
.fab i { font-size: 1.2rem; }

.stat-icon{font-size:2rem;display:flex;align-items:center;justify-content:center;}

/* About Page Images */
.about-image-wrapper {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    border-radius: 1rem;
}

.about-image-wrapper .media-placeholder {
    display: none;
}

/* Team Images */
.team-card {
    transition: all 0.3s ease;
}

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

.team-image-wrapper {
    position: relative;
    overflow: hidden;
}

.team-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.team-image-wrapper .media-placeholder {
    display: none;
}

/* ================================================
   Services Section
   ================================================ */

.services-section {
    padding: 6rem 0;
}

/* Service Item */
.service-item {
    background: white;
    border-radius: 1.25rem;
    padding: 3rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    border: 1px solid var(--border-color);
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

/* Service Image Wrapper */
.service-image-wrapper {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.service-image-wrapper .service-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    border-radius: 1rem;
}

.service-image-wrapper .service-image-inner {
    display: none;
}

.service-image-inner {
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.service-image-inner i {
    font-size: 6rem;
    color: rgba(255, 255, 255, 0.3);
}

/* Service Image Badge */
.service-image-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(47, 95, 167, 0.4);
    z-index: 2;
}

.service-badge-accent {
    background: var(--accent-color);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.service-badge-success {
    background: var(--success-color);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.service-badge-info {
    background: #0ea5e9;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.4);
}

/* Service Content */
.service-content {
    padding: 1rem;
}

/* Service Header Row - Icon and Title in Row */
.service-header-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.service-icon {
    width: 50px;
    height: 50px;
    background: rgba(47, 95, 167, 0.1);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
    margin-bottom: 0;

}

.service-icon-accent {
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent-color);
}

.service-icon-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
}

.service-item:hover .service-icon {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.service-item:hover .service-icon-accent {
    background: var(--accent-color);
    color: white;
}

.service-item:hover .service-icon-success {
    background: var(--success-color);
    color: white;
}

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

.service-description {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Service Features List */
.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-color);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.service-features li:hover {
    background: var(--light-bg);
    transform: translateX(5px);
}

.service-features i {
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Media height for service images */
.media-h-350 {
    height: 350px;
}

/* ================================================
   Specialized Service Cards
   ================================================ */

.specialized-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    gap: 1.5rem;
}

.specialized-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.specialized-card-accent:hover {
    border-color: var(--accent-color);
}

.specialized-card-success:hover {
    border-color: var(--success-color);
}

.specialized-card-info:hover {
    border-color: #0ea5e9;
}

.specialized-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    background: rgba(47, 95, 167, 0.1);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.specialized-icon-accent {
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent-color);
}

.specialized-icon-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
}

.specialized-icon-info {
    background: rgba(14, 165, 233, 0.1);
    color: #0ea5e9;
}

.specialized-card:hover .specialized-icon {
    transform: scale(1.1) rotate(5deg);
}

.specialized-content {
    flex: 1;
}

.specialized-content h5 {
    color: var(--text-color);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.specialized-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    gap: 0.5rem;
}

.specialized-card-accent .service-link {
    color: var(--accent-color);
}

.specialized-card-success .service-link {
    color: var(--success-color);
}

.specialized-card-info .service-link {
    color: #0ea5e9;
}

.service-link:hover {
    transform: translateX(5px);
}

.service-link i {
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(3px);
}

/* ================================================
   Services Responsive Design
   ================================================ */

@media (max-width: 992px) {
    .services-section {
        padding: 4rem 0;
    }

    .service-item {
        padding: 2rem;
    }

    .service-features {
        grid-template-columns: 1fr;
    }

    .service-image-inner i {
        font-size: 5rem;
    }

    .media-h-350 {
        height: 300px;
    }

    .specialized-card {
        flex-direction: column;
        text-align: center;
    }

    .specialized-icon {
        margin: 0 auto;
    }

    .specialized-content {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 3rem 0;
    }

    .service-item {
        padding: 1.5rem;
    }

    .service-header-row {
        flex-direction: column;
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .service-content h3 {
        font-size: 1.5rem;
    }

    .service-description {
        font-size: 0.95rem;
    }

    .service-image-badge {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }

    .service-image-inner i {
        font-size: 4rem;
    }

    .media-h-350 {
        height: 250px;
    }

    .specialized-card {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .service-item {
        padding: 1.25rem;
    }

    .service-header-row {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .service-content h3 {
        font-size: 1.25rem;
    }

    .service-description {
        font-size: 0.9rem;
    }

    .service-features li {
        font-size: 0.9rem;
    }

    .specialized-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .specialized-content h5 {
        font-size: 1.1rem;
    }
}

