/* =============================================
   ABROSEAS – CORPORATE DESIGN SYSTEM
   Inspired by Soundline Group aesthetic
   ============================================= */

/* --- CSS Variables --- */
:root {
    --navy: #1a1f36;
    --navy-dark: #0f1322;
    --navy-light: #252b45;
    --red: #e63946;
    --red-dark: #c62828;
    --gold: #d4a843;
    --white: #ffffff;
    --off-white: #f8f9fa;
    --gray-100: #f1f3f5;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #adb5bd;
    --gray-500: #6c757d;
    --gray-600: #495057;
    --gray-700: #343a40;
    --gray-800: #212529;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 4px;
    --container: 1200px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    color: var(--gray-700);
    line-height: 1.7;
    background: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul,
ol {
    list-style: none;
}

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

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* =============================================
   HEADER / NAVIGATION
   ============================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: var(--transition);
    padding: 0;
}

.header.scrolled {
    background: var(--navy-dark);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
    transition: var(--transition);
}

.header.scrolled .logo img {
    height: 45px;
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 28px 18px;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 18px;
    right: 18px;
    height: 3px;
    background: var(--red);
    transform: scaleX(0);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 28px 18px;
    cursor: pointer;
    font-family: var(--font);
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.dropdown-btn:hover {
    color: var(--white);
}

.dropdown-arrow {
    font-size: 0.55rem;
    transition: var(--transition);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    border-top: 3px solid var(--red);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: var(--gray-700);
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
    border-bottom: 1px solid var(--gray-100);
}

.dropdown-item:hover {
    background: var(--gray-100);
    color: var(--red);
    padding-left: 28px;
}

.dd-flag {
    font-size: 1.2rem;
}

/* Nav CTA */
.nav-cta {
    background: var(--red);
    color: var(--white) !important;
    padding: 12px 28px !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-left: 10px;
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--red-dark);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
}

.mobile-toggle span {
    width: 26px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* =============================================
   HERO SECTION – Full screen slider style
   ============================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--navy-dark);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: opacity 1s ease;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 19, 34, 0.85), rgba(26, 31, 54, 0.7));
}

.hero-bg.slide-1 {
    background-image: url('https://images.unsplash.com/photo-1512453979798-5ea266f8880c?w=1920&q=80');
}

.hero-bg.slide-2 {
    background-image: url('https://images.unsplash.com/photo-1518684079-3c830dcef090?w=1920&q=80');
}

.hero-bg.slide-3 {
    background-image: url('https://images.unsplash.com/photo-1466442929976-97f336a657be?w=1920&q=80');
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    padding: 0 24px;
}

.hero-badge {
    display: inline-block;
    background: rgba(230, 57, 70, 0.15);
    border: 1px solid rgba(230, 57, 70, 0.3);
    color: var(--red);
    padding: 8px 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero h1 .highlight {
    color: var(--red);
}

.hero p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 560px;
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Slider Navigation */
.hero-slider-nav {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--red);
    border-color: var(--red);
    transform: scale(1.1);
}

/* Hero Stats Bar */
.hero-stats-bar {
    background: var(--white);
    padding: 0;
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat-item {
    text-align: center;
    padding: 40px 20px;
    border-right: 1px solid var(--gray-200);
    transition: var(--transition);
}

.stat-item:last-child {
    border-right: none;
}

.stat-item:hover {
    background: var(--gray-100);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-number .plus {
    color: var(--red);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn-primary {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    padding: 16px 36px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font);
}

.btn-primary:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.3);
}

.btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--white);
    padding: 16px 36px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font);
}

.btn-outline:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.btn-dark {
    display: inline-block;
    background: var(--navy);
    color: var(--white);
    padding: 16px 36px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font);
}

.btn-dark:hover {
    background: var(--navy-light);
    transform: translateY(-2px);
}

.btn-submit {
    display: block;
    width: 100%;
    background: var(--red);
    color: var(--white);
    padding: 16px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font);
    margin-top: 8px;
}

.btn-submit:hover {
    background: var(--red-dark);
}

/* =============================================
   NUMBERED SECTIONS (Soundline style)
   ============================================= */
.section-numbered {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.section-number {
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 8rem;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.03);
    line-height: 1;
    pointer-events: none;
    z-index: 0;
}

.section-tag {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.section-tag-num {
    color: var(--red);
    font-size: 0.85rem;
    font-weight: 700;
}

.section-tag-divider {
    width: 24px;
    height: 2px;
    background: var(--red);
}

.section-tag-text {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gray-500);
}

