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

/* Global Styles */
:root {
    --primary-color: #8B4513;
    --secondary-color: #D2691E;
    --accent-color: #CD853F;
    --success-color: #28a745;
    --text-dark: #1a1a1a;
    --text-medium: #2c3e50;
    --text-light: #6c757d;
    --text-muted: #8e8e93;
    --light-bg: #f8f9fa;
    --dark-bg: #2c3e50;
    --text-color: #333;
    --background-light: #f8f9fa;
    --background-white: #ffffff;
    --border-color: #e0e0e0;
    --border-light: #f0f0f0;
    --shadow-light: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-medium: 0 4px 20px rgba(0,0,0,0.15);
    --shadow-heavy: 0 8px 30px rgba(0,0,0,0.2);
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-wood: linear-gradient(135deg, #8B4513 0%, #D2691E 50%, #CD853F 100%);
}

body {
    font-family: 'Inter', 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    font-weight: 400;
    letter-spacing: -0.01em;
    scroll-behavior: smooth;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    opacity: 1;
    visibility: visible;
}

/* Ensure main content is always visible */
.container, .hero, .navbar, footer, main, section {
    opacity: 1 !important;
    visibility: visible !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', 'Poppins', serif;
    font-weight: 600;
    margin-bottom: 1.2rem;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    line-height: 1.3;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

h2 {
    font-size: 2.75rem;
    font-weight: 600;
}

h3 {
    font-size: 2.25rem;
    font-weight: 600;
}

h4 {
    font-size: 1.75rem;
    font-weight: 500;
}

h5 {
    font-size: 1.5rem;
    font-weight: 500;
}

h6 {
    font-size: 1.25rem;
    font-weight: 500;
}

p {
    margin-bottom: 1.25rem;
    color: var(--text-medium);
    font-size: 1.1rem;
    line-height: 1.7;
}

.lead {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--text-light);
    line-height: 1.6;
    letter-spacing: 0.01em;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--gradient-wood);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Navigation */
.navbar {
    box-shadow: 0 4px 20px rgba(139, 69, 19, 0.15);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    backdrop-filter: blur(15px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.98) 100%) !important;
    border-bottom: 2px solid rgba(139, 69, 19, 0.1);
    padding: 12px 0;
}

.navbar.scrolled {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 249, 250, 1) 100%) !important;
    box-shadow: 0 8px 32px rgba(139, 69, 19, 0.2);
    border-bottom: 2px solid rgba(139, 69, 19, 0.2);
    padding: 8px 0;
}

.navbar-brand {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    padding: 8px 12px;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.05) 0%, rgba(210, 105, 30, 0.05) 100%);
    transition: all 0.4s ease;
}

.navbar-brand::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.navbar-brand:hover::before {
    left: 100%;
}

.navbar-brand img {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    filter: drop-shadow(2px 2px 8px rgba(139, 69, 19, 0.2));
    position: relative;
    z-index: 2;
}

.navbar-brand:hover img {
    transform: scale(1.08) rotate(3deg);
    filter: drop-shadow(4px 4px 12px rgba(139, 69, 19, 0.3));
}

.navbar-nav {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 8px 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 69, 19, 0.1);
}

.nav-link {
    color: #8B4513 !important;
    font-weight: 600;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 25px;
    margin: 0 6px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    font-size: 1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #8B4513 0%, #D2691E 50%, #CD853F 100%);
    transition: left 0.4s ease;
    z-index: -1;
}

.nav-link:hover::before {
    left: 0;
}

.nav-link:hover {
    color: #fff !important;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.3);
}

.nav-link.active {
    color: #fff !important;
    background: linear-gradient(135deg, #8B4513 0%, #D2691E 50%, #CD853F 100%);
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.4);
    transform: translateY(-1px);
}

.nav-link.active::before {
    left: 0;
}

.navbar-toggler {
    border: 2px solid #8B4513;
    border-radius: 12px;
    padding: 8px 12px;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.1) 0%, rgba(210, 105, 30, 0.1) 100%);
}

