/* --- CSS VARIABLES (Brand Identity) --- */
:root {
    --primary-teal: #163C40;
    --accent-orange: #E05D35;
    --bg-light: #FFFFFF;
    --bg-off-white: #F8FAFB;
    --bg-dark: #0A1F22;
    --text-dark: #1A1A1A;
    --text-grey: #555555;
    --text-light: #777777;
    --glass-nav: rgba(255, 255, 255, 0.98);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 20px 60px rgba(22, 60, 64, 0.12);
    --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.15);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: all 0.2s ease;
}

/* --- RESET & BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Outfit', sans-serif;
    color: var(--primary-teal);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- UTILITIES --- */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 120px 0;
}

.bg-off-white {
    background-color: var(--bg-off-white);
}

.btn {
    display: inline-block;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-size: 0.875rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    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.2);
    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(--primary-teal) 0%, #1a4a4f 100%);
    color: white !important;
    box-shadow: 0 8px 20px rgba(22, 60, 64, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(22, 60, 64, 0.35);
}

.btn-outline {
    border: 2px solid var(--primary-teal);
    color: var(--primary-teal);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--primary-teal);
    color: white;
    transform: translateY(-3px);
}

/* --- NAVIGATION --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--glass-nav);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 18px 0;
    transition: var(--transition);
}

nav.scrolled {
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-teal);
    letter-spacing: -0.5px;
    transition: var(--transition-fast);
}

.logo:hover {
    transform: scale(1.02);
}

.logo img {
    height: 55px;
    width: auto;
    transition: var(--transition-fast);
}

.logo:hover img {
    transform: rotate(-5deg);
}

.nav-links {
    display: flex;
    gap: 45px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dark);
    position: relative;
    padding: 8px 0;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 50%;
    background: linear-gradient(90deg, var(--accent-orange), var(--primary-teal));
    transition: var(--transition);
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.nav-links .btn {
    padding: 12px 28px;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8fafb 0%, #e8f0f2 100%);
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(22, 60, 64, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    position: relative;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(224, 93, 53, 0.1) 0%, rgba(224, 93, 53, 0.05) 100%);
    color: var(--accent-orange);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 24px;
    border: 1px solid rgba(224, 93, 53, 0.2);
    animation: fadeInUp 0.6s ease;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 28px;
    animation: fadeInUp 0.6s ease 0.2s backwards;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--accent-orange) 0%, #d04525 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-grey);
    margin-bottom: 40px;
    line-height: 1.8;
    animation: fadeInUp 0.6s ease 0.4s backwards;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    animation: fadeInUp 0.6s ease 0.6s backwards;
}

.hero-image-wrapper {
    position: relative;
    height: 600px;
    animation: fadeInRight 0.8s ease 0.4s backwards;
}

.hero-image {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
    transition: var(--transition);
}

.hero-image:hover {
    transform: translateY(-8px);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.2);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(22, 60, 64, 0.1) 0%, transparent 100%);
    pointer-events: none;
}

.hero-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    animation: float 3s ease-in-out infinite;
}

.hero-badge h4 {
    font-size: 2rem;
    color: var(--accent-orange);
    margin-bottom: 5px;
}

.hero-badge p {
    font-size: 0.9rem;
    color: var(--text-grey);
    margin: 0;
}

/* --- ANIMATIONS --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* --- STATS SECTION --- */
.stats-section {
    background: linear-gradient(135deg, var(--primary-teal) 0%, #1a4a4f 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="rgba(255,255,255,0.03)"/></svg>');
    background-size: 50px 50px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    padding: 30px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.stat-item h3 {
    font-size: 3.5rem;
    color: var(--accent-orange);
    margin-bottom: 10px;
    font-weight: 800;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 500;
}

/* --- SECTION HEADER --- */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 70px;
}

.section-tag {
    display: inline-block;
    color: var(--accent-orange);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.875rem;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-grey);
    line-height: 1.8;
}

/* --- SERVICES GRID --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.service-card {
    background: white;
    padding: 45px 35px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-orange), var(--primary-teal));
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-hover);
}

.icon-box {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(22, 60, 64, 0.08) 0%, rgba(22, 60, 64, 0.04) 100%);
    color: var(--primary-teal);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 28px;
    transition: var(--transition);
}

.service-card:hover .icon-box {
    background: linear-gradient(135deg, var(--primary-teal) 0%, #1a4a4f 100%);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 18px;
}

.service-card p {
    font-size: 1rem;
    color: var(--text-grey);
    margin-bottom: 25px;
    line-height: 1.7;
    flex-grow: 1;
}

.service-link {
    font-weight: 600;
    color: var(--accent-orange);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.service-link i {
    font-size: 0.875rem;
    transition: var(--transition);
}

.service-link:hover {
    gap: 15px;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Process Steps */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.process-step {
    text-align: center;
    padding: 40px 25px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    position: relative;
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.process-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-orange), #d04525);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 25px;
}

.process-step h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.process-step p {
    color: var(--text-grey);
    line-height: 1.7;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin-top: 50px;
}

.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.stars {
    color: #FFB800;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-grey);
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-teal), var(--accent-orange));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 3px;
}

.author-info p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* FAQ Section */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-hover);
}

.faq-question {
    padding: 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary-teal);
}

.faq-question i {
    color: var(--accent-orange);
    transition: var(--transition);
}

.faq-answer {
    padding: 0 30px 30px;
    color: var(--text-grey);
    line-height: 1.8;
}

/* Portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.portfolio-item {
    position: relative;
    height: 350px;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(22, 60, 64, 0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.portfolio-overlay p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

/* Contact Form */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 25px;
    background: var(--bg-off-white);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.contact-info-item:hover {
    background: white;
    box-shadow: var(--shadow-card);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-teal), #1a4a4f);
    color: white;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-info-item h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.contact-info-item p {
    color: var(--text-grey);
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--primary-teal);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e8e8e8;
    border-radius: var(--radius-sm);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-orange);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-teal) 0%, #1a4a4f 100%);
    color: white;
    text-align: center;
    border-radius: var(--radius-lg);
    padding: 100px 40px;
    margin: 120px auto 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(224, 93, 53, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-section h2 {
    color: white;
    font-size: 3rem;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    font-size: 1.15rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.cta-section .btn-primary {
    background: var(--accent-orange);
    position: relative;
    z-index: 1;
}

.cta-section .btn-primary:hover {
    background: #d04525;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #0a1f22 0%, #163c40 100%);
    color: white;
    padding: 100px 0 40px;
    margin-top: 80px;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 70px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}

.footer-logo img {
    height: 50px;
    width: auto;
}

.footer-logo span {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: white;
}

.footer-info p {
    opacity: 0.75;
    line-height: 1.8;
    font-size: 1rem;
}

.footer-col h4 {
    color: white;
    margin-bottom: 28px;
    font-size: 1.25rem;
}

.footer-col ul li {
    margin-bottom: 18px;
}

.footer-col ul li a {
    opacity: 0.75;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul li a:hover {
    opacity: 1;
    color: var(--accent-orange);
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 35px;
    text-align: center;
    font-size: 0.95rem;
    opacity: 0.6;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }

    .services-grid,
    .portfolio-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid,
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .hero {
        padding-top: 100px;
        min-height: auto;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-image-wrapper {
        height: 450px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .services-grid,
    .portfolio-grid,
    .testimonials-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .cta-section h2 {
        font-size: 2rem;
    }
}