@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Playfair+Display:wght@400;600;700&display=swap');

:root {
    --primary-navy: #0A1628;
    --primary-navy-light: #1A2744;
    --accent-gold: #D4AF37;
    --accent-gold-light: #F5E6C8;
    --text-white: #FFFFFF;
    --text-gray: #8892A6;
    --border-gold: rgba(212, 175, 55, 0.3);
    --shadow-gold: rgba(212, 175, 55, 0.15);
    --shadow-dark: rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--primary-navy);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    background: linear-gradient(135deg, #D4AF37 0%, #F5E6C8 50%, #D4AF37 100%);
    color: var(--primary-navy);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--shadow-gold);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
}

.btn-outline:hover {
    background: var(--accent-gold);
    color: var(--primary-navy);
}

.btn-large {
    padding: 18px 48px;
    font-size: 16px;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-gold);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--accent-gold);
    text-decoration: none;
    letter-spacing: 3px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-gold);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    color: var(--accent-gold);
    cursor: pointer;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-navy-light) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 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='%23D4AF37' fill-opacity='0.05'%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");
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
    font-size: 56px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--accent-gold-light) 0%, var(--accent-gold) 50%, var(--accent-gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 4px;
}

.hero-content p {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modules-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--primary-navy) 0%, var(--primary-navy-light) 100%);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 40px;
    margin-bottom: 20px;
    color: var(--text-white);
}

.section-title p {
    color: var(--text-gray);
    font-size: 16px;
}

.section-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    margin: 20px auto;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.module-card {
    background: rgba(26, 39, 68, 0.6);
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.module-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold), transparent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.module-card:hover::before {
    transform: scaleX(1);
}

.module-card:hover {
    transform: translateY(-10px);
    background: rgba(26, 39, 68, 0.9);
    box-shadow: 0 20px 40px var(--shadow-dark);
}

.module-icon {
    font-size: 48px;
    color: var(--accent-gold);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.module-card:hover .module-icon {
    transform: scale(1.1);
}

.module-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-white);
}

.module-card p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 25px;
}

.featured-section {
    padding: 100px 0;
    background: var(--primary-navy);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.featured-card {
    background: var(--primary-navy-light);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-gold);
    transition: all 0.4s ease;
}

.featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px var(--shadow-dark);
}

.featured-image {
    height: 200px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
    position: relative;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-card:hover .featured-image img {
    transform: scale(1.1);
}

.featured-content {
    padding: 25px;
}

.featured-content h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-white);
}

.featured-content p {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 15px;
}

.featured-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--accent-gold);
}

.about-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--primary-navy-light) 0%, var(--primary-navy) 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    justify-items: center;
}

.about-text {
    max-width: 800px;
    width: 100%;
}

.about-text p {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    border: 1px solid var(--border-gold);
    border-radius: 8px;
}

.stat-item .stat-number {
    font-size: 36px;
    font-family: 'Playfair Display', serif;
    color: var(--accent-gold);
    margin-bottom: 5px;
}

.stat-item .stat-label {
    font-size: 14px;
    color: var(--text-gray);
}

.contact-section {
    padding: 100px 0;
    background: var(--primary-navy);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    text-align: center;
}

.contact-info h3 {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--text-white);
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 25px;
}

.contact-item i {
    font-size: 24px;
    color: var(--accent-gold);
    margin-bottom: 10px;
}

.contact-item .contact-details h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--text-white);
}

.contact-item .contact-details p {
    font-size: 14px;
    color: var(--text-gray);
}

.contact-form {
    background: var(--primary-navy-light);
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    padding: 40px;
}

.contact-form h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: var(--text-white);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px;
    background: rgba(10, 22, 40, 0.6);
    border: 1px solid var(--border-gold);
    border-radius: 6px;
    color: var(--text-white);
    font-size: 14px;
    font-family: 'Lato', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

footer {
    background: var(--primary-navy-light);
    border-top: 1px solid var(--border-gold);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
    word-break: break-all;
    text-align: center;
    align-items: center;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--accent-gold);
    line-height: 1.4;
}

.footer-section ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-section ul li {
    margin-bottom: 0;
}

.footer-section ul li a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    display: block;
    line-height: 1.6;
}

.footer-section ul li a:hover {
    color: var(--accent-gold);
}

.footer-section p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 0;
}

.footer-section .social-links {
    margin-top: 0;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-gold);
}

