/* Modern Landing Page Styles */

/* Import Arabic Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;900&family=Tajawal:wght@300;400;500;700;900&display=swap');

/* CSS Variables */
:root {
    --primary-color: #589cc1;
    --primary-dark: #4a8ba8;
    --secondary-color: #2c3e50;
    --accent-color: #589cc1;
    --text-dark: #2c3e50;
    --text-light: #777777;
    --white: #ffffff;
    --light-bg: #fdfdfd;
    --gradient-1: linear-gradient(135deg, #589cc1 0%, #4a8ba8 100%);
    --gradient-2: linear-gradient(135deg, #fdfdfd 0%, #ffffff 100%);
    --shadow-sm: 0 2px 10px rgba(88, 156, 193, 0.1);
    --shadow-md: 0 5px 25px rgba(88, 156, 193, 0.15);
    --shadow-lg: 0 10px 40px rgba(88, 156, 193, 0.2);
    --transition: all 0.3s ease;
}

/* Global Styles */
body {
    font-family: 'Cairo', 'Tajawal', sans-serif;
    color: var(--text-light);
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Modern Navbar */
.modern-navbar {
    background: rgb(0 0 0 / 95%);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: var(--transition);
    box-shadow: 0 2px 20px rgba(88, 156, 193, 0.1);
}

.modern-navbar.scrolled {
    background: rgba(253, 253, 253, 0.98);
    padding: 0.5rem 0;
    box-shadow: 0 5px 30px rgba(88, 156, 193, 0.15);
}

.navbar-logo {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

.modern-navbar .navbar-nav .nav-link {
    color: #ffffff;
    font-weight: 500;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}

.modern-navbar .navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.modern-navbar .navbar-nav .nav-link:hover::before,
.modern-navbar .navbar-nav .nav-link.active::before {
    width: 80%;
}

.modern-navbar .navbar-nav .nav-link:hover,
.modern-navbar .navbar-nav .nav-link.active {
    color: var(--primary-color);
    background: rgba(88, 156, 193, 0.1);
}

.modern-navbar .btn-book-now {
    background: var(--gradient-1);
    color: var(--white);
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    margin-right: 1rem;
    transition: var(--transition);
}

.modern-navbar .btn-book-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(88, 156, 193, 0.4);
    color: var(--white);
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.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='rgba(44, 62, 80, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.modern-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #ffffff;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/4.webp') center/cover no-repeat;
    opacity: 0.15;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(253, 253, 253, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(88, 156, 193, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(88, 156, 193, 0.05) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--text-dark);
    padding: 2rem 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(88, 156, 193, 0.15);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(88, 156, 193, 0.3);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--primary-color);
}

.hero-badge i {
    font-size: 1.2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.title-highlight {
    color: var(--primary-color);
    display: block;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--text-light);
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--gradient-1);
    border: none;
    padding: 1rem 2.5rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(88, 156, 193, 0.4);
    background: var(--gradient-1);
}

.btn-outline-light {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
}

.btn-outline-light:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

.hero-image-wrapper {
    position: relative;
    z-index: 2;
}

.hero-slider {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-slide {
    position: relative;
}

.hero-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
    height: 500px;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.hero-slide:hover .hero-image img {
    transform: scale(1.05);
}

/* Owl Carousel Navigation */
.hero-slider .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
}

.hero-slider .owl-nav button {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9) !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color) !important;
    font-size: 24px;
    transition: var(--transition);
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-slider .owl-nav button:hover {
    background: var(--primary-color) !important;
    color: var(--white) !important;
    transform: scale(1.1);
}

.hero-slider .owl-nav button.owl-prev {
    right: 20px;
}

.hero-slider .owl-nav button.owl-next {
    left: 20px;
}

/* Owl Carousel Dots */
.hero-slider .owl-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-slider .owl-dots button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5) !important;
    border: 2px solid rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    margin: 0;
    padding: 0;
}

.hero-slider .owl-dots button.active {
    background: var(--primary-color) !important;
    border-color: var(--primary-color);
    width: 30px;
    border-radius: 6px;
}

.hero-slider .owl-dots button:hover {
    background: var(--primary-color) !important;
    border-color: var(--primary-color);
}

.hero-floating-card {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 250px;
}

.floating-card-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

.floating-card-content {
    flex: 1;
}

.floating-card-content span {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.floating-card-content a {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    right: 50%;
    transform: translateX(50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.hero-scroll-indicator a {
    color: var(--primary-color);
    font-size: 2rem;
    opacity: 0.7;
    transition: var(--transition);
}

.hero-scroll-indicator a:hover {
    opacity: 1;
    color: var(--primary-dark);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(50%) translateY(0);
    }
    40% {
        transform: translateX(50%) translateY(-10px);
    }
    60% {
        transform: translateX(50%) translateY(-5px);
    }
}

/* Features Section */
.modern-features {
    padding: 80px 0;
    background: #ffffff;
}

.feature-card {
    background: #fdfdfd;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(88, 156, 193, 0.1);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

.feature-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.feature-card a:hover {
    text-decoration: underline;
}

/* Units Types Section */
.modern-units-types {
    padding: 80px 0;
    background: #fdfdfd;
}

.unit-type-card {
    background: #ffffff;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(88, 156, 193, 0.1);
}

.unit-type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: var(--transition);
}

.unit-type-card:hover::before {
    transform: scaleX(1);
}

.unit-type-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.unit-type-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(88, 156, 193, 0.15) 0%, rgba(88, 156, 193, 0.05) 100%);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 3rem;
    color: var(--primary-color);
}

