/* =========================================
   SENSU COMMUNICATIONS INC. - STYLES
   ========================================= */

/* ---------- CSS Variables ---------- */
:root {
    --primary: #0a2540;
    --primary-light: #132f4c;
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --accent-light: #3b82f6;
    --gold: #d4a574;
    --gold-light: #e8c9a0;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
    --shadow-md: 0 10px 25px rgba(0,0,0,0.08), 0 4px 10px rgba(0,0,0,0.05);
    --shadow-lg: 0 20px 50px rgba(0,0,0,0.12), 0 8px 20px rgba(0,0,0,0.06);
    --shadow-xl: 0 25px 60px rgba(0,0,0,0.15), 0 10px 25px rgba(0,0,0,0.08);
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --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);
    --font-heading: 'Segoe UI', 'Inter', system-ui, -apple-system, sans-serif;
    --font-body: 'Segoe UI', 'Inter', system-ui, -apple-system, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--gray-800);
    background-color: var(--gray-100);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

/* ---------- Boxed Layout Container ---------- */
.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.site-wrapper {
    max-width: 1200px;
    margin: 24px auto;
    background: var(--white);
    box-shadow: var(--shadow-xl);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 12px;
    position: relative;
}

.section-subtitle {
    text-align: center;
    color: var(--gray-500);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 48px;
}

.section-header {
    margin-bottom: 48px;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--accent), var(--gold));
    margin: 16px auto 0;
    border-radius: 2px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-family: var(--font-body);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.45);
    background: linear-gradient(135deg, var(--accent-hover), #1e40af);
}

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

.btn-secondary:hover {
    background: transparent;
    color: var(--white);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* ---------- Navigation ---------- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid transparent;
    padding: 16px 0;
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar.scrolled {
    border-bottom-color: var(--gray-200);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 800;
    font-size: 1.45rem;
    color: var(--primary);
}

.logo-img {
    height: 52px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    letter-spacing: -0.3px;
}

.logo-accent {
    color: var(--accent);
    font-weight: 600;
}

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

.nav-link {
    padding: 10px 16px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--gray-700);
    position: relative;
}

.nav-link:hover {
    color: var(--accent);
    background: var(--gray-100);
}

.nav-cta {
    background: var(--accent);
    color: var(--white) !important;
    padding: 10px 22px;
    border-radius: 50px;
}

.nav-cta:hover {
    background: var(--accent-hover);
    color: var(--white) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1002;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2.5px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

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

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

.mobile-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(10, 37, 64, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* ---------- News Ticker ---------- */
.news-ticker-wrapper {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 0;
    overflow: hidden;
    position: relative;
    z-index: 10;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 50px rgba(0, 0, 0, 0.4);
}

.news-ticker-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.05) 50%, transparent 100%);
    animation: tickerShine 4s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes tickerShine {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.news-ticker-header {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 160px;
    background: linear-gradient(135deg, #ff3366 0%, #ff6b9d 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    z-index: 3;
    box-shadow: 8px 0 30px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    gap: 8px;
}

.live-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    animation: livePulse 2s infinite;
    flex-shrink: 0;
}

@keyframes livePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.news-ticker-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
    animation: headerShine 3s ease-in-out infinite;
}

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

.news-ticker-header::after {
    content: '';
    position: absolute;
    right: -12px;
    top: 0;
    bottom: 0;
    width: 12px;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.25), transparent);
}

.news-ticker {
    display: flex;
    overflow: hidden;
    width: 100%;
    position: relative;
    padding-left: 160px;
}

.news-track {
    display: flex;
    align-items: center;
    gap: 64px;
    padding: 20px 28px;
    animation: newsScroll 35s linear infinite;
    width: max-content;
}

.news-ticker:hover .news-track {
    animation-play-state: paused;
}

.news-item {
    display: flex;
    align-items: center;
    gap: 18px;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 10px 22px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: relative;
    overflow: hidden;
}

.news-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    border-radius: 50px;
}

.news-item:hover::before {
    opacity: 1;
}

.news-item:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}

.news-thumb {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-item:hover .news-thumb {
    border-color: var(--white);
    transform: scale(1.2) rotate(10deg);
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.6), 0 0 0 6px rgba(255, 255, 255, 0.2);
}

