* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

:root {
    --primary-red: #DC3545;
    --dark-red: #B02A37;
    --light-red: #FF6B7D;
    --glass-white: rgba(255, 255, 255, 0.08);
    --glass-white-light: rgba(255, 255, 255, 0.12);
    --glass-border: rgba(255, 255, 255, 0.18);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.85);
    --bottom-nav-height: 80px;
    --floating-button-height: 70px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
    background: #000000;
    color: var(--text-primary);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Animated Background */
.bg-animation {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background: linear-gradient(135deg, #000000 0%, #1a0000 50%, #000000 100%);
}

.floating-orbs {
    position: absolute;
    width: 100%;
    height: 100%;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    animation: float 25s infinite ease-in-out;
    opacity: 0.7;
}

.orb1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--primary-red) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.orb2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--dark-red) 0%, transparent 70%);
    bottom: -150px;
    left: -100px;
    animation-delay: 5s;
}

.orb3 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--light-red) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    animation-delay: 10s;
}

/* Glass Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--bottom-nav-height);
    background: var(--glass-white);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-top: 1px solid var(--glass-border);
    z-index: 999;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 15px;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3);
}

.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-secondary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    cursor: pointer;
}

.nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-red), var(--light-red));
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0 0 3px 3px;
}

.nav-item.active::before {
    transform: translateX(-50%) scaleX(1);
}

.nav-item.active {
    color: var(--primary-red);
}

.nav-item:hover {
    color: var(--light-red);
    transform: translateY(-2px);
}

.nav-item:active {
    transform: scale(0.95);
}

.nav-icon {
    width: 26px;
    height: 26px;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: transform 0.3s ease;
}

.nav-item.active .nav-icon {
    transform: scale(1.1);
}

.nav-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Floating Book Button */
.floating-book-button {
    position: fixed;
    bottom: calc(var(--bottom-nav-height) + 10px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1001;
    padding: 0;
    display: flex;
    justify-content: center;
}

.floating-book-button .book-now-btn,
.book-now-btn {
    padding: 18px 50px;
    background: linear-gradient(135deg, var(--primary-red), var(--light-red));
    border: none;
    border-radius: 50px;
    color: white;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(220, 53, 69, 0.5);
    text-decoration: none;
    display: inline-block;
    animation: glow 2s ease-in-out infinite;
}

.floating-book-button .book-now-btn:hover,
.book-now-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 50px rgba(220, 53, 69, 0.7);
}

.floating-book-button .book-now-btn:active,
.book-now-btn:active {
    transform: scale(0.98);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 20px;
    overflow: hidden;
}

/* Architecture Animation Background - Responsive Updates */
.architecture-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.4;
    z-index: 0;
    overflow: hidden;
}

.architecture-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Desktop version - default */
.desktop-version {
    display: block;
}

.mobile-apartment-version {
    display: none;
}

.architecture-svg {
    width: 100%;
    height: auto;
    max-width: 1600px;
    max-height: 90vh;
}

.architecture-svg-apartment {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
}

/* Desktop - Default view */
@media (min-width: 1025px) {
    .architecture-svg {
        width: 100%;
        max-width: 1600px;
    }
}

/* Tablet Optimization */
@media (min-width: 769px) and (max-width: 1024px) {
    .architecture-wrapper {
        transform: scale(0.95);
    }
    
    .architecture-svg {
        width: 110%;
        max-width: none;
    }
}

/* Mobile Portrait - Show apartment building */
@media (max-width: 768px) and (orientation: portrait) {
    .desktop-version {
        display: none;
    }
    
    .mobile-apartment-version {
        display: block;
    }
    
    .architecture-background {
        opacity: 0.5;
    }
    
    .architecture-wrapper {
        width: 100%;
        height: 100%;
        padding: 0;
    }
    
    /* Apartment-specific animation classes */
    .draw-line.apartment-base,
    .draw-line.apartment-roof,
    .draw-line.apartment-entrance,
    .draw-line.apartment-windows,
    .draw-line.apartment-balcony,
    .draw-line.apartment-ground,
    .draw-line.apartment-side {
        stroke: var(--primary-red);
        stroke-width: 1;
        fill: none;
        stroke-dasharray: 1500;
        stroke-dashoffset: 1500;
        animation: drawPath 4s ease-in-out forwards infinite;
    }
}

/* Mobile Landscape - Show 3 houses */
@media (max-width: 768px) and (orientation: landscape) {
    .desktop-version {
        display: block;
    }
    
    .mobile-apartment-version {
        display: none;
    }
    
    .architecture-background {
        opacity: 0.35;
    }
    
    .architecture-svg {
        width: 120%;
        transform: scale(0.8);
    }
}

/* Small phones portrait */
@media (max-width: 480px) and (orientation: portrait) {
    .architecture-background {
        opacity: 0.45;
    }
}

