
/* Modern CSS Variables */
:root {
    --primary: #667eea;
    --primary-dark: #5a67d8;
    --secondary: #764ba2;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-hover: linear-gradient(135deg, #5a67d8 0%, #6b46a0 100%);
    --dark: #1a1a2e;
    --light: #f8f9fa;
    --gray: #6c757d;
    --white: #ffffff;
    --shadow: 0 10px 40px rgba(0,0,0,0.1);
    --shadow-hover: 0 20px 60px rgba(0,0,0,0.15);
}

/* ============================================
   GLOBAL FIXES - PREVENT HORIZONTAL SCROLL
   ============================================ */
html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    position: relative;
    margin: 0;
    padding: 0;
}

body {
    overflow-x: hidden !important;
}

* {
    max-width: 100%;
    box-sizing: border-box;
}

.container, 
.container-fluid, 
.row, 
[class*="col-"] {
    overflow-x: hidden !important;
}

/* Fix for any overflowing elements */
img, svg, video, iframe {
    max-width: 100%;
    height: auto;
}

section, div, article, aside, main, header, footer {
    max-width: 100%;
    overflow-x: hidden;
}

/* ============================================
   MODERN HERO SECTION FIXES
   ============================================ */
.modern-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    width: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 100px 0;
    color: white;
    overflow-x: hidden;
}

