/* Base Typography and Layout */
:root {
    --fw-primary: #0d47a1;
    --fw-primary-light: #1976d2;
    --fw-secondary: #f5f5f5;
    --fw-text: #333333;
    --fw-text-light: #666666;
    --fw-white: #ffffff;
}

body {
    font-family: 'Roboto', sans-primary, sans-serif;
    color: var(--fw-text);
    background-color: var(--fw-secondary);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: 116px; /* Offset for fixed topbar + navbar */
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: #1a1a1a;
}

.hover-primary-bg:hover {
    background-color: var(--fw-primary) !important;
    color: var(--fw-white) !important;
}
.hover-primary-bg:hover .text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
}
.hover-primary-bg:hover .icon-box {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: var(--fw-white) !important;
}
.hover-shadow-lg:hover {
    box-shadow: 0 1rem 3rem rgba(0,0,0,.175) !important;
}

/* Utilities */
.text-primary {
    color: var(--fw-primary) !important;
}

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

.hover-primary:hover {
    color: var(--fw-primary-light) !important;
}

.transition {
    transition: all 0.3s ease;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}

/* Section Padding (White-space design) */
.section-padding {
    padding: 100px 0;
}

.section-padding-sm {
    padding: 60px 0;
}

/* Hero Section */
.hero-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    background-color: var(--fw-white);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 50%;
    background: var(--fw-secondary);
    z-index: 0;
    border-radius: 50% 0 0 50% / 10% 0 0 10%;
}

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

.hero-image-wrapper {
    position: relative;
    z-index: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(13, 71, 161, 0.1);
}

.hero-image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 10s ease-out;
}

.hero-section:hover .hero-image-wrapper img {
    transform: scale(1);
}

/* Card Overrides for custom design */
.feature-card {
    border: none;
    border-radius: 16px;
    background: var(--fw-white);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0,0,0,0.08);
}

.icon-box {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(13, 71, 161, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--fw-primary);
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

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

/* Text sizes */
.text-sm {
    font-size: 0.875rem;
}

/* About Section Image */
.about-img-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.about-img-grid img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
}

.about-img-grid img:first-child {
    height: 100%;
    grid-row: span 2;
}

/* Map placeholder */
.map-container {
    height: 400px;
    background: #e0e0e0;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

@keyframes animateRipple {
    0% {
        width: 0;
        height: 0;
        opacity: 0.5;
    }
    100% {
        width: 400px;
        height: 400px;
        opacity: 0;
    }
}
