/* ========================================
   FLOOD RECOVERY TASMANIA - MAIN STYLESHEET
   ======================================== */

:root {
    --primary-color: #0066cc;
    --primary-dark: #004a99;
    --primary-light: #3385d6;
    --secondary-color: #ff6b35;
    --secondary-light: #ff8a57;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --dark: #1a1a1a;
    --light: #f8f9fa;
    --gray: #6c757d;
    --gray-light: #e9ecef;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
    max-width: 100vw;
}

body.menu-open {
    overflow: hidden;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark);
}

h1 {
    font-size: 3rem;
    line-height: 1.2;
}

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

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

h4 {
    font-size: 1.5rem;
}

p {
    font-size: 1rem;
    color: var(--gray);
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--primary-dark);
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    text-align: center;
}

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

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

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

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

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

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

.btn-lg {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

header {
    background: linear-gradient(135deg, #0066cc 0%, #004a99 100%);
    color: var(--white);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand i {
    font-size: 2rem;
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
	margin-top:8px; /*added by udara */
}

.navbar-menu a {
    color: var(--white);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.navbar-menu a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.navbar-menu a:hover:after {
    width: 100%;
}

.navbar-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--secondary-color);
    padding: 0.75rem 1.25rem;
    border-radius: 4px;
    font-weight: 600;
}

.navbar-phone:hover {
    background-color: var(--secondary-light);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

.menu-header-item {
    display: none;
}

/* Submenu Styles */
.nav-submenu {
    position: relative;
}

.navbar-submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    list-style: none;
    padding: 0.5rem 0;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    margin-top: 0.5rem;
}

.nav-submenu:hover .navbar-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.navbar-submenu li {
    list-style: none;
}

.navbar-submenu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--white);
    font-weight: 500;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.navbar-submenu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-left-color: var(--secondary-color);
    padding-left: 1.8rem;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    background: linear-gradient(135deg, #0066cc 0%, #004a99 100%);
    color: var(--white);
    padding: 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Hero Carousel Styles */
.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.carousel-inner {
    height: 100%;
}

.carousel-item {
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}


.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    opacity: 0.7;
    transition: var(--transition);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: brightness(0) invert(1);
}

/* Carousel Indicators */
.carousel-indicators {
    z-index: 4;
    bottom: 30px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.7);
    margin: 0 6px;
    transition: var(--transition);
}

.carousel-indicators button.active {
    width: 16px;
    height: 16px;
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.6);
}

.carousel-indicators button:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

/* Water Level Rising Animation - Floor Fixed, Water Rises Smoothly with Animated Waves */
.water-level-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
    overflow: hidden;
    max-width: 100%;
}

.water-level-svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    display: block;
}

.water-wave {
    animation: waterRiseWithWave 20s ease-in-out infinite;
}