.news-text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 1);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.news-text strong {
    color: var(--white);
    font-weight: 900;
    margin-right: 10px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 50%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.4));
}

.news-ticker::before,
.news-ticker::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 140px;
    z-index: 2;
    pointer-events: none;
}

.news-ticker::before {
    left: 160px;
    background: linear-gradient(to right, var(--primary) 0%, transparent 100%);
}

.news-ticker::after {
    right: 0;
    background: linear-gradient(to left, var(--primary) 0%, transparent 100%);
}

@keyframes newsScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .news-ticker-header {
        width: 120px;
        font-size: 0.75rem;
        letter-spacing: 2px;
    }

    .news-ticker {
        padding-left: 120px;
    }

    .news-track {
        gap: 48px;
        padding: 14px 20px;
        animation-duration: 28s;
    }

    .news-thumb {
        width: 44px;
        height: 44px;
    }

    .news-text {
        font-size: 0.92rem;
    }

    .news-item {
        gap: 14px;
        padding: 8px 16px;
    }

    .news-ticker::before {
        left: 120px;
        width: 80px;
    }

    .news-ticker::after {
        width: 80px;
    }
}

@media (max-width: 480px) {
    .news-ticker-header {
        width: 100px;
        font-size: 0.7rem;
        letter-spacing: 1.5px;
    }

    .news-ticker {
        padding-left: 100px;
    }

    .news-track {
        gap: 36px;
        padding: 12px 16px;
        animation-duration: 24s;
    }

    .news-thumb {
        width: 38px;
        height: 38px;
    }

    .news-text {
        font-size: 0.85rem;
    }

    .news-item {
        gap: 12px;
        padding: 6px 12px;
    }

    .news-ticker::before {
        left: 100px;
        width: 60px;
    }

    .news-ticker::after {
        width: 60px;
    }
}

/* ---------- Hero Section ---------- */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, #1a3c5e 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1600&h=900&fit=crop');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    mix-blend-mode: overlay;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 0%, var(--primary) 70%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    max-width: 100%;
    padding: 80px 24px 60px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.15;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    text-align: justify;
}

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

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.hero-scroll-indicator a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 50%;
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
}

.hero-scroll-indicator a:hover {
    border-color: var(--white);
    color: var(--white);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ---------- Welcome Section ---------- */
.welcome {
    padding: 100px 0 40px;
    background: var(--white);
}

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

.welcome-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--gray-900);
}

.welcome-description {
    font-size: 1.1rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 32px;
    text-align: justify;
}

.welcome-image {
    text-align: center;
}

.welcome-image img {
    width: 100%;
    max-width: 400px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    margin: 0 auto 20px;
}

.welcome-image-caption {
    text-align: center;
}

.welcome-image-caption h4 {
    font-size: 1.2rem;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.welcome-image-caption span {
    font-size: 0.95rem;
    color: var(--gray-500);
}

/* ---------- About Section ---------- */
.about {
    padding: 60px 0 100px;
    background: var(--white);
}

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

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-slow);
}

.about-image:hover img {
    transform: scale(1.02);
}

.about-description {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 36px;
    line-height: 1.8;
    text-align: justify;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.feature-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent), var(--primary-light));
    color: var(--white);
    border-radius: var(--radius-sm);
    font-size: 1.2rem;
}

.feature-text h4 {
    font-size: 1.1rem;
    margin-bottom: 6px;
    color: var(--gray-900);
}

.feature-text p {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ---------- Services Section ---------- */
.services {
    padding: 100px 0;
    background: var(--gray-50);
}

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

.service-card {
    background: var(--white);
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition-slow);
    border: 1px solid var(--gray-200);
    text-align: center;
}

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

.service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(37, 99, 235, 0.05));
    color: var(--accent);
    border-radius: var(--radius);
    font-size: 1.6rem;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--accent), var(--primary-light));
    color: var(--white);
    transform: scale(1.05);
}

.service-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--gray-900);
}

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

/* ---------- Why Us Section ---------- */
.why-us {
    padding: 100px 0;
    background: var(--white);
}

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

