:root {
    --primary: #1565c0;
    --primary-light: #42a5f5;
    --primary-dark: #0d47a1;
    --accent: #e3f2fd;
    --text-dark: #1a237e;
    --text-body: #455a64;
    --bg-light: #f8fbff;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(21, 101, 192, 0.12);
    --radius: 12px;
    --transition: 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-body);
    background: var(--white);
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; }

/* ===== HEADER / NAV ===== */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.logo span { color: var(--primary-light); }

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-body);
    transition: color var(--transition);
    position: relative;
    padding-bottom: 4px;
}

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

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

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


.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text-body);
    border-radius: 2px;
    transition: var(--transition);
    display: block;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transform: skewX(-20deg);
    transition: none;
}

.btn:hover::before { animation: shimmerBtn 0.6s ease; }

.btn-white {
    background: var(--white);
    color: var(--primary);
}

.btn-white:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

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

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

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

/* ===== HERO ===== */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    background-size: 300% 300%;
    animation: gradientFlow 10s ease infinite;
    color: var(--white);
    padding: 6rem 1.5rem 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    pointer-events: none;
}
.hero::before { width: 500px; height: 500px; top: -180px; right: -120px; }
.hero::after  { width: 350px; height: 350px; bottom: -120px; left: -60px; }

.hero-content { max-width: 700px; margin: 0 auto; position: relative; z-index: 1; }

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    animation: fadeUp 0.8s 0.15s both;
}

.hero p {
    font-size: 1.15rem;
    opacity: 0.92;
    margin-bottom: 2rem;
    line-height: 1.7;
    animation: fadeUp 0.8s 0.3s both;
}

.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; animation: fadeUp 0.8s 0.45s both; }

/* ===== SECTIONS ===== */
section { padding: 4.5rem 1.5rem; }

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

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.section-title p {
    color: var(--text-body);
    max-width: 560px;
    margin: 0 auto;
}

.divider {
    width: 55px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
    margin: 0.75rem auto 1rem;
}

/* ===== CARDS ===== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
    text-align: center;
    border-top: 3px solid transparent;
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 14px 40px rgba(21, 101, 192, 0.22);
    border-top-color: var(--primary);
}

.card-icon {
    width: 64px;
    height: 64px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.6rem;
    color: var(--primary);
    transition: background var(--transition);
}

.card:hover .card-icon { background: var(--primary); color: var(--white); }

.card h3 { color: var(--text-dark); margin-bottom: 0.6rem; font-size: 1.05rem; }
.card p { font-size: 0.88rem; line-height: 1.65; }

/* ===== WHY SECTION ===== */
.why-section { background: var(--accent); }

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.why-item { padding: 1rem; }

.why-item i {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
    display: block;
}

.why-item h3 { color: var(--text-dark); margin-bottom: 0.4rem; }
.why-item p { font-size: 0.88rem; }

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    margin-bottom: 1rem;
}

.cta-section p { margin-bottom: 2rem; opacity: 0.9; font-size: 1.05rem; }

/* ===== PAGE HERO ===== */
.page-hero {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
    padding: 3.5rem 1.5rem;
    text-align: center;
}

.page-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 0.6rem;
}

.page-hero p { opacity: 0.85; font-size: 1.05rem; }

/* ===== SERVICES PAGE ===== */
.services-list { max-width: 800px; margin: 0 auto; }

.service-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
    transition: transform var(--transition), box-shadow var(--transition);
    border-left: 4px solid transparent;
}

.service-item:hover {
    transform: translateX(5px);
    border-left-color: var(--primary);
    box-shadow: 0 6px 25px rgba(21, 101, 192, 0.15);
}