/* Main water level animation - HUGE RISE with smooth motion and animated waves */
/* Water from ground (Y=600) to peak (Y=50) back to ground - constant wave height */
@keyframes waterRiseWithWave {
    0% { d: path('M 0,600 Q 150,640 300,600 T 600,600 T 900,600 T 1200,600 L 1200,600 L 0,600 Z'); }
    2.5% { d: path('M 0,588 Q 150,548 300,588 T 600,588 T 900,588 T 1200,588 L 1200,600 L 0,600 Z'); }
    5% { d: path('M 0,575 Q 150,615 300,575 T 600,575 T 900,575 T 1200,575 L 1200,600 L 0,600 Z'); }
    7.5% { d: path('M 0,562 Q 150,522 300,562 T 600,562 T 900,562 T 1200,562 L 1200,600 L 0,600 Z'); }
    10% { d: path('M 0,550 Q 150,590 300,550 T 600,550 T 900,550 T 1200,550 L 1200,600 L 0,600 Z'); }
    12.5% { d: path('M 0,537 Q 150,497 300,537 T 600,537 T 900,537 T 1200,537 L 1200,600 L 0,600 Z'); }
    15% { d: path('M 0,525 Q 150,565 300,525 T 600,525 T 900,525 T 1200,525 L 1200,600 L 0,600 Z'); }
    17.5% { d: path('M 0,512 Q 150,472 300,512 T 600,512 T 900,512 T 1200,512 L 1200,600 L 0,600 Z'); }
    20% { d: path('M 0,500 Q 150,540 300,500 T 600,500 T 900,500 T 1200,500 L 1200,600 L 0,600 Z'); }
    22.5% { d: path('M 0,462 Q 150,422 300,462 T 600,462 T 900,462 T 1200,462 L 1200,600 L 0,600 Z'); }
    25% { d: path('M 0,425 Q 150,465 300,425 T 600,425 T 900,425 T 1200,425 L 1200,600 L 0,600 Z'); }
    27.5% { d: path('M 0,387 Q 150,347 300,387 T 600,387 T 900,387 T 1200,387 L 1200,600 L 0,600 Z'); }
    30% { d: path('M 0,350 Q 150,390 300,350 T 600,350 T 900,350 T 1200,350 L 1200,600 L 0,600 Z'); }
    32.5% { d: path('M 0,300 Q 150,260 300,300 T 600,300 T 900,300 T 1200,300 L 1200,600 L 0,600 Z'); }
    35% { d: path('M 0,262 Q 150,302 300,262 T 600,262 T 900,262 T 1200,262 L 1200,600 L 0,600 Z'); }
    37.5% { d: path('M 0,225 Q 150,185 300,225 T 600,225 T 900,225 T 1200,225 L 1200,600 L 0,600 Z'); }
    40% { d: path('M 0,200 Q 150,240 300,200 T 600,200 T 900,200 T 1200,200 L 1200,600 L 0,600 Z'); }
    42.5% { d: path('M 0,175 Q 150,135 300,175 T 600,175 T 900,175 T 1200,175 L 1200,600 L 0,600 Z'); }
    45% { d: path('M 0,162 Q 150,202 300,162 T 600,162 T 900,162 T 1200,162 L 1200,600 L 0,600 Z'); }
    46% { d: path('M 0,162 Q 150,202 300,162 T 600,162 T 900,162 T 1200,162 L 1200,600 L 0,600 Z'); }
    47.5% { d: path('M 0,80 Q 150,30 300,80 T 600,80 T 900,80 T 1200,80 L 1200,600 L 0,600 Z'); }
    48% { d: path('M 0,40 Q 150,0 300,40 T 600,40 T 900,40 T 1200,40 L 1200,600 L 0,600 Z'); }
    49% { d: path('M 0,-10 Q 150,30 300,-10 T 600,-10 T 900,-10 T 1200,-10 L 1200,600 L 0,600 Z'); }
    50% { d: path('M 0,-30 Q 150,20 300,-30 T 600,-30 T 900,-30 T 1200,-30 L 1200,600 L 0,600 Z'); }
    51% { d: path('M 0,-10 Q 150,30 300,-10 T 600,-10 T 900,-10 T 1200,-10 L 1200,600 L 0,600 Z'); }
    52% { d: path('M 0,40 Q 150,0 300,40 T 600,40 T 900,40 T 1200,40 L 1200,600 L 0,600 Z'); }
    52.5% { d: path('M 0,80 Q 150,30 300,80 T 600,80 T 900,80 T 1200,80 L 1200,600 L 0,600 Z'); }
    54% { d: path('M 0,162 Q 150,202 300,162 T 600,162 T 900,162 T 1200,162 L 1200,600 L 0,600 Z'); }
    55% { d: path('M 0,162 Q 150,202 300,162 T 600,162 T 900,162 T 1200,162 L 1200,600 L 0,600 Z'); }
    57.5% { d: path('M 0,175 Q 150,135 300,175 T 600,175 T 900,175 T 1200,175 L 1200,600 L 0,600 Z'); }
    60% { d: path('M 0,200 Q 150,240 300,200 T 600,200 T 900,200 T 1200,200 L 1200,600 L 0,600 Z'); }
    62.5% { d: path('M 0,225 Q 150,185 300,225 T 600,225 T 900,225 T 1200,225 L 1200,600 L 0,600 Z'); }
    65% { d: path('M 0,262 Q 150,302 300,262 T 600,262 T 900,262 T 1200,262 L 1200,600 L 0,600 Z'); }
    67.5% { d: path('M 0,300 Q 150,260 300,300 T 600,300 T 900,300 T 1200,300 L 1200,600 L 0,600 Z'); }
    70% { d: path('M 0,350 Q 150,390 300,350 T 600,350 T 900,350 T 1200,350 L 1200,600 L 0,600 Z'); }
    72.5% { d: path('M 0,387 Q 150,347 300,387 T 600,387 T 900,387 T 1200,387 L 1200,600 L 0,600 Z'); }
    75% { d: path('M 0,425 Q 150,465 300,425 T 600,425 T 900,425 T 1200,425 L 1200,600 L 0,600 Z'); }
    77.5% { d: path('M 0,462 Q 150,422 300,462 T 600,462 T 900,462 T 1200,462 L 1200,600 L 0,600 Z'); }
    80% { d: path('M 0,500 Q 150,540 300,500 T 600,500 T 900,500 T 1200,500 L 1200,600 L 0,600 Z'); }
    82.5% { d: path('M 0,512 Q 150,472 300,512 T 600,512 T 900,512 T 1200,512 L 1200,600 L 0,600 Z'); }
    85% { d: path('M 0,525 Q 150,565 300,525 T 600,525 T 900,525 T 1200,525 L 1200,600 L 0,600 Z'); }
    87.5% { d: path('M 0,537 Q 150,497 300,537 T 600,537 T 900,537 T 1200,537 L 1200,600 L 0,600 Z'); }
    90% { d: path('M 0,550 Q 150,590 300,550 T 600,550 T 900,550 T 1200,550 L 1200,600 L 0,600 Z'); }
    92.5% { d: path('M 0,562 Q 150,522 300,562 T 600,562 T 900,562 T 1200,562 L 1200,600 L 0,600 Z'); }
    95% { d: path('M 0,575 Q 150,615 300,575 T 600,575 T 900,575 T 1200,575 L 1200,600 L 0,600 Z'); }
    97.5% { d: path('M 0,588 Q 150,548 300,588 T 600,588 T 900,588 T 1200,588 L 1200,600 L 0,600 Z'); }
    100% { d: path('M 0,600 Q 150,640 300,600 T 600,600 T 900,600 T 1200,600 L 1200,600 L 0,600 Z'); }
}