.why-card {
    text-align: center;
    padding: 40px 28px;
    border-radius: var(--radius-lg);
    background: var(--gray-50);
    transition: var(--transition-slow);
    border: 1px solid transparent;
}

.why-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-color: var(--gray-200);
    transform: translateY(-4px);
}

.why-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--white);
    border-radius: 50%;
    font-size: 1.3rem;
    transition: var(--transition);
}

.why-card:hover .why-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    transform: scale(1.1);
}

.why-card h4 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--gray-900);
}

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

/* ---------- Portfolio Section ---------- */
.portfolio {
    padding: 100px 0;
    background: var(--gray-50);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.portfolio-filter-btn {
    padding: 10px 22px;
    border-radius: 50px;
    border: 1px solid var(--gray-300);
    background: var(--white);
    color: var(--gray-700);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    font-family: var(--font-body);
    font-size: 0.95rem;
}

.portfolio-filter-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.portfolio-filter-btn.active {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

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

.portfolio-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4 / 3;
    box-shadow: var(--shadow);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

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

.portfolio-item.hidden {
    display: none;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-item:hover img {
    transform: scale(1.08);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 37, 64, 0.95) 0%, rgba(10, 37, 64, 0.5) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    color: var(--white);
    opacity: 0.9;
    transition: opacity 0.4s ease;
}

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

.portfolio-overlay h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 8px;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.portfolio-overlay p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 10px;
    line-height: 1.5;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.portfolio-category {
    display: inline-block;
    padding: 6px 14px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    width: fit-content;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay h4,
.portfolio-item:hover .portfolio-overlay p,
.portfolio-item:hover .portfolio-overlay .portfolio-category {
    transform: translateY(-2px);
}

@media (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    .portfolio-filters {
        gap: 8px;
    }
    .portfolio-filter-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

/* ---------- Portfolio Modal ---------- */
.portfolio-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
}

.portfolio-modal.open {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 37, 64, 0.7);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px;
    box-shadow: var(--shadow-xl);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.portfolio-modal.open .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--gray-500);
    transition: var(--transition);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    background: var(--gray-100);
    color: var(--gray-900);
}

.modal-body h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
    color: var(--gray-900);
}

.modal-body .modal-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.modal-body .modal-meta span {
    font-size: 0.9rem;
    color: var(--gray-500);
}

.modal-body .modal-meta strong {
    color: var(--gray-800);
}

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

.modal-body .modal-highlights {
    list-style: disc;
    padding-left: 20px;
    color: var(--gray-700);
    line-height: 1.8;
}

/* ---------- Logo Ticker Section ---------- */
.logo-ticker-section {
    padding: 60px 0;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    overflow: hidden;
}

.ticker-label {
    text-align: center;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 36px;
    font-weight: 700;
    display: block;
    padding: 10px 24px;
    border: 1px solid rgba(37, 99, 235, 0.25);
    border-radius: 50px;
    background: rgba(37, 99, 235, 0.06);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.08);
}

.logo-ticker {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.logo-ticker::before,
.logo-ticker::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.logo-ticker::before {
    left: 0;
    background: linear-gradient(to right, var(--gray-50), transparent);
}

.logo-ticker::after {
    right: 0;
    background: linear-gradient(to left, var(--gray-50), transparent);
}

.logo-track {
    display: flex;
    width: max-content;
    animation: tickerScroll 30s linear infinite;
}

.logo-ticker:hover .logo-track {
    animation-play-state: paused;
}

.logo-track-inner {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 0 30px;
}

.ticker-logo {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gray-400);
    white-space: nowrap;
    transition: color 0.3s ease, transform 0.3s ease;
    cursor: default;
    letter-spacing: -0.3px;
}

.ticker-logo:nth-child(1) { font-family: 'Georgia', serif; letter-spacing: 1px; }
.ticker-logo:nth-child(2) { font-weight: 800; letter-spacing: -0.5px; }
.ticker-logo:nth-child(3) { font-weight: 300; letter-spacing: 2px; text-transform: uppercase; }
.ticker-logo:nth-child(4) { font-weight: 600; letter-spacing: 0.5px; }
.ticker-logo:nth-child(5) { font-family: 'Courier New', monospace; font-weight: 700; }
.ticker-logo:nth-child(6) { font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; }
.ticker-logo:nth-child(7) { font-weight: 900; letter-spacing: -0.8px; }
.ticker-logo:nth-child(8) { font-family: 'Georgia', serif; font-weight: 400; font-style: italic; }
.ticker-logo:nth-child(9) { font-weight: 700; letter-spacing: 0.3px; }
.ticker-logo:nth-child(10) { font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }

.logo-track:hover .ticker-logo {
    color: var(--gray-600);
}

.logo-track:hover .ticker-logo:hover {
    color: var(--accent);
    transform: scale(1.05);
}

@keyframes tickerScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .logo-track-inner {
        gap: 40px;
    }

    .ticker-logo {
        font-size: 1rem;
    }

    .logo-ticker::before,
    .logo-ticker::after {
        width: 60px;
    }
}

@media (max-width: 480px) {
    .logo-ticker-section {
        padding: 40px 0;
    }

    .logo-track-inner {
        gap: 30px;
    }

    .ticker-logo {
        font-size: 0.9rem;
    }

    .ticker-label {
        font-size: 0.75rem;
        letter-spacing: 1px;
    }
}

/* ---------- Testimonials Section ---------- */
.testimonials {
    padding: 100px 0;
    background: var(--white);
}

.testimonial-slider {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s ease;
}

.testimonial-slide {
    flex: 0 0 calc((100% - 48px) / 3);
}

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

.testimonial-card {
    background: var(--gray-50);
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    text-align: center;
    height: 100%;
}

.testimonial-text {
    margin-bottom: 28px;
}

.testimonial-text i {
    font-size: 2rem;
    color: var(--accent);
    opacity: 0.3;
    margin-bottom: 16px;
}

.testimonial-text p {
    font-size: 1.15rem;
    color: var(--gray-700);
    font-style: italic;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--primary-light));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

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

.author-info span {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 28px;
}

.testimonial-btn {
    background: var(--white);
    border: 1px solid var(--gray-300);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--gray-600);
    font-size: 0.9rem;
}

.testimonial-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

.testimonial-dots {
    display: flex;
    gap: 8px;
}

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

.dot.active {
    background: var(--accent);
    width: 28px;
    border-radius: 10px;
}

/* ---------- Industries Section ---------- */
.industries {
    padding: 100px 0;
    background: var(--gray-50);
}

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

.industry-card {
    text-align: center;
    padding: 36px 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition-slow);
}

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

.industry-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--accent), var(--primary-light));
    color: var(--white);
    border-radius: var(--radius-sm);
    font-size: 1.3rem;
    transition: var(--transition);
}

.industry-card:hover .industry-icon {
    transform: scale(1.1);
}

.industry-card h4 {
    font-size: 1rem;
    color: var(--gray-800);
    font-weight: 600;
}

/* ---------- CTA Section ---------- */
.cta-section {
    padding: 90px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 60%, #1a3c5e 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1504384308090-c894fdcc538d?w=1600&h=600&fit=crop');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    mix-blend-mode: overlay;
}

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

.cta-content h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.cta-content p {
    color: rgba(255,255,255,0.85);
    font-size: 1.15rem;
    margin-bottom: 32px;
    line-height: 1.7;
}

/* ---------- Contact Section ---------- */
.contact {
    padding: 100px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    margin-bottom: 50px;
}

.contact-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 24px;
    padding: 20px;
    border-radius: var(--radius);
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.contact-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent), var(--primary-light));
    color: var(--white);
    border-radius: var(--radius-sm);
    font-size: 1.1rem;
}

.contact-details h4 {
    font-size: 1.05rem;
    margin-bottom: 4px;
    color: var(--gray-900);
}

.contact-details p, .contact-details a {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.6;
}

.contact-details a {
    color: var(--accent);
}

.contact-details a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

.contact-info .social-links {
    display: flex;
    gap: 12px;
    margin-top: 28px;
    padding-left: 20px;
}

.social-links a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    color: var(--gray-600);
    border-radius: 50%;
    transition: var(--transition);
    font-size: 1.1rem;
}

.social-links a:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--gray-50);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
}

