@import url('https://fonts.googleapis.com/css2?family=Cormorant+SC:wght@700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
    --bg-main: #FFFFFF;
    --bg-secondary: #F4F7F6;
    --text-primary: #051A2E; /* Dark Navy Blue */
    --text-secondary: #4B5563;
    --accent: #378E77; /* Jade Green */
    --accent-light: #E0EFEA;
    --border-color: #E5E7EB;
    
    --font-main: 'Playfair Display', serif;
    --font-secondary: 'Cormorant SC', serif;
    
    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 10px 40px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-primary);
    background-color: var(--bg-main);
    line-height: 1.6;
    text-transform: capitalize;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 400;
}

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

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

.section-padding {
    padding: 8rem 0;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: var(--shadow-soft);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    height: 70px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 1.3rem;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-links a:not(.btn-outline) {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
}

.nav-links a:not(.btn-outline):hover {
    color: var(--accent);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-main);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 99;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    font-size: 1.5rem;
    font-family: var(--font-secondary);
    color: var(--text-primary);
}

/* Splash Screen */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-main);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
}

.splash-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.splash-logo {
    width: 200px;
    opacity: 0;
    transform: scale(0.8);
}

/* Animated Gradient Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
}

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1;
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 900px;
    padding: 2rem;
    z-index: 10;
}

.hero-label {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border: 1px solid var(--accent);
    color: var(--accent);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 5rem;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 3rem;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Buttons */
.btn-primary, .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.1rem 2.5rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--text-primary);
    color: white;
    border: 2px solid var(--text-primary);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-primary:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    transform: translateY(-2px);
    color: white;
    box-shadow: 0 8px 25px rgba(55, 142, 119, 0.3);
}

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

.btn-outline:hover {
    border-color: var(--accent);
    background: var(--accent);
    color: white;
}

/* Sections Common */
.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-label {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
}

/* About */
.about {
    background: var(--bg-main);
    position: relative;
}

.tribal-divider {
    position: absolute;
    left: 0;
    width: 100%;
    height: 20px;
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg width="40" height="20" xmlns="http://www.w3.org/2000/svg"><path d="M0,10 L10,0 L20,10 L30,0 L40,10 L30,20 L20,10 L10,20 Z" fill="none" stroke="%23378E77" stroke-width="1.5" stroke-linejoin="round"/><circle cx="10" cy="10" r="1.5" fill="%23378E77" /><circle cx="30" cy="10" r="1.5" fill="%23378E77" /></svg>');
    background-repeat: repeat-x;
    background-position: center;
    opacity: 0.35;
}

.tribal-top {
    top: 2rem;
}

.tribal-bottom {
    bottom: 2rem;
}

.tribal-divider-services {
    position: absolute;
    left: 0;
    width: 100%;
    height: 20px;
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg width="40" height="20" xmlns="http://www.w3.org/2000/svg"><path d="M0,10 L20,0 L40,10 M0,20 L20,10 L40,20" fill="none" stroke="%23378E77" stroke-width="1.5" stroke-linejoin="miter"/></svg>');
    background-repeat: repeat-x;
    background-position: center;
    opacity: 0.35;
}

.tribal-divider-updates {
    position: absolute;
    left: 0;
    width: 100%;
    height: 20px;
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg width="40" height="20" xmlns="http://www.w3.org/2000/svg"><path d="M0,10 Q10,0 20,10 T40,10" fill="none" stroke="%23378E77" stroke-width="1.5" /><circle cx="10" cy="5" r="1.5" fill="%23378E77" /><circle cx="30" cy="15" r="1.5" fill="%23378E77" /></svg>');
    background-repeat: repeat-x;
    background-position: center;
    opacity: 0.35;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-text .large-text {
    font-size: 1.8rem;
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.4;
    margin-bottom: 2rem;
}

.about-text p {
    font-size: 1.1rem;
}

.about-visuals {
    position: relative;
}

.about-photo-main {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: var(--shadow-hover);
    margin-bottom: -50px;
    position: relative;
    z-index: 1;
}

.about-stats {
    background: var(--bg-main);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
    position: relative;
    z-index: 2;
    margin: 0 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.stat-item {
    border-left: 2px solid var(--accent);
    padding-left: 2rem;
}

.stat-number {
    display: block;
    font-size: 4rem;
    font-family: var(--font-secondary);
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

/* Services */
.services {
    background-color: var(--bg-secondary);
    position: relative;
}

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

.service-card {
    background: var(--bg-main);
    padding: 2.5rem;
    border-radius: 24px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.service-image-box {
    width: 100%;
    height: 220px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 2rem;
}

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

.service-card:hover .service-image-box img {
    transform: scale(1.05);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Updates */
.updates {
    background: var(--bg-main);
    position: relative;
}

.updates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.update-card {
    padding: 2.5rem;
    border-radius: 20px;
    background: var(--bg-secondary);
    border: 1px solid transparent;
    transition: var(--transition);
}

.update-card:hover {
    background: var(--bg-main);
    border-color: var(--border-color);
    box-shadow: var(--shadow-hover);
}

.update-date {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.update-card h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-family: var(--font-main);
    font-weight: 600;
}

/* Footer */
.footer {
    background-color: var(--text-primary);
    color: #fff;
    padding: 6rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-title {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.footer-desc {
    color: #9CA3AF;
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.contact-item svg {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 4px;
}

.contact-item p, .contact-item a {
    color: #D1D5DB;
    line-height: 1.6;
}

.contact-item a:hover {
    color: #fff;
}

.footer-map iframe {
    border-radius: 20px;
    width: 100%;
    height: 350px;
    filter: grayscale(80%) invert(90%) hue-rotate(180deg);
}

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

/* Mobile Adjustments */
@media (max-width: 992px) {
    .about-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 3.5rem;
    }
    .section-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hero-title {
        font-size: 2.8rem;
    }
    .hero-actions {
        flex-direction: column;
    }
    .mobile-menu-btn {
        display: block;
        background: none;
        border: none;
        width: 30px;
        height: 20px;
        position: relative;
        cursor: pointer;
        z-index: 1000;
    }
    .mobile-menu-btn span {
        display: block;
        width: 100%;
        height: 2px;
        background: var(--text-primary);
        position: absolute;
        transition: 0.3s;
    }
    .mobile-menu-btn span:nth-child(1) { top: 0; }
    .mobile-menu-btn span:nth-child(2) { top: 9px; }
    .mobile-menu-btn span:nth-child(3) { top: 18px; }
}
