/* ========================================
   K6 HVAC Solutions - Custom Styles
   ======================================== */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&family=Inter:wght@300;400;500;600;700;800&display=swap');
:root {
    --primary-color: #2596be;
    --primary-dark: #1e7a9a;
    --primary-light: #4db8d9;
    --text-dark: #2c3e50;
    --text-muted: #6c757d;
    --text-light: #ffffff;
    --bg-light: #f8f9fa;
    --border-color: #e9ecef;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.16);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* Typography */
    --font-heading: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* ========================================
   Base Styles
   ======================================== */

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
}

/* ========================================
   Typography
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-family: var(--font-body);
}

/* Buttons use body font for consistency */
button, .btn {
    font-family: var(--font-body);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* ========================================
   Navigation
   ======================================== */

.navbar {
    padding: 1rem 0;
    transition: var(--transition);
    /* background: rgba(255, 255, 255, 0.8) !important; */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    background-image: url("https://www.transparenttextures.com/patterns/cubes.png") !important;
    /* background-image: url("https://www.transparenttextures.com/patterns/tiny-grid.png") !important; */
}

.navbar.scrolled {
    /* background: rgba(255, 255, 255, 0.75) !important; */
    /* background-image: url("https://www.transparenttextures.com/patterns/cubes.png") !important; */
    background-image: url("https://www.transparenttextures.com/patterns/hoffman.png") !important    ;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(37, 150, 190, 0.15);
}

.logo-img {
    height: 5rem;
    width: auto;
    transition: var(--transition);
}

.nav-link {
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--text-dark) !important;
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: var(--transition);
}

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

.nav-link:hover::after,
.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

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

.cta-nav {
    font-family: var(--font-body);
    background-color: var(--primary-color);
    color: white !important;
    border-radius: 50px;
    padding: 0.5rem 1.5rem !important;
    font-weight: 600;
    border: none;
    transition: var(--transition);
}

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

.cta-nav::after {
    display: none;
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

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

/* ========================================
   Hero Section - New Design
   ======================================== */

.hero-section-new {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #f8f9fa 100%);
    overflow: hidden;
    padding-top: 80px;
}

.hero-background-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(37, 150, 190, 0.1), rgba(77, 184, 217, 0.05));
    animation: float 20s ease-in-out infinite;
}

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

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

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

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

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

.hero-row {
    min-height: calc(100vh - 80px);
    padding-top: 100px;
    padding-bottom: 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: white;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(37, 150, 190, 0.1);
}

.hero-badge i {
    color: var(--primary-color);
    font-size: 1.125rem;
}

.hero-badge span {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.875rem;
}

.hero-title-new {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    max-width: 700px;
}

.hero-title-accent {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-subtitle-label {
    font-size: 1.25rem;
    color: var(--text-dark);
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-bottom: 0.5rem;
}

.hero-subtitle-new {
    font-size: 1.5rem;
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.4;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 550px;
    line-height: 1.8;
    font-weight: 400;
}

.hero-buttons-new {
    margin-bottom: 2rem;
}

.hero-benefits {
    margin-top: 2rem;
}

.hero-benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hero-benefits-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 500;
}

.hero-benefits-list li i {
    color: #6C5CE7;
    font-size: 1.125rem;
    flex-shrink: 0;
}
.custom-shape-divider-top-1747493635 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
}

.custom-shape-divider-top-1747493635 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 41px;
    transform: scaleY(-1);
}

.custom-shape-divider-top-1747493635 .shape-fill {
    fill: #FFFFFF;
}

.btn-primary-new {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border: none;
    color: white;
    font-weight: 600;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 4px 20px rgba(37, 150, 190, 0.3);
}

.btn-primary-new:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 150, 190, 0.4);
    color: white;
}

.btn-primary-new i {
    transition: var(--transition);
}

.btn-primary-new:hover i {
    transform: translateX(5px);
}

.btn-outline-new {
    background: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-outline-new:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 150, 190, 0.3);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(37, 150, 190, 0.1);
}

.hero-stat-item {
    text-align: left;
}

.hero-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.hero-stat-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-visual-container {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-center-circle {
    position: absolute;
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(37, 150, 190, 0.3);
    z-index: 3;
    animation: pulse 3s ease-in-out infinite;
}

.hero-center-circle i {
    font-size: 4rem;
    color: white;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 40px rgba(37, 150, 190, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 50px rgba(37, 150, 190, 0.4);
    }
}

.hero-card {
    position: absolute;
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    width: 140px;
    z-index: 2;
}

.hero-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 50px rgba(37, 150, 190, 0.2);
    border-color: var(--primary-color);
    z-index: 4;
}

.hero-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    display: block;
}

.hero-card h4 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.hero-card-1 {
    top: 10%;
    left: 10%;
    animation: floatCard 6s ease-in-out infinite;
}

.hero-card-2 {
    top: 10%;
    right: 10%;
    animation: floatCard 6s ease-in-out infinite 1.5s;
}

.hero-card-3 {
    bottom: 10%;
    left: 10%;
    animation: floatCard 6s ease-in-out infinite 3s;
}

.hero-card-4 {
    bottom: 10%;
    right: 10%;
    animation: floatCard 6s ease-in-out infinite 4.5s;
}

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

.scroll-indicator-new {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 3;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, var(--primary-color), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% {
        height: 40px;
        opacity: 1;
    }
    100% {
        height: 60px;
        opacity: 0;
    }
}

.scroll-indicator-new span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ========================================
   Hero Section - Old (Keep for reference)
   ======================================== */

.hero-section {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #2596be 0%, #1e7a9a 25%, #4db8d9 50%, #2596be 75%, #1e7a9a 100%);
    background-size: 300% 300%;
    animation: gradientShift 15s ease infinite;
    overflow: hidden;
    padding-top: 80px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(37,150,190,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(37,150,190,0.1) 0%, transparent 50%);
}

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

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 600px;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    margin-bottom: 2rem;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white !important;
}

