:root {
    /* Color Palette */
    --primary-color: #0A192F;
    /* Deep Navy - Authority */
    --secondary-color: #D4AF37;
    /* Metallic Gold - Premium */
    --text-color: #333333;
    /* Dark Grey - Readability */
    --bg-color: #F9F9F9;
    /* Off-white - Clean */
    --white: #FFFFFF;
    --light-grey: #E0E0E0;

    /* Typography */
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Inter', sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 80px 20px;
}

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

body {
    font-family: var(--body-font);
    color: var(--text-color);
    background: linear-gradient(135deg, #f0f4f8 0%, #e8eef3 100%);
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--heading-font);
    color: var(--primary-color);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utility Classes */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

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

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

/* Navigation */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--primary-color);
    position: relative;
    white-space: nowrap;
}

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

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

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: var(--primary-color);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0 20px;
    text-align: center;
}

.footer-content {
    margin-bottom: 40px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.footer-links a {
    color: var(--secondary-color);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 0.8rem;
    color: var(--light-grey);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 80px;
        gap: 0;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 16px 0;
    }
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background-color: transparent;
    display: flex;
    align-items: center;
    min-height: 80vh;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1;
    min-width: 300px;
}

.hero-text h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.hero-text h2 {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-family: var(--body-font);
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #555;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 400px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 5px solid var(--secondary-color);
    object-fit: cover;
}

/* Expertise Grid */
.expertise-preview {
    padding: var(--section-padding);
    background: linear-gradient(135deg, #f0f4f8 0%, #e8eef3 100%);
    position: relative;
}

.expertise-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(10, 25, 47, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.expertise-card {
    background: var(--primary-color);
    padding: 50px 35px;
    border-radius: 50%;
    width: 280px;
    height: 280px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    border: 3px solid transparent;
    text-align: center;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.expertise-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.expertise-card:hover::before {
    opacity: 0.1;
}

.expertise-card:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: var(--secondary-color);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.3);
}

.expertise-visual {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    position: relative;
    z-index: 1;
    transform: translateY(-10px);
    opacity: 0;
    transition: all 0.6s ease 0.2s;
    background: rgba(212, 175, 55, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.expertise-card.is-visible .expertise-visual {
    transform: translateY(0);
    opacity: 1;
}

.expertise-card:hover .expertise-visual {
    transform: scale(1.1) rotate(5deg);
    background: rgba(212, 175, 55, 0.25);
}

.expertise-visual svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.expertise-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
    transform: translateX(20px);
    opacity: 0;
    transition: all 0.6s ease 0.3s;
    color: var(--white);
    line-height: 1.3;
}

.expertise-card.is-visible h3 {
    transform: translateX(0);
    opacity: 1;
}

.expertise-card p {
    position: relative;
    z-index: 1;
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.6s ease 0.4s;
    color: var(--white);
    opacity: 0.85;
    font-size: 0.85rem;
    line-height: 1.4;
}

.expertise-card.is-visible p {
    transform: translateY(0);
    opacity: 0.85;
}

/* About Preview */
.about-preview {
    padding: var(--section-padding);
    background: linear-gradient(135deg, #f0f4f8 0%, #e8eef3 100%);
    text-align: center;
    position: relative;
}

.about-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(10, 25, 47, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.about-preview-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-preview p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #555;
}

/* CTA Section */
.cta {
    padding: 80px 20px;
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.cta h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.cta p {
    margin-bottom: 30px;
    font-size: 1.2rem;
    opacity: 0.9;
}

.cta .btn-primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--secondary-color);
}

.cta .btn-primary:hover {
    background-color: transparent;
    color: var(--secondary-color);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
        gap: 40px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image img {
        max-width: 100%;
    }
}

/* Animations */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, visibility;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: none;
}