/* ====================================
   JOMARTHEL - Professional Website
   Main Stylesheet
   ==================================== */

/* ===== CSS Variables ===== */
:root {
    /* Brand Colors - Based on Logo */
    --primary-dark: #0a1845;
    --primary: #1a2a5e;
    --primary-light: #2d4385;
    --accent: #14b8a6;
    --accent-light: #2dd4bf;
    --accent-dark: #0f766e;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0a1845 0%, #1a2a5e 50%, #14b8a6 100%);
    --gradient-accent: linear-gradient(135deg, #14b8a6 0%, #2dd4bf 100%);
    --gradient-dark: linear-gradient(135deg, #0a1845 0%, #1a2a5e 100%);
    --gradient-hero: linear-gradient(135deg, #0a1845 0%, #1a2a5e 40%, #2d4385 70%, #14b8a6 100%);

    /* Neutrals */
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --black: #000000;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Poppins', sans-serif;

    /* Spacing */
    --container-max: 1280px;
    --section-padding: 100px 0;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 40px rgba(20, 184, 166, 0.3);

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

ul {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-dark);
}

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

/* ===== Preloader ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
}

.loader-logo {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--white);
    letter-spacing: 3px;
    margin-bottom: 20px;
    animation: pulse 1.5s ease-in-out infinite;
}

.loader-bar {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.loader-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
    background: var(--gradient-accent);
    border-radius: 10px;
    animation: loading 1.5s ease-in-out infinite;
}

@keyframes loading {
    0% { left: -50%; }
    100% { left: 100%; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(0.95); }
}

/* ===== Header & Navigation ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
}

.logo-img {
    height: 50px;
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-dark);
    letter-spacing: 1px;
    line-height: 1;
}

.logo-tagline {
    font-size: 0.65rem;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 1px;
    margin-top: 3px;
}

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

.nav-link {
    padding: 10px 18px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-700);
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link i {
    font-size: 0.7rem;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: var(--transition);
    transform: translateX(-50%);
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 50%;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: var(--shadow-xl);
    border-radius: var(--radius-md);
    padding: 12px;
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

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

.dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--gray-700);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
}

.dropdown-menu li a i {
    color: var(--accent);
    font-size: 1rem;
}

.dropdown-menu li a:hover {
    background: var(--gray-50);
    color: var(--primary);
    padding-left: 20px;
}

.nav-cta {
    background: var(--gradient-accent);
    color: var(--white) !important;
    padding: 12px 24px !important;
    border-radius: var(--radius-full);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(20, 184, 166, 0.3);
    margin-left: 10px;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(20, 184, 166, 0.4);
}

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

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

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--primary-dark);
    border-radius: 3px;
    transition: var(--transition);
}

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

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

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

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
    background: var(--gradient-hero);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(20, 184, 166, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(45, 212, 191, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 60%);
}

.hero-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(90deg, rgba(10, 24, 69, 0.8) 0%, transparent 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero-badge i {
    color: #fbbf24;
}

.hero-title {
    font-size: clamp(1.67rem, 3.33vw, 3rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(135deg, #2dd4bf 0%, #5eead4 50%, #99f6e4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    max-width: 550px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: var(--transition);
    cursor: pointer;
    font-family: inherit;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--white);
    box-shadow: 0 10px 30px rgba(20, 184, 166, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(20, 184, 166, 0.5);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

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

.btn-white {
    background: var(--white);
    color: var(--primary-dark);
    box-shadow: var(--shadow-lg);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

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

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

.hero-stats {
    display: flex;
    gap: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-light);
    font-family: var(--font-display);
    line-height: 1;
}

.stat-number::after {
    content: '+';
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 5px;
    font-weight: 500;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
}

.hero-card-stack {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulse-circle 4s ease-in-out infinite;
}

@keyframes pulse-circle {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; }
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    color: var(--white);
    min-width: 220px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.floating-card i {
    font-size: 2rem;
    color: var(--accent-light);
    margin-bottom: 12px;
    display: block;
}

.floating-card h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.floating-card p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.card-1 {
    top: 10%;
    left: 10%;
    animation: float-card 6s ease-in-out infinite;
}

.card-2 {
    top: 40%;
    right: 5%;
    animation: float-card 6s ease-in-out infinite 2s;
}

.card-3 {
    bottom: 10%;
    left: 20%;
    animation: float-card 6s ease-in-out infinite 4s;
}

@keyframes float-card {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 3px;
    height: 8px;
    background: var(--white);
    border-radius: 3px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.5s ease-in-out infinite;
}

@keyframes scroll-wheel {
    0% { top: 8px; opacity: 1; }
    100% { top: 20px; opacity: 0; }
}

/* ===== Trust Bar ===== */
.trust-bar {
    background: var(--white);
    padding: 40px 0;
    border-bottom: 1px solid var(--gray-100);
}

.trust-content {
    text-align: center;
}

.trust-title {
    color: var(--gray-500);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.trust-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-600);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.trust-logo:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.trust-logo i {
    color: var(--accent);
    font-size: 1.2rem;
}

/* ===== Section Styles ===== */
section {
    padding: var(--section-padding);
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-subtitle {
    display: inline-block;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.1) 0%, rgba(45, 212, 191, 0.1) 100%);
    color: var(--accent-dark);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
    border: 1px solid rgba(20, 184, 166, 0.2);
}

.section-subtitle.light {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-title.light {
    color: var(--white);
}

.section-description {
    font-size: 1.1rem;
    color: var(--gray-600);
    line-height: 1.7;
}

.section-description.light {
    color: rgba(255, 255, 255, 0.8);
}

/* ===== Services Section ===== */
.services {
    background: var(--gray-50);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(20, 184, 166, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(26, 42, 94, 0.03) 0%, transparent 40%);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--gray-100);
}

.service-card:not(:has(.service-card-image)) {
    padding: 40px 32px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent);
}

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

.service-card.featured {
    background: var(--white);
    border: 1px solid rgba(20, 184, 166, 0.2);
}

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

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.1) 0%, rgba(45, 212, 191, 0.1) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    position: relative;
    transition: var(--transition);
}

