/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
}

/* Ensure Cairo font loads properly */
@supports (font-variation-settings: normal) {
    body {
        font-family: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, 'Noto Sans Arabic', 'Droid Arabic Naskh', 'Geeza Pro', sans-serif;
    }
}

:root {
    --primary-color: #0a2540;
    --secondary-color: #1a3a52;
    --accent-color: #25D366;
    --accent-hover: #1fb855;
    --phone-color: #0088cc;
    --text-dark: #0a2540;
    --text-medium: #425466;
    --text-light: #6b7c8e;
    --bg-light: #eef2f7;
    --bg-white: #ffffff;
    --bg-dark: #0a2540;
    --border-color: #d4dce5;
    --shadow-sm: 0 2px 8px rgba(10, 37, 64, 0.08);
    --shadow: 0 4px 16px rgba(10, 37, 64, 0.12);
    --shadow-lg: 0 8px 32px rgba(10, 37, 64, 0.18);
    --shadow-hover: 0 12px 40px rgba(10, 37, 64, 0.24);
    --gradient-primary: linear-gradient(135deg, #0a2540 0%, #1a3a52 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(10, 37, 64, 0.92), rgba(26, 58, 82, 0.88));
    --gradient-shine: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

body {
    font-family: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, 'Noto Sans Arabic', 'Droid Arabic Naskh', 'Geeza Pro', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Force Cairo font on all text elements */
h1, h2, h3, h4, h5, h6, p, a, button, input, textarea, select, .btn {
    font-family: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, 'Noto Sans Arabic', 'Droid Arabic Naskh', 'Geeza Pro', sans-serif !important;
}

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

/* Header */
.header {
    background: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.98);
}

.header-content {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

/* Navigation - Removed (Logo Only) */
/* .nav {
    display: flex;
    gap: 12px;
    align-items: center;
}

.nav .btn {
    padding: 10px 20px;
    font-size: 14px;
    white-space: nowrap;
} */

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    border: 2px solid;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
    backdrop-filter: blur(10px);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-shine);
    transition: left 0.5s ease;
}

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

.btn-primary {
    background: rgba(44, 62, 80, 0.2);
    color: white;
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 20px rgba(44, 62, 80, 0.2);
}

.btn-primary:hover {
    background: rgba(44, 62, 80, 0.4);
    border-color: rgba(255, 255, 255, 1);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(44, 62, 80, 0.4);
}

.btn-secondary {
    background: rgba(0, 107, 163, 0.2);
    color: white;
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 20px rgba(0, 107, 163, 0.2);
}

.btn-secondary:hover {
    background: rgba(0, 107, 163, 0.4);
    border-color: rgba(255, 255, 255, 1);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 107, 163, 0.4);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-dark);
    border-color: var(--border-color);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: var(--text-dark);
    transform: translateY(-2px);
}

.btn-large {
    padding: 15px 40px;
    font-size: 18px;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Fixed Contact Icons */
.fixed-contact-icons {
    position: fixed;
    right: 24px;
    bottom: 100px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
}

.contact-icon::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: inherit;
    opacity: 0.3;
    filter: blur(8px);
    transition: all 0.3s ease;
}

.whatsapp-icon {
    background: linear-gradient(135deg, #1ea952, #178f42);
}

.whatsapp-icon:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 8px 32px rgba(30, 169, 82, 0.6);
}

.whatsapp-icon:hover::before {
    opacity: 0.5;
    inset: -6px;
}

.phone-icon {
    background: linear-gradient(135deg, #006ba3, #005082);
}

.phone-icon:hover {
    transform: scale(1.15) rotate(-5deg);
    box-shadow: 0 8px 32px rgba(0, 107, 163, 0.6);
}

.phone-icon:hover::before {
    opacity: 0.5;
    inset: -6px;
}

.contact-icon svg {
    width: 32px;
    height: 32px;
    position: relative;
    z-index: 1;
}

/* Animations */
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

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

.animate-bounce {
    animation: bounce 2s infinite;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

/* Hero/Banner Section */
.hero {
    position: relative;
    height: 650px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-overlay);
    animation: gradientShift 10s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(37, 211, 102, 0.15), transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(0, 136, 204, 0.15), transparent 50%);
    animation: heroRotate 30s linear infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 32px;
}

