/* Root Variables */
:root {
    --primary-color: #1a3a52;
    --primary-light: #2d5a7b;
    --primary-dark: #0f2438;
    --secondary-color: #c9a961;
    --secondary-light: #e0c480;
    --secondary-dark: #a08550;
    --accent-color: #8b1538;
    --accent-light: #b32d5a;
    --accent-dark: #5e0e27;
    --neutral-color: #6c757d;
    --neutral-light: #adb5bd;
    --neutral-dark: #495057;
    --white: #ffffff;
    --black: #000000;
    --bg-light: #f8f9fa;
    --bg-dark: #212529;
    --text-primary: #212529;
    --text-secondary: #6c757d;
    --text-light: #ffffff;
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Georgia', serif;
    --transition: all 0.3s ease;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-light);
}

img {
    max-width: 100%;
    height: auto;
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.navbar-brand {
    font-size: 14px !important;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color) !important;
    transition: var(--transition);
}

.navbar-brand:hover {
    color: var(--secondary-light) !important;
}

.navbar-nav .nav-link {
    font-size: 10px;
    color: var(--white) !important;
    font-weight: 500;
    margin: 0 15px;
    position: relative;
    transition: var(--transition);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,165.3C384,171,480,149,576,122.7C672,96,768,64,864,69.3C960,75,1056,117,1152,128C1248,139,1344,117,1392,106.7L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.hero h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.hero h2 {
    color: var(--secondary-color);
    font-size: 1.75rem;
}

.hero p {
    color: var(--neutral-light);
    font-size: 1.125rem;
}

.hero-shape {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--white);
    clip-path: polygon(0 50%, 100% 0, 100% 100%, 0% 100%);
}

/* Buttons */
.btn {
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
    border: none;
    color: var(--white);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-light) 0%, var(--secondary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(201, 169, 97, 0.3);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Cards */
.feature-card, .service-card, .price-card, .review-card, .case-card, .career-card, .info-card, .blog-card {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: var(--transition);
    height: 100%;
}

.feature-card:hover, .service-card:hover, .price-card:hover, .case-card:hover, .career-card:hover, .info-card:hover, .blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.service-card img, .case-card img, .blog-card img {
    border-radius: 15px 15px 0 0;
    margin: -30px -30px 20px -30px;
    width: calc(100% + 60px);
}

/* Price Cards */
.price-card {
    position: relative;
    padding: 40px 30px;
}

.price-card.featured {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.price-card.featured h4, .price-card.featured .price-tag {
    color: var(--white);
}

.featured-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.price-tag {
    margin: 20px 0;
}

.price-tag .h1 {
    color: var(--primary-color);
    font-weight: 700;
}

/* Team Section */
.team-member img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 5px solid var(--secondary-color);
    transition: var(--transition);
}

.team-member:hover img {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

/* Process Steps */
.process-step {
    position: relative;
    padding-top: 60px;
}

.step-number {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

/* Timeline */
.timeline-container {
    position: relative;
    padding: 40px 0;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    padding: 20px;
    margin-bottom: 40px;
    width: 48%;
}

.timeline-item:nth-child(odd) {
    margin-left: auto;
    text-align: left;
}

.timeline-item:nth-child(even) {
    margin-right: auto;
    text-align: right;
}

.timeline-date {
    position: absolute;
    top: 20px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
}

.timeline-item:nth-child(odd) .timeline-date {
    left: -100px;
}

.timeline-item:nth-child(even) .timeline-date {
    right: -100px;
}

/* FAQ Accordion */
.accordion-button {
    background: var(--bg-light);
    font-weight: 600;
    color: var(--primary-color);
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.accordion-button:focus {
    box-shadow: none;
}

/* Gallery */
.gallery img {
    border-radius: 10px;
    transition: var(--transition);
    cursor: pointer;
}

.gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Contact Form */
.contact-form .form-control,
.contact-form .form-select {
    border-radius: 50px;
    border: 2px solid var(--neutral-light);
    padding: 12px 20px;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(26, 58, 82, 0.25);
}

.contact-form textarea {
    border-radius: 20px;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary-dark) 100%);
    color: var(--text-light);
}

.footer h3, .footer h4 {
    color: var(--secondary-color);
}

.footer a {
    color: var(--neutral-light);
    transition: var(--transition);
}

.footer a:hover {
    color: var(--secondary-color);
}

/* Swiper Customization */
.swiper {
    padding: 40px 0;
}

.swiper-pagination-bullet {
    background: var(--primary-color);
}

.swiper-pagination-bullet-active {
    background: var(--secondary-color);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.shadow-soft {
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.shadow-strong {
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

/* Breadcrumb */
.breadcrumb {
    background: transparent;
    padding: 20px 0;
}

.breadcrumb img {
    height: 30px;
    width: auto;
} 