/* REALISTIC RAIN LINES - Diagonal falling rain effect */
.rain-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
    overflow: hidden;
}

.rain-line {
    position: absolute;
    width: 2px;
    height: 80px;
    background: linear-gradient(180deg, rgba(255,255,255,0.8), rgba(255,255,255,0.1));
    opacity: 0.6;
    animation: rainFall linear infinite;
}

.rain-1 { left: 5%; top: -80px; animation-duration: 0.6s; animation-delay: 0s; }
.rain-2 { left: 8%; top: -100px; animation-duration: 0.65s; animation-delay: 0.1s; }
.rain-3 { left: 12%; top: -90px; animation-duration: 0.62s; animation-delay: 0.2s; }
.rain-4 { left: 15%; top: -110px; animation-duration: 0.68s; animation-delay: 0.05s; }
.rain-5 { left: 22%; top: -95px; animation-duration: 0.61s; animation-delay: 0.15s; }
.rain-6 { left: 28%; top: -85px; animation-duration: 0.67s; animation-delay: 0.25s; }
.rain-7 { left: 35%; top: -100px; animation-duration: 0.64s; animation-delay: 0.08s; }
.rain-8 { left: 42%; top: -90px; animation-duration: 0.63s; animation-delay: 0.18s; }
.rain-9 { left: 50%; top: -105px; animation-duration: 0.66s; animation-delay: 0.02s; }
.rain-10 { left: 58%; top: -95px; animation-duration: 0.62s; animation-delay: 0.12s; }
.rain-11 { left: 65%; top: -85px; animation-duration: 0.65s; animation-delay: 0.22s; }
.rain-12 { left: 72%; top: -100px; animation-duration: 0.63s; animation-delay: 0.07s; }
.rain-13 { left: 78%; top: -90px; animation-duration: 0.67s; animation-delay: 0.17s; }
.rain-14 { left: 85%; top: -105px; animation-duration: 0.61s; animation-delay: 0.03s; }
.rain-15 { left: 92%; top: -95px; animation-duration: 0.64s; animation-delay: 0.13s; }

@keyframes rainFall {
    0% {
        transform: translateY(0) translateX(0);
    }
    100% {
        transform: translateY(100vh) translateX(30px);
    }
}