.btn-outline-primary {
    color: white;
    border-color: white;
    border-width: 2px;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: var(--transition);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.hero-features {
    margin-top: 3rem;
}

.feature-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-box i {
    font-size: 1.5rem;
}

.feature-box span {
    font-weight: 600;
    color: var(--text-dark);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 3;
}

.scroll-indicator i {
    font-size: 2rem;
    color: var(--primary-color);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ========================================
   Section Styles
   ======================================== */

.section-padding {
    padding: 5rem 0;
}

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

.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

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

.service-card {
    background: white;
    border-radius: 16px;
    padding: 1rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

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

.service-icon {
    width: 100%;
    height: 200px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
    overflow: hidden;
    background: #f8f9fa;
}

.service-card:hover .service-icon {
    transform: scale(1.05);
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

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

.service-card:hover .service-image {
    transform: scale(1.1);
}

.service-icon-large {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: var(--transition);
}

.service-icon-large i {
    font-size: 2rem;
    color: white;
}

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

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

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

.service-link:hover {
    color: var(--primary-dark);
    gap: 0.75rem;
}

.service-link i {
    transition: var(--transition);
}

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

/* ========================================
   Feature Lists
   ======================================== */

.feature-list {
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-item i {
    font-size: 1.5rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.feature-item h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ========================================
   Stats Grid
   ======================================== */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.stat-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.cta-section {
    background: linear-gradient(135deg, #2596be 0%, #1e7a9a 25%, #4db8d9 50%, #2596be 75%, #1e7a9a 100%);
    background-size: 300% 300%;
    animation: gradientShift 15s ease infinite;
    padding: 5rem 0;
    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 width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
}

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

.cta-title {
    color: white;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
}

.btn-light {
    background-color: white;
    color: var(--primary-color);
    border-color: white;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: var(--transition);
}

.btn-light:hover {
    background-color: var(--bg-light);
    border-color: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-light {
    color: white;
    border-color: white;
    border-width: 2px;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: var(--transition);
}

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

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

.footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 4rem 0 1.5rem;
}

.footer-logo {
    height: 5rem;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.footer-heading {
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 0.5rem;
}

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

.footer-contact li {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    line-height: 1.6;
}

.footer-contact i {
    color: var(--primary-color);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-contact a:hover {
    color: white;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

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

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

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

.footer-bottom a {
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: white;
}

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

@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .section-padding {
        padding: 3.5rem 0;
    }
    
    .cta-section {
        padding: 3.5rem 0;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
    
    .cta-text {
        font-size: 1.125rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .cta-section .btn {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .cta-section .btn:last-child {
        margin-bottom: 0;
    }
    .hero-section .container {
        text-align: center;
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
    .leader-image-wrapper {
        margin-bottom: 2rem;
    }
    
    .leader-content {
        padding: 1rem 0;
    }
    
    .vision-mission-card {
        padding: 2rem 1.5rem;
    }
    
    .vm-icon {
        width: 80px;
        height: 80px;
    }
    
    .vm-icon i {
        font-size: 2rem;
    }
    
    .vm-title {
        font-size: 1.75rem;
    }
    
    .vm-text {
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    .logo-img {
        height: 3.5rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .service-icon {
        height: 180px;
    }
    
    .leader-image-wrapper {
        padding: 0.75rem;
    }
    
    .leader-name {
        font-size: 1.5rem;
    }
    
    .leader-role {
        font-size: 1rem;
    }
    
    .leader-bio {
        font-size: 1rem;
    }
    
    .vision-mission-card {
        padding: 1.75rem 1.25rem;
    }
    
    .vm-icon {
        width: 70px;
        height: 70px;
    }
    
    .vm-icon i {
        font-size: 1.75rem;
    }
    
    .vm-title {
        font-size: 1.5rem;
    }
    
    .vm-text {
        font-size: 0.95rem;
    }
    
    .vm-card-header {
        margin-bottom: 1.5rem;
    }
    
    .vm-card-footer {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }
}

/* ========================================
   Page Header (For internal pages)
   ======================================== */

.page-header {
    background: linear-gradient(135deg, #2596be 0%, #1e7a9a 25%, #4db8d9 50%, #2596be 75%, #1e7a9a 100%);
    background-size: 300% 300%;
    animation: gradientShift 15s ease infinite;
    padding: 8rem 0 5rem;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="pageGrid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23pageGrid)"/></svg>');
    opacity: 0.3;
}

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

.page-title {
    color: white;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.page-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    font-weight: 400;
}

/* ========================================
   Value Cards (About Page)
   ======================================== */

.value-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

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

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

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

.value-icon i {
    font-size: 2rem;
    color: white;
}

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

.value-card p {
    color: var(--text-muted);
    line-height: 1.8;
}

/* ========================================
   Vision & Mission Section
   ======================================== */

.vision-mission-section {
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    overflow: hidden;
}

.vision-mission-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(37, 150, 190, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(77, 184, 217, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.vision-mission-card {
    background: white;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 1px solid rgba(37, 150, 190, 0.1);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.vision-mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transition: var(--transition);
}

.vision-card::before {
    background: linear-gradient(90deg, #4fc3f7, #29b6f6);
}

.mission-card::before {
    background: linear-gradient(90deg, #51cf66, #40c057);
}

.vision-mission-card:hover::before {
    transform: scaleX(1);
}

.vision-mission-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.vm-card-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.vm-icon-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.vm-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: var(--transition);
}

.vision-icon {
    background: linear-gradient(135deg, #4fc3f7 0%, #29b6f6 50%, #0288d1 100%);
    box-shadow: 0 8px 24px rgba(79, 195, 247, 0.3);
}

.mission-icon {
    background: linear-gradient(135deg, #51cf66 0%, #40c057 50%, #2f9e44 100%);
    box-shadow: 0 8px 24px rgba(81, 207, 102, 0.3);
}

.vm-icon i {
    font-size: 2.5rem;
    color: white;
    z-index: 2;
    position: relative;
}

.vm-icon::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 2px solid;
    opacity: 0;
    transition: var(--transition);
}

.vision-icon::after {
    border-color: rgba(79, 195, 247, 0.5);
}

.mission-icon::after {
    border-color: rgba(81, 207, 102, 0.5);
}

.vision-mission-card:hover .vm-icon::after {
    opacity: 1;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
}

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

.vm-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0;
    letter-spacing: -0.02em;
}

.vm-card-body {
    flex-grow: 1;
    display: flex;
    align-items: center;
    padding: 1rem 0;
}

.vm-text {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin: 0;
    text-align: center;
    font-weight: 400;
}

.vm-card-footer {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.vm-accent-line {
    width: 60px;
    height: 3px;
    margin: 0 auto;
    border-radius: 2px;
    transition: var(--transition);
}

.vision-card .vm-accent-line {
    background: linear-gradient(90deg, #4fc3f7, #29b6f6);
}

.mission-card .vm-accent-line {
    background: linear-gradient(90deg, #51cf66, #40c057);
}

.vision-mission-card:hover .vm-accent-line {
    width: 100px;
}

/* ========================================
   Image Placeholders
   ======================================== */

.about-image {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 16px;
    overflow: hidden;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 400px;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    border: 2px dashed var(--primary-color);
}

.image-placeholder i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    opacity: 0.6;
}

.image-placeholder p {
    color: var(--text-muted);
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
}

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

.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    height: 100%;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
}

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

.testimonial-text {
    color: var(--text-dark);
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.testimonial-avatar i {
    font-size: 1.5rem;
    color: white;
}

.testimonial-info h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.testimonial-info p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 0;
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-top: 0.5rem;
}

.testimonial-rating i {
    color: #ffc107;
    font-size: 0.875rem;
}

/* ========================================
   Leadership Section
   ======================================== */

.leader-image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: white;
    padding: 1rem;
}

.leader-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 150, 190, 0.05), rgba(77, 184, 217, 0.05));
    z-index: 1;
    pointer-events: none;
}

.leader-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    position: relative;
    z-index: 2;
}

.leader-content {
    padding: 2rem 0;
}

.leader-name {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.leader-role {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 2rem;
    display: inline-block;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.leader-bio {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1.0625rem;
}

.leader-bio p {
    margin-bottom: 1.25rem;
}

.leader-bio p:last-child {
    margin-bottom: 0;
}

/* ========================================
   Contact Form
   ======================================== */

.contact-section {
    padding: 5rem 0;
}

.contact-info-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    height: 100%;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.contact-info-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon i {
    font-size: 1.5rem;
    color: white;
}

.contact-info-content h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-info-content p,
.contact-info-content a {
    color: var(--text-muted);
    margin: 0;
    transition: var(--transition);
}

.contact-info-content a:hover {
    color: var(--primary-color);
}

.contact-form {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

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

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

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

.form-control.is-invalid,
.form-select.is-invalid {
    border-color: #dc3545;
}

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

.map-container {
    width: 100%;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    margin-top: 2rem;
    border: 1px solid var(--border-color);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: var(--text-muted);
}

.map-placeholder iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.map-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    opacity: 0.6;
}

/* ========================================
   Service Detail Pages
   ======================================== */

.service-detail-section {
    padding: 5rem 0;
}

.service-feature-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    column-count: 2;
    column-gap: 2rem;
}

.service-feature-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-muted);
    break-inside: avoid;
    page-break-inside: avoid;
}

.service-feature-list li::before {
    content: '\f633';
    font-family: 'bootstrap-icons';
    position: absolute;
    left: 0;
    top: 0.75rem;
    color: var(--primary-color);
    font-size: 1.25rem;
}

/* Responsive: single column on smaller screens */
@media (max-width: 767.98px) {
    .service-feature-list {
        column-count: 1;
        column-gap: 0;
    }
}

.service-process {
    margin-top: 3rem;
}

.process-step {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.process-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.process-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
}

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

.process-step p {
    color: var(--text-muted);
    line-height: 1.8;
    margin: 0;
}

.process-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.process-icon i {
    font-size: 2rem;
    color: white;
}

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

/* ========================================
   About Company Section
   ======================================== */

.about-image-box {
    position: relative;
    padding: 2rem;
}

.about-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.about-feature-item {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.about-feature-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.about-feature-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.about-feature-item h5 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.about-feature-item p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 0;
}

.about-stat {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.about-stat:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.about-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.about-stat-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ========================================
   FAQ Accordion
   ======================================== */

.accordion-faq {
    border: none;
}

.accordion-faq .accordion-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px !important;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.accordion-faq .accordion-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.accordion-faq .accordion-button {
    background: white;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.125rem;
    padding: 1.5rem;
    border: none;
    box-shadow: none;
    position: relative;
}

.accordion-faq .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(37, 150, 190, 0.05), rgba(77, 184, 217, 0.05));
    color: var(--primary-color);
}

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

.accordion-faq .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232596be'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transition: transform 0.3s ease;
}

.accordion-faq .accordion-button:not(.collapsed)::after {
    transform: rotate(180deg);
}

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

/* ========================================
   Service Areas Section
   ======================================== */

.service-area-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    height: 100%;
}

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

.service-area-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-area-card:hover i {
    transform: scale(1.1);
}

.service-area-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

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

/* ========================================
   Utility Classes
   ======================================== */

.btn-lg {
    padding: 0.875rem 2.25rem;
    font-size: 1.125rem;
}

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

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

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

/* ========================================
   Animated Background Gradients (Brand Colors)
   ======================================== */

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* ========================================
   Ripple Effect for Buttons (Banner/CTA sections only)
   ======================================== */

.hero-section .btn,
.cta-section .btn,
.page-header .btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-section .btn::before,
.cta-section .btn::before,
.page-header .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.hero-section .btn:active::before,
.cta-section .btn:active::before,
.page-header .btn:active::before {
    width: 300px;
    height: 300px;
}

.hero-section .btn-primary:hover,
.cta-section .btn-light:hover,
.cta-section .btn-outline-light:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Button click scale effect */
.hero-section .btn,
.cta-section .btn,
.page-header .btn {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-section .btn:active,
.cta-section .btn:active,
.page-header .btn:active {
    transform: scale(0.98);
}

/* ========================================
   Why Choose Us - Diagonal Layout
   ======================================== */

.why-choose-section {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}

.why-choose-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #2596be 0%, #1e7a9a 50%, #4db8d9 100%);
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    z-index: 0;
}

.why-choose-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.why-choose-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.why-choose-text {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.why-choose-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.why-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.why-feature-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(10px);
}

.why-feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.why-feature-icon i {
    font-size: 1.5rem;
    color: white;
}

.why-feature-content h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.why-feature-content p {
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    font-size: 0.95rem;
}

.floating-stats-container {
    position: relative;
    height: 500px;
    width: 100%;
}

.floating-stat {
    position: absolute;
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.floating-stat:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

.floating-stat.stat-1 {
    top: 10%;
    left: 10%;
    width: 180px;
}

.floating-stat.stat-2 {
    top: 40%;
    right: 15%;
    width: 180px;
}

.floating-stat.stat-3 {
    bottom: 20%;
    left: 20%;
    width: 200px;
}

.floating-stat.stat-4 {
    top: 5%;
    right: 5%;
    width: 160px;
}

.floating-stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.floating-stat-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ========================================
   About Company - Magazine Layout
   ======================================== */

.about-company-section {
    position: relative;
    padding: 0;
    overflow: hidden;
}

.about-company-wrapper {
    position: relative;
    min-height: 600px;
}

.about-company-visual {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
    z-index: 0;
    overflow: hidden;
}

.about-visual-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.about-visual-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-company-wrapper:hover .about-visual-image {
    transform: scale(1.05);
}

.about-visual-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 150, 190, 0.4) 0%, rgba(30, 122, 154, 0.5) 50%, rgba(37, 150, 190, 0.3) 100%);
    z-index: 1;
    transition: opacity 0.4s ease;
}

.about-company-wrapper:hover .about-visual-overlay {
    opacity: 0.7;
}

.about-company-content {
    position: relative;
    z-index: 2;
    padding: 5rem 0 5rem 3rem;
    background: white;
}

.about-company-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.about-company-lead {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about-company-text {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-company-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.about-highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: var(--bg-light);
    border-radius: 50px;
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.about-highlight-item:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.about-highlight-item:hover i,
.about-highlight-item:hover span {
    color: white;
}

.about-highlight-item i {
    font-size: 1.25rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.about-highlight-item span {
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition);
}

/* ========================================
   Services - Masonry Layout
   ======================================== */

.services-masonry-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.services-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-auto-rows: auto;
    gap: 2rem;
    grid-auto-flow: dense;
}

.service-masonry-item {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-masonry-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transition: var(--transition);
}

.service-masonry-item:hover::before {
    transform: scaleX(1);
}

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

.service-large {
    grid-column: span 2;
}

.service-tall {
    grid-row: span 2;
}

.service-wide {
    grid-column: span 2;
}

.service-masonry-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-masonry-item:hover .service-masonry-icon {
    transform: rotate(10deg) scale(1.1);
}

.service-masonry-icon i {
    font-size: 2rem;
    color: white;
}

.service-masonry-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-masonry-description {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.service-masonry-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.service-masonry-link:hover {
    color: var(--primary-dark);
    gap: 0.75rem;
}

/* ========================================
   Process - Timeline Layout
   ======================================== */

.process-timeline-section {
    padding: 6rem 0;
    background: white;
    position: relative;
}

.process-timeline-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("https://www.transparenttextures.com/patterns/graphy.png");
    opacity: 0.45;
    z-index: 0;
    pointer-events: none;
}

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

.process-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-color), var(--primary-light));
    transform: translateX(-50%);
}

.process-timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
    position: relative;
}

.process-timeline-item:nth-child(odd) {
    flex-direction: row;
}

.process-timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.process-timeline-marker {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.process-timeline-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.125rem;
    box-shadow: 0 4px 12px rgba(37, 150, 190, 0.3);
}

.process-timeline-icon {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 4px solid var(--primary-color);
    transition: var(--transition);
}

.process-timeline-item:hover .process-timeline-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 150, 190, 0.3);
}

.process-timeline-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.process-timeline-content {
    flex: 1;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 16px;
    margin: 0 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.process-timeline-item:hover .process-timeline-content {
    box-shadow: var(--shadow-md);
    transform: translateX(10px);
}

.process-timeline-item:nth-child(even):hover .process-timeline-content {
    transform: translateX(-10px);
}

.process-timeline-content h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.process-timeline-content p {
    color: var(--text-muted);
    line-height: 1.8;
    margin: 0;
}

/* ========================================
   Testimonials - Overlapping Cards
   ======================================== */

.testimonials-overlap-section {
    padding: 6rem 0;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.testimonials-overlap-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 500px;
}

.testimonial-overlap-item {
    position: absolute;
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.testimonial-overlap-item:hover {
    z-index: 10;
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.testimonial-main {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    z-index: 3;
}

.testimonial-secondary-1 {
    top: 150px;
    left: 10%;
    width: 400px;
    z-index: 2;
    opacity: 0.9;
}

.testimonial-secondary-2 {
    top: 200px;
    right: 10%;
    width: 400px;
    z-index: 1;
    opacity: 0.85;
}

.testimonial-overlap-quote {
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.2;
    line-height: 1;
    margin-bottom: 1rem;
}

.testimonial-overlap-quote i {
    font-family: Georgia, serif;
}

.testimonial-overlap-text {
    color: var(--text-dark);
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-overlap-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.testimonial-overlap-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.testimonial-overlap-avatar i {
    font-size: 1.5rem;
    color: white;
}

.testimonial-overlap-info h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.testimonial-overlap-info p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 0;
}

.testimonial-overlap-rating {
    display: flex;
    gap: 0.25rem;
    margin-top: 0.5rem;
}

.testimonial-overlap-rating i {
    color: #ffc107;
    font-size: 0.875rem;
}

/* ========================================
   Service Areas - Visual Badge Layout
   ======================================== */

.service-areas-visual-section {
    padding: 6rem 0;
    background: white;
}

.service-areas-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    min-height: 400px;
    padding: 3rem 0;
}

.service-area-badge {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(37, 150, 190, 0.2);
    transition: var(--transition);
    min-width: 200px;
    transform: rotate(-5deg);
}

.service-area-badge:hover {
    transform: rotate(0deg) scale(1.1);
    box-shadow: 0 15px 40px rgba(37, 150, 190, 0.3);
    z-index: 5;
}

.service-area-badge.badge-1 {
    transform: rotate(-8deg);
}

.service-area-badge.badge-2 {
    transform: rotate(5deg);
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
}

.service-area-badge.badge-3 {
    transform: rotate(-3deg);
}

.service-area-badge.badge-4 {
    transform: rotate(7deg);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

.service-area-badge i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.service-area-badge h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: white;
}

.service-area-badge p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 0.95rem;
}

/* ========================================
   Responsive Styles for New Sections
   ======================================== */

@media (max-width: 991.98px) {
    .floating-stats-container {
        height: 400px;
    }
    
    .floating-stat {
        width: 150px !important;
        padding: 1.5rem;
    }
    
    .floating-stat-number {
        font-size: 2rem;
    }
    
    .about-company-visual {
        width: 40%;
    }
    
    .about-company-content {
        padding: 4rem 0 4rem 2rem;
    }
    
    .services-masonry {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .service-large,
    .service-wide {
        grid-column: span 1;
    }
    
    .process-timeline::before {
        left: 30px;
    }
    
    .process-timeline-item {
        flex-direction: row !important;
        padding-left: 80px;
    }
    
    .process-timeline-content {
        margin-left: 2rem;
        margin-right: 0;
    }
    
    .testimonial-main {
        width: 450px;
    }
    
    .testimonial-secondary-1,
    .testimonial-secondary-2 {
        width: 350px;
    }
}

@media (max-width: 991.98px) {
    .navbar .nav-item {
        padding-bottom: 1rem !important;
    }
    .hero-visual-container {
        height: 400px;
        margin-top: 3rem;
    }
    
    .hero-center-circle {
        width: 150px;
        height: 150px;
    }
    
    .hero-center-circle i {
        font-size: 3rem;
    }
    
    .hero-card {
        width: 120px;
        padding: 1.5rem;
    }
    
    .hero-card i {
        font-size: 2rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .hero-stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .hero-shape-1 {
        width: 250px;
        height: 250px;
    }
    
    .hero-shape-2 {
        width: 200px;
        height: 200px;
    }
    
    .hero-shape-3 {
        width: 150px;
        height: 150px;
    }
    
    .hero-section-new {
        min-height: auto;
        padding-bottom: 2rem;
        padding-top: 80px;
    }
    
    .hero-row {
        min-height: auto;
        padding-top: 2rem;
        padding-bottom: 3rem;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
        margin-bottom: 1rem;
    }
    
    .hero-title-new {
        font-size: clamp(2rem, 8vw, 3rem);
        margin-bottom: 1rem;
        line-height: 1.2;
    }
    
    .hero-subtitle-new {
        font-size: 1rem;
        margin-bottom: 2rem;
        max-width: 100%;
    }
    
    .hero-buttons-new {
        flex-direction: column;
        width: 100%;
        margin-bottom: 2rem;
    }
    
    .btn-primary-new,
    .btn-outline-new {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .hero-visual-container {
        height: auto;
        min-height: 300px;
        margin-top: 2rem;
        margin-bottom: 2rem;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 1rem;
        padding: 2rem 1rem;
        align-items: center;
        justify-items: center;
    }
    
    .hero-center-circle {
        position: absolute;
        width: 100px;
        height: 100px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 1;
    }
    
    .hero-center-circle i {
        font-size: 2rem;
    }
    
    .hero-card {
        position: relative;
        width: 100%;
        max-width: 140px;
        padding: 1.25rem;
        margin: 0;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        animation: none;
    }
    
    .hero-card-1 {
        grid-column: 1;
        grid-row: 1;
    }
    
    .hero-card-2 {
        grid-column: 2;
        grid-row: 1;
    }
    
    .hero-card-3 {
        grid-column: 1;
        grid-row: 2;
    }
    
    .hero-card-4 {
        grid-column: 2;
        grid-row: 2;
    }
    
    .hero-card i {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-card h4 {
        font-size: 0.75rem;
    }
    
    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-around;
        gap: 1.5rem;
        margin-top: 2rem;
        padding-top: 1.5rem;
    }
    
    .hero-stat-item {
        text-align: center;
        flex: 1;
        min-width: 100px;
    }
    
    .hero-stat-number {
        font-size: 1.75rem;
    }
    
    .hero-stat-label {
        font-size: 0.75rem;
    }
    
    .scroll-indicator-new {
        bottom: 20px;
    }
    
    .why-choose-background {
        clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
    }
    
    .floating-stats-container {
        height: auto;
        min-height: 300px;
        margin-top: 3rem;
    }
    
    .floating-stat {
        position: relative !important;
        width: 100% !important;
        margin-bottom: 1rem;
    }
    
    .floating-stat.stat-1,
    .floating-stat.stat-2,
    .floating-stat.stat-3,
    .floating-stat.stat-4 {
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
    }
    
    .about-company-visual {
        width: 100%;
        height: 300px;
        clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
        position: relative;
    }
    
    .about-visual-image-wrapper {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    
    .about-visual-overlay {
        opacity: 0.6;
    }
    
    .about-company-content {
        padding: 3rem 1.5rem;
    }
    
    .services-masonry {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-tall {
        grid-row: span 1;
    }
    
    .process-timeline {
        padding: 1rem 0;
    }
    
    .process-timeline::before {
        left: 25px;
    }
    
    .process-timeline-marker {
        width: 80px;
        height: 80px;
    }
    
    .process-timeline-icon {
        width: 60px;
        height: 60px;
    }
    
    .process-timeline-icon i {
        font-size: 1.5rem;
    }
    
    .process-timeline-item {
        padding-left: 60px;
    }
    
    .process-timeline-content {
        padding: 1.5rem;
        margin-left: 1rem;
    }
    
    .testimonials-overlap-container {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .testimonial-overlap-item {
        position: relative !important;
        width: 100% !important;
        margin-bottom: 2rem;
        opacity: 1 !important;
    }
    
    .testimonial-main,
    .testimonial-secondary-1,
    .testimonial-secondary-2 {
        top: auto;
        left: auto;
        right: auto;
        transform: none;
    }
    
    .service-areas-visual {
        flex-direction: column;
        min-height: auto;
    }
    
    .service-area-badge {
        transform: rotate(0deg) !important;
        width: 100%;
        max-width: 300px;
    }
    
    .accordion-faq .accordion-button {
        font-size: 1rem;
        padding: 1.25rem;
    }
}

@media (max-width: 575.98px) {
    .hero-shape-1 {
        width: 200px;
        height: 200px;
    }
    
    .hero-shape-2 {
        width: 150px;
        height: 150px;
    }
    
    .hero-shape-3 {
        width: 120px;
        height: 120px;
    }
    
    .hero-section-new {
        padding-top: 80px;
        padding-bottom: 2rem;
    }
    
    .hero-row {
        padding-top: 3.5rem;
        text-align: center;
        padding-bottom: 2rem;
    }
    .about-company-content .btn-primary{
        width: 100%;
    }
    
    .hero-badge {
        padding: 0.4rem 0.875rem;
        font-size: 0.7rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-badge i {
        font-size: 0.875rem;
    }
    
    .hero-title-new {
        font-size: clamp(1.75rem, 10vw, 2.25rem);
        margin-bottom: 0.75rem;
    }
    
    .hero-subtitle-new {
        font-size: 1.125rem;
        margin-bottom: 1rem;
        line-height: 1.4;
    }
    
    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        line-height: 1.6;
    }
    
    .hero-subtitle-label {
        font-size: 0.875rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-buttons-new {
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }
    
    .btn-primary-new,
    .btn-outline-new {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .hero-benefits {
        margin-top: 1.5rem;
    }
    
    .hero-benefits-list {
        gap: 0.5rem;
    }
    
    .hero-benefits-list li {
        font-size: 0.9rem;
    }
    
    .hero-benefits-list li i {
        font-size: 1rem;
    }
    
    .hero-visual-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 3.75rem;
        padding: 1.5rem 0.5rem;
        min-height: 250px;
    }
    
    .hero-center-circle {
        width: 80px;
        height: 80px;
        top: 34%;
        left: 40%;
    }
    
    .hero-center-circle i {
        font-size: 1.5rem;
    }
    
    .hero-card {
        max-width: 120px;
        padding: 1rem 0.75rem;
    }
    
    .hero-card i {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-card h4 {
        font-size: 0.7rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }
    
    .hero-stat-item {
        width: 100%;
        text-align: center;
    }
    
    .hero-stat-number {
        font-size: 1.5rem;
    }
    
    .hero-stat-label {
        font-size: 0.7rem;
    }
    
    .scroll-indicator-new {
        bottom: 15px;
    }
    
    .scroll-line {
        height: 30px;
    }
    
    .scroll-indicator-new span {
        font-size: 0.65rem;
    }
    
    .why-choose-section {
        padding: 4rem 0;
    }
    
    .why-feature-item {
        padding: 1.25rem;
    }
    
    .why-feature-icon {
        width: 40px;
        height: 40px;
    }
    
    .why-feature-icon i {
        font-size: 1.25rem;
    }
    
    .about-company-content {
        padding: 2rem 1rem;
    }
    
    .about-company-highlights {
        flex-direction: column;
    }
    
    .about-highlight-item {
        width: 100%;
        justify-content: center;
    }
    
    .service-masonry-item {
        padding: 2rem 1.5rem;
    }
    
    .process-timeline-marker {
        width: 60px;
        height: 60px;
    }
    
    .process-timeline-icon {
        width: 50px;
        height: 50px;
    }
    
    .process-timeline-icon i {
        font-size: 1.25rem;
    }
    
    .process-timeline-number {
        width: 30px;
        height: 30px;
        font-size: 0.875rem;
        top: -5px;
        right: -5px;
    }
    
    .process-timeline-item {
        padding-left: 0px;
    }
    
    .process-timeline-content {
        padding: 1.25rem;
        margin-left: 0.75rem;
    }
    
    .testimonial-overlap-item {
        padding: 2rem 1.5rem;
    }
    
    .testimonial-overlap-quote {
        font-size: 3rem;
    }
    
    .service-area-badge {
        padding: 2rem 1.5rem;
    }
    
    .service-area-badge i {
        font-size: 2.5rem;
    }
    
    .service-area-badge h4 {
        font-size: 1.25rem;
    }
}

/* ========================================
   Image-Driven Services Grid
   ======================================== */

.services-grid-section {
    padding: 5rem 0;
    background: #ffffff;
}

.service-grid-card {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    cursor: pointer;
}

.service-grid-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    text-decoration: none;
    color: inherit;
}

.service-grid-card-large {
    min-height: 500px;
}

.service-grid-card-wide {
    min-height: 350px;
}

.service-grid-card-image {
    width: 100%;
    height: 100%;
    min-height: 400px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

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

/* Service-specific background images */
.service-image-ac {
    background-image: url('../assets/images/hvac-design.jpg');
}

.service-image-heating {
    background-image: url('../assets/images/hvac-supply-equipment.jpg');
}

.service-image-maintenance {
    background-image: url('../assets/images/hvac-servicing.jpg');
}

.service-image-air-quality {
    background: linear-gradient(135deg, #74b9ff 0%, #0984e3 50%, #2d3436 100%);
    background-image: 
        radial-gradient(circle at 40% 50%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 60% 30%, rgba(116, 185, 255, 0.3) 0%, transparent 50%),
        linear-gradient(135deg, #74b9ff 0%, #0984e3 50%, #2d3436 100%);
}

.service-image-installation {
    background-image: url('../assets/images/medium-shot-people-wearing-helmets_23-2149366666.jpg');
}

.service-image-thermostat {
    background: linear-gradient(135deg, #fd79a8 0%, #e84393 50%, #d63384 100%);
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(253, 121, 168, 0.3) 0%, transparent 50%),
        linear-gradient(135deg, #fd79a8 0%, #e84393 50%, #d63384 100%);
}

.service-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    transition: var(--transition);
    z-index: 1;
}

.service-grid-card:hover .service-grid-overlay {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.8) 100%
    );
}

.service-grid-content {
    position: relative;
    z-index: 2;
    padding: 3rem;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: white;
    min-height: 400px;
    box-sizing: border-box;
}

.service-grid-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.service-grid-card:hover .service-grid-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.service-grid-icon i {
    font-size: 2.5rem;
    color: white;
}

.service-grid-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: white;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.service-grid-tagline {
    font-size: 1.125rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.service-grid-details {
    opacity: 0;
    max-height: 120px;
    min-height: 120px;
    overflow: hidden;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(20px);
    margin-top: 0;
    visibility: hidden;
}

.service-grid-card:hover .service-grid-details {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.service-grid-details p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.service-grid-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    color: white;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
    width: fit-content;
}

.service-grid-card:hover .service-grid-cta {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateX(5px);
}

.service-grid-cta i {
    transition: var(--transition);
}

.service-grid-card:hover .service-grid-cta i {
    transform: translateX(5px);
}

/* ========================================
   Service Modal Styles
   ======================================== */

.service-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-modal.active {
    display: flex;
    opacity: 1;
}

.service-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.service-modal-content {
    position: relative;
    background: white;
    border-radius: 24px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.service-modal.active .service-modal-content {
    transform: scale(1) translateY(0);
}

.service-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    color: var(--text-dark);
}

.service-modal-close:hover {
    background: rgba(0, 0, 0, 0.15);
    transform: rotate(90deg);
}

.service-modal-close i {
    font-size: 1.25rem;
}

.service-modal-image {
    height: 8px;
    width: 100%;
    border-radius: 24px 24px 0 0;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
}

.service-modal-body {
    padding: 3rem;
    position: relative;
}

.service-modal-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-md);
}

.service-modal-icon i {
    font-size: 2.5rem;
    color: white;
}

.service-modal-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    text-align: center;
}

.service-modal-subtitle {
    font-size: 1.25rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 600;
}

.service-modal-description {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2rem;
    text-align: center;
}

.service-modal-features {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.service-modal-features h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.service-modal-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.service-modal-features li {
    padding-left: 2rem;
    position: relative;
    color: var(--text-muted);
    line-height: 1.8;
}

.service-modal-features li::before {
    content: '\f633';
    font-family: 'bootstrap-icons';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.25rem;
}

.service-modal-features h5 {
    margin-top: 1.5rem;
}
/* Responsive adjustments */
@media (max-width: 991.98px) {
    .service-grid-card-large,
    .service-grid-card-wide {
        min-height: 400px;
    }
    
    .service-grid-card-image {
        min-height: 350px;
    }
    
    .service-grid-content {
        padding: 2rem;
    }
    
    .service-grid-icon {
        width: 70px;
        height: 70px;
    }
    
    .service-grid-icon i {
        font-size: 2rem;
    }
    
    .service-modal-content {
        max-width: 95%;
    }
    
    .service-modal-body {
        padding: 2rem;
    }
    
    .service-modal-title {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .services-grid-section {
        padding: 3rem 0;
    }
    
    .service-grid-card-large,
    .service-grid-card-wide {
        min-height: 350px;
    }
    
    .service-grid-card-image {
        min-height: 300px;
    }
    
    .service-grid-content {
        padding: 1.5rem;
        min-height: 300px;
    }
    
    .service-grid-title {
        font-size: 1.75rem;
    }
    
    .service-grid-tagline {
        font-size: 1rem;
    }
    
    .service-grid-details {
        opacity: 1;
        transform: translateY(0);
    }
    
    .service-modal {
        padding: 1rem;
    }
    
    .service-modal-content {
        max-width: 100%;
        max-height: 95vh;
    }
    
    .service-modal-body {
        padding: 1.5rem;
    }
    
    .service-modal-title {
        font-size: 1.75rem;
    }
    
    .service-modal-subtitle {
        font-size: 1.125rem;
    }
    
    .service-modal-description {
        font-size: 1rem;
    }
    
    .service-modal-features ul {
        grid-template-columns: 1fr;
    }
}


/* ========================================
   Projects Page & Card Styles
   ======================================== */

.project-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

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

.project-logo-wrapper {
    padding: 2rem;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-color);
    min-height: 200px;
}

.project-logo-placeholder {
    width: 100%;
    max-width: 240px;
    height: 120px;
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    color: white;
    transition: var(--transition);
}

.project-card:hover .project-logo-placeholder {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.project-logo-placeholder span {
    font-weight: 800;
    font-size: 1.25rem;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.project-logo-placeholder small {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.5rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.project-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.project-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.project-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

/* Projects Preview Section (Home) */
.projects-preview-section {
    background-color: white;
    position: relative;
    overflow: hidden;
}

.projects-preview-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--border-color) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.3;
    z-index: 0;
}

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

/* ========================================
   New Projects Page Styles (Mosaic/Masonry)
   ======================================== */

.projects-filter-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

/* Hide scroll arrows by default on desktop */
.scroll-arrow {
    display: none;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--border-color);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition);
    cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    /* transform: translateY(-2px); */
    box-shadow: var(--shadow-sm);
}

.projects-masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    grid-auto-flow: dense;
}

/* Normal grid layout for filtered views */
.projects-masonry-grid.grid-layout {
    grid-auto-flow: row;
}

.projects-masonry-grid.grid-layout .project-tile.large,
.projects-masonry-grid.grid-layout .project-tile.tall {
    grid-column: span 1;
    grid-row: span 1;
    height: 300px;
}

.project-tile {
    position: relative;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    height: 300px; /* Base height */
    transition: var(--transition);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

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

/* Make some tiles larger for interest */
.project-tile.large {
    grid-column: span 2;
    height: 300px;
}

.project-tile.tall {
    grid-row: span 2;
    height: 624px; /* 300*2 + 24 gap */
}

@media (max-width: 768px) {
    .project-tile.large,
    .project-tile.tall {
        grid-column: span 1;
        grid-row: span 1;
        height: 300px;
    }
}

.project-tile-inner {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    color: white;
    background-size: cover;
    background-position: center;
}

/* Dynamic background gradients for tiles based on category colors */
.bg-healthcare { background: linear-gradient(135deg, #3498db, #2980b9); }
.bg-commercial { background: linear-gradient(135deg, #2c3e50, #34495e); }
.bg-hospitality { background: linear-gradient(135deg, #e74c3c, #c0392b); }
.bg-residential { background: linear-gradient(135deg, #27ae60, #2ecc71); }
.bg-industrial { background: linear-gradient(135deg, #f39c12, #d35400); }

.project-tile-content {
    position: relative;
    z-index: 2;
    transition: var(--transition);
    width: 100%;
}

.project-tile-content .project-logo {
    max-width: 140px;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.75rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.project-tile:hover .project-tile-content .project-logo {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.project-tile-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.5);
    font-size: 5rem;
    font-weight: 900;
    opacity: 0.1;
    white-space: nowrap;
    pointer-events: none;
    transition: var(--transition);
    font-family: var(--font-heading);
}

.project-tile:hover .project-tile-bg-text {
    transform: translate(-50%, -50%) scale(1.2) rotate(-5deg);
    opacity: 0.15;
}

.project-tile h3 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.project-tile p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 80%;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.project-tile:hover p {
    opacity: 1;
    transform: translateY(0);
}

/* On desktop, ensure hover still works */
@media (min-width: 769px) {
    .project-tile p {
        opacity: 0;
        transform: translateY(20px);
        transition: var(--transition);
    }
    
    .project-tile:hover p {
        opacity: 1;
        transform: translateY(0);
        max-height: none;
        margin: 0.75rem auto 0;
    }
}

.project-category-tag {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Learn More Button - Mobile Only */
.project-learn-more-btn {
    display: none; /* Hidden on desktop */
    margin-top: 1rem;
    padding: 0.625rem 1.5rem;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: var(--font-body);
}

.project-learn-more-btn:hover {
    background: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.project-learn-more-btn:active {
    transform: translateY(0);
}

/* Show button and make paragraph visible by default on mobile when expanded */
@media (max-width: 768px) {
    .project-learn-more-btn {
        display: inline-block;
    }
    
    /* On mobile, keep paragraph hidden by default */
    .project-tile p {
        opacity: 0;
        transform: translateY(20px);
        max-height: 0;
        overflow: hidden;
        margin: 0 auto;
        transition: opacity 0.3s ease, transform 0.3s ease, max-height 0.3s ease, margin 0.3s ease;
    }
    
    /* When tile is expanded on mobile, show paragraph - must override hover */
    .project-tile.expanded p {
        opacity: 1 !important;
        transform: translateY(0) !important;
        max-height: 200px !important;
        margin: 0.75rem auto 0 !important;
    }
    
    /* Change button style when expanded */
    .project-tile.expanded .project-learn-more-btn {
        background: rgba(255, 255, 255, 0.35);
    }
    
    /* Completely disable hover effect on mobile - only use click/expanded class */
    /* Hover should not affect tiles on mobile at all */
    .project-tile:hover p {
        opacity: 0 !important;
        transform: translateY(20px) !important;
        max-height: 0 !important;
        margin: 0 auto !important;
    }
    
    /* Ensure hover doesn't affect expanded tiles - expanded state takes precedence */
    .project-tile.expanded:hover p,
    .project-tile.expanded p {
        opacity: 1 !important;
        transform: translateY(0) !important;
        max-height: 200px !important;
        margin: 0.75rem auto 0 !important;
    }
}

/* Logo Marquee Styles */
.logo-marquee-section {
    padding: 4rem 0;
    background: white;
    overflow: hidden;
    /* border-top: 1px solid var(--border-color); */
    border-bottom: 1px solid var(--border-color);
}

.logo-marquee-container {
    display: flex;
    width: fit-content;
    animation: marquee 40s linear infinite;
}

.logo-marquee-container:hover {
    animation-play-state: paused;
}

.logo-item {
    flex-shrink: 0;
    width: 200px;
    height: 100px;
    margin: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Placeholder style */
    background: #fff; 
    border-radius: 8px;
    font-weight: 700;
    color: var(--text-muted);
    font-size: 1.1rem;
    text-transform: uppercase;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    text-align: center;
    padding: 1rem;
}

.logo-item:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: white;
    box-shadow: var(--shadow-md);
    transform: scale(1.05);
}

.logo-item .logo-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    /* filter: grayscale(100%);
    opacity: 0.7; */
    transition: var(--transition);
}

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

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Move by 50% assuming duplicated content */
}


/* ========================================
   Mobile Filter Tabs (Scrollable)
   ======================================== */

@media (max-width: 768px) {
    .projects-filter-nav {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 1rem;
        -webkit-overflow-scrolling: touch;
        gap: 0.75rem;
        justify-content: flex-start;
        padding-left: 2.5rem; /* Increased to accommodate larger arrows */
        padding-right: 2.5rem; /* Increased to accommodate larger arrows */
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE/Edge */
        position: relative;
    }

    .projects-filter-nav::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }

    .filter-btn {
        flex: 0 0 auto;
        white-space: nowrap;
        padding: 0.5rem 1.25rem;
        font-size: 0.9rem;
    }

    /* Scroll indicators container */
    .filter-nav-container {
        position: relative;
        margin-bottom: 3rem;
    }

    .filter-nav-container::before,
    .filter-nav-container::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 1rem; /* Match padding-bottom of nav */
        width: 40px; /* Increased to match new padding */
        z-index: 2;
        pointer-events: none;
    }

    .filter-nav-container::before {
        left: 0;
        background: linear-gradient(to right, rgba(248,249,250,1), rgba(248,249,250,0));
    }

    .filter-nav-container::after {
        right: 0;
        background: linear-gradient(to left, rgba(248,249,250,1), rgba(248,249,250,0));
    }

    /* Arrow indicators */
    .scroll-arrow {
        position: absolute;
        top: calc(50% - 0.5rem); /* Center vertically compensating for padding-bottom */
        transform: translateY(-50%);
        width: 36px;
        height: 36px;
        background: white;
        border-radius: 50%;
        box-shadow: 0 4px 10px rgba(0,0,0,0.15);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 3;
        color: var(--primary-color);
        font-size: 1.1rem;
        pointer-events: none; /* Let clicks pass through to container scroll */
        opacity: 1;
        border: 1px solid rgba(0,0,0,0.05);
    }

    .scroll-arrow.left {
        left: 0px;
        display: none; /* JS can toggle this */
    }

    .scroll-arrow.right {
        right: 0px;
    }
    .project-tile-content br {
        display: none;
    }
}

/* ========================================
   Project Gallery Styles
   ======================================== */

.project-gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    background: #f8f9fa;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    will-change: transform;
    aspect-ratio: 4 / 3;
    opacity: 1 !important;
    visibility: visible !important;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(37, 150, 190, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.gallery-item-overlay i {
    font-size: 3rem;
    color: white;
    transform: scale(0.8);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(37, 150, 190, 0.3);
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-item-overlay i {
    transform: scale(1);
}

.gallery-item:hover img {
    transform: scale(1.1);
}


/* Lightbox Styles */
.gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.gallery-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2;
    font-size: 1.2rem;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2;
    font-size: 1.5rem;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: -70px;
}

.lightbox-next {
    right: -70px;
}

.lightbox-counter {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

/* Responsive Gallery */
@media (max-width: 768px) {
    .project-gallery-container {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
        padding: 15px 0;
    }
    
    .gallery-item {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    .lightbox-content {
        max-width: 95vw;
        max-height: 85vh;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
    }

    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-counter {
        bottom: 10px;
    }
}

@media (max-width: 480px) {
    .project-gallery-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .gallery-item {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }
    
    .gallery-item-overlay i {
        font-size: 2rem;
    }
}