.contact-form h3 {
    font-size: 1.4rem;
    margin-bottom: 24px;
    text-align: center;
    color: var(--gray-900);
}

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

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.required {
    color: #ef4444;
}

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

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

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

.btn-submit {
    width: 100%;
    justify-content: center;
    padding: 16px;
    font-size: 1.05rem;
    border-radius: var(--radius);
}

.btn-submit i {
    font-size: 0.9rem;
}

/* Map Placeholder */
.map-placeholder {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.map-placeholder img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.map-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 37, 64, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    gap: 8px;
}

.map-overlay i {
    font-size: 2.5rem;
    opacity: 0.8;
}

.map-overlay p {
    font-size: 1rem;
    opacity: 0.9;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--primary);
    color: rgba(255,255,255,0.8);
    padding: 70px 0 30px;
}

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

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
    max-width: 320px;
}

.footer-social {
    display: flex;
    flex-direction: row;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.8);
    width: 40px;
    height: 40px;
}

.footer-social a:hover {
    background: var(--accent);
    color: var(--white);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.footer-column h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 18px;
    font-weight: 600;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--white);
    padding-left: 4px;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}

.contact-list li i {
    color: var(--accent);
    margin-top: 4px;
    flex-shrink: 0;
}

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

.footer-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    gap: 16px;
}

.footer-bottom-grid p {
    text-align: left;
}

.footer-bottom-grid a:nth-child(2) {
    text-align: center;
}

.footer-bottom-grid a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom-grid a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-bottom-grid a:last-child {
    text-align: right;
    justify-self: end;
}

/* ---------- Animations (AOS-style) ---------- */
[data-aos="fade-right"] {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-left"] {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="zoom-in"] {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: none;
}

/* ---------- Responsive Design ---------- */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .why-us-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 900px) {
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 100px 30px 30px;
        gap: 4px;
        box-shadow: var(--shadow-xl);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1001;
        overflow-y: auto;
    }

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

    .nav-link {
        display: block;
        padding: 14px 16px;
        font-size: 1.05rem;
        border-radius: var(--radius-sm);
    }

    .nav-cta {
        margin-top: 12px;
        text-align: center;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

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

    .services-grid,
    .why-us-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

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

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

    .welcome-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .about-image {
        order: -1;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

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

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

    .contact-card {
        padding: 16px;
    }

    .testimonial-slide {
        flex: 0 0 calc((100% - 24px) / 2);
    }

    .testimonial-track {
        gap: 16px;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 15px;
    }

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

    .hero-subtitle {
        font-size: 1rem;
        text-align: left;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

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

    .logo-img {
        height: 36px;
    }

    .logo {
        font-size: 1.1rem;
        gap: 8px;
    }

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

    .contact-info .social-links {
        justify-content: center;
        padding-left: 0;
    }

    .testimonial-card {
        padding: 30px 20px;
    }

    .testimonial-text p {
        font-size: 1rem;
    }

    .cta-content h2 {
        font-size: 1.5rem;
    }

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

    .site-wrapper {
        margin: 0;
        border-radius: 0;
    }

    .footer-bottom-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 10px;
    }

    .footer-bottom-grid p {
        text-align: center;
    }

    .footer-bottom-grid a:nth-child(2) {
        text-align: center;
    }

    .footer-bottom-grid a:last-child {
        text-align: center;
        justify-self: center;
    }

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

    .testimonial-slide {
        flex: 0 0 100%;
    }

    .testimonial-track {
        gap: 16px;
    }

    .portfolio-modal {
        padding: 16px;
    }

    .modal-content {
        padding: 24px;
    }

    .contact-form-wrapper {
        padding: 24px;
    }

    .container {
        padding: 0 16px;
    }
}

/* ---------- Utility ---------- */
.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ---------- Success Message ---------- */
.form-success {
    display: none;
    text-align: center;
    padding: 20px;
    background: #dcfce7;
    color: #166534;
    border-radius: var(--radius-sm);
    margin-top: 16px;
    font-weight: 600;
}

.form-success.show {
    display: block;
    animation: fadeSlide 0.4s ease;
}

/* ---------- Loading ---------- */
.page-loader {
    position: fixed;
    inset: 0;
    background: var(--white);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--gray-200);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