/* Very small phones portrait */
@media (max-width: 375px) and (orientation: portrait) {
    .architecture-background {
        opacity: 0.4;
    }
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 1000px;
    width: 100%;
    position: relative;
}

h1 {
    font-size: clamp(42px, 8vw, 80px);
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease;
    line-height: 1.1;
    letter-spacing: -1px;
}

.subtitle {
    font-size: clamp(19px, 3vw, 28px);
    color: var(--text-secondary);
    margin-bottom: 35px;
    font-weight: 300;
    animation: fadeInUp 1s ease 0.2s both;
    line-height: 1.4;
    padding: 0 10px;
}

.location-tags {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.3s both;
    padding: 0 10px;
}

.location-tag {
    padding: 10px 20px;
    background: var(--glass-white);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--primary-red);
    border-radius: 25px;
    font-size: 14px;
    color: var(--light-red);
    white-space: nowrap;
    transition: all 0.3s ease;
    position: relative;
}

.location-tag::before {
    content: '•';
    margin-right: 8px;
    color: var(--primary-red);
}

.location-tag:hover {
    background: var(--glass-white-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(220, 53, 69, 0.3);
}

/* Icons */
.icon-camera::before { content: '◉'; }
.icon-video::before { content: '▶'; }
.icon-drone::before { content: '✈'; }
.icon-home::before { content: '⌂'; }
.icon-sunset::before { content: '☀'; }
.icon-social::before { content: '◈'; }

/* Owner Section */
.owner-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.03) 0%, transparent 100%);
}

.owner-container {
    max-width: 1100px;
    margin: 0 auto;
}

.owner-glass {
    background: var(--glass-white);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: center;
    box-shadow: 0 20px 60px rgba(220, 53, 69, 0.1);
}

.owner-image-container {
    position: relative;
}

.owner-image {
    width: 100%;
    max-width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
    border: 2px solid var(--glass-border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.owner-badge {
    position: absolute;
    bottom: -10px;
    right: -10px;
    background: linear-gradient(135deg, var(--primary-red), var(--light-red));
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(220, 53, 69, 0.4);
}

.owner-content h3 {
    font-size: clamp(28px, 4vw, 36px);
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--primary-red), var(--light-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.owner-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: clamp(16px, 2.5vw, 18px);
    margin-bottom: 20px;
}

.owner-highlights {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
}

.highlight-icon {
    color: var(--primary-red);
    font-size: 20px;
}

/* Services Section */
.services {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: clamp(34px, 5vw, 48px);
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-red), var(--light-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: clamp(17px, 2.5vw, 20px);
    margin-bottom: 60px;
    padding: 0 10px;
    line-height: 1.5;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--glass-white);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top left, rgba(220, 53, 69, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 60px rgba(220, 53, 69, 0.3);
    border-color: var(--primary-red);
    background: var(--glass-white-light);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-red), var(--light-red));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    box-shadow: 0 10px 30px rgba(220, 53, 69, 0.3);
    color: white;
}

.service-card h3 {
    font-size: clamp(21px, 3vw, 25px);
    margin-bottom: 15px;
    color: var(--text-primary);
    line-height: 1.3;
    font-weight: 600;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: clamp(14px, 2vw, 16px);
}

.service-keywords {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--glass-border);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

/* Coverage Areas */
.coverage {
    padding: 100px 20px;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.02) 0%, transparent 100%);
}

.coverage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto 0;
}

.area-card {
    background: var(--glass-white);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    padding: 35px 30px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.area-card:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 60px rgba(220, 53, 69, 0.3);
    border-color: var(--primary-red);
    background: var(--glass-white-light);
}

.area-card h3 {
    font-size: clamp(24px, 3vw, 28px);
    margin-bottom: 25px;
    color: var(--primary-red);
    font-weight: 600;
}

.area-list {
    list-style: none;
    color: var(--text-secondary);
    line-height: 2;
}

.area-list li {
    font-size: clamp(14px, 2vw, 16px);
    padding: 4px 0;
    transition: all 0.2s ease;
    position: relative;
    padding-left: 20px;
}

.area-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--light-red);
}

.area-list li:hover {
    color: var(--text-primary);
    transform: translateX(5px);
}

/* Contact Section - Premium Design */
.contact {
    padding: 100px 20px;
    text-align: center;
    margin-bottom: calc(var(--bottom-nav-height) + var(--floating-button-height) + 20px);
    position: relative;
}

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

.contact-glass-premium {
    background: var(--glass-white);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 0;
    box-shadow: 0 30px 80px rgba(220, 53, 69, 0.15);
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    position: relative;
}

.contact-glass-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--light-red), var(--primary-red));
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

.contact-left {
    padding: 60px 50px;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.05) 0%, transparent 100%);
    border-right: 1px solid var(--glass-border);
}

.contact-highlight {
    text-align: left;
    margin-bottom: 40px;
}

.highlight-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-red), var(--light-red));
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 15px;
    animation: pulse 2s ease-in-out infinite;
}