.navbar-toggler:hover {
    background: linear-gradient(135deg, #8B4513 0%, #D2691E 100%);
    transform: scale(1.05);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%238B4513' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    transition: all 0.3s ease;
}

.navbar-toggler:hover .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23ffffff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero {
    min-height: 100vh;
    height: auto;
    background: 
        linear-gradient(135deg, rgba(139,69,19,0.8) 0%, rgba(210,105,30,0.6) 100%),
        url('images/banner.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 100px 0 50px 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(230,126,34,0.3) 0%, transparent 50%);
    animation: heroGlow 4s ease-in-out infinite alternate;
}

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

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    animation: fadeInDown 1s ease;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    color: white !important;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.hero .lead {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-badge .badge {
    font-size: 0.9rem;
    padding: 8px 16px;
    border-radius: 25px;
    background: rgba(255,255,255,0.2);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
}

.hero-stats {
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    padding: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

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

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.hero-image {
    transition: transform 0.3s ease;
    border-radius: 20px;
}

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 20px;
}

.hero-image-container:hover .hero-image-overlay {
    opacity: 1;
}

.hero-image-container:hover .hero-image {
    transform: scale(1.05);
}

.overlay-content {
    text-align: center;
    color: white;
}

.overlay-content i {
    font-size: 3rem;
    margin-bottom: 10px;
    display: block;
}

.overlay-content span {
    font-size: 1.1rem;
    font-weight: 500;
}

.hero .btn {
    animation: fadeInUp 1.2s ease;
    transform: translateY(0);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-medium);
    background: var(--gradient-wood);
    border: none;
    padding: 15px 35px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 5px;
    display: inline-block;
    white-space: nowrap;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    justify-content: flex-start;
}

.hero .btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
    background: linear-gradient(135deg, #D2691E 0%, #8B4513 100%);
}

/* Page Headers */
.page-header {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('images/banner.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 0;
}

/* Cards */
.card {
    border: none;
    box-shadow: var(--shadow-light);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    margin-bottom: 20px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(230,126,34,0.1) 0%, rgba(52,152,219,0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.card:hover::before {
    opacity: 1;
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-heavy);
}

.card-body {
    position: relative;
    z-index: 2;
    padding: 1.5rem;
}

.card-title {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.card:hover .card-title {
    color: var(--secondary-color);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
    position: relative;
}

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

.card-img-top::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(230,126,34,0.2) 0%, rgba(52,152,219,0.2) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover .card-img-top::after {
    opacity: 1;
}

/* Service Cards */
.service-card {
    border-radius: 10px;
    overflow: hidden;
}

.service-card .card-body {
    padding: 2rem;
}

.service-card ul li {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

/* Material Cards */
.material-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.material-card:hover {
    transform: translateY(-5px);
}

/* Process Steps */
.process-step {
    padding: 2rem;
    text-align: center;
    position: relative;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -15px;
    width: 30px;
    height: 2px;
    background-color: var(--secondary-color);
}

.process-step:last-child::after {
    display: none;
}

/* Products Gallery */
.products-gallery {
    margin-bottom: 60px;
}

.products-gallery .card {
    margin-bottom: 30px;
}

.products-gallery .card-img-top {
    height: 250px;
    object-fit: cover;
}

/* Buttons */
.btn {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    padding: 14px 32px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: none;
    letter-spacing: 0.02em;
    border: none;
    position: relative;
    overflow: hidden;
    font-size: 1rem;
    line-height: 1.5;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-medium);
    font-weight: 600;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
    background: linear-gradient(135deg, #a0522d 0%, #8b4513 50%, #654321 100%);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: var(--background-white);
    font-weight: 500;
}

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

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

.btn-sm {
    padding: 10px 24px;
    font-size: 0.9rem;
    border-radius: 10px;
}

/* Contact Form */
.form-control {
    border: 2px solid var(--border-light);
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--background-white);
    color: var(--text-dark);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(139, 69, 19, 0.1);
    outline: none;
    background: var(--background-white);
}

.form-control::placeholder {
    color: var(--text-muted);
    font-weight: 400;
}

.form-label {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-size: 1rem;
    letter-spacing: 0.01em;
}

/* Footer */
footer {
    background-color: var(--dark-bg) !important;
    color: white !important;
    border-top: 3px solid var(--secondary-color);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

footer h5 {
    color: white !important;
    font-weight: 600;
}

footer h6 {
    color: white !important;
    font-weight: 600;
    margin-bottom: 1rem;
}

footer p {
    color: #f8f9fa !important;
    opacity: 0.9;
}

footer a {
    color: white !important;
    text-decoration: none;
}

footer a:hover {
    color: var(--secondary-color) !important;
}

/* Services Section */
#services {
    background-color: var(--background-light) !important;
    min-height: 400px;
    position: relative;
    z-index: 1;
}

#services .container {
    position: relative;
    z-index: 2;
}

#services h2 {
    color: var(--text-dark) !important;
    font-weight: 700;
    margin-bottom: 3rem;
}

#services .card {
    background: white !important;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

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

#services .card-title {
    color: var(--text-dark) !important;
    font-weight: 600;
}

#services .card-text {
    color: var(--text-medium) !important;
}

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

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

@keyframes heroGlow {
    0% {
        opacity: 0.3;
        transform: scale(1);
    }
    100% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

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

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

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

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

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-slide-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.animate-slide-left.animated {
    opacity: 1;
    transform: translateX(0);
}

.animate-slide-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.animate-slide-right.animated {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.75rem;
    }
    
    h4 {
        font-size: 1.5rem;
    }
    
    p {
        font-size: 1rem;
    }
    
    .lead {
        font-size: 1.1rem;
    }
    
    .hero {
        padding: 80px 0 40px 0;
        min-height: 90vh;
        background-attachment: scroll;
    }
    
    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
        line-height: 1.3;
    }
    
    .hero .lead {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .hero .btn {
        width: 100%;
        margin: 5px 0;
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    
    .card-img-top {
        height: 200px;
    }
    
    .navbar-brand img {
        height: 35px;
    }
    
    .btn-lg {
        padding: 14px 32px;
        font-size: 1rem;
    }
    
    .process-step::after {
        display: none;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero {
        padding: 70px 0 30px 0;
        min-height: 85vh;
    }
    
    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.4;
        margin-bottom: 1rem;
    }
    
    .hero .lead {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
        width: 100%;
        margin: 5px 0;
    }
    
    .hero-stats {
        margin-bottom: 2rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
}

/* Hero Banner Styles */
.hero-banner {
    position: relative;
    overflow: hidden;
    margin-top: 80px; /* Account for fixed navbar */
    margin-bottom: 60px; /* Add spacing after banner */
    min-height: 400px;
    display: flex;
    align-items: center;
}

/* Contact Section Specific Styling */
#contact {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
}

#contact .hero-banner {
    margin-top: 0;
    margin-bottom: 80px;
}

#contact .container {
    margin-top: 0;
}

.banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

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

.hero-banner:hover .banner-image img {
    transform: scale(1.02);
}

.banner-overlay {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(139, 69, 19, 0.4) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    min-height: 400px;
    padding: 40px 20px;
}

.banner-overlay .text-center {
    padding: 30px;
    max-width: 900px;
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out;
    transform: translateY(0);
}

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

.banner-overlay h1 {
    color: white !important;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.banner-overlay p {
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    margin-bottom: 0;
    line-height: 1.6;
    font-weight: 400;
}

@media (max-width: 768px) {
    .hero-banner {
        margin-top: 70px;
        min-height: 350px;
    }
    
    .banner-overlay {
        min-height: 350px;
        padding: 30px 15px;
    }
    
    .banner-overlay .text-center {
        padding: 25px 20px;
        max-width: 95%;
    }
    
    .banner-overlay h1 {
        margin-bottom: 1.2rem;
        font-size: clamp(2rem, 6vw, 2.8rem);
    }
    
    .banner-overlay p {
        font-size: clamp(1rem, 3vw, 1.2rem);
        line-height: 1.5;
    }
}

@media (max-width: 576px) {
    .hero .lead {
        font-size: 1rem;
    }
    
    .page-header {
        padding: 60px 0;
    }
    
    .card-img-top {
        height: 180px;
    }
    
    .hero-banner {
        margin-top: 65px;
        min-height: 300px;
    }
    
    .banner-overlay {
        min-height: 300px;
        padding: 20px 10px;
    }
    
    .banner-overlay .text-center {
        padding: 20px 15px;
        max-width: 98%;
        border-radius: 10px;
    }
    
    .banner-overlay h1 {
        margin-bottom: 1rem;
        font-size: clamp(1.8rem, 7vw, 2.2rem);
        line-height: 1.3;
    }
    
    .banner-overlay p {
        font-size: clamp(0.95rem, 4vw, 1.1rem);
        line-height: 1.4;
    }
}

@media (max-width: 480px) {
    .hero-banner {
        min-height: 280px;
    }
    
    .banner-overlay {
        min-height: 280px;
        padding: 15px 8px;
    }
    
    .banner-overlay .text-center {
        padding: 18px 12px;
    }
    
    .banner-overlay h1 {
        font-size: clamp(1.6rem, 8vw, 2rem);
    }
    
    .banner-overlay p {
        font-size: clamp(0.9rem, 4.5vw, 1rem);
    }
}