/* =============================================
   IAS INTERNATIONAL — GLOBAL STYLESHEET
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@600;700;800&display=swap');

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

:root {
    --primary:    #003d82;
    --primary-dk: #002a5c;
    --primary-lt: #005fa3;
    --accent:     #f59e0b;
    --accent-dk:  #d97706;
    --success:    #16a34a;
    --danger:     #dc2626;
    --text:       #1a1a2e;
    --text-md:    #4b5563;
    --text-lt:    #9ca3af;
    --bg-lt:      #f8fafc;
    --bg-card:    #ffffff;
    --border:     #e5e7eb;
    --shadow-sm:  0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --shadow:     0 4px 16px rgba(0,0,0,0.10);
    --shadow-lg:  0 10px 40px rgba(0,0,0,0.14);
    --radius:     10px;
    --radius-lg:  16px;
    --transition: 0.28s cubic-bezier(0.4,0,0.2,1);
}

html, body { height: 100%; scroll-behavior: smooth; }

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    color: var(--text);
    line-height: 1.65;
    background: #fff;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* =============================================
   HEADER & NAV
   ============================================= */
.header {
    background: var(--primary);
    color: #fff;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 84px;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    flex-shrink: 0;
    line-height: 0;
}

.logo-icon img {
    height: 72px;
    width: auto;
    display: block;
    border-radius: 6px;
}

.logo h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
    line-height: 1.1;
}

.logo span {
    font-size: 10px;
    color: rgba(255,255,255,0.65);
    display: block;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
}

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

.nav a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    letter-spacing: 0.2px;
}

.nav a:hover { color: #fff; background: rgba(255,255,255,0.12); }
.nav a.active { color: #fff; background: rgba(255,255,255,0.18); }

.nav .nav-cta {
    background: var(--accent);
    color: var(--primary-dk) !important;
    font-weight: 700;
    margin-left: 8px;
    padding: 8px 18px;
}
.nav .nav-cta:hover { background: var(--accent-dk); }

/* =============================================
   HAMBURGER (mobile)
   ============================================= */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    flex-direction: column;
    gap: 5px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   HERO SLIDER
   ============================================= */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: var(--primary-dk);
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.9s ease;
    background-size: cover;
    background-position: center;
}

.slide.active { opacity: 1; z-index: 1; }

.slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,42,92,0.78) 0%, rgba(0,61,130,0.45) 60%, transparent 100%);
}

.slide-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    padding: 0 24px;
}

.slide-content .container { width: 100%; }

.slide-text {
    max-width: 580px;
    animation: slideUp 0.7s ease both;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

.slide-label {
    display: inline-block;
    background: var(--accent);
    color: var(--primary-dk);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 18px;
}

.slide-text h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 52px;
    font-weight: 800;
    color: #fff;
    line-height: 1.12;
    margin-bottom: 18px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

.slide-text p {
    font-size: 18px;
    color: rgba(255,255,255,0.88);
    margin-bottom: 32px;
    line-height: 1.6;
}

.slide-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Slider controls */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.slider-arrow:hover { background: rgba(255,255,255,0.3); }
.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 8px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.45);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}
.slider-dot.active { background: var(--accent); width: 24px; border-radius: 4px; }

/* Slider progress bar */
.slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--accent);
    z-index: 10;
    transition: width 5s linear;
    width: 0%;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 8px;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.2px;
    transition: var(--transition);
    font-family: inherit;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.btn-primary:hover { background: var(--primary-dk); border-color: var(--primary-dk); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,61,130,0.35); }

.btn-white {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
}
.btn-white:hover { background: transparent; color: #fff; transform: translateY(-2px); }

.btn-outline-white {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

.btn-accent {
    background: var(--accent);
    color: var(--primary-dk);
    border-color: var(--accent);
}
.btn-accent:hover { background: var(--accent-dk); border-color: var(--accent-dk); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(245,158,11,0.4); }

/* =============================================
   SECTION BASE
   ============================================= */
section { padding: 80px 0; }
.section-label {
    display: inline-block;
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 38px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
    line-height: 1.2;
}
.section-sub {
    font-size: 17px;
    color: var(--text-md);
    max-width: 560px;
    margin: 0 auto 50px;
    line-height: 1.7;
}
.text-center { text-align: center; }

/* =============================================
   STATS STRIP
   ============================================= */
.stats-strip {
    background: var(--primary);
    padding: 44px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    text-align: center;
}

.stat-item {
    padding: 0 20px;
    border-right: 1px solid rgba(255,255,255,0.15);
}
.stat-item:last-child { border-right: none; }

.stat-num {
    font-family: 'Poppins', sans-serif;
    font-size: 44px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 6px;
}
.stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.75);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* =============================================
   SERVICES SECTION
   ============================================= */
.services-section { background: var(--bg-lt); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }

.service-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-body { padding: 26px; }

.service-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
    margin-top: -36px;
    position: relative;
    box-shadow: 0 4px 12px rgba(0,61,130,0.3);
}

.service-body h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
}
.service-body p { font-size: 14px; color: var(--text-md); line-height: 1.7; margin-bottom: 18px; }

.service-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}
.service-link:hover { color: var(--primary-lt); gap: 10px; }

/* =============================================
   WHY CHOOSE US
   ============================================= */
.why-section { background: #fff; }

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

.why-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.why-image img { width: 100%; height: 480px; object-fit: cover; }
.why-image-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: var(--accent);
    color: var(--primary-dk);
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.why-features {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.why-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.why-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0,61,130,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    transition: var(--transition);
}
.why-feature:hover .why-feature-icon { background: var(--primary); }

.why-feature-text h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}
.why-feature-text p { font-size: 14px; color: var(--text-md); line-height: 1.6; }