.hero h1 {
    font-size: 56px;
    margin-bottom: 24px;
    text-shadow: 0 4px 16px rgba(0,0,0,0.6);
    animation: fadeInDown 1s ease;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.hero p {
    font-size: 22px;
    margin-bottom: 0;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease 0.2s both;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
}

.hero .btn {
    margin: 12px;
    animation: fadeInUp 1.2s ease 0.4s both;
}

@keyframes gradientShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.92; }
}

@keyframes heroRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Sections */
.section {
    padding: 80px 0;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.section.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.section-alt {
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 42px;
    margin-bottom: 16px;
    color: var(--primary-color);
    font-weight: 800;
    position: relative;
    padding-bottom: 20px;
    letter-spacing: -0.5px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-color), var(--phone-color));
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.4);
}

.section-subtitle {
    text-align: center;
    font-size: 19px;
    color: var(--text-medium);
    margin-bottom: 56px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    font-weight: 400;
}

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--bg-white);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    border: 2px solid transparent;
    background: linear-gradient(135deg, var(--accent-color), var(--phone-color)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(10, 37, 64, 0.95), rgba(10, 37, 64, 0.7), transparent);
    padding: 24px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover .gallery-item-overlay {
    transform: translateY(0);
}

.gallery-item-overlay h3 {
    color: white;
    font-size: 19px;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Content Sections */
.content-box {
    background: var(--bg-white);
    padding: 48px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 32px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.content-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(37, 211, 102, 0.1), transparent);
    border-radius: 50%;
    transform: translate(50%, -50%);
}

.content-box h2 {
    color: var(--primary-color);
    margin-bottom: 24px;
    font-size: 32px;
    border-right: 6px solid var(--accent-color);
    padding-right: 20px;
    font-weight: 800;
    position: relative;
}

.content-box h3 {
    color: var(--secondary-color);
    margin: 32px 0 16px 0;
    font-size: 24px;
    font-weight: 700;
}

.content-box p {
    line-height: 1.9;
    margin-bottom: 16px;
    color: var(--text-medium);
    font-size: 16px;
}

/* Amenities Grid */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 18px;
    margin-top: 40px;
}

.amenity-card {
    background: #ffffff;
    padding: 22px 18px;
    border-radius: 12px;
    border: 2px solid #e8ecef;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.amenity-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #25D366 0%, #1fb855 100%);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.35s ease;
}

.amenity-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.05) 0%, rgba(31, 184, 85, 0.08) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.amenity-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.22);
    border-color: #25D366;
}

.amenity-card:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.amenity-card:hover::after {
    opacity: 1;
}

.amenity-card p {
    color: var(--text-dark);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    font-weight: 600;
    position: relative;
    z-index: 1;
    letter-spacing: 0.3px;
}

.amenity-card:nth-child(1) { animation: fadeInUp 0.4s ease 0.05s forwards; opacity: 0; }
.amenity-card:nth-child(2) { animation: fadeInUp 0.4s ease 0.1s forwards; opacity: 0; }
.amenity-card:nth-child(3) { animation: fadeInUp 0.4s ease 0.15s forwards; opacity: 0; }
.amenity-card:nth-child(4) { animation: fadeInUp 0.4s ease 0.2s forwards; opacity: 0; }
.amenity-card:nth-child(5) { animation: fadeInUp 0.4s ease 0.25s forwards; opacity: 0; }
.amenity-card:nth-child(6) { animation: fadeInUp 0.4s ease 0.3s forwards; opacity: 0; }
.amenity-card:nth-child(7) { animation: fadeInUp 0.4s ease 0.35s forwards; opacity: 0; }
.amenity-card:nth-child(8) { animation: fadeInUp 0.4s ease 0.4s forwards; opacity: 0; }
.amenity-card:nth-child(9) { animation: fadeInUp 0.4s ease 0.45s forwards; opacity: 0; }
.amenity-card:nth-child(10) { animation: fadeInUp 0.4s ease 0.5s forwards; opacity: 0; }
.amenity-card:nth-child(n+11) { animation: fadeInUp 0.4s ease 0.55s forwards; opacity: 0; }

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