.section-heading {
    text-align: center;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.section-heading .highlight {
    color: var(--red);
}

.section-desc {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 50px;
    color: var(--gray-500);
    font-size: 1rem;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

/* Dark section variant */
.section-dark {
    background: var(--navy-dark);
    position: relative;
}

.section-dark .section-number {
    color: rgba(255, 255, 255, 0.03);
}

.section-dark .section-tag-text {
    color: rgba(255, 255, 255, 0.5);
}

.section-dark .section-heading {
    color: var(--white);
}

.section-dark .section-desc {
    color: rgba(255, 255, 255, 0.6);
}

/* Parallax-like background image section */
.section-bg-img {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.section-bg-img::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15, 19, 34, 0.88);
}

.section-bg-img>* {
    position: relative;
    z-index: 2;
}

/* Light section */
.section-light {
    background: var(--white);
}

.section-alt {
    background: var(--off-white);
}

/* =============================================
   ABOUT SECTION
   ============================================= */
.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 20px;
    line-height: 1.3;
}

.about-text p {
    color: var(--gray-600);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-text .btn-dark {
    margin-top: 16px;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.about-stat-item {
    text-align: center;
    padding: 40px 20px;
    border-bottom: 1px solid var(--gray-200);
    border-right: 1px solid var(--gray-200);
}

.about-stat-item:nth-child(2n) {
    border-right: none;
}

.about-stat-item:nth-child(n+3) {
    border-bottom: none;
}

.about-stat-num {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
    margin-bottom: 8px;
}

.about-stat-num .plus {
    color: var(--red);
}

.about-stat-label {
    font-size: 0.85rem;
    color: var(--gray-500);
    font-weight: 500;
}

/* =============================================
   SERVICE CARDS (on dark bg)
   ============================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
}

.service-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 50px 40px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--red);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 24px;
    display: block;
}

.service-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-card p {
    color: var(--gray-500);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* =============================================
   COUNTRIES / GULF SECTION
   ============================================= */
.countries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.country-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    position: relative;
}

.country-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.country-img {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.country-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(15, 19, 34, 0.6));
}

.country-flag {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 2;
}

.country-info {
    padding: 32px 20px 24px;
}

.country-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.country-info p {
    font-size: 0.85rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* =============================================
   WHY CHOOSE US
   ============================================= */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.why-card {
    padding: 50px 30px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

.why-card:last-child {
    border-right: none;
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.05);
}

.why-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
}

.why-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.why-card p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.85rem;
    line-height: 1.7;
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-item {
    text-align: center;
    padding: 0 20px;
    display: none;
}

.testimonial-item.active {
    display: block;
}

.testimonial-quote {
    font-size: 1.1rem;
    color: var(--gray-600);
    line-height: 1.9;
    font-style: italic;
    margin-bottom: 30px;
    position: relative;
}

.testimonial-quote::before {
    content: '❝';
    display: block;
    font-size: 3rem;
    color: var(--red);
    font-style: normal;
    margin-bottom: 16px;
    line-height: 1;
}

.testimonial-author {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.testimonial-role {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-top: 4px;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.test-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--gray-300);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
}

.test-dot.active {
    background: var(--red);
    border-color: var(--red);
}

/* =============================================
   PROCESS / RECRUITMENT FLOW
   ============================================= */
.process-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--gray-300);
    z-index: 0;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 10px;
}

.step-num {
    width: 80px;
    height: 80px;
    background: var(--white);
    border: 3px solid var(--red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--red);
    margin: 0 auto 20px;
    transition: var(--transition);
}

.process-step:hover .step-num {
    background: var(--red);
    color: var(--white);
}

.process-step h5 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.process-step p {
    font-size: 0.8rem;
    color: var(--gray-500);
    line-height: 1.5;
}

/* =============================================
   INDUSTRIES SECTION
   ============================================= */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.industry-card {
    background: var(--white);
    padding: 30px 20px;
    text-align: center;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.industry-card:hover {
    border-bottom-color: var(--red);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.industry-icon {
    font-size: 2.2rem;
    margin-bottom: 16px;
    display: block;
}

.industry-card h5 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
    padding: 80px 0;
    text-align: center;
    background: var(--red);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta-section h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
    position: relative;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    max-width: 560px;
    margin: 0 auto 32px;
    position: relative;
}

.cta-section .btn-outline {
    border-color: var(--white);
    color: var(--white);
    position: relative;
}

.cta-section .btn-outline:hover {
    background: var(--white);
    color: var(--red);
}

/* =============================================
   LEAD CAPTURE FORM
   ============================================= */
.lead-section {
    padding: 100px 0;
    background: var(--off-white);
}

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

.lead-text h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 16px;
    line-height: 1.3;
}