.hero-stats {
    display: flex;
    gap: 50px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.hero-search {
    max-width: 700px;
    width: 100%;
}

.search-container {
    background: white;
    border-radius: 60px;
    display: flex;
    align-items: center;
    padding: 5px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    flex-wrap: nowrap;
}

.hero-search-input {
    flex: 1;
    border: none;
    padding: 18px 15px;
    font-size: 1rem;
    outline: none;
    background: transparent;
    min-width: 0;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1;
}

.hero-wave svg {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   FEATURES SECTION FIXES
   ============================================ */
.features-section {
    padding: 80px 0;
    background: var(--white);
    overflow-x: hidden;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

/* ============================================
   STATE GRID FIXES
   ============================================ */
.states-section {
    padding: 80px 0;
    background: var(--light);
    overflow-x: hidden;
}

.state-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.state-card-modern {
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: var(--shadow);
    display: block;
}

/* ============================================
   PROPERTY GRID FIXES
   ============================================ */
.featured-properties, 
.properties-section {
    padding: 80px 0;
    overflow-x: hidden;
}

.properties-grid, 
.properties-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.property-card-modern {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    position: relative;
}

.card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

/* ============================================
   TESTIMONIALS SECTION FIXES
   ============================================ */
.testimonials-section {
    padding: 80px 0;
    background: var(--light);
    overflow-x: hidden;
}

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

/* ============================================
   CTA SECTION FIXES
   ============================================ */
.cta-section {
    padding: 80px 0;
    background: var(--gradient);
    color: white;
    overflow-x: hidden;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   CONTACT SECTION FIXES
   ============================================ */
.contact-section {
    padding: 80px 0;
    overflow-x: hidden;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
    padding: 15px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    word-break: break-word;
}

/* ============================================
   FOOTER FIXES
   ============================================ */
footer {
    overflow-x: hidden;
}

footer .row {
    margin: 0;
}

footer [class*="col-"] {
    padding: 0 15px;
}

/* ============================================
   RESPONSIVE FIXES
   ============================================ */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        gap: 20px;
        justify-content: center;
    }
    
    .stat-number {
        font-size: 1.3rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .properties-grid, 
    .properties-grid-modern {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .state-grid-modern {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .hero-search-input {
        padding: 12px 10px;
        font-size: 0.85rem;
    }
    
    .hero-search-btn {
        padding: 10px 15px;
        font-size: 0.85rem;
        white-space: nowrap;
    }
    
    .search-container {
        flex-wrap: nowrap;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .state-card-modern {
        padding: 20px;
    }
    
    .property-card-modern {
        margin: 0 10px;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-item i {
        margin: 0 auto;
    }
}

/* ============================================
   SMALL PHONE FIXES
   ============================================ */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-stats {
        gap: 15px;
    }
    
    .stat-number {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .card-price {
        font-size: 1.3rem;
    }
    
    .card-title {
        font-size: 1rem;
    }
    
    .card-features {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .hero-search-input {
        padding: 10px 8px;
        font-size: 0.75rem;
    }
    
    .hero-search-btn {
        padding: 8px 12px;
        font-size: 0.75rem;
    }
    
    .container {
        padding-left: 12px;
        padding-right: 12px;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.no-scroll {
    overflow-x: hidden;
}

.wrap-text {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Modern Hero Section */
.modern-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 100px 0;
    color: white;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 25px;
    animation: fadeInUp 0.8s ease;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-title .highlight {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-stats {
    display: flex;
    gap: 50px;
    margin-bottom: 50px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-search {
    max-width: 700px;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.search-container {
    background: white;
    border-radius: 60px;
    display: flex;
    align-items: center;
    padding: 5px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.search-icon {
    color: var(--gray);
    margin-left: 20px;
    font-size: 1.2rem;
}

.hero-search-input {
    flex: 1;
    border: none;
    padding: 18px 15px;
    font-size: 1rem;
    outline: none;
    background: transparent;
}

.hero-search-btn {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.hero-search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102,126,234,0.4);
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    text-align: center;
    padding: 40px 20px;
    border-radius: 20px;
    transition: all 0.3s;
    background: var(--white);
    box-shadow: var(--shadow);
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

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

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.feature-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    background: linear-gradient(135deg, #667eea20, #764ba220);
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 15px;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* State Grid Modern */
.states-section {
    padding: 80px 0;
    background: var(--light);
}

.state-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.state-card-modern {
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: var(--shadow);
    display: block;
}

.state-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.state-flag {
    position: relative;
    z-index: 1;
}

.state-flag i {
    font-size: 2.5rem;
    color: var(--primary);
}

.state-card-modern h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 15px 0;
    color: var(--dark);
    position: relative;
    z-index: 1;
}

.state-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.property-count {
    color: var(--gray);
    font-size: 0.9rem;
}

.explore-link {
    color: var(--primary);
    font-weight: 600;
}

.state-bg-icon {
    position: absolute;
    right: -20px;
    bottom: -20px;
    font-size: 100px;
    opacity: 0.05;
    pointer-events: none;
}

/* Property Cards Modern */
.featured-properties, .properties-section {
    padding: 80px 0;
}

.properties-grid, .properties-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.property-card-modern {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    position: relative;
}

.property-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.card-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.card-badge.rented {
    background: #e74c3c;
}

.card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

.property-card-modern:hover .card-image img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.property-card-modern:hover .card-overlay {
    opacity: 1;
}

.view-details-btn {
    background: var(--gradient);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.view-details-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    color: white;
}

.card-content {
    padding: 25px;
}

.card-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
}

.card-price span {
    font-size: 0.9rem;
    font-weight: normal;
    color: var(--gray);
}

.card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
}

.card-location {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.card-features {
    display: flex;
    gap: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.card-features span {
    font-size: 0.85rem;
    color: var(--gray);
}

.card-features i {
    color: var(--primary);
    margin-right: 5px;
}

/* Steps Section */
.how-it-works {
    padding: 80px 0;
    background: var(--white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.step-card {
    text-align: center;
    position: relative;
    padding: 40px 20px;
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea20, #764ba220);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

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

.step-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.step-card p {
    color: var(--gray);
}

/* Testimonials */
.testimonials-section {
    padding: 80px 0;
    background: var(--light);
}

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

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

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

.testimonial-quote i {
    font-size: 2rem;
    color: var(--primary);
    opacity: 0.5;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray);
    margin-bottom: 25px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.author-info p {
    font-size: 0.85rem;
    color: var(--gray);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: var(--gradient);
    color: white;
}

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

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-primary-modern {
    background: white;
    color: var(--primary);
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    color: var(--primary-dark);
}

.btn-outline-modern {
    border: 2px solid white;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

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

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

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        gap: 25px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .properties-grid, .properties-grid-modern {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .state-grid-modern {
        grid-template-columns: 1fr;
    }
    
    .hero-search-input {
        font-size: 0.9rem;
    }
    
    .hero-search-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
}

.empty-state i {
    font-size: 4rem;
    color: var(--gray);
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.empty-state p {
    color: var(--gray);
    margin-bottom: 30px;
}

/* State Header */
.state-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 20px;
}

.state-breadcrumb {
    margin-bottom: 15px;
    color: var(--gray);
}

.state-breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

.state-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.state-subtitle {
    color: var(--gray);
}

.back-to-states {
    background: var(--light);
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--dark);
    transition: all 0.3s;
}

.back-to-states:hover {
    background: var(--primary);
    color: white;
}

/* Search Results Highlight */
.search-highlight {
    background: linear-gradient(135deg, #667eea20, #764ba220);
    padding: 2px 5px;
    border-radius: 5px;
}

/* Footer Links */
footer a {
    text-decoration: none;
    transition: all 0.3s;
}

footer a:hover {
    color: var(--primary) !important;
    transform: translateX(5px);
    display: inline-block;
}

/* Modern Contact Section Styles */
.modern-contact-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.modern-contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.contact-wrapper {
    max-width: 1300px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    margin-top: 50px;
}

/* Contact Info Side */
.contact-info-side {
    background: white;
    border-radius: 30px;
    padding: 40px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.contact-info-side::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient);
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px 0;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.info-card:last-of-type {
    border-bottom: none;
}

.info-card:hover {
    transform: translateX(10px);
}

.info-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #667eea15, #764ba215);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.info-card:hover .info-icon {
    background: var(--gradient);
}

.info-icon i {
    font-size: 24px;
    color: var(--primary);
    transition: all 0.3s ease;
}

.info-card:hover .info-icon i {
    color: white;
}

.info-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
}

.info-content p {
    margin-bottom: 5px;
    color: var(--gray);
}

.info-content a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s;
}

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

.info-content small {
    font-size: 0.8rem;
    color: #aaa;
}

/* Social Links */
.social-links {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #eee;
}

.social-links h4 {
    font-size: 1rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--gradient);
    color: white;
    transform: translateY(-3px);
}

/* Contact Form Side */
.contact-form-side {
    background: white;
    border-radius: 30px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.form-card {
    width: 100%;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.form-header p {
    color: var(--gray);
}

.modern-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark);
}

.form-group label i {
    color: var(--primary);
    margin-right: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid #eef2f6;
    border-radius: 12px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(102,126,234,0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102,126,234,0.4);
}

.submit-btn i {
    transition: transform 0.3s ease;
}

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

.form-note {
    text-align: center;
    font-size: 0.8rem;
    color: #aaa;
    margin-top: 15px;
}

.form-note i {
    color: var(--primary);
    margin-right: 5px;
}

/* Alert Styles */
.alert {
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert i {
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-info-side {
        order: 2;
    }
    
    .contact-form-side {
        order: 1;
    }
}

@media (max-width: 768px) {
    .modern-contact-section {
        padding: 60px 0;
    }
    
    .contact-info-side,
    .contact-form-side {
        padding: 25px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
    
    .info-card {
        padding: 15px 0;
    }
    
    .info-icon {
        width: 45px;
        height: 45px;
    }
    
    .info-icon i {
        font-size: 20px;
    }
    
    .form-header h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .social-icons {
        flex-wrap: wrap;
    }
    
    .submit-btn {
        padding: 12px 20px;
    }
}