/* ============================================
   TASKAFRIK Digital - Main Stylesheet
   Domain: taskafrikdigital.ink
   ============================================ */

/* ========== CSS Variables ========== */
:root {
    --primary: #E8590C;
    --primary-dark: #C2410C;
    --primary-light: #FB923C;
    --secondary: #1B4332;
    --secondary-light: #2D6A4F;
    --accent: #F59E0B;
    --dark: #111827;
    --dark-light: #1F2937;
    --gray-900: #111827;
    --gray-800: #1F2937;
    --gray-700: #374151;
    --gray-600: #4B5563;
    --gray-500: #6B7280;
    --gray-400: #9CA3AF;
    --gray-300: #D1D5DB;
    --gray-200: #E5E7EB;
    --gray-100: #F3F4F6;
    --gray-50: #F9FAFB;
    --white: #FFFFFF;
    --success: #10B981;
    --error: #EF4444;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 50px rgba(0,0,0,0.12);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== Reset & Base ========== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--white);
    color: var(--gray-700);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    color: var(--dark);
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== Utility Classes ========== */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-label::before {
    content: '';
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-500);
    max-width: 600px;
    line-height: 1.8;
}

.section-padding {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

.text-center .section-subtitle {
    margin: 0 auto;
}

.text-center .section-label::before {
    display: none;
}

.text-center .section-label::after {
    content: '';
    width: 40px;
    height: 2px;
    background: var(--primary);
}

/* ========== Buttons ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(232, 89, 12, 0.35);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--white);
    border-color: var(--secondary);
}

.btn-secondary:hover {
    background: var(--secondary-light);
    border-color: var(--secondary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(27, 67, 50, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.btn-white:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 42px;
    font-size: 1.05rem;
}

.btn i {
    font-size: 1.1em;
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(4px);
}

/* ========== Navigation ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-brand .logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 800;
    font-size: 1.3rem;
    font-family: var(--font-heading);
}

.nav-brand-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1px;
}

.navbar.scrolled .nav-brand-text {
    color: var(--dark);
}

.nav-brand-text span {
    color: var(--primary);
}

.navbar.scrolled .nav-brand-text span {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-menu a {
    font-size: 0.92rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.3px;
    position: relative;
    padding: 5px 0;
}

.navbar.scrolled .nav-menu a {
    color: var(--gray-600);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--white);
}

.navbar.scrolled .nav-menu a:hover,
.navbar.scrolled .nav-menu a.active {
    color: var(--primary);
}

.nav-cta {
    margin-left: 10px;
}

.nav-cta .btn {
    padding: 10px 24px;
    font-size: 0.88rem;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    width: 26px;
    height: 2.5px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.navbar.scrolled .mobile-toggle span {
    background: var(--dark);
}

.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 ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--dark) 0%, #0f2a1f 50%, var(--secondary) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(232, 89, 12, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 60px;
}

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(232, 89, 12, 0.15);
    border: 1px solid rgba(232, 89, 12, 0.3);
    color: var(--primary-light);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.hero-badge i {
    font-size: 0.9rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.15;
}

.hero-title .highlight {
    color: var(--primary);
    position: relative;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(232, 89, 12, 0.25);
    border-radius: 4px;
    z-index: -1;
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 35px;
    line-height: 1.8;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    gap: 45px;
    padding-top: 35px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat-item h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
    font-family: var(--font-body);
}

.hero-stat-item p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 5px;
}

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.hero-image-wrapper img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.hero-floating-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 20px 25px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 3s ease-in-out infinite;
}

.hero-floating-card.card-1 {
    top: 20px;
    right: -30px;
    animation-delay: 0s;
}

.hero-floating-card.card-2 {
    bottom: 40px;
    left: -30px;
    animation-delay: 1.5s;
}

.hero-floating-card .card-icon {
    width: 45px;
    height: 45px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.hero-floating-card .card-icon.orange {
    background: rgba(232, 89, 12, 0.1);
    color: var(--primary);
}

.hero-floating-card .card-icon.green {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.hero-floating-card .card-text h4 {
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--font-body);
    color: var(--dark);
}

.hero-floating-card .card-text p {
    font-size: 0.75rem;
    color: var(--gray-500);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ========== About / Introduction Section ========== */
.about-section {
    position: relative;
    background: var(--gray-50);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image-main {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    width: 100%;
}

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    border: 3px solid var(--primary);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about-experience-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    background: var(--primary);
    color: var(--white);
    padding: 25px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-experience-badge h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    font-family: var(--font-body);
    line-height: 1;
}

.about-experience-badge p {
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 5px;
}

.about-content .about-text {
    font-size: 1rem;
    color: var(--gray-600);
    margin-bottom: 30px;
    line-height: 1.9;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 35px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-feature i {
    width: 30px;
    height: 30px;
    background: rgba(232, 89, 12, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.about-feature span {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--gray-700);
}

/* ========== Services Section ========== */
.services-section {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 40px 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 65px;
    height: 65px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 25px;
    background: rgba(232, 89, 12, 0.08);
    color: var(--primary);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: var(--white);
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
    font-family: var(--font-body);
}

.service-card p {
    font-size: 0.92rem;
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-link i {
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* ========== Stats / Counter Section ========== */
.stats-section {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--dark) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-body);
    margin-bottom: 8px;
}

.stat-item p {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

/* ========== Process Section ========== */
.process-section {
    background: var(--gray-50);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.process-card {
    text-align: center;
    position: relative;
    padding: 40px 30px;
}

.process-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 auto 25px;
    position: relative;
    z-index: 2;
}

.process-card:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 70px;
    right: -20%;
    width: 40%;
    height: 2px;
    background: repeating-linear-gradient(
        90deg,
        var(--gray-300) 0,
        var(--gray-300) 8px,
        transparent 8px,
        transparent 16px
    );
}

.process-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-family: var(--font-body);
    font-weight: 600;
}

.process-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.8;
}

/* ========== Testimonials Section ========== */
.testimonials-section {
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: var(--gray-50);
    border-radius: var(--radius-md);
    padding: 35px;
    transition: var(--transition);
    border: 1px solid var(--gray-100);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 20px;
    color: var(--accent);
    font-size: 0.9rem;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
}

.testimonial-author-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-body);
}

