/* Variable Definitions */
:root {
    --primary-color: #0d3b2e;
    /* Deep Forest Green */
    --primary-dark: #07261d;
    --primary-light: #1a5c4a;
    --accent-color: #d4af37;
    /* Metallic Gold */
    --accent-hover: #b5952f;
    --text-dark: #1a1a1a;
    --text-light: #f4f4f4;
    --text-muted: #666666;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;

    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow: 0 10px 30px -10px rgba(var(--primary-rgb), 0.1);
    --shadow-hover: 0 20px 40px -10px rgba(var(--primary-rgb), 0.2);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: #f8fbfa;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body.no-scroll {
    overflow: hidden;
}

/* Dynamic Background Shapes */
.shape {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.4;
    animation: float 20s infinite alternate;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    animation-delay: -5s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    100% {
        transform: translate(50px, 50px) rotate(20deg);
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.text-gold {
    color: var(--accent-color);
}

.text-gradient {
    background: linear-gradient(135deg, var(--white) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Glassmorphism Utilities */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--glass-shadow);
}

.glass-card-dark {
    background: rgba(var(--primary-rgb), 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--glass-shadow);
    color: var(--white);
    border-radius: 20px;
    padding: 60px;
}

.glass-btn {
    backdrop-filter: blur(5px);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 50px;
    /* Modern pill shape */
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    border: 2px solid transparent;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    z-index: -1;
}

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

.btn-primary {
    background-color: var(--accent-color);
    color: var(--primary-dark);
    box-shadow: 0 10px 20px rgba(var(--accent-rgb), 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(var(--accent-rgb), 0.4);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-gold {
    background-color: var(--accent-color);
    color: var(--primary-dark);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: auto;
    padding: 25px 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    /* Default for transparent header */
    letter-spacing: 1px;
}

.navbar.scrolled .logo {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-links a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--white);
    /* Default for transparent header */
    position: relative;
}

.navbar.scrolled .nav-links a {
    color: var(--text-dark);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-links a.active::after,
.nav-links a:hover::after {
    width: 100%;
}

.btn-nav {
    padding: 10px 25px;
    border: 1px solid var(--accent-color);
    border-radius: 50px;
    color: var(--accent-color) !important;
}

.navbar.scrolled .btn-nav {
    border-color: var(--primary-color);
    color: var(--primary-color) !important;
}

.btn-nav:hover {
    background-color: var(--accent-color);
    color: var(--primary-dark) !important;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--white);
    transition: var(--transition);
}

.navbar.scrolled .hamburger {
    color: var(--primary-color);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.close-menu {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 2rem;
    color: var(--white);
    cursor: pointer;
}

.mobile-nav-links {
    text-align: center;
}

.mobile-nav-links li {
    margin: 25px 0;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.mobile-menu-overlay.active .mobile-nav-links li {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-overlay.active .mobile-nav-links li:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-menu-overlay.active .mobile-nav-links li:nth-child(2) {
    transition-delay: 0.2s;
}

.mobile-menu-overlay.active .mobile-nav-links li:nth-child(3) {
    transition-delay: 0.3s;
}

.mobile-menu-overlay.active .mobile-nav-links li:nth-child(4) {
    transition-delay: 0.4s;
}

.mobile-menu-overlay.active .mobile-nav-links li:nth-child(5) {
    transition-delay: 0.5s;
}

.mobile-nav-links a {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--white);
}

.mobile-nav-links a:hover {
    color: var(--accent-color);
}


/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(180deg, rgba(var(--primary-rgb), 0.7) 0%, var(--primary-color) 100%), url('assets/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

/* Fallback/Gradient BG if no image */
.hero {
    background: radial-gradient(circle at 50% 50%, var(--primary-light) 0%, var(--primary-dark) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 900px;
}

.hero-subtitle {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    backdrop-filter: blur(5px);
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 25px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--white);
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-desc {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 50px;
    font-weight: 300;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Section Common */
section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    margin-bottom: 70px;
}

.section-title {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-divider {
    height: 4px;
    width: 60px;
    background-color: var(--accent-color);
    margin: 0 auto 15px;
    border-radius: 2px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 300;
}

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

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.value-item {
    background: var(--white);
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 20px;
    border-left: 4px solid var(--accent-color);
    transition: var(--transition);
}

.value-item:hover {
    transform: translateX(10px);
}

.value-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-item h4 {
    font-size: 1.2rem;
    margin-bottom: 2px;
}

.value-item p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.visual-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    padding: 50px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    color: var(--white);
}

.visual-card::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--accent-color);
    opacity: 0.1;
}

.visual-card h3 {
    color: var(--accent-color);
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
    font-size: 2rem;
}

.visual-card p {
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.8;
}

/* Business Units */
.units {
    background-color: transparent;
    /* Allows body bg/shapes to show */
}

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

.unit-card {
    padding: 50px 35px;
    border-radius: 20px;
    /* Enhanced glass-card */
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.unit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--white) 0%, #f0f0f0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    color: var(--primary-color);
    font-size: 2rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.unit-card:hover .unit-icon {
    background: var(--primary-color);
    color: var(--accent-color);
    transform: rotateY(180deg);
}

.unit-card h3 {
    margin-bottom: 25px;
    font-size: 1.6rem;
}

.unit-features li {
    margin-bottom: 12px;
    color: var(--text-dark);
    position: relative;
    padding-left: 25px;
    font-size: 1rem;
}

.unit-features li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-size: 1rem;
}

/* Cooperation Section */
.cooperation {
    background: transparent;
    padding: 50px 0;
}

.cooperation-wrapper {
    /* Container for glass dark card */
    max-width: 1000px;
    margin: 0 auto;
}

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

.cooperation-content h2 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 2.8rem;
}

.cooperation-content p {
    margin-bottom: 50px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.principles-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.principle {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 25px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.principle:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: scale(1.05);
}

.principle i {
    color: var(--accent-color);
    margin-right: 10px;
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.contact-info {
    background: var(--primary-color);
    padding: 60px 40px;
    color: var(--white);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/pattern.png');
    /* Ensure this asset exists or fallback nicely */
    background-size: cover;
    opacity: 0.05;
    z-index: 1;
}

.contact-blob {
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
    opacity: 0.2;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 1;
}

.contact-info-title {
    position: relative;
    z-index: 2;
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 15px;
}

.contact-info-desc {
    position: relative;
    z-index: 2;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    font-size: 1rem;
    line-height: 1.6;
}

.info-items {
    position: relative;
    z-index: 2;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.icon-box {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent-color);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-item:hover .icon-box {
    background: var(--accent-color);
    color: var(--primary-dark);
    transform: scale(1.1);
}

.info-item h4 {
    color: var(--accent-color);
    margin-bottom: 5px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-item p {
    color: var(--white);
    font-size: 1rem;
    margin: 0;
}

.contact-form {
    padding: 60px;
    background: var(--white);
}

.form-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--primary-color);
}

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

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: #fcfcfc;
    border: 2px solid #eef0f2;
    padding: 15px;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    background: var(--white);
    border-color: var(--primary-light);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.05);
    outline: none;
}

.ms-2 {
    margin-left: 0.5rem;
}

/* Footer */
footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 80px 0 30px;
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.brand-col .footer-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    display: inline-block;
    margin-bottom: 20px;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    line-height: 1.6;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact li i {
    color: var(--accent-color);
    margin-top: 5px;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent-color);
    color: var(--primary-dark);
    border-color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Property Page Styles */
.property-hero {
    background: linear-gradient(180deg, rgba(var(--primary-rgb), 0.8) 0%, rgba(var(--primary-dark), 0.9) 100%), url('assets/hero-bg-prop.png');
    background-size: cover;
    background-position: center;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--accent-color);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.project-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--white);
    transition: var(--transition);
}

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

.project-img {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.project-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-color);
    color: var(--primary-dark);
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    z-index: 2;
}

.project-content {
    padding: 25px;
}

.project-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.project-loc {
    color: var(--text-muted);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.project-loc i {
    color: var(--accent-color);
    margin-right: 5px;
}

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

.p-feature {
    font-size: 0.9rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 5px;
}


/* Responsive */
@media (max-width: 991px) {
    .navbar {
        padding: 15px 0;
    }


    .hero-title {
        font-size: 3.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }

    /* Footer Tablet View: 2 Columns */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.2rem;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .btn {
        display: block;
        width: 100%;
        text-align: center;
    }

    .glass-card-dark {
        padding: 30px;
    }

    .principles-grid {
        flex-direction: column;
        gap: 15px;
    }

    .contact-info,
    .contact-form {
        padding: 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-contact li {
        justify-content: center;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }
}