.unit-type-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.unit-type-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.unit-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    background: rgba(88, 156, 193, 0.15);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    display: inline-block;
}

/* Projects Section */
.modern-projects {
    padding: 100px 0;
    background: #ffffff;
}

.section-header {
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    background: rgba(88, 156, 193, 0.15);
    color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

.projects-tabs {
    margin-bottom: 3rem;
}

.projects-tabs .nav-pills {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.projects-tabs .nav-link {
    background: #fdfdfd;
    color: var(--text-dark);
    border: 2px solid rgba(88, 156, 193, 0.2);
    border-radius: 50px;
    padding: 1rem 2rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.projects-tabs .nav-link:hover,
.projects-tabs .nav-link.active {
    background: var(--gradient-1);
    border-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(88, 156, 193, 0.3);
}

.project-detail-card {
    background: #fdfdfd;
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(88, 156, 193, 0.2);
    box-shadow: var(--shadow-md);
}

.project-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.project-image img {
    width: 100%;
    height: auto;
    display: block;
}

.project-content {
    padding: 2rem;
    color: var(--text-dark);
}

.project-content h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.project-intro {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.project-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.project-features li {
    padding: 1rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    color: var(--text-dark);
    border-bottom: 1px solid rgba(88, 156, 193, 0.1);
}

.project-features li:last-child {
    border-bottom: none;
}

.project-features li i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* Contact Section */
.modern-contact {
    padding: 100px 0;
    background: #fdfdfd;
}

.contact-form-wrapper {
    background: #ffffff;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(88, 156, 193, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.form-group label i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
    transition: var(--transition);
    font-family: 'Cairo', sans-serif;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(18, 202, 89, 0.25);
    outline: none;
}

.contact-emergency {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(88, 156, 193, 0.1);
    border-radius: 10px;
    margin-top: 1rem;
    justify-content: center;
}

.contact-emergency i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.contact-emergency span {
    font-weight: 600;
    color: var(--text-dark);
}

.contact-emergency a {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
}

.contact-emergency a:hover {
    text-decoration: underline;
}

/* Footer */
.modern-footer {
    background: #fdfdfd;
    padding: 60px 0 20px;
    color: var(--text-light);
    border-top: 1px solid rgba(88, 156, 193, 0.1);
}

.footer-widget {
    margin-bottom: 2rem;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 1.5rem;
}

.footer-widget h4 {
    color: var(--text-dark);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-widget p {
    line-height: 1.8;
    margin-bottom: 0;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(-5px);
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-contact i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.footer-contact a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(88, 156, 193, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    color: var(--white);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(88, 156, 193, 0.1);
}

.footer-bottom p {
    margin: 0;
    color: var(--text-light);
}

.footer-bottom a {
    color: var(--primary-color);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.floating-btn.main-btn {
    background: var(--gradient-1);
    transform: scale(1);
}

.floating-btn.whatsapp-btn {
    background: #25D366;
    transform: translateX(-100px) scale(0);
    opacity: 0;
}

.floating-btn.phone-btn {
    background: var(--primary-color);
    transform: translateX(-100px) scale(0);
    opacity: 0;
}

.floating-btn.whatsapp-btn.show,
.floating-btn.phone-btn.show {
    transform: translateX(0) scale(1);
    opacity: 1;
}

.floating-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-lg);
}

/* Popup Styles */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.popup-container {
    background: var(--white);
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: popupSlideIn 0.3s ease;
}

@keyframes popupSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.popup-close-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.popup-close-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: rotate(90deg);
}

.popup-header {
    padding: 3rem 3rem 1rem;
    text-align: center;
    border-bottom: 1px solid #e9ecef;
}

.popup-header h1 {
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.popup-header p {
    color: var(--text-light);
    margin: 0;
}

.popup-content {
    padding: 2rem 3rem;
}

.popup-form .form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.required {
    color: #dc3545;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: 'Cairo', sans-serif;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(18, 202, 89, 0.25);
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-row .form-group {
    flex: 1;
}

.popup-action-section {
    text-align: center;
    margin-top: 2rem;
}

.popup-submit-btn {
    background: var(--gradient-1);
    color: var(--white);
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.popup-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(88, 156, 193, 0.4);
}

.form-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.popup-footer {
    padding: 1.5rem 3rem;
    text-align: center;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    border-radius: 0 0 20px 20px;
}

.popup-footer p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .hero-floating-card {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 2rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-image {
        height: 400px;
    }
    
    .hero-slider .owl-nav button {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .hero-slider .owl-nav {
        padding: 0 10px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .project-content h2 {
        font-size: 2rem;
    }
    
    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .floating-buttons {
        bottom: 20px;
        left: 20px;
    }
    
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .popup-container {
        margin: 1rem;
    }
    
    .popup-header,
    .popup-content {
        padding: 2rem 1.5rem;
    }
    
    .hero-image {
        height: 300px;
    }
    
    .hero-slider .owl-nav button {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    .hero-slider .owl-dots {
        bottom: 10px;
    }
    
    .hero-slider .owl-dots button {
        width: 10px;
        height: 10px;
    }
    
    .hero-slider .owl-dots button.active {
        width: 25px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .projects-tabs .nav-link {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}