.testimonial-author-info p {
    font-size: 0.82rem;
    color: var(--gray-500);
}

/* ========== CTA Section ========== */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.1), transparent 70%);
    border-radius: 50%;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto 35px;
    line-height: 1.8;
}

/* ========== Contact Section ========== */
.contact-section {
    background: var(--gray-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    margin-top: 50px;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 30px;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    background: rgba(232, 89, 12, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-info-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
    font-family: var(--font-body);
}

.contact-info-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
}

.contact-form {
    background: var(--white);
    padding: 45px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: var(--font-body);
    color: var(--dark);
    background: var(--gray-50);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(232, 89, 12, 0.1);
}

.form-group textarea {
    min-height: 130px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ========== Footer ========== */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr 1.5fr;
    gap: 35px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .nav-brand-text {
    color: var(--white);
    font-size: 1.6rem;
    margin-bottom: 15px;
    display: block;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 25px;
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-column h4 {
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 25px;
    font-family: var(--font-body);
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

/* Contact Info styles */
.footer-contact li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 15px;
    line-height: 1.6;
}

.footer-contact li i {
    color: var(--primary);
    margin-top: 4px;
    width: 14px;
    text-align: center;
    flex-shrink: 0;
}

.footer-contact li a {
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-contact li a:hover {
    color: var(--primary);
}

.footer-newsletter p {
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.7;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    font-size: 0.9rem;
    font-family: var(--font-body);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary);
}

.newsletter-form button {
    padding: 12px 20px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--primary-dark);
}

.footer-bottom {
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.footer-bottom-links {
    display: flex;
    gap: 25px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links a:hover {
    color: var(--primary);
}

/* ========== Page Header (for inner pages) ========== */
.page-header {
    background: linear-gradient(135deg, var(--dark) 0%, var(--secondary) 100%);
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(232, 89, 12, 0.1), transparent 70%);
    border-radius: 50%;
}

.page-header h1 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 15px;
}

.page-header .breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.9rem;
}

.page-header .breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
}

.page-header .breadcrumb a:hover {
    color: var(--primary);
}

.page-header .breadcrumb span {
    color: var(--primary);
}

.page-header .breadcrumb i {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ========== Team Section ========== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.team-card {
    text-align: center;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 30px 20px;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    font-weight: 700;
}

.team-card h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-family: var(--font-body);
    font-weight: 600;
}

.team-card p {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-bottom: 15px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.team-social a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    font-size: 0.85rem;
    transition: var(--transition);
}

.team-social a:hover {
    background: var(--primary);
    color: var(--white);
}

/* ========== FAQ Section ========== */
.faq-list {
    max-width: 800px;
    margin: 50px auto 0;
}

.faq-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    color: var(--dark);
    background: var(--white);
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
    color: var(--primary);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 25px 20px;
    font-size: 0.92rem;
    color: var(--gray-500);
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

/* ========== Animations ========== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-up.delay-1 { transition-delay: 0.1s; }
.fade-up.delay-2 { transition-delay: 0.2s; }
.fade-up.delay-3 { transition-delay: 0.3s; }
.fade-up.delay-4 { transition-delay: 0.4s; }

/* ========== Responsive ========== */