.content-box ul {
    list-style: none;
    padding-right: 20px;
}

.content-box ul li {
    padding: 10px 0;
    position: relative;
    padding-right: 25px;
}

.content-box ul li:before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Location Section */
.location-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.location-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
    transition: transform 0.4s ease;
}

.location-image:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-hover);
}

.location-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    border: 3px solid transparent;
    background: linear-gradient(135deg, var(--accent-color), var(--phone-color)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.location-image:hover::after {
    opacity: 1;
}

.location-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

/* Unit Types */
.unit-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin: 40px 0;
}

.unit-type {
    background: linear-gradient(135deg, #ffffff 0%, #eef2f7 100%);
    padding: 36px 28px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--border-color);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.unit-type::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--phone-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.unit-type:hover {
    transform: translateY(-8px);
    border-color: var(--accent-color);
    box-shadow: var(--shadow-hover);
}

.unit-type:hover::before {
    transform: scaleX(1);
}

.unit-type h4 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-weight: 700;
}

/* Brochure Section */
.brochure-section {
    background: var(--gradient-primary);
    color: white;
    text-align: center;
    padding: 70px 48px;
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.brochure-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(37, 211, 102, 0.15), rgba(0, 136, 204, 0.15), transparent);
    animation: rotate 25s linear infinite;
}

.brochure-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.brochure-content {
    position: relative;
    z-index: 2;
}

.brochure-section h2 {
    font-size: 38px;
    margin-bottom: 16px;
    font-weight: 800;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.brochure-section p {
    font-size: 19px;
    margin-bottom: 32px;
    opacity: 0.95;
    line-height: 1.7;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.brochure-section .btn {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.brochure-section .btn:hover {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    border-color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3);
}

/* Countdown Timer - Removed */
/* .countdown-timer {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--accent-color);
    background: rgba(37, 211, 102, 0.15);
    padding: 16px 32px;
    border-radius: 12px;
    display: inline-block;
    border: 2px solid rgba(37, 211, 102, 0.3);
    backdrop-filter: blur(10px);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    letter-spacing: 2px;
} */

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #eef2f7 0%, #f8fafb 100%);
    padding: 70px 48px;
    border-radius: 20px;
    text-align: center;
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(37, 211, 102, 0.08), transparent);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 136, 204, 0.08), transparent);
    border-radius: 50%;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

.cta-section .btn-primary,
.cta-section .btn-secondary {
    background: rgba(44, 62, 80, 0.9);
    color: white;
    border-color: rgba(44, 62, 80, 1);
    box-shadow: 0 4px 20px rgba(44, 62, 80, 0.25);
}

.cta-section .btn-primary:hover,
.cta-section .btn-secondary:hover {
    background: rgba(44, 62, 80, 1);
    border-color: rgba(44, 62, 80, 1);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(44, 62, 80, 0.4);
}

.cta-section .btn-secondary {
    background: rgba(0, 107, 163, 0.9);
    border-color: rgba(0, 107, 163, 1);
    box-shadow: 0 4px 20px rgba(0, 107, 163, 0.25);
}

.cta-section .btn-secondary:hover {
    background: rgba(0, 107, 163, 1);
    border-color: rgba(0, 107, 163, 1);
    box-shadow: 0 8px 30px rgba(0, 107, 163, 0.4);
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.project-card {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid var(--border-color);
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, #2c3e50, #1a252f);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.project-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.project-card:hover::before {
    opacity: 0.05;
}

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

.project-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 37, 64, 0.6), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-card-image::after {
    opacity: 1;
}

.project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-card-image img {
    transform: scale(1.12);
}

.project-card-content {
    padding: 28px;
    position: relative;
    z-index: 1;
}

.project-card-content h3 {
    font-size: 23px;
    margin-bottom: 12px;
    color: var(--primary-color);
    font-weight: 700;
    transition: color 0.3s ease;
}

.project-card:hover .project-card-content h3 {
    color: var(--accent-color);
}

.project-card-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 15px;
}

.project-card .btn {
    background: rgba(44, 62, 80, 0.85);
    color: white;
    border-color: rgba(44, 62, 80, 1);
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.25);
}