/* =============================================
   VALUES / HOW IT WORKS
   ============================================= */
.values-section { background: var(--bg-lt); }

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.value-card {
    background: #fff;
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary); }

.value-icon {
    font-size: 40px;
    margin-bottom: 16px;
    display: block;
}

.value-card h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
}
.value-card p { font-size: 14px; color: var(--text-md); line-height: 1.65; }

/* =============================================
   CTA BANNER
   ============================================= */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dk), var(--primary-lt));
    padding: 70px 0;
    text-align: center;
}
.cta-section h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 38px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
}
.cta-section p { font-size: 17px; color: rgba(255,255,255,0.82); margin-bottom: 36px; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background: var(--primary-dk);
    color: rgba(255,255,255,0.75);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.65); max-width: 280px; }

.footer-col h5 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #fff;
    margin-bottom: 18px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--accent); }

.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-contact-item { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact-item span:first-child { font-size: 16px; flex-shrink: 0; margin-top: 2px; }
.footer-contact-item span:last-child { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.5; }
.footer-contact-item a { color: rgba(255,255,255,0.65); text-decoration: none; }
.footer-contact-item a:hover { color: var(--accent); }

.footer-bottom {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: rgba(255,255,255,0.45);
}

/* =============================================
   ABOUT PAGE SPECIFIC
   ============================================= */
.page-hero {
    background: linear-gradient(135deg, var(--primary-dk), var(--primary-lt));
    padding: 70px 0;
    color: #fff;
    text-align: center;
}
.page-hero h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 12px;
}
.page-hero p { font-size: 17px; color: rgba(255,255,255,0.82); }

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

.about-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.about-img img { width: 100%; height: 380px; object-fit: cover; }

.about-text { padding: 10px 0; }
.about-text h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}
.about-text p { font-size: 15px; color: var(--text-md); line-height: 1.8; margin-bottom: 14px; }

.about-values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 24px;
}

.about-value-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: var(--bg-lt);
    padding: 16px;
    border-radius: 10px;
    border-left: 3px solid var(--primary);
}
.about-value-item strong { font-size: 14px; color: var(--primary); display: block; margin-bottom: 3px; }
.about-value-item span { font-size: 13px; color: var(--text-md); }

/* =============================================
   SERVICES PAGE SPECIFIC
   ============================================= */
.services-detail-grid {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    padding: 40px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.service-detail.reverse { direction: rtl; }
.service-detail.reverse > * { direction: ltr; }

.service-detail-img {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.service-detail-img img { width: 100%; height: 280px; object-fit: cover; }

.service-detail-body .service-icon-lg {
    font-size: 44px;
    margin-bottom: 14px;
    display: block;
}
.service-detail-body h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 14px;
}
.service-detail-body p { font-size: 15px; color: var(--text-md); line-height: 1.8; margin-bottom: 16px; }

.service-detail-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.service-detail-list li {
    font-size: 14px;
    color: var(--text-md);
    display: flex;
    align-items: center;
    gap: 8px;
}
.service-detail-list li::before {
    content: '✓';
    color: var(--success);
    font-weight: 700;
    flex-shrink: 0;
}

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
.contact-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 28px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--border);
}

.contact-info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 24px;
    padding: 16px;
    background: var(--bg-lt);
    border-radius: 10px;
}
.contact-info-icon {
    width: 44px;
    height: 44px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.contact-info-text h5 { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.contact-info-text p, .contact-info-text a {
    font-size: 14px;
    color: var(--text-md);
    line-height: 1.6;
    text-decoration: none;
}
.contact-info-text a:hover { color: var(--primary); }

.hours-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 6px;
}
.hours-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-md); }

/* =============================================
   RESPONSIVE — MOBILE
   ============================================= */
@media (max-width: 992px) {
    .why-grid,
    .about-grid { grid-template-columns: 1fr; gap: 36px; }
    .why-image img,
    .about-img img { height: 320px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .service-detail { grid-template-columns: 1fr; }
    .service-detail.reverse { direction: ltr; }
    .contact-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 20px; }
    .stat-item:nth-child(2), .stat-item:last-child { border-bottom: none; }
}

@media (max-width: 768px) {
    /* Hamburger nav */
    .nav-toggle { display: flex; }

    .nav {
        display: none;
        position: absolute;
        top: 84px;
        left: 0;
        right: 0;
        background: var(--primary-dk);
        flex-direction: column;
        gap: 0;
        padding: 10px 0;
        box-shadow: 0 8px 20px rgba(0,0,0,0.2);
        border-top: 1px solid rgba(255,255,255,0.1);
    }
    .nav.open { display: flex; }
    .nav a { border-radius: 0; padding: 13px 24px; border-bottom: 1px solid rgba(255,255,255,0.07); }
    .nav .nav-cta { margin: 10px 20px; border-radius: 8px; justify-content: center; }

    .header { position: sticky; }

    /* Hero slider */
    .hero-slider { height: 480px; }
    .slide-text h2 { font-size: 34px; }
    .slide-text p { font-size: 15px; }
    .slider-arrow { display: none; }

    /* Sections */
    section { padding: 56px 0; }
    .section-title { font-size: 28px; }
    .section-sub { font-size: 15px; }

    .services-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }

    .cta-section h2 { font-size: 28px; }

    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

    .page-hero h2 { font-size: 30px; }

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

    .service-detail { padding: 24px; }
    .service-detail-img img { height: 220px; }
}

@media (max-width: 480px) {
    .slide-text h2 { font-size: 26px; }
    .slide-label { display: none; }
    .slide-btns { flex-direction: column; }
    .hero-slider { height: 420px; }

    .values-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat-num { font-size: 34px; }

    .footer { padding: 40px 0 0; }
}
