:root {
    --primary-color: #0a0f1a;
    --primary-dark: #050811;
    --primary-medium: #1a2332;
    --primary-light: #e8eaed;
    --accent-color: #d4a373;
    --accent-dark: #b88a5e;
    --accent-darker: #9a7249;
    --text-color: #2a2a2a;
    --text-light: #5a5a5a;
    --white: #FFFFFF;
    --max-width: 1200px;
}

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

body {
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--text-color);
    line-height: 1.5;
    overflow-x: hidden;
}

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

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    padding: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.header.scrolled {
    background: rgba(10, 15, 26, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    padding: 1rem 1.5rem;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--white);
    letter-spacing: -0.5px;
    transition: transform 0.3s;
    text-decoration: none;
}

.logo:hover {
    transform: scale(1.05);
}

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

.nav-link {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    padding: 0.5rem 0;
    font-weight: 500;
}

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

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
}

.hero {
    height: 100vh;
    background-image: url('https://images.pexels.com/photos/258154/pexels-photo-258154.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 15, 26, 0.85) 0%, rgba(26, 35, 50, 0.7) 100%);
}

.hero-content {
    position: relative;
    max-width: var(--max-width);
    margin: 0 auto;
    color: var(--white);
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.5px;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.button-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(212, 163, 115, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212, 163, 115, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--white);
    color: var(--white);
    backdrop-filter: blur(10px);
}

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

.btn-trimary {
    font-size: 1.2rem;
    padding: 1.5rem 3rem;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-medium) 100%);
    color: var(--white);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(212, 163, 115, 0.3);
}

.btn-trimary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
    border-color: var(--accent-color);
}


.why-section {
    padding: 6rem 1rem;
    background: linear-gradient(180deg, var(--primary-dark) 0%, var(--primary-color) 100%);
}

.why-container {
    max-width: 1400px;
    margin: 0 auto;
}

.why-header {
    text-align: center;
    margin-bottom: 4rem;
}

.why-header h2 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  margin-top: 0.5rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}


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

.service-card {
  background: linear-gradient(135deg, rgba(26, 35, 50, 0.8) 0%, rgba(10, 15, 26, 0.9) 100%);
  border: 1px solid rgba(212, 163, 115, 0.2);
  border-radius: 1rem;
  padding: 2rem;
  color: var(--white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.5rem;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}

.service-card h4 {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.metric {
    font-weight: 600;
    color: var(--accent-color);
    border-left: 3px solid var(--accent-color);
    padding-left: 1rem;
    margin-top: 1rem;
    display: block;
}

.services-tabs-section {
    padding: 6rem 1rem;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--primary-medium) 100%);
}

.services-tabs-container {
    max-width: 1400px;
    margin: 0 auto;
}

.services-tabs-container h2 {
    text-align: center;
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.tabs-wrapper {
    margin-top: 3rem;
}

.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.tab-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 2rem;
    background: rgba(26, 35, 50, 0.5);
    border: 2px solid rgba(212, 163, 115, 0.2);
    border-radius: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
}

.tab-btn:hover {
    border-color: var(--accent-color);
    background: rgba(26, 35, 50, 0.8);
    transform: translateY(-2px);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--accent-darker) 0%, var(--primary-dark) 100%);
    border-color: var(--accent-color);
    color: var(--white);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.tab-icon {
    font-size: 2rem;
}

.tab-label {
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
}

.tabs-content {
    position: relative;
    min-height: 500px;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.8) 0%, rgba(10, 15, 26, 0.9) 100%);
    padding: 3rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(212, 163, 115, 0.2);
}

.tab-text {
    color: var(--white);
}

.tab-text h3 {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.tab-text h4 {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.tab-text p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.metric-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.metric-item {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    background: rgba(10, 15, 26, 0.6);
    border-radius: 0.75rem;
    border: 1px solid rgba(212, 163, 115, 0.3);
}

.metric-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.tab-image {
    height: 450px;
    background-size: cover;
    background-position: center;
    border-radius: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.tab-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 163, 115, 0.15) 0%, transparent 50%);
}

.cta {
    padding: 6rem 1rem;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-medium) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 163, 115, 0.1) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.cta h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    position: relative;
}

.cta p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
    position: relative;
}

.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 4rem 1rem 2rem;
    border-top: 2px solid var(--accent-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.footer-section a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 163, 115, 0.2);
    color: rgba(255, 255, 255, 0.5);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1024px) {
    .zigzag-item,
    .tab-split {
        grid-template-columns: 1fr;
    }

    .zigzag-item.right {
        direction: ltr;
    }

    .zigzag-image,
    .tab-image {
        height: 300px;
    }

    .tabs-nav {
        gap: 0.5rem;
    }

    .tab-btn {
        min-width: 120px;
        padding: 1rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
        background: none;
        border: none;
        color: var(--white);
        font-size: 1.5rem;
        cursor: pointer;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.25rem;
    }

    .button-group {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .why-header h2,
    .services-tabs-container h2,
    .cta h2 {
        font-size: 2rem;
    }

    .zigzag-content {
        padding: 1.5rem;
    }

    .metric-box {
        grid-template-columns: 1fr;
    }

    .tab-btn {
        min-width: 100px;
        padding: 1rem;
    }

    .tab-icon {
        font-size: 1.5rem;
    }

    .tab-label {
        font-size: 0.75rem;
    }

    .tab-split {
        padding: 2rem;
    }
}