/* Water Ripple Animation */
.water-ripple {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    animation: ripple 1.5s ease-out infinite;
}

.ripple-1 {
    width: 40px;
    height: 40px;
    left: 15%;
    top: 60%;
    animation-delay: 0s;
}

.ripple-2 {
    width: 60px;
    height: 60px;
    left: 15%;
    top: 60%;
    animation-delay: 0.3s;
    border-color: rgba(255, 255, 255, 0.3);
}

.ripple-3 {
    width: 30px;
    height: 30px;
    right: 20%;
    bottom: 30%;
    animation-delay: 0.5s;
}

.ripple-4 {
    width: 50px;
    height: 50px;
    right: 20%;
    bottom: 30%;
    animation-delay: 0.8s;
    border-color: rgba(255, 255, 255, 0.3);
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Water Splash Animation - Realistic splash effect */
.water-splash {
    position: absolute;
    z-index: 3;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.splash-zone {
    position: absolute;
    width: 80px;
    height: 80px;
}

.splash-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(220, 240, 255, 0.8);
    border-radius: 50%;
    animation: waterSplash 1.2s ease-out infinite;
}

/* Splash zone 1 - bottom left */
.splash-zone:nth-child(1) {
    bottom: 40px;
    left: 12%;
}

.splash-zone:nth-child(1) .splash-particle:nth-child(1) {
    animation-delay: 0s;
    --splash-x: -15px;
}

.splash-zone:nth-child(1) .splash-particle:nth-child(2) {
    animation-delay: 0.1s;
    --splash-x: 15px;
}

.splash-zone:nth-child(1) .splash-particle:nth-child(3) {
    animation-delay: 0.2s;
    --splash-x: -8px;
}

.splash-zone:nth-child(1) .splash-particle:nth-child(4) {
    animation-delay: 0.15s;
    --splash-x: 8px;
}

/* Splash zone 2 - center bottom */
.splash-zone:nth-child(2) {
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.splash-zone:nth-child(2) .splash-particle:nth-child(1) {
    animation-delay: 0.3s;
    --splash-x: -18px;
}

.splash-zone:nth-child(2) .splash-particle:nth-child(2) {
    animation-delay: 0.4s;
    --splash-x: 18px;
}

.splash-zone:nth-child(2) .splash-particle:nth-child(3) {
    animation-delay: 0.5s;
    --splash-x: -10px;
}

.splash-zone:nth-child(2) .splash-particle:nth-child(4) {
    animation-delay: 0.45s;
    --splash-x: 10px;
}

/* Splash zone 3 - bottom right */
.splash-zone:nth-child(3) {
    bottom: 40px;
    right: 12%;
}

.splash-zone:nth-child(3) .splash-particle:nth-child(1) {
    animation-delay: 0.6s;
    --splash-x: -15px;
}

.splash-zone:nth-child(3) .splash-particle:nth-child(2) {
    animation-delay: 0.7s;
    --splash-x: 15px;
}

.splash-zone:nth-child(3) .splash-particle:nth-child(3) {
    animation-delay: 0.8s;
    --splash-x: -8px;
}

.splash-zone:nth-child(3) .splash-particle:nth-child(4) {
    animation-delay: 0.75s;
    --splash-x: 8px;
}

@keyframes waterSplash {
    0% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0.8;
    }
    25% {
        opacity: 0.8;
    }
    50% {
        transform: translateY(-40px) translateX(var(--splash-x, 0)) scale(0.8);
        opacity: 0.6;
    }
    100% {
        transform: translateY(20px) translateX(var(--splash-x, 0)) scale(0);
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 5;
    max-width: 800px;
    animation: fadeInUp 1s ease;
    padding: 50px 30px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero .subtitle {
    font-size: 1.5rem;
    color: #e0e0e0;
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    font-size: 1.1rem;
    padding: 14px 35px;
}

/* ========================================
   SECTIONS
   ======================================== */

section {
    padding: 80px 20px;
}

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

.section-title h2 {
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 2px;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--gray);
    margin-top: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   CONTAINER & GRID
   ======================================== */

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

.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* ========================================
   CARDS
   ======================================== */

.card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--gray-light);
}

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

.card-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    padding: 2rem;
    text-align: center;
    color: var(--white);
}