.contact-highlight h3 {
    font-size: 36px;
    color: var(--text-primary);
    margin-bottom: 15px;
    font-weight: 700;
}

.contact-highlight p {
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.6;
}

.contact-benefits {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
}

.benefit-icon {
    font-size: 32px;
    width: 60px;
    height: 60px;
    background: var(--glass-white-light);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-item h4 {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 5px;
    font-weight: 600;
}

.benefit-item p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

.contact-right {
    padding: 60px 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-card-inner {
    width: 100%;
    max-width: 400px;
}

.contact-card-title {
    font-size: 28px;
    color: var(--text-primary);
    margin-bottom: 35px;
    font-weight: 600;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background: var(--glass-white);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-method:hover {
    transform: translateX(5px);
    border-color: var(--primary-red);
    background: var(--glass-white-light);
}

.contact-method-icon {
    font-size: 24px;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1), rgba(255, 107, 125, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-method-info {
    text-align: left;
    flex: 1;
}

.contact-label {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.contact-link {
    color: var(--light-red);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--primary-red);
}

.contact-text {
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 500;
}

.contact-cta {
    margin-top: 35px;
    text-align: center;
}

.contact-main-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary-red), var(--light-red));
    color: white;
    padding: 18px 35px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 15px 40px rgba(220, 53, 69, 0.4);
}

.btn-arrow {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.contact-main-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(220, 53, 69, 0.5);
}

.contact-main-btn:hover .btn-arrow {
    transform: translateX(5px);
}

.contact-main-btn:active {
    transform: scale(0.98);
}

.contact-note {
    margin-top: 15px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
}

.trust-icon {
    color: var(--primary-red);
    font-weight: 700;
}

/* Beautiful Glass Footer */
footer {
    background: var(--glass-white);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-top: 1px solid var(--glass-border);
    padding: 60px 20px calc(var(--bottom-nav-height) + var(--floating-button-height) + 30px);
    position: relative;
    margin-top: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    opacity: 0.8;
}

.footer-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--primary-red), var(--light-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-tagline {
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 16px;
}

.footer-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    text-align: left;
}

.footer-section h4 {
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.footer-section li {
    color: var(--text-secondary);
    margin-bottom: 10px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.footer-section li:hover {
    color: var(--light-red);
    transform: translateX(3px);
}

.footer-section a {
    color: inherit;
    text-decoration: none;
}

.footer-divider {
    height: 1px;
    background: var(--glass-border);
    margin: 40px 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--glass-white);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(220, 53, 69, 0.1);
    border-color: var(--primary-red);
    color: var(--primary-red);
    transform: translateY(-3px);
}

/* Django Messages Styling */
.messages {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1100;
    max-width: 400px;
}

.message {
    background: var(--glass-white-light);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 15px 20px;
    margin-bottom: 10px;
    color: var(--text-primary);
    animation: slideIn 0.5s ease;
}

.message.success {
    border-color: #4CAF50;
    background: rgba(76, 175, 80, 0.1);
}

.message.error {
    border-color: var(--primary-red);
    background: rgba(220, 53, 69, 0.1);
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Contact Form Styles */
.contact-form {
    width: 100%;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    background: var(--glass-white);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 14px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-red);
    background: var(--glass-white-light);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 35px;
}

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

/* Update button styles for submit button */
button.contact-main-btn {
    border: none;
    cursor: pointer;
}

button.contact-main-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(220, 53, 69, 0.5);
}

/* Blog Preview Section Styles */
.blog-preview {
    padding: 100px 20px;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.03) 0%, transparent 100%);
    margin-bottom: calc(var(--bottom-nav-height) + var(--floating-button-height) + 20px);
}

.blog-preview-container {
    max-width: 1200px;
    margin: 0 auto;
}

.blog-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.blog-preview-card {
    background: var(--glass-white);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-preview-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(220, 53, 69, 0.3);
    border-color: var(--primary-red);
}

.blog-preview-link {
    text-decoration: none;
    color: inherit;
}

.blog-preview-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

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

.blog-preview-card:hover .blog-preview-image img {
    transform: scale(1.1);
}

.blog-preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(220, 53, 69, 0.8), transparent);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-preview-card:hover .blog-preview-overlay {
    opacity: 1;
}

.read-article {
    color: white;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-preview-content {
    padding: 25px;
}

.blog-preview-meta {
    margin-bottom: 12px;
}

.blog-preview-date {
    font-size: 13px;
    color: var(--primary-red);
    font-weight: 600;
}

.blog-preview-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.3;
}

.blog-preview-excerpt {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

.blog-preview-cta {
    text-align: center;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: var(--glass-white);
    border: 1px solid var(--primary-red);
    border-radius: 50px;
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background: rgba(220, 53, 69, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(220, 53, 69, 0.3);
}

@media (max-width: 768px) {
    .blog-preview-grid {
        grid-template-columns: 1fr;
    }
}