/* --- Tablet landscape / small desktop --- */
@media (max-width: 1024px) {
    .section-title {
        font-size: 2.3rem;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-description {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-image {
        max-width: 500px;
        margin: 0 auto;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        max-width: 100% !important;
    }

    .nav-menu {
        gap: 22px;
    }
}

/* --- Tablet portrait / large phones --- */
@media (max-width: 768px) {
    html { font-size: 15px; }

    .container { padding: 0 16px; }

    .section-padding { padding: 70px 0; }

    .section-title { font-size: 2rem; }

    .section-subtitle { font-size: 1rem; }

    /* Mobile navigation drawer */
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        height: 100dvh;
        background: var(--white);
        flex-direction: column;
        padding: 100px 30px 30px;
        gap: 20px;
        transition: left 0.4s ease;
        box-shadow: 5px 0 30px rgba(0,0,0,0.1);
        z-index: 999;
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu a {
        color: var(--gray-700) !important;
        font-size: 1.05rem;
        padding: 8px 0;
    }

    .nav-menu a:hover,
    .nav-menu a.active {
        color: var(--primary) !important;
    }

    .nav-cta {
        margin-left: 0;
        margin-top: 10px;
    }

    .nav-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .mobile-toggle {
        display: flex;
        z-index: 1001;
    }

    /* Hero */
    .hero { min-height: auto; padding: 0; }

    .hero .container { padding-top: 120px; padding-bottom: 60px; }

    .hero-title { font-size: 2.5rem; }

    .hero-badge { font-size: 0.75rem; padding: 6px 16px; }

    .hero-stats { flex-wrap: wrap; gap: 25px; }

    .hero-stat-item h3 { font-size: 1.8rem; }

    /* Grids → all single column */
    .services-grid { grid-template-columns: 1fr !important; }

    .stats-grid { grid-template-columns: 1fr 1fr; }

    .stat-item h3 { font-size: 2.2rem; }

    .process-grid { grid-template-columns: 1fr; }

    .process-card::after { display: none; }

    .testimonials-grid { grid-template-columns: 1fr; }

    .contact-grid { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr; gap: 30px; }

    .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }

    .footer-bottom-links { justify-content: center; flex-wrap: wrap; }

    .team-grid { grid-template-columns: 1fr !important; max-width: 100% !important; }

    .form-row { grid-template-columns: 1fr; }

    /* Newsletter form → stack on mobile */
    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        width: 100%;
    }

    .newsletter-form button {
        width: 100%;
        padding: 14px;
    }

    /* About section overflows */
    .about-image-accent { display: none; }

    .about-experience-badge {
        position: relative;
        top: auto;
        left: auto;
        display: inline-block;
        margin-top: 20px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    /* Page header */
    .page-header { padding: 130px 0 60px; }

    .page-header h1 { font-size: 2.2rem; }

    /* CTA */
    .cta-section { padding: 70px 0; }

    .cta-section h2 { font-size: 2rem; }

    .cta-section p { font-size: 1rem; padding: 0 10px; }

    /* Contact form */
    .contact-form { padding: 30px 20px; }

    /* Service cards */
    .service-card { padding: 30px 22px; }

    /* Testimonial cards */
    .testimonial-card { padding: 25px 20px; }

    /* FAQ */
    .faq-question { padding: 16px 18px; font-size: 0.95rem; }

    .faq-answer p { padding: 0 18px 16px; }

    /* Footer brand */
    .footer-brand p { max-width: 100%; }
}

/* --- Small phones --- */
@media (max-width: 480px) {
    .container { padding: 0 14px; }

    .section-title { font-size: 1.7rem; }

    .section-label { font-size: 0.78rem; letter-spacing: 2px; }

    .hero .container { padding-top: 100px; padding-bottom: 50px; }

    .hero-title { font-size: 1.85rem; }

    .hero-description { font-size: 0.95rem; }

    .hero-buttons { flex-direction: column; align-items: stretch; }

    .hero-buttons .btn { justify-content: center; }

    .hero-stats { gap: 20px; }

    .hero-stat-item h3 { font-size: 1.5rem; }
    
    .hero-stat-item p { font-size: 0.78rem; }

    .stats-grid { grid-template-columns: 1fr 1fr; gap: 20px; }

    .stat-item h3 { font-size: 1.8rem; }

    .stat-item p { font-size: 0.82rem; }

    .btn { padding: 12px 24px; font-size: 0.9rem; }

    .btn-lg { padding: 15px 30px; font-size: 0.95rem; }

    .contact-form { padding: 25px 16px; }

    .contact-info-icon { width: 42px; height: 42px; font-size: 0.95rem; }

    .cta-section h2 { font-size: 1.7rem; }

    .page-header { padding: 110px 0 50px; }

    .page-header h1 { font-size: 1.8rem; }

    .page-header .breadcrumb { font-size: 0.82rem; }

    .process-number { width: 50px; height: 50px; font-size: 1.1rem; }

    .process-card { padding: 30px 20px; }

    .process-card h3 { font-size: 1.05rem; }

    /* Team card on mobile */
    .team-card { padding: 25px 16px; }
    
    .team-avatar { width: 80px; height: 80px; font-size: 1.5rem; }

    /* Footer */
    .footer { padding: 60px 0 0; }

    .footer-grid { gap: 25px; }

    .footer-social { flex-wrap: wrap; }

    .footer-social a { width: 38px; height: 38px; }
}

/* --- Very small phones (320px) --- */
@media (max-width: 360px) {
    .hero-title { font-size: 1.6rem; }

    .section-title { font-size: 1.5rem; }

    .stats-grid { grid-template-columns: 1fr; }

    .hero-stats { flex-direction: column; align-items: center; }

    .nav-menu { width: 90%; }

    .btn { padding: 11px 20px; font-size: 0.85rem; }

    .btn-lg { padding: 13px 24px; font-size: 0.9rem; }
}

/* ========== Overlay for mobile menu ========== */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