.card-header i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.card-body {
    padding: 2rem;
}

.card-body h3 {
    color: var(--dark);
    margin-bottom: 1rem;
}

.card-body p {
    font-size: 0.95rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

/* ========================================
   FEATURE BOXES
   ======================================== */

.feature-box {
    padding: 2rem;
    background: var(--light);
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
}

.feature-box:hover {
    background: var(--primary-color);
    color: var(--white);
}

.feature-box i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    display: block;
}

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

.feature-box h4 {
    margin-bottom: 0.5rem;
}

.feature-box p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.feature-box:hover p {
    color: var(--white);
}

/* ========================================
   LIST STYLES
   ======================================== */

.list-check {
    list-style: none;
}

.list-check li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--gray);
}

.list-check li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* ========================================
   BACKGROUND COLORS & EFFECTS
   ======================================== */

.bg-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

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

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

.text-white {
    color: var(--white);
}

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

.text-secondary {
    color: var(--secondary-color);
}

/* ========================================
   ANIMATIONS
   ======================================== */

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

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

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

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

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 500px;
    }
}

.animate-fade-up {
    animation: fadeInUp 0.8s ease;
}

.animate-fade-down {
    animation: fadeInDown 0.8s ease;
}

.animate-fade-left {
    animation: fadeInLeft 0.8s ease;
}

