@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&family=Playfair+Display:wght@700;900&display=swap');

:root {
    --primary: #0F172A; /* Deep Navy */
    --accent: #C5A059;  /* Premium Gold */
    --accent-dark: #D97706;
    --text-main: #1E293B;
    --text-muted: #64748B;
    --bg-light: #F8FAFC;
    --white: #ffffff;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .font-serif {
    font-family: 'Playfair Display', serif;
}

/* Glassmorphism Classes */
.glass {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-dark {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Layout Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 100px 0;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    height: 70px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
    z-index: 1002;
    padding: 5px;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: white;
    z-index: 1001;
    padding: 100px 2rem 2rem;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.2rem;
}

.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.mobile-dropdown-links {
    padding-left: 1.5rem;
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    border-left: 2px solid var(--accent);
}

.mobile-dropdown-links a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.25rem;
}

.logo img {
    height: 45px;
}

nav {
    display: flex;
    gap: 2rem;
}

.nav-item {
    position: relative;
}

nav a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: white;
    min-width: 220px;
    padding: 1rem 0;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1001;
    border: 1px solid rgba(0,0,0,0.05);
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown a {
    padding: 0.75rem 1.5rem;
    display: block;
    font-size: 0.85rem;
    color: var(--text-main);
    transition: var(--transition);
}

.dropdown a::after { display: none; }

.dropdown a:hover {
    background: rgba(197, 160, 89, 0.05);
    color: var(--accent);
    padding-left: 1.8rem;
}

/* Subpage Specifics */
.sub-hero {
    height: 60vh;
    min-height: 400px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 2rem;
    transition: var(--transition);
}

.back-link:hover {
    transform: translateX(-5px);
}

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

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

nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--primary);
    overflow: hidden;
    color: var(--white);
    padding: 0;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

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

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.4), rgba(15, 23, 42, 0.9));
}

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

.hero h1 {
    font-size: clamp(2rem, 8vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.5s;
}

.hero p {
    font-size: clamp(1rem, 3vw, 1.25rem);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards 0.8s;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.3);
}

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

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

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* Sector Grid */
.sector-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.sector-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    transition: var(--transition);
    text-align: center;
    border: 2px solid transparent;
    cursor: pointer;
}

.sector-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.sector-card.active {
    border-color: var(--accent);
    background: rgba(197, 160, 89, 0.02);
    box-shadow: 0 15px 30px rgba(197, 160, 89, 0.1);
}

/* Service Detail Panel */
#service-detail-panel {
    margin-top: 3rem;
    overflow: hidden;
    max-height: 0;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

#service-detail-panel.active {
    max-height: 1000px; /* Large enough for content */
    opacity: 1;
    margin-bottom: 2rem;
}

.detail-content {
    background: var(--white);
    padding: 3.5rem;
    border-radius: 24px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.08);
    display: flex;
    gap: 3rem;
    align-items: center;
    border: 1px solid rgba(197, 160, 89, 0.1);
}

.detail-info {
    flex: 1.2;
}

.detail-visual {
    flex: 0.8;
    background: var(--bg-light);
    height: 300px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--accent);
    opacity: 0.2;
}

.detail-list {
    list-style: none;
    margin-top: 1.5rem;
}

.detail-list li {
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 12px;
}

.detail-list li i {
    color: var(--accent);
}

.sector-icon {
    width: 60px;
    height: 60px;
    background: rgba(197, 160, 89, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--accent);
    font-size: 1.5rem;
}

/* Diversification Section */
.ventures-section {
    background-color: var(--bg-light);
}

.venture-item {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 6rem;
}

.venture-item:nth-child(even) {
    flex-direction: row-reverse;
}

.venture-img {
    flex: 1;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

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

.venture-item:hover .venture-img img {
    transform: scale(1.05);
}

.venture-content {
    flex: 1;
}

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

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

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .detail-content {
        flex-direction: column;
        padding: 2.5rem 1.5rem;
        gap: 2rem;
    }
    .detail-visual {
        width: 100%;
        height: 200px;
        order: -1;
    }
    .section-title { font-size: 2.5rem; }
}

@media (max-width: 768px) {
    header { height: 70px; }
    nav, header .btn-primary { display: none; }
    .mobile-toggle { display: block; }
    
    .section-title { font-size: 2.2rem; }
    .venture-item, .venture-item:nth-child(even) {
        flex-direction: column;
        gap: 2rem;
    }
    .sector-grid {
        grid-template-columns: 1fr;
    }
    .hero-content {
        padding: 0 1rem;
    }
    
    .venture-content div[style*="display: flex"] {
        flex-direction: column !important;
        gap: 0.8rem !important;
    }

    .venture-content .btn {
        width: 100%;
        text-align: center;
    }

    footer div[style*="justify-content: space-between"] {
        flex-direction: column !important;
        gap: 1.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .detail-content {
        padding: 1.5rem 1rem;
    }
    .detail-info h2 {
        font-size: 1.8rem;
    }
    .back-link {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
}