.project-card .btn:hover {
    background: rgba(44, 62, 80, 1);
    border-color: rgba(44, 62, 80, 1);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 25px rgba(44, 62, 80, 0.4);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    align-items: center;
    justify-content: center;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: var(--accent-color);
    transform: scale(1.2);
}

.modal-box {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 48px;
    max-width: 540px;
    position: relative;
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 24px 64px rgba(10, 37, 64, 0.3);
    border: 1px solid var(--border-color);
}

.modal-content-box {
    text-align: center;
}

.modal-box .modal-close {
    position: absolute;
    top: 10px;
    left: 20px;
    color: var(--text-dark);
    font-size: 30px;
}

.error-icon {
    width: 80px;
    height: 80px;
    color: #e74c3c;
    margin-bottom: 20px;
}

.modal-content-box h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.modal-content-box p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 25px;
}

.modal-box .btn {
    background: rgba(44, 62, 80, 0.9);
    color: white;
    border-color: rgba(44, 62, 80, 1);
    box-shadow: 0 4px 20px rgba(44, 62, 80, 0.25);
}

.modal-box .btn:hover {
    background: rgba(44, 62, 80, 1);
    border-color: rgba(44, 62, 80, 1);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(44, 62, 80, 0.4);
}

/* Footer */
.footer {
    background: var(--gradient-primary);
    color: white;
    padding: 60px 0 24px 0;
    margin-top: 100px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--phone-color), var(--accent-color));
    background-size: 200% 100%;
    animation: gradientMove 3s ease infinite;
}

@keyframes gradientMove {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.footer-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-notice {
    background: rgba(255,255,255,0.12);
    padding: 20px 24px;
    border-radius: 12px;
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    font-size: 15px;
    line-height: 1.7;
}

.footer-contact {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.footer-contact .btn-outline {
    color: white;
    border-color: rgba(255,255,255,0.7);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.footer-contact .btn-outline:hover {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    border-color: white;
    transform: translateY(-3px) scale(1.05);
}

.footer-copyright {
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.2);
    opacity: 0.8;
    font-size: 14px;
}

/* Spinner */
.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 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 zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 17px;
    }
    
    .hero {
        height: 550px;
    }
    
    .hero-content {
        padding: 20px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .section-subtitle {
        font-size: 17px;
        margin-bottom: 40px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .location-section {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .gallery {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .content-box {
        padding: 32px 24px;
        border-radius: 16px;
    }
    
    .content-box h2 {
        font-size: 26px;
    }
    
    .cta-section,
    .brochure-section {
        padding: 48px 28px;
        border-radius: 16px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .header-content {
        justify-content: center;
        padding: 12px 0;
    }
    
    .fixed-contact-icons {
        right: 16px;
        bottom: 80px;
        gap: 12px;
    }
    
    .contact-icon {
        width: 56px;
        height: 56px;
    }
    
    .contact-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .modal-box {
        margin: 20px;
        padding: 32px 24px;
    }
    
    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .amenity-card {
        padding: 20px 16px;
        font-size: 14px;
        min-height: 90px;
    }
    
    .amenity-card p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .hero {
        height: 480px;
    }
    
    .hero-content {
        padding: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .content-box {
        padding: 24px 20px;
    }
    
    .content-box h2 {
        font-size: 24px;
    }
    
    .content-box h3 {
        font-size: 20px;
    }
    
    .cta-section,
    .brochure-section {
        padding: 40px 24px;
    }
    
    .brochure-section h2,
    .cta-section h2 {
        font-size: 28px;
    }
    
    .amenities-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .amenity-card {
        padding: 18px 16px;
        min-height: 85px;
    }
    
    .amenity-card p {
        font-size: 13.5px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 15px;
    }
    
    .btn-large {
        padding: 14px 28px;
        font-size: 16px;
    }
    
    .fixed-contact-icons {
        right: 12px;
        bottom: 60px;
    }
    
    .contact-icon {
        width: 52px;
        height: 52px;
    }
    
    .contact-icon svg {
        width: 26px;
        height: 26px;
    }
}

/* Loading State */
body.loaded .hero-content,
body.loaded .section {
    opacity: 1;
    transform: translateY(0);
}