.footer-bottom p {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-bottom p:last-child {
    margin-bottom: 0;
}

.footer-bottom a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--primary-gold);
}

.page-header {
    padding: 150px 0 80px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-navy-light) 100%);
}

.page-header h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--accent-gold);
}

.page-header p {
    font-size: 16px;
    color: var(--text-gray);
}

.service-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

.tab-btn {
    padding: 12px 30px;
    background: transparent;
    border: 1px solid var(--border-gold);
    color: var(--text-white);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background: var(--accent-gold);
    color: var(--primary-navy);
    border-color: var(--accent-gold);
}

.tab-btn:hover:not(.active) {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.property-card {
    background: var(--primary-navy-light);
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
    opacity: 1;
    transform: scale(1);
}

.property-card:hover {
    transform: translateY(-5px) scale(1);
    box-shadow: 0 15px 35px var(--shadow-dark);
}

.property-image {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.1);
}

.property-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 15px;
    background: var(--accent-gold);
    color: var(--primary-navy);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
}

.property-content {
    padding: 25px;
}

.property-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-white);
}

.property-location {
    display: flex;
    align-items: center;
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 15px;
}

.property-location i {
    margin-right: 8px;
    color: var(--accent-gold);
}

.property-details {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--text-gray);
}

.property-details span {
    display: flex;
    align-items: center;
}

.property-details span i {
    margin-right: 5px;
}

.property-price {
    font-size: 22px;
    font-family: 'Playfair Display', serif;
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 20px;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.course-card {
    background: var(--primary-navy-light);
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px var(--shadow-dark);
}

.course-image {
    height: 180px;
    position: relative;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-card:hover .course-image img {
    transform: scale(1.1);
}

.course-category {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 15px;
    background: rgba(10, 22, 40, 0.8);
    color: var(--accent-gold);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
}

.course-content {
    padding: 25px;
}

.course-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-white);
}

.course-content p {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 15px;
    line-height: 1.6;
}

.course-instructor {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.course-instructor img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 12px;
    background: var(--accent-gold);
}

.course-instructor span {
    font-size: 14px;
    color: var(--text-gray);
}

.course-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.course-price {
    font-size: 24px;
    font-family: 'Playfair Display', serif;
    color: var(--accent-gold);
}

.course-rating {
    display: flex;
    gap: 5px;
}

.course-rating i {
    color: var(--accent-gold);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.news-card {
    display: flex;
    gap: 25px;
    background: var(--primary-navy-light);
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.news-card:hover {
    transform: translateX(5px);
    box-shadow: 0 15px 35px var(--shadow-dark);
}

.news-image {
    width: 200px;
    height: 150px;
    flex-shrink: 0;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-white);
}

.news-content p {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 15px;
    line-height: 1.6;
}

.news-date {
    font-size: 12px;
    color: var(--accent-gold);
}

.team-section {
    padding: 80px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-card {
    text-align: center;
    background: var(--primary-navy-light);
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.4s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px var(--shadow-dark);
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
    border: 3px solid var(--accent-gold);
}

.team-card h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--text-white);
}

.team-card p {
    font-size: 14px;
    color: var(--accent-gold);
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-links a {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-gold);
    border-radius: 50%;
    color: var(--text-gray);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-gold);
    color: var(--primary-navy);
    border-color: var(--accent-gold);
}

@media (max-width: 1024px) {
    .modules-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .property-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .course-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-navy);
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--border-gold);
    }
    .nav-links.active {
        display: flex;
    }
    .mobile-menu-btn {
        display: block;
    }
    .hero-content h1 {
        font-size: 36px;
    }
    .hero-content p {
        font-size: 16px;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .modules-grid {
        grid-template-columns: 1fr;
    }
    .featured-grid {
        grid-template-columns: 1fr;
    }
    .about-content {
        grid-template-columns: 1fr;
    }
    .about-stats {
        grid-template-columns: 1fr;
    }
    .contact-content {
        grid-template-columns: 1fr;
    }
    .property-grid {
        grid-template-columns: 1fr;
    }
    .course-grid {
        grid-template-columns: 1fr;
    }
    .news-grid {
        grid-template-columns: 1fr;
    }
    .news-card {
        flex-direction: column;
    }
    .news-image {
        width: 100%;
    }
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-content {
        grid-template-columns: 1fr;
    }
    .page-header h1 {
        font-size: 36px;
    }
    .service-tabs {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 28px;
    }
    .team-grid {
        grid-template-columns: 1fr;
    }
}