.service-icon {
    width: 58px;
    height: 58px;
    background: var(--accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
}

.service-text h3 { color: var(--text-dark); margin-bottom: 0.5rem; font-size: 1.1rem; }
.service-text p { font-size: 0.92rem; line-height: 1.65; }

.price-note {
    background: var(--accent);
    border-radius: var(--radius);
    padding: 1.5rem 2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.price-note p { font-size: 0.95rem; }
.price-note strong { color: var(--primary-dark); }

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

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 3.5rem;
    align-items: center;
    max-width: 950px;
    margin: 0 auto;
}

.about-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(21, 101, 192, 0.18);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-text h2 {
    color: var(--text-dark);
    font-size: 1.9rem;
    margin-bottom: 1.2rem;
}

.about-text p { margin-bottom: 1rem; line-height: 1.75; }

.values-list { list-style: none; margin-top: 1.25rem; }

.values-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.45rem 0;
    font-weight: 500;
    color: var(--text-dark);
}

.values-list li i { color: var(--primary); font-size: 1rem; }

/* ===== CONTACT PAGE ===== */
.contact-section { background: var(--bg-light); }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 3rem;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h2 { color: var(--text-dark); margin-bottom: 1.75rem; font-size: 1.5rem; }

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-detail-icon {
    width: 46px;
    height: 46px;
    background: var(--accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-detail h4 {
    color: var(--text-dark);
    margin-bottom: 0.2rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-detail p, .contact-detail a {
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--text-body);
}

.contact-detail a:hover { color: var(--primary); }

.contact-form-box {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: var(--shadow);
}

.contact-form-box h2 { color: var(--text-dark); margin-bottom: 1.75rem; font-size: 1.4rem; }

.form-group { margin-bottom: 1.25rem; }

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.4rem;
    color: var(--text-dark);
    font-size: 0.88rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e0e8f0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color var(--transition), box-shadow var(--transition);
    background: var(--bg-light);
    color: var(--text-body);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.08);
    background: var(--white);
}

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

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.success-msg {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: none;
    font-size: 0.95rem;
}

.error-msg {
    background: #fce4ec;
    color: #c62828;
    border: 1px solid #ef9a9a;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: none;
    font-size: 0.95rem;
}

/* ===== FOOTER ===== */
footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.82);
    padding: 3rem 1.5rem 1.5rem;
}

.footer-grid {
    max-width: 1100px;
    margin: 0 auto 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-col p,
.footer-col a {
    font-size: 0.88rem;
    line-height: 1.9;
    color: rgba(255,255,255,0.72);
}

.footer-col a:hover { color: var(--white); }
.footer-col ul { list-style: none; }

.footer-logo {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.footer-logo span { color: var(--primary-light); }

.footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
}

.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: var(--white); }

/* ===== ANIMATIONS & REVEAL ===== */
@keyframes gradientFlow {
    0%, 100% { background-position: 0% 50%; }
    50%       { background-position: 100% 50%; }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-12px); }
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.5; }
    50%       { transform: translateX(-50%) translateY(7px); opacity: 1; }
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes shimmerBtn {
    0%   { left: -100%; }
    100% { left: 150%; }
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    font-size: 2.5rem;
    margin: 0 auto 1.75rem;
    animation: float 4s ease-in-out infinite, fadeUp 0.8s 0s both;
    backdrop-filter: blur(4px);
    border: 2px solid rgba(255,255,255,0.25);
}

.hero-scroll-hint {
    position: absolute;
    bottom: 1.75rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.1rem;
    color: rgba(255,255,255,0.5);
    animation: bounce 2s ease-in-out infinite;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        gap: 0;
        box-shadow: 0 6px 15px rgba(0,0,0,0.1);
        display: none;
        z-index: 99;
    }

    .nav-links.open { display: flex; }
    .nav-links li { border-bottom: 1px solid #f0f0f0; }
    .nav-links a { display: block; padding: 1rem 1.5rem; }
    .hamburger { display: flex; }
    .about-grid { grid-template-columns: 1fr; gap: 2rem; }
    .about-image img { max-height: 320px; }
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form-box { padding: 1.5rem; }

    section { padding: 3rem 1.5rem; }
    .hero { padding: 3.5rem 1.5rem; }
}

@media (max-width: 480px) {
    .cards-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr 1fr; }
}
