/* =========================================
   CSS Variables (Design Tokens)
   ========================================= */
:root {
    /* Colors extracted from design analysis */
    --color-primary: #0027B7;
    --color-primary-hover: #001a85;
    --color-text-main: #000000;
    --color-text-heading: #333333;
    --color-text-light: #666666;
    --color-bg-main: #ffffff;
    --color-bg-secondary: #f5f7fa;
    --color-border: #eaeaea;

    /* Typography */
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Layout */
    --container-width: 1200px;
    --padding-section: 5rem 0;
    --border-radius-sm: 8px;
    --border-radius-btn: 30px;
    --border-radius-card: 16px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;

    /* Shadows */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.1);
}

/* =========================================
   Reset & Base Styles
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-main);
    background-color: var(--color-bg-main);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-text-heading);
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =========================================
   Layout & Utilities
   ========================================= */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-sm {
    max-width: 800px;
}

.section-padding {
    padding: var(--padding-section);
}

.bg-light {
    background-color: var(--color-bg-secondary);
}

.text-center {
    text-align: center;
}

/* =========================================
   Buttons
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-btn);
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: #ffffff;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

/* =========================================
   Header & Navigation
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--color-border);
    transition: top var(--transition-normal), height var(--transition-normal);
    height: 100px;
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 85px;
    width: auto;
    object-fit: contain;
    transition: height var(--transition-normal);
}

.desktop-nav {
    display: none;
}

@media (min-width: 992px) {
    .desktop-nav {
        display: block;
    }
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-text-main);
    position: relative;
    padding-bottom: 0.25rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .header-actions {
        gap: 1.5rem;
    }
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: 600;
    color: var(--color-text-heading);
    font-size: 0.9rem;
}

.phone-link:hover {
    color: var(--color-primary);
}

.phone-text {
    display: none;
}

@media (min-width: 768px) {
    .phone-text {
        display: inline;
    }
}

.btn-header {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
}

@media (min-width: 992px) {
    .btn-header {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

.d-none-mobile {
    display: none;
}

@media (min-width: 450px) {
    .d-none-mobile {
        display: inline-flex;
    }
}

.d-none-tablet {
    display: none;
}

@media (min-width: 768px) {
    .d-none-tablet {
        display: inline;
    }
}

.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1002;
}

@media (min-width: 992px) {
    .mobile-menu-toggle {
        display: none;
    }
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--color-text-heading);
    border-radius: 3px;
    transition: all var(--transition-normal);
}

.mobile-menu-toggle.open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: #ffffff;
    z-index: 1001;
    transform: translateX(100%);
    transition: transform var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-overlay.active {
    transform: translateX(0);
}

.mobile-nav-list {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-nav-link {
    font-size: 2rem;
    font-family: var(--font-heading);
    font-weight: 700;
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    /* Offset for header */
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('img/ChatGPT_Image_Mar_15_2026_07_55_44_PM.png');
    background-size: cover;
    background-position: center;
    z-index: -2;
}

/* Use JS to set actual image if needed */

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 39, 183, 0.4);
    z-index: -1;
}

.hero-content {
    max-width: 600px;
    color: #ffffff;
}

.hero-title {
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

/* =========================================
   Solutions Section
   ========================================= */
.solutions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .solutions-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.solution-card {
    background-color: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    text-align: center;
    border: 1px solid var(--color-border);
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.icon-wrapper {
    width: 64px;
    height: 64px;
    background-color: rgba(0, 39, 183, 0.1);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

.solution-card:hover .icon-wrapper {
    background-color: var(--color-primary);
    color: #ffffff;
}

/* =========================================
   Shorts Video Section
   ========================================= */
.shorts-carousel-container {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
    height: 600px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background-color: #000;
}

.shorts-wrapper {
    display: flex;
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.short-video-card {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #1a2a6c, #112);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.play-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    cursor: pointer;
    transition: transform 0.2s;
    margin-bottom: 1rem;
}

.play-icon:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.3);
}

.short-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem 1.5rem 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
}

.short-info h4 {
    color: white;
    margin-bottom: 0.25rem;
    font-size: 1.2rem;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s;
}

.nav-btn:hover {
    background: white;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

/* =========================================
   Footer
   ========================================= */
.footer {
    background-color: #dfe4ea;
    color: #1f2a37;
    padding-top: 3rem;
    border-top: 1px solid #c8d0da;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #c8d0da;
    justify-items: center;
    text-align: center;
}

@media (min-width: 992px) {
    .footer-top {
        grid-template-columns: 1.3fr 1fr 1fr;
        align-items: center;
    }
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-desc {
    margin-top: 0.35rem;
    color: #4f5f75;
    max-width: 300px;
}

.footer-desc-location {
    margin-top: 0;
    font-weight: 400;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.footer-contact .footer-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #243448;
}

.footer-contact .footer-phone:hover {
    color: var(--color-primary);
}

.footer-email {
    color: #4f5f75;
    font-weight: 500;
    overflow-wrap: anywhere;
}

.footer-email:hover {
    color: var(--color-primary);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.footer-links a {
    color: #4f5f75;
}

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

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem 1.5rem;
    padding: 1.5rem 0;
    color: #6a778a;
    font-size: 0.9rem;
    text-align: center;
}

.scroll-top {
    color: var(--color-primary);
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

@media (max-width: 767px) {
    .footer {
        padding-top: 2.5rem;
    }

    .footer-contact .footer-phone {
        font-size: 1rem;
    }

    .footer-email {
        max-width: 240px;
        font-size: 0.95rem;
    }
}