.service-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-accent);
    border-radius: var(--radius-md);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.service-icon i {
    font-size: 1.8rem;
    color: var(--accent);
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.service-card:hover .service-icon::after {
    opacity: 1;
}

.service-card:hover .service-icon i {
    color: var(--white);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.service-card > p {
    color: var(--gray-600);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-features {
    list-style: none;
    margin-bottom: 24px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    color: var(--gray-600);
    font-size: 0.9rem;
}

.service-features i {
    color: var(--accent);
    font-size: 0.8rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--accent);
    gap: 12px;
}

/* ===== About Preview Section ===== */
.about-preview {
    background: var(--white);
}

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

.about-visual {
    position: relative;
    min-height: 500px;
}

.about-image-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
}

.about-main-image {
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.about-main-image::before {
    content: '\f0e4';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12rem;
    color: rgba(255, 255, 255, 0.1);
}

.about-main-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 30% 40%, rgba(20, 184, 166, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(45, 212, 191, 0.2) 0%, transparent 50%);
}

.about-floating-box {
    position: absolute;
    background: var(--white);
    padding: 20px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 16px;
    animation: float-box 4s ease-in-out infinite;
}

.about-floating-box i {
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    color: var(--white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.about-floating-box h4 {
    font-size: 1rem;
    margin-bottom: 2px;
    color: var(--primary-dark);
}

.about-floating-box p {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin: 0;
}

.box-1 {
    top: 30px;
    left: -40px;
}

.box-2 {
    bottom: 80px;
    right: -40px;
    animation-delay: 2s;
}

@keyframes float-box {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-accent);
    color: var(--white);
    width: 140px;
    height: 140px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
    text-align: center;
}

.experience-badge .years {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.about-content > p {
    color: var(--gray-600);
    font-size: 1.05rem;
    margin-bottom: 30px;
    line-height: 1.8;
}

.about-features {
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-accent);
    color: var(--white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.9rem;
}

.feature-item h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: var(--primary-dark);
}

.feature-item p {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin: 0;
}

/* ===== Process Section ===== */
.process {
    background: var(--gray-50);
    position: relative;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    position: relative;
}

.process-step {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    position: relative;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.step-number {
    position: absolute;
    top: -20px;
    right: 20px;
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    color: rgba(20, 184, 166, 0.1);
    line-height: 1;
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--gradient-accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 30px rgba(20, 184, 166, 0.3);
}

.process-step h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.process-step p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

/* ===== Portfolio Preview ===== */
.portfolio-preview {
    background: var(--white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 50px;
}

.portfolio-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.portfolio-image {
    width: 100%;
    height: 280px;
    position: relative;
    overflow: hidden;
}

.portfolio-1 {
    background: linear-gradient(135deg, #0a1845 0%, #14b8a6 100%);
}

.portfolio-2 {
    background: linear-gradient(135deg, #1a2a5e 0%, #2dd4bf 100%);
}

.portfolio-3 {
    background: linear-gradient(135deg, #0f766e 0%, #1a2a5e 100%);
}

.portfolio-4 {
    background: linear-gradient(135deg, #2d4385 0%, #14b8a6 100%);
}

.portfolio-5 {
    background: linear-gradient(135deg, #0a1845 0%, #2dd4bf 100%);
}

.portfolio-6 {
    background: linear-gradient(135deg, #14b8a6 0%, #0a1845 100%);
}

.portfolio-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 40%);
}

.portfolio-image::after {
    content: '\f0ac';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.2);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 24, 69, 0.9) 0%, rgba(10, 24, 69, 0.3) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-info {
    color: var(--white);
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.portfolio-category {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.portfolio-info h3 {
    color: var(--white);
    font-size: 1.3rem;
}

.portfolio-link {
    width: 44px;
    height: 44px;
    background: var(--white);
    color: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.portfolio-link:hover {
    background: var(--accent);
    color: var(--white);
    transform: rotate(-45deg);
}

.portfolio-cta {
    text-align: center;
}

/* ===== Testimonials ===== */
.testimonials {
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(20, 184, 166, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(45, 212, 191, 0.08) 0%, transparent 50%);
}

.testimonials .container {
    position: relative;
    z-index: 1;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    position: relative;
    transition: var(--transition);
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 5rem;
    color: rgba(20, 184, 166, 0.2);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(20, 184, 166, 0.3);
}

.testimonial-stars {
    color: #fbbf24;
    margin-bottom: 20px;
    font-size: 1rem;
    display: flex;
    gap: 4px;
}

.testimonial-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.author-avatar {
    width: 55px;
    height: 55px;
    background: var(--gradient-accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.author-info h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 2px;
}

.author-info p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin: 0;
}

/* ===== CTA Section ===== */
.cta-section {
    background: var(--gradient-accent);
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ===== Footer ===== */
.footer {
    background: var(--primary-dark);
    color: var(--gray-300);
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(20, 184, 166, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(45, 212, 191, 0.03) 0%, transparent 40%);
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-about .footer-logo {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.footer-logo .logo-name {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--white);
    letter-spacing: 2px;
}

.footer-logo .logo-tagline {
    font-size: 0.75rem;
    color: var(--accent-light);
    font-weight: 600;
    letter-spacing: 1px;
    margin-top: 4px;
}

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

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

.social-links a {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 1rem;
}

.social-links a:hover {
    background: var(--gradient-accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(20, 184, 166, 0.3);
}

.footer-column h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient-accent);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.footer-links a i {
    font-size: 0.7rem;
    color: var(--accent);
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(5px);
}

.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-contact i {
    color: var(--accent);
    font-size: 1rem;
    margin-top: 4px;
    flex-shrink: 0;
}

.footer-bottom {
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--accent-light);
    margin: 0 8px;
}

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

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(20, 184, 166, 0.4);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(20, 184, 166, 0.5);
}

/* ===== Page Header ===== */
.page-header {
    background: var(--gradient-hero);
    padding: 180px 0 80px;
    position: relative;
    overflow: hidden;
    color: var(--white);
    text-align: center;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(20, 184, 166, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(45, 212, 191, 0.1) 0%, transparent 50%);
}

.page-header-content {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    color: var(--white);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 16px;
}

.page-header p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto 20px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--accent-light);
    transition: var(--transition);
}

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

.breadcrumb i {
    font-size: 0.7rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .hero-content,
    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hero-visual {
        height: 400px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 70px 0;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 350px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        padding: 100px 30px 30px;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        align-items: flex-start;
        overflow-y: auto;
        gap: 4px;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        padding: 15px 0;
        width: 100%;
        border-bottom: 1px solid var(--gray-100);
    }

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

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0 0 0 20px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .dropdown.active .dropdown-menu {
        max-height: 400px;
    }

    .nav-cta {
        margin: 15px 0 0;
        justify-content: center;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .hero-stats {
        gap: 20px;
        flex-wrap: wrap;
    }

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

    .floating-card {
        min-width: 180px;
        padding: 18px 22px;
    }

    .card-1, .card-2, .card-3 {
        position: relative;
        animation: none;
        margin-bottom: 20px;
    }

    .hero-card-stack {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .hero-circle {
        display: none;
    }

    .hero-visual {
        height: auto;
    }

    .trust-logos {
        gap: 24px;
    }

    .about-floating-box.box-1,
    .about-floating-box.box-2 {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        margin: 15px 0;
        width: fit-content;
    }

    .about-floating-box {
        animation: none;
    }

    .experience-badge {
        position: relative;
        margin: 20px auto 0;
        transform: none;
        left: auto;
        bottom: auto;
    }

    .about-image-wrapper {
        height: auto;
    }

    .about-main-image {
        height: 300px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .logo-name {
        font-size: 1.2rem;
    }

    .logo-tagline {
        font-size: 0.6rem;
    }

    .logo-img {
        height: 40px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .service-card {
        padding: 30px 24px;
    }

    .btn {
        padding: 14px 26px;
        font-size: 0.95rem;
    }
}

/* ===== Utilities ===== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
