/* ROOT VARIABLES */
:root {
    --primary: #0052D4;
    --primary-dark: #1a2a6c;
    --secondary: #6fb1fc;
    --dark: #1a1a1a;
    --light: #f8f9fa;
    --gray: #707070;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul { list-style: none; }

img { max-width: 100%; display: block; }

/* REUSABLE COMPONENTS */
.btn {
    padding: 12px 28px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    display: inline-block;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

.text-gradient {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-light { background-color: var(--light); padding: 80px 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

/* HEADER */
header {
    height: 80px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    background: var(--white);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo { font-size: 1.5rem; font-weight: 700; color: var(--primary-dark); }
.logo span { color: var(--primary); }

.nav-links { display: flex; gap: 30px; }
.nav-links a { font-weight: 500; color: var(--gray); }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }

/* HERO */
.hero { padding: 100px 0; background: radial-gradient(circle at top right, #f0f7ff, var(--white)); }
.hero h1 { font-size: 3.5rem; margin-bottom: 20px; line-height: 1.1; }
.hero p { font-size: 1.2rem; color: var(--gray); margin-bottom: 30px; max-width: 600px; }
.hero-btns { display: flex; gap: 15px; }

.img-placeholder img {
    border-radius: 20px;
    box-shadow: 20px 20px 60px rgba(0,0,0,0.05);
}

/* CARDS */
.card {
    padding: 40px;
    background: var(--white);
    border-radius: 10px;
    border: 1px solid #eee;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

/* PAGE HEADERS */
.page-header { background: var(--primary-dark); color: var(--white); padding: 100px 0; text-align: center; }
.page-header h1 { font-size: 3rem; margin-bottom: 10px; }

/* SERVICES DETAIL */
.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin: 80px 0; }
.service-row.reverse { direction: rtl; }
.service-row.reverse .service-text { direction: ltr; }
.service-img img { border-radius: 15px; }

/* FORMS */
.form-group { margin-bottom: 20px; }
input, textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

/* FOOTER */
footer { background: #111; color: #eee; padding: 60px 0 20px; margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-bottom { text-align: center; margin-top: 40px; padding-top: 20px; border-top: 1px solid #333; font-size: 0.9rem; }

/* ANIMATIONS */
.fade-in { animation: fadeIn 1s ease-in forwards; }
.reveal { opacity: 0; transform: translateY(30px); transition: 1s all ease; }
.reveal.active { opacity: 1; transform: translateY(0); }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .grid-2, .grid-3, .hero-grid, .service-row, .footer-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .hero h1 { font-size: 2.5rem; }
}