.lead-text h2 .highlight {
    color: var(--red);
}

.lead-text p {
    color: var(--gray-600);
    margin-bottom: 24px;
    line-height: 1.8;
}

.lead-benefits {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.lead-benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--gray-700);
    font-weight: 500;
}

.lead-benefit .check {
    color: var(--red);
    font-weight: 700;
}

.lead-form-card {
    background: var(--white);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border-top: 4px solid var(--red);
}

.lead-form-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 24px;
    text-align: center;
}

/* =============================================
   FORMS
   ============================================= */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-700);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 0.9rem;
    font-family: var(--font);
    border: 1px solid var(--gray-300);
    background: var(--off-white);
    color: var(--gray-800);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--red);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.08);
}

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

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

/* =============================================
   PAGE HERO (Inner Pages)
   ============================================= */
.page-hero {
    padding: 140px 0 80px;
    background: var(--navy-dark);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    right: -100px;
    bottom: -100px;
    width: 400px;
    height: 400px;
    background: rgba(230, 57, 70, 0.05);
    border-radius: 50%;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb .sep {
    color: var(--red);
}

.breadcrumb span:last-child {
    color: var(--red);
    font-weight: 600;
}

.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}

.page-hero h1 .highlight {
    color: var(--red);
}

.page-hero p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    max-width: 580px;
}

/* =============================================
   ABOUT PAGE - Specific Styles
   ============================================= */
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.story-img {
    height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.story-img::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--red);
    z-index: -1;
}

.story-text h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 16px;
}

.story-text p {
    color: var(--gray-600);
    margin-bottom: 14px;
    line-height: 1.8;
}

/* Values */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.value-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--white);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.value-card:hover {
    border-bottom-color: var(--red);
    transform: translateY(-4px);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
}

.value-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.value-card p {
    color: var(--gray-500);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* Expertise cards */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.expertise-card {
    background: rgba(255, 255, 255, 0.06);
    padding: 36px 28px;
    border-left: 3px solid var(--red);
    transition: var(--transition);
}

.expertise-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(4px);
}

.expertise-card h4 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.expertise-card p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.88rem;
    line-height: 1.7;
}

/* Founder */
.founder-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 40px;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.founder-avatar {
    width: 120px;
    height: 120px;
    background: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--white);
}

.founder-content blockquote {
    font-style: italic;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 16px;
    font-size: 1rem;
}

.founder-name {
    font-weight: 700;
    color: var(--navy);
    font-size: 1rem;
}

.founder-title {
    color: var(--red);
    font-size: 0.85rem;
    font-weight: 500;
}

/* =============================================
   SERVICES PAGE - Specific Styles
   ============================================= */
.service-detail {
    padding: 80px 0;
    border-bottom: 1px solid var(--gray-200);
}

.service-detail:last-child {
    border-bottom: none;
}

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

.service-detail-inner.reverse {
    direction: rtl;
}

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

.service-detail-text h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 16px;
}

.service-detail-text h3 .highlight {
    color: var(--red);
}

.service-detail-text p {
    color: var(--gray-600);
    margin-bottom: 16px;
    line-height: 1.8;
}

.service-checklist {
    list-style: none;
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-checklist li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--gray-700);
    font-weight: 500;
}

.service-checklist li::before {
    content: '✓';
    color: var(--red);
    font-weight: 700;
    flex-shrink: 0;
}

.service-visual {
    height: 350px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.service-visual::after {
    content: '';
    position: absolute;
    inset: -15px;
    border: 2px solid var(--gray-200);
    z-index: -1;
}

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 0;
}

.contact-info-card {
    background: var(--white);
    padding: 36px 24px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 3px solid transparent;
}

.contact-info-card:hover {
    border-top-color: var(--red);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.contact-info-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.contact-info-card h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.contact-info-card p {
    font-size: 0.88rem;
    color: var(--gray-500);
    line-height: 1.6;
}

.contact-info-card a {
    color: var(--red);
    font-weight: 500;
}

.contact-info-card a:hover {
    text-decoration: underline;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
}

.contact-form-card {
    background: var(--white);
    padding: 40px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--red);
}

.contact-form-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 24px;
}

/* Office hours */
.hours-card {
    background: var(--white);
    padding: 30px;
    box-shadow: var(--shadow);
}

.hours-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 20px;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.88rem;
}

.hours-item:last-child {
    border-bottom: none;
}

.hours-item .day {
    font-weight: 600;
    color: var(--gray-700);
}

.hours-item .time {
    color: var(--gray-500);
}

.hours-item.closed .time {
    color: var(--red);
    font-weight: 600;
}