.animate-fade-right {
    animation: fadeInRight 0.8s ease;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.px-2 { padding-left: 1rem; padding-right: 1rem; }
.py-2 { padding-top: 1rem; padding-bottom: 1rem; }
.py-5 { padding-top: 3rem; padding-bottom: 3rem; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.rounded {
    border-radius: 8px;
}

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

.opacity-75 {
    opacity: 0.75;
}

/* ========================================
   FOOTER
   ======================================== */

footer {
    background: #1a1a1a;
    color: #e0e0e0;
    padding: 3rem 20px 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section a {
    color: #e0e0e0;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    text-align: center;
    color: #999;
}

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

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

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

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    html {
        width: 100%;
        overflow-x: hidden;
    }

    body {
        width: 100%;
        overflow-x: hidden;
        position: relative;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    section {
        padding: 50px 20px;
        width: 100%;
    }

    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .hero {
        padding: 60px 20px;
        min-height: 400px;
        overflow: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .hero-carousel {
        overflow: hidden !important;
    }

    .water-level-container {
        overflow: hidden !important;
        max-width: 100% !important;
    }

    .water-level-svg {
        overflow: hidden !important;
        max-width: 100% !important;
    }

    .rain-container {
        overflow: hidden !important;
        max-width: 100% !important;
    }

    .water-splash {
        overflow: hidden !important;
        max-width: 100% !important;
    }

    .carousel-indicators {
        max-width: 100% !important;
        overflow: hidden !important;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero .subtitle {
        font-size: 1.1rem;
    }

    .navbar-menu {
        position: fixed;
        top: 60px;
        right: 0;
        transform: translateX(100%);
        width: 80vw;
        max-width: 80vw;
        height: calc(100vh - 60px);
        background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
        flex-direction: column;
        gap: 0;
        overflow-y: auto;
        overflow-x: hidden;
        transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
        z-index: 999;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
        list-style: none;
        display: flex;
        border-radius: 16px 0 0 16px;
    }

    .navbar-menu.active {
        transform: translateX(0);
    }

    .navbar-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(0, 102, 204, 0.1);
    }

    .navbar-menu a {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.6rem 1rem;
        color: var(--primary-color);
        text-decoration: none;
        font-weight: 600;
        font-size: 0.95rem;
        transition: all 0.25s ease;
        border-left: 4px solid transparent;
        line-height: 1.2;
    }

    .navbar-menu a i {
        font-size: 1.1rem;
        min-width: 1.1rem;
        transition: all 0.25s ease;
    }

    .navbar-menu a:hover {
        background-color: rgba(0, 102, 204, 0.08);
        color: var(--secondary-color);
        border-left-color: var(--secondary-color);
        padding-left: 1.2rem;
    }

    .navbar-menu a:hover i {
        color: var(--secondary-color);
        transform: scale(1.15);
    }

    .navbar-submenu {
        position: static !important;
        background: linear-gradient(135deg, rgba(0, 102, 204, 0.04) 0%, rgba(255, 107, 53, 0.02) 100%) !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: none !important;
        margin-top: 0 !important;
        border-radius: 0 !important;
        border-left: 3px solid var(--primary-color);
        padding: 0 !important;
    }

    .nav-submenu:hover .navbar-submenu,
    .nav-submenu.active .navbar-submenu {
        max-height: calc(100vh - 300px);
        overflow-y: auto;
    }

    .navbar-submenu li {
        border-bottom: 1px solid rgba(0, 102, 204, 0.08) !important;
    }

    .navbar-submenu a {
        padding: 0.5rem 0.75rem 0.5rem 2.5rem !important;
        font-size: 0.85rem;
        color: var(--primary-color) !important;
        font-weight: 500;
        border-left: none !important;
        line-height: 1.2;
        display: flex;
        align-items: center;
        gap: 0.4rem;
    }

    .navbar-submenu a i {
        font-size: 0.9rem;
        min-width: 0.9rem;
    }

    .navbar-submenu a:hover {
        background-color: rgba(255, 107, 53, 0.08) !important;
        color: var(--secondary-color) !important;
        border-left: none !important;
        padding-left: 2.3rem !important;
    }

    .navbar-submenu a:hover i {
        color: var(--secondary-color) !important;
        transform: translateX(4px);
    }

    /* Mobile Menu Header */
    .menu-header-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1.2rem;
        border-bottom: 2px solid rgba(0, 102, 204, 0.15) !important;
        background: linear-gradient(90deg, rgba(0, 102, 204, 0.05) 0%, rgba(255, 107, 53, 0.02) 100%);
    }

    .menu-header-text {
        flex: 1;
        text-align: center;
        color: var(--primary-color);
        font-weight: 700;
        font-size: 1.1rem;
        letter-spacing: 0.5px;
    }

    .menu-close-btn {
        background: none;
        border: none;
        color: var(--primary-color);
        font-size: 1.8rem;
        cursor: pointer;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        transition: all 0.3s ease;
        flex-shrink: 0;
    }

    .menu-close-btn:hover {
        background-color: rgba(0, 102, 204, 0.1);
        color: var(--secondary-color);
        transform: rotate(90deg);
    }

    /* Enhanced Menu Separators */
    .navbar-menu li {
        border-bottom: 1px solid transparent;
        background: linear-gradient(90deg, rgba(0, 102, 204, 0.08) 0%, transparent 100%);
    }

    .navbar-menu li:not(.menu-close-item) {
        border-bottom: 1px solid rgba(0, 102, 204, 0.12);
    }

    .navbar-menu li:not(.menu-close-item):hover {
        background: linear-gradient(90deg, rgba(0, 102, 204, 0.12) 0%, rgba(255, 107, 53, 0.05) 100%);
    }

    .nav-submenu > a {
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }

    .nav-submenu > a i.fa-chevron-down {
        transition: transform 0.3s ease;
        margin-left: auto;
        margin-right: -0.75rem;
    }

    .nav-submenu.active > a i.fa-chevron-down {
        transform: rotate(180deg);
    }

    .navbar {
        padding: 0.75rem 0;
        gap: 0.5rem;
    }

    .menu-toggle {
        display: block;
        z-index: 1002;
        padding: 0.5rem;
        margin: 0;
        font-size: 1.25rem;
        order: 3;
    }

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

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

    .navbar-phone {
        order: 2;
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
        flex-shrink: 0;
    }

    .navbar-phone span {
        display: inline;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }
}

/* ========================================
   SCROLLBAR STYLING
   ======================================== */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ========================================
   ABOUT PAGE STYLES
   ======================================== */

.about-hero {
    min-height: 400px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 70px;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="water" x="0" y="0" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M0,50 Q25,40 50,50 T100,50" stroke="rgba(255,255,255,0.1)" stroke-width="2" fill="none"/></pattern></defs><rect width="1200" height="600" fill="url(%23water)"/></svg>');
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.about-hero > * {
    position: relative;
    z-index: 2;
}

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

.about-image-box {
    margin-top: 2rem;
}

.expertise-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
}

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

.expertise-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

.expertise-card p {
    font-size: 0.95rem;
    color: var(--gray);
}

.bg-primary-light {
    background-color: rgba(0, 102, 204, 0.08);
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.5rem;
    border-radius: 8px;
    transition: var(--transition);
}

.feature-item:hover {
    background: rgba(0, 102, 204, 0.1);
}

.feature-item i {
    font-size: 1.8rem;
    min-width: 50px;
    text-align: center;
}

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

.feature-item p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.emergency-steps {
    counter-reset: step;
}

.step-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--gray-light);
    position: relative;
}

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

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

.step-content h5 {
    color: var(--dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.step-content p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.commitment-list {
    list-style: none;
    padding: 0;
}

.commitment-list li {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    font-size: 1rem;
    color: var(--dark);
}

.commitment-list li i {
    min-width: 30px;
    text-align: center;
}

/* ========================================
   RESPONSIVE ABOUT STYLES
   ======================================== */

@media (max-width: 768px) {
    .about-hero {
        min-height: 300px;
        margin-top: 70px;
    }

    .about-hero h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .step-item {
        gap: 1rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .feature-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .feature-item i {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }
}

/* ========================================
   SERVICE PAGE STYLES
   ======================================== */

.service-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.service-hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.7) 0%, rgba(0, 74, 153, 0.8) 100%);
}

.service-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.service-hero h1 {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    color: var(--white) !important;
}

.service-hero .lead {
    color: var(--white) !important;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.service-image-box {
    margin-top: 1rem;
}

.service-image-box img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.service-image-box img:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.service-step-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
    height: 100%;
}

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

.step-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: inline-block;
}

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

