/* ===================================
   CSS VARIABLES & RESET
   =================================== */
:root {
    /* Color Palette */
    --egg-shell: #f9edd4;
    --sunflower: #ffcf56;
    --sour-apple: #dae68f;
    --jade: #93c3a4;
    --soft-forest: #548467;

    /* Semantic Colors */
    --primary-color: #527053;
    --primary-light: #93c3a4;
    --primary-lighter: #dae68f;
    --accent-color: #ffcf56;
    --bg-light: #f9edd4;
    --bg-white: #ffffff;
    --text-dark: #2d3e2f;
    --text-light: #6b7c6d;
    --text-white: #ffffff;

    /* Typography */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;

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

    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(82, 112, 83, 0.08);
    --shadow-md: 0 4px 16px rgba(82, 112, 83, 0.12);
    --shadow-lg: 0 8px 32px rgba(82, 112, 83, 0.16);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    background-color: var(--bg-white);
}

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

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

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ===================================
   TYPOGRAPHY
   =================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.3;
    color: var(--text-dark);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--primary-color);
}

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

.section {
    padding: var(--section-padding) 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    margin-bottom: 20px;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.btn-primary {
    display: inline-block;
    padding: 16px 40px;
    background: var(--primary-color);
    color: var(--text-white);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-md);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    background: var(--soft-forest);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

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

.logo {
    height: 60px;
    transition: var(--transition-smooth);
}

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

.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: 8px 0;
}

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

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

.cta-link {
    background: var(--primary-color);
    color: var(--text-white);
    padding: 10px 24px;
    border-radius: 50px;
}

.cta-link::after {
    display: none;
}

.cta-link:hover {
    background: var(--soft-forest);
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    /*background: linear-gradient(135deg, var(--primary-color) 0%, var(--jade) 100%);*/
    overflow: hidden;
    padding-top: 80px;
}

.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.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,149.3C960,160,1056,160,1152,138.7C1248,117,1344,75,1392,53.3L1440,32L1440,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-image: url('assets/hero.jpg');
    background-position: center;
    background-size: cover;
    opacity: 0.9;
}

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

.hero-title {
    color: var(--text-white);
    margin-bottom: 24px;
    font-weight: 400;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    color: var(--bg-light);
    margin-bottom: 16px;
    font-weight: 300;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Fade-in animations */
.fade-in {
    animation: fadeInUp 1s ease-out;
}

.fade-in-delay {
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.fade-in-delay-2 {
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.fade-in-delay-3 {
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateX(-50%) translateY(16px);
        opacity: 0.3;
    }
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about-section {
    background: var(--bg-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.about-image-container {
    position: relative;
}

.about-image-placeholder {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-smooth);
}

.about-image-placeholder:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 48px rgba(82, 112, 83, 0.2);
}

.about-text h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.highlight-item {
    text-align: center;
    padding: 20px;
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
    border-radius: 12px;
    transition: var(--transition-smooth);
}

.highlight-item:hover {
    /*background: linear-gradient(135deg, var(--bg-light) 0%, #ffffff 100%);*/
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.highlight-number {
    display: block;
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-color);
    font-family: var(--font-heading);
    margin-bottom: 8px;
}

.highlight-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

/* ===================================
   SERVICES SECTION
   =================================== */
.services-section {
    background: linear-gradient(to bottom, var(--bg-white) 0%, var(--bg-light) 100%);
}

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

.service-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--text-white);
}

.service-card h3 {
    margin-bottom: 16px;
    color: var(--primary-color);
}

.service-card>p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.service-list {
    list-style: none;
}

.service-list li {
    padding: 8px 0 8px 28px;
    position: relative;
    color: var(--text-light);
    font-size: 0.95rem;
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* ===================================
   QUALIFICATIONS SECTION
   =================================== */
.qualifications-section {
    /*background: var(--bg-white);*/
    background: linear-gradient(to top, var(--bg-white), var(--bg-light));
}

.qualifications-content {
    max-width: 900px;
    margin: 0 auto;
}

.qualification-group {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 16px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-smooth);
}

.qualification-group:hover {
    transform: translateX(8px);
}

.qualification-category {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary-color);
    margin-bottom: 24px;
    font-size: 1.5rem;
}

.qualification-category svg {
    width: 32px;
    height: 32px;
    stroke: var(--primary-color);
    flex-shrink: 0;
}

.qualification-list {
    list-style: none;
}

.qualification-list li {
    margin-bottom: 20px;
    padding-left: 24px;
    position: relative;
}

.qualification-list li:last-child {
    margin-bottom: 0;
}

.qualification-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
}

.qualification-list strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 4px;
    font-weight: 600;
}

.qualification-list span {
    display: block;
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--jade) 100%);
    color: var(--text-white);
}

.contact-section .section-title,
.contact-section .section-description {
    color: var(--text-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--text-white);
}

.contact-item h4 {
    color: var(--bg-light);
    margin-bottom: 8px;
    font-size: 1.125rem;
}

.contact-item p {
    margin: 0;
    line-height: 1.6;
}

.contact-item a {
    color: var(--text-white);
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.3);
}

.contact-item a:hover {
    text-decoration-color: var(--text-white);
}

.contact-form {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-fast);
    background: var(--bg-white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(82, 112, 83, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn-primary {
    width: 100%;
    margin-top: 10px;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--text-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-section h4 {
    color: var(--text-white);
    margin-bottom: 20px;
    font-size: 1.125rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--text-white);
    padding-left: 8px;
}

.footer-section p {
    margin-bottom: 8px;
}

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

.footer-section a:hover {
    color: var(--text-white);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.footer-disclaimer {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

/* ===================================
   BACK TO TOP BUTTON
   =================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--soft-forest);
    transform: translateY(-5px);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    stroke: var(--text-white);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 992px) {
    :root {
        --section-padding: 60px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-highlights {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        padding: 40px 20px;
        box-shadow: var(--shadow-lg);
        transition: var(--transition-smooth);
        gap: 20px;
    }

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

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

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }

    .qualification-group {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 40px;
    }

    .hero {
        min-height: 90vh;
    }

    .service-card {
        padding: 30px 20px;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   ACCESSIBILITY
   =================================== */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

/* ===================================
   LOADING ANIMATIONS
   =================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

body {
    animation: fadeIn 0.5s ease-in;
}

/* ===================================
   PRINT STYLES
   =================================== */
@media print {

    .navbar,
    .hero,
    .back-to-top,
    .contact-form {
        display: none;
    }

    body {
        color: #000;
        background: #fff;
    }

    a {
        text-decoration: underline;
    }
}