@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Poppins:wght@400;600;700&display=swap');

:root {
    /* Color Palette - Sage & Calm */
    --primary: #4A6B5D;
    --primary-dark: #385246;
    --primary-light: #A7C4B5;
    --accent: #D4A373;
    /* Warm Sand */
    --bg-main: #FCFAF7;
    /* Warm Off-white */
    --bg-white: #FFFFFF;
    --text-main: #2C3E50;
    --text-light: #5D6D7E;
    --border: #E5E8E8;

    /* System */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Layout --- */
.section {
    padding: 100px 0;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
    min-height: 80px;
    display: flex;
    align-items: center;
}

nav.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--primary);
}

.logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-light);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 14px rgba(74, 107, 93, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 107, 93, 0.4);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* --- Hero --- */
.hero {
    padding-top: 180px;
    padding-bottom: 100px;
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 40vw;
    height: 40vw;
    background: var(--primary-light);
    opacity: 0.1;
    border-radius: 50%;
    filter: blur(80px);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    color: var(--text-main);
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 16px;
}

.hero-image {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.hero-image img {
    width: 100%;
    display: block;
}

/* --- Icons --- */
.icon-flat {
    width: 48px;
    height: 48px;
    fill: var(--primary);
    margin-bottom: 24px;
}

.service-card:hover .icon-flat {
    fill: var(--accent);
    transform: scale(1.1);
    transition: var(--transition);
}

.icon-small {
    width: 20px;
    height: 20px;
    fill: currentColor;
    vertical-align: middle;
    margin-right: 8px;
}

.service-icon {
    display: flex;
    justify-content: center;
    align-items: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.service-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.service-card h3 {
    margin-bottom: 16px;
}

/* --- About --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 24px;
}

.about-text p {
    margin-bottom: 20px;
}

/* --- Magnet --- */
.magnet-section {
    background: var(--primary);
    color: white;
    padding: 60px 40px;
    border-radius: var(--radius);
    text-align: center;
}

.magnet-section h2 {
    margin-bottom: 16px;
}

.magnet-section p {
    margin: 0 auto 32px;
    opacity: 0.9;
    max-width: 800px;
}

/* --- Footer --- */
footer {
    background: var(--text-main);
    color: white;
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col h4 {
    margin-bottom: 24px;
    color: var(--primary-light);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* --- Mobile --- */
@media (max-width: 992px) {

    .hero-grid,
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-grid {
        gap: 40px;
    }

    .nav-links {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}