.whatsapp-btn {
    display: inline-block;
    background: #25d366;
    color: var(--white);
    padding: 14px 32px;
    font-size: 0.9rem;
    font-weight: 700;
    transition: var(--transition);
    text-align: center;
}

.whatsapp-btn:hover {
    background: #1fb855;
    transform: translateY(-2px);
}

/* Map */
.map-container {
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-container iframe {
    display: block;
}

/* =============================================
   FAQ
   ============================================= */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--gray-200);
}

.faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
    transition: var(--transition);
}

.faq-q:hover {
    color: var(--red);
}

.faq-q .toggle {
    font-size: 1.2rem;
    color: var(--red);
    transition: var(--transition);
    flex-shrink: 0;
    margin-left: 20px;
}

.faq-item.active .faq-q .toggle {
    transform: rotate(45deg);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-a p {
    padding-bottom: 20px;
    color: var(--gray-600);
    font-size: 0.92rem;
    line-height: 1.8;
}

.faq-item.active .faq-a {
    max-height: 500px;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background: var(--navy-dark);
    padding: 70px 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-about p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--red);
    color: var(--white);
}

.footer-col h4 {
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--red);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 6px;
}

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

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.8rem;
}

.footer-bottom-links a:hover {
    color: var(--white);
}

/* =============================================
   ANIMATIONS
   ============================================= */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays */
.service-card:nth-child(2) {
    transition-delay: 0.1s;
}

.service-card:nth-child(3) {
    transition-delay: 0.2s;
}

.service-card:nth-child(4) {
    transition-delay: 0.3s;
}

.country-card:nth-child(2) {
    transition-delay: 0.1s;
}

.country-card:nth-child(3) {
    transition-delay: 0.15s;
}

.country-card:nth-child(4) {
    transition-delay: 0.2s;
}

.country-card:nth-child(5) {
    transition-delay: 0.25s;
}

.country-card:nth-child(6) {
    transition-delay: 0.3s;
}

.why-card:nth-child(2) {
    transition-delay: 0.1s;
}

.why-card:nth-child(3) {
    transition-delay: 0.2s;
}

.why-card:nth-child(4) {
    transition-delay: 0.3s;
}

.process-step:nth-child(2) {
    transition-delay: 0.1s;
}

.process-step:nth-child(3) {
    transition-delay: 0.2s;
}

.process-step:nth-child(4) {
    transition-delay: 0.3s;
}

.process-step:nth-child(5) {
    transition-delay: 0.4s;
}

.industry-card:nth-child(2) {
    transition-delay: 0.1s;
}

.industry-card:nth-child(3) {
    transition-delay: 0.15s;
}

.industry-card:nth-child(4) {
    transition-delay: 0.2s;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-card {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

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

    .footer-inner {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--navy-dark);
        flex-direction: column;
        padding: 100px 30px 30px;
        align-items: flex-start;
        gap: 0;
        transition: var(--transition);
    }

    body.nav-open .nav {
        right: 0;
    }

    .nav-link {
        padding: 16px 0;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .nav-link::after {
        display: none;
    }

    .dropdown {
        width: 100%;
    }

    .dropdown-btn {
        padding: 16px 0;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .dropdown-menu {
        position: static;
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        visibility: hidden;
        transform: none;
        box-shadow: none;
        border-top: none;
        background: rgba(255, 255, 255, 0.05);
    }

    .dropdown.active .dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 500px;
    }

    .dropdown.active .dropdown-arrow {
        transform: rotate(180deg);
    }

    .dropdown-item {
        color: rgba(255, 255, 255, 0.7);
        border-bottom-color: rgba(255, 255, 255, 0.04);
    }

    .dropdown-item:hover {
        background: rgba(255, 255, 255, 0.05);
        color: var(--white);
    }

    .nav-cta {
        margin: 20px 0 0;
        text-align: center;
        width: 100%;
        display: block;
    }

    /* Sections */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item {
        padding: 24px 16px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .about-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .countries-grid {
        grid-template-columns: 1fr 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .process-steps::before {
        display: none;
    }

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

    .lead-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .story-grid {
        grid-template-columns: 1fr;
    }

    .story-img::after {
        display: none;
    }

    .service-detail-inner,
    .service-detail-inner.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }

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

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }

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

    .section-number {
        font-size: 5rem;
    }

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

    .expertise-grid {
        grid-template-columns: 1fr;
    }

    .founder-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .founder-avatar {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-btns {
        flex-direction: column;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .countries-grid {
        grid-template-columns: 1fr;
    }

    .industries-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .lead-form-card,
    .contact-form-card {
        padding: 24px;
    }
}