.service-step-card p {
    font-size: 0.95rem;
    color: var(--gray);
    margin-bottom: 0;
}

/* Center last card when odd number of cards on desktop */
@media (min-width: 768px) {
    .row .col-md-6:last-child:nth-child(odd) {
        margin-left: auto;
        margin-right: auto;
    }

    /* Center last card in custom grid-3 layout */
    .grid-3 .card:last-child {
        margin-left: auto;
        margin-right: auto;
    }

    /* Center last card in Bootstrap grid with col-lg-4 */
    .row .col-lg-4:last-child:nth-child(n+10) {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Services Page Cards */
.service-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    padding: 0;
}

.service-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin: 0;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.service-card-icon {
    padding: 0 2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
    color: var(--primary-color);
}

.service-card h3 {
    padding: 0 2rem;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.service-card p {
    padding: 0 2rem;
    flex-grow: 1;
    margin-bottom: 1.5rem;
    color: var(--gray);
    font-size: 0.95rem;
}

.service-card .btn {
    margin-top: auto;
    margin: 0 2rem 2rem 2rem;
    width: calc(100% - 4rem);
}

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

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

.service-card:hover .service-card-icon {
    color: var(--secondary-color);
    transform: scale(1.1);
}

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

.service-card p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    flex-grow: 1;
    font-size: 0.95rem;
    line-height: 1.6;
}

.service-card .btn {
    align-self: center;
    margin-top: auto;
}

.bg-danger-light {
    background-color: rgba(220, 53, 69, 0.08);
}

.risk-list {
    list-style: none;
    padding: 0;
}

.risk-list li {
    display: flex;
    align-items: flex-start;
    padding: 1rem 0;
    font-size: 1rem;
    color: var(--dark);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.risk-list li:last-child {
    border-bottom: none;
}

.risk-list strong {
    color: var(--dark);
}

.timeline {
    position: relative;
    padding: 2rem 0;
}

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

.timeline-item {
    display: flex;
    margin-bottom: 2rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
    padding-right: 50%;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
    padding-left: 50%;
}

.timeline-marker {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: 4px solid var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

.timeline-content {
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.timeline-content h5 {
    color: var(--dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.timeline-content p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.related-service-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-top: 4px solid var(--secondary-color);
}

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

.related-service-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.related-service-card h5 {
    color: var(--dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.related-service-card p {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

/* ========================================
   RESPONSIVE SERVICE STYLES
   ======================================== */

@media (max-width: 992px) {
    .service-hero {
        min-height: 350px;
    }

    .service-step-card {
        padding: 1.5rem;
    }

    .step-icon {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .service-hero {
        min-height: 280px;
    }

    .service-hero h1 {
        font-size: 1.75rem;
    }

    .service-hero .lead {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .service-step-card {
        padding: 1.25rem;
        margin-bottom: 1rem;
    }

    .step-icon {
        font-size: 2rem;
    }

    .service-step-card h4 {
        font-size: 1rem;
    }

    .service-step-card p {
        font-size: 0.85rem;
    }

    .timeline {
        padding: 1rem 0 1rem 0;
        position: relative;
    }

    .timeline::before {
        left: 20px;
        width: 2px;
    }

    .timeline-item {
        padding-right: 0 !important;
        padding-left: 0 !important;
        padding-bottom: 1.5rem !important;
        flex-direction: column !important;
        margin-left: 80px;
        margin-bottom: 2rem;
        position: relative;
        display: flex;
    }

    .timeline-marker {
        position: absolute;
        left: -70px;
        top: 0;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        flex-shrink: 0;
    }

    .timeline-content {
        padding-left: 1rem;
        padding-top: 0.5rem;
        margin-top: 0;
        word-wrap: break-word;
    }

    .timeline-content h5 {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
        word-break: break-word;
    }

    .timeline-content p {
        font-size: 0.85rem;
        margin-bottom: 0;
        word-break: break-word;
    }

    .risk-list li {
        padding: 0.75rem 0;
        font-size: 0.9rem;
    }

    .risk-list strong {
        display: block;
        margin-bottom: 0.25rem;
    }

    .related-service-card {
        padding: 1.5rem;
    }

    .related-service-card i {
        font-size: 2.5rem;
    }

    .related-service-card h5 {
        font-size: 0.95rem;
    }

    .related-service-card p {
        font-size: 0.85rem;
    }

    .btn-lg {
        padding: 0.6rem 1.5rem;
        font-size: 0.95rem;
    }

    /* Hero section responsiveness */
    .hero {
        min-height: 400px;
    }

    .hero-content h1 {
        font-size: 1.75rem;
    }

    .hero-content .subtitle {
        font-size: 0.95rem;
    }

    /* About page responsiveness */
    .about-hero {
        min-height: 250px;
    }

    .about-hero h1 {
        font-size: 1.5rem;
    }

    .expertise-card {
        padding: 1.5rem;
    }

    .expertise-icon {
        font-size: 2.5rem;
    }

    .feature-item {
        padding: 1rem;
    }

    .feature-item i {
        font-size: 2rem;
    }

    .feature-item h5 {
        font-size: 0.95rem;
    }

    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .step-content h5 {
        font-size: 0.9rem;
    }

    .step-content p {
        font-size: 0.8rem;
    }

    .emergency-steps {
        padding: 0;
    }

    .step-item {
        gap: 1rem;
        padding-bottom: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .commitment-list li {
        padding: 0.5rem 0;
        font-size: 0.9rem;
    }

    .commitment-list li i {
        min-width: 25px;
        font-size: 0.9rem;
    }
}

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

    h1 {
        font-size: 1.5rem !important;
    }

    h2 {
        font-size: 1.25rem !important;
    }

    h4, h5 {
        font-size: 0.95rem;
    }

    p {
        font-size: 0.9rem;
    }

    .container {
        padding: 0 12px;
    }

    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .my-5 {
        margin-top: 2rem !important;
        margin-bottom: 2rem !important;
    }

    .service-hero {
        min-height: 220px;
    }

    .service-hero h1 {
        font-size: 1.25rem;
    }

    .service-hero .lead {
        font-size: 0.9rem;
    }

    .service-step-card {
        padding: 1rem;
    }

    .step-icon {
        font-size: 1.75rem;
    }

    .row.g-4 {
        gap: 1rem !important;
    }

    .glass-effect {
        padding: 1.5rem !important;
    }

    .timeline-marker {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .timeline-item {
        margin-left: 40px;
    }

    .timeline-content {
        margin-top: 0.75rem;
    }

    .navbar-menu {
        gap: 1rem;
    }

    .navbar-menu a {
        font-size: 0.9rem;
    }

    .navbar-phone {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }

    .navbar-phone span {
        display: none;
    }

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

    .expertise-card {
        padding: 1.25rem;
    }

    .expertise-icon {
        font-size: 2rem;
    }

    .related-service-card {
        padding: 1.25rem;
    }

    .related-service-card i {
        font-size: 2rem;
    }

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

    img {
        max-width: 100%;
        height: auto;
    }
}
