@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;500;600&family=Inter:wght@400;500;600&display=swap');

:root {
    --primary-blue: #006aff;
    --primary-blue-hover: #0056d6;
    --text-black: #000000;
    --text-gray: #6b6b6b;
    --bg-white: #ffffff;
    --bg-gray: #f7f7f7;
    --border-color: #e8e8e8;
    --primary-green: #00d181;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-serif: 'Fraunces', Georgia, serif;

    --container-width: 1200px;
    --section-padding: 80px 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    color: var(--text-black);
    background-color: var(--bg-white);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
}

input,
select,
textarea,
button {
    font-family: var(--font-sans);
}

.text-nowrap {
    white-space: nowrap;
}

a {
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
}

ul,
li {
    list-style: none;
}

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

.menu-toggle {
    display: none;
}

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

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

.logo img {
    display: block;
    width: 125px;
    height: auto;
}

/* Components: Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 100px;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s cubic-bezier(0.2, 0, 0, 1);
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background-color: var(--primary-green);
    color: #000;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: #00bf75;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid rgb(255, 255, 255);
    color: white;
}

.btn-outline:hover {
    border-color: white;
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-default {
    background-color: white;
    border: 1px solid var(--border-color);
    color: var(--text-black);
}

.btn-default:hover {
    background-color: var(--bg-gray);
    transform: translateY(-2px);
}

/* Navbar Styles */
.navbar {
    position: fixed;
    /* Stays above video background */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    backdrop-filter: none;
    border-bottom: none;
    padding: 10px 20px;
    color: white;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    /* text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8); */
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    /* relative for absolute mega dropdown placement */
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-links a {
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: -0.01em;
    transition: all 0.25s cubic-bezier(0.2, 0, 0, 1);
}

.nav-links a:hover {
    color: var(--primary-green);
    opacity: 1;
}

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

.dropdown-trigger {
    display: inline-flex;
    align-items: center;
}

.dropdown-trigger::after {
    content: none !important;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: -20px;
    background-color: var(--bg-white);
    min-width: 240px;
    border-radius: 12px;
    padding: 12px 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
    z-index: 1001;
}

/* Bridging hover space between navbar links and dropdown menus */
.dropdown-menu::before,
.mega-menu::before {
    content: '';
    position: absolute;
    top: -24px;
    left: 0;
    width: 100%;
    height: 24px;
    background-color: transparent;
}

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

.dropdown-menu li a {
    display: flex;
    align-items: center;
    padding: 12px 24px;
    color: var(--text-black);
    font-size: 15px;
    font-weight: 500;
    text-shadow: none;
    white-space: nowrap;
}

.dropdown-menu li a:hover {
    background-color: var(--bg-gray);
    color: var(--primary-blue);
}

/* Mega Menu Styles (Square-like) */
.mega-dropdown {
    position: static !important;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-width: 760px;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px) scale(0.98);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1001;
}

.dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(4px) scale(1);
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.mega-menu-item {
    display: flex !important;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: 12px;
    background-color: transparent;
    transition: all 0.25s cubic-bezier(0.2, 0, 0, 1);
    color: var(--text-black) !important;
    text-shadow: none !important;
}

.mega-menu-item:hover {
    background-color: rgba(0, 209, 129, 0.06);
    transform: translateY(-2px);
}

.menu-item-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.03);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.mega-menu-item:hover .menu-item-icon {
    transform: scale(1.1);
    background-color: rgba(0, 209, 129, 0.1);
}

.menu-item-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.menu-item-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.menu-item-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-black);
    transition: color 0.2s ease;
}

.mega-menu-item:hover .menu-item-title {
    /* color: var(--primary-green); */
}

.menu-item-desc {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.4;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
    /* Reduced gap */
}

.nav-right .btn-primary {
    padding: 8px 18px;
    font-size: 14px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
}

/* Video Background Utility */
.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
    overflow: hidden;
}

#bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
}

/* Hero Section */
.hero {
    height: 100vh;
    /* Match video height */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--section-padding);
    color: white;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(1.85rem, 7vw, 4.5rem);
    line-height: 1.15;
    max-width: 900px;
    margin-bottom: 30px;
    font-weight: 500;
    letter-spacing: -0.02em;
}

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

/* Services Grid */
.services {
    padding: var(--section-padding);
    background-color: var(--bg-white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 500;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.service-card {
    padding: 32px;
    border-radius: 12px;
    background-color: var(--bg-gray);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
}

.card-image-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background-color: #ddd;
    border-radius: 8px;
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-gray);
    font-size: 16px;
}

/* Logo Marquee Overlay */
.marquee-section {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 60px 0 40px;
    z-index: 10;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
}

.marquee {
    display: flex;
    overflow: hidden;
}

.marquee-content {
    display: flex;
    gap: 60px;
    width: max-content;
    animation: scroll 30s linear infinite;
    align-items: center;
}

.marquee-content img {
    height: 70px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    filter: grayscale(1) brightness(2) opacity(0.9);
    transition: all 0.3s ease;
}

.marquee-content img:hover {
    filter: grayscale(0) brightness(1) opacity(1);
    transform: scale(1.1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-25%);
    }
}

/* Footer Section */
.footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    color: var(--text-gray);
    font-size: 14px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
        backdrop-filter: none;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1002;
    }

    .menu-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: white;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .menu-toggle.active span {
        background-color: var(--text-black);
    }

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

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

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

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

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

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        color: var(--text-black);
        font-size: 20px;
        font-weight: 600;
        text-shadow: none;
        display: block;
    }

    .dropdown-menu,
    .mega-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 10px 0 10px 20px;
        min-width: auto;
        display: none;
        background-color: transparent;
        border: none;
        backdrop-filter: none;
        max-width: 100%;
    }

    .dropdown.active .dropdown-menu,
    .dropdown.active .mega-menu {
        display: block;
    }

    .mega-menu-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .mega-menu-item {
        padding: 8px 4px;
        gap: 12px;
    }

    .menu-item-icon {
        width: 36px;
        height: 36px;
        border-radius: 6px;
    }

    .menu-item-icon img {
        width: 24px;
        height: 24px;
    }

    .menu-item-title {
        font-size: 15px;
        color: var(--text-black);
    }

    .menu-item-desc {
        font-size: 12px;
        color: var(--text-gray);
    }

    .dropdown-trigger::after {
        border-color: var(--text-black);
    }

    .dropdown.active .dropdown-trigger::after {
        transform: rotate(-135deg);
        margin-bottom: -3px;
    }

    .mobile-only {
        display: block;
        margin-top: 10px;
    }

    .nav-links .btn-primary {
        display: flex;
        width: 100%;
        justify-content: center;
        margin-top: 10px;
        color: white !important;
        text-shadow: none;
        background-color: var(--primary-blue);
    }

    .nav-right {
        gap: 12px;
    }

    .nav-right .nav-link,
    .nav-right .btn-primary {
        display: none;
    }
}

/* Desktop-only visibility rules */
@media (min-width: 769px) {
    .mobile-only {
        display: none !important;
    }
}

@media (max-width: 768px) {

    .hero-actions,
    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

/* Industries Section */
.industries {
    padding: 100px 0;
    background-color: #000;
    color: white;
    overflow: hidden;
}

.industries-header {
    text-align: left;
    margin-bottom: 80px;
    padding: 0 40px;
}

.tagline {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: #999;
    margin-bottom: 20px;
}

.industries-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 400;
}

.industries-grid {
    display: flex;
    gap: 16px;
    height: 700px;
    padding: 0 40px;
}

.industry-card {
    position: relative;
    flex: 0.5;
    min-width: 0;
    background-size: cover;
    background-position: center;
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
    transition: flex 0.6s cubic-bezier(0.2, 0, 0.2, 1);
}

.industry-card:hover,
.industry-card.active {
    flex: 2;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 30%, rgba(0, 0, 0, 0.9));
    transition: opacity 0.5s ease;
}

.card-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 12px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    transition: padding 0.6s ease;
}

.industry-card:hover .card-content,
.industry-card.active .card-content {
    padding: 40px;
}

.industry-name {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 20px;
    transition: all 0.6s cubic-bezier(0.2, 0, 0.2, 1);
    white-space: nowrap;
    writing-mode: vertical-rl;
    opacity: 0.8;
}

.industry-card:hover .industry-name,
.industry-card.active .industry-name {
    font-size: 4rem;
    writing-mode: horizontal-tb;
    margin-bottom: 10px;
    opacity: 1;
}


.expanded-info {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.2, 0, 0.2, 1) 0.2s;
    margin-top: auto;
}

.industry-card:hover .expanded-info,
.industry-card.active .expanded-info {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.5);
    width: 100%;
    margin-bottom: 30px;
}

.stat-number {
    display: block;
    font-size: 4rem;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1;
}

.stat-text {
    display: block;
    font-size: 16px;
    color: #bbb;
    max-width: 400px;
    line-height: 1.5;
}

.learn-more {
    display: inline-block;
    font-size: 16px;
    font-weight: 500;
    text-decoration: underline;
    margin-top: 20px;
    align-self: flex-end;
    color: #fff;
}

/* Responsive Industries */
@media (max-width: 1024px) {
    .industries-grid {
        padding: 0 20px;
    }

    .industry-name {
        font-size: 2.2rem;
    }

    .industry-card:hover .industry-name,
    .industry-card.active .industry-name {
        font-size: 2.2rem;
    }

    .industry-card:hover .card-content,
    .industry-card.active .card-content {
        padding: 24px;
    }

    .stat-number {
        font-size: 2.5rem;
        margin-bottom: 8px;
    }

    .stat-text {
        font-size: 14px;
    }

    .divider {
        margin-bottom: 15px;
    }
}

@media (max-width: 768px) {
    .industries-grid {
        flex-direction: column;
        height: auto;
        padding: 0 20px;
        gap: 20px;
    }

    .industry-card {
        height: 320px;
        flex: none !important;
        border-radius: 8px;
    }

    .card-content {
        padding: 24px !important;
    }

    .expanded-info {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .industry-name {
        margin-top: 0;
        font-size: 1.8rem;
        writing-mode: horizontal-tb;
        transform: rotate(0deg);
        opacity: 1;
        margin-bottom: 8px;
    }

    .stat-number {
        font-size: 2.2rem;
        margin-bottom: 6px;
    }

    .stat-text {
        font-size: 13.5px;
        max-width: 100%;
    }

    .divider {
        margin-bottom: 12px;
    }

    .learn-more {
        margin-top: 12px;
    }
}

/* Main Footer */
.main-footer {
    background-color: #000;
    color: #fff;
    padding: 100px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-column h4 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
    color: #fff;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
    font-size: 14px;
    color: #999;
}

.footer-column ul li a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #fff;
}

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

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .main-footer {
        padding: 60px 20px;
    }
}

/* AI Section - Dual Grid */
.ai-section {
    padding: 50px 40px;
    background: #000;
    color: #fff;
}

.ai-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 100%;
    margin: 0 auto;
}

.ai-card {
    position: relative;
    height: 450px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    background-color: #111;
}

.ai-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
    z-index: 1;
}

.ai-card-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    padding: 60px 40px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ai-tagline {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.ai-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 400;
}

.ai-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 30px;
}

.ai-learn-more {
    font-size: 16px;
    font-weight: 500;
    text-decoration: underline;
    color: #fff;
    transition: opacity 0.3s ease;
}

.ai-learn-more:hover {
    opacity: 0.7;
}

.ai-card img.bg-image,
.ai-card video.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform 0.8s cubic-bezier(0.2, 0, 0.2, 1);
}

.ai-card:hover img.bg-image,
.ai-card:hover video.bg-image {
    transform: scale(1.05);
}

@media (max-width: 1024px) {
    .ai-grid {
        gap: 20px;
    }

    .ai-card {
        height: 400px;
    }

    .ai-card-content {
        width: 95%;
        padding: 30px 24px;
    }

    .ai-title {
        font-size: 1.65rem;
        margin-bottom: 10px;
    }

    .ai-tagline {
        margin-bottom: 8px;
    }

    .ai-description {
        font-size: 14px;
        margin-bottom: 18px;
        line-height: 1.5;
    }
}

@media (max-width: 768px) {
    .ai-section {
        padding: 60px 20px;
    }

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

    .ai-card {
        height: 380px;
    }

    .ai-card-overlay {
        background: linear-gradient(to right, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 70%, rgba(0, 0, 0, 0.3) 100%);
    }

    .ai-card-content {
        width: 100%;
        padding: 30px 20px;
    }

    .ai-title {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }

    .ai-tagline {
        margin-bottom: 6px;
    }

    .ai-description {
        font-size: 13.5px;
        margin-bottom: 16px;
        line-height: 1.45;
    }
}

/* Sub Footer */
.sub-footer {
    background-color: #000;
    color: #fff;
    padding: 0 40px 40px;
}

.sub-footer-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    width: 100%;
    margin-bottom: 30px;
}

.sub-footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.sub-footer-row:last-child {
    margin-bottom: 0;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
}

.language-selector:hover {
    color: #fff;
}

.social-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.social-links a {
    color: #fff;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    opacity: 1;
}

.copyright-text {
    font-size: 13px;
    color: #666;
}

.privacy-notice {
    font-size: 13px;
    color: #fff;
    font-weight: 500;
}

.privacy-notice:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .sub-footer-row {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .sub-footer-row:last-child {
        flex-direction: column-reverse;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Pricing Section Styling */
.pricing-section {
    padding: 100px 0;
    background-color: #000;
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 24px;
}

.pricing-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 500;
    margin-bottom: 16px;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.pricing-subtitle {
    font-size: 16px;
    color: #aaa;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 106, 255, 0.4);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 106, 255, 0.1);
}

.pricing-card.featured {
    border-color: var(--primary-green);
    background: rgba(0, 209, 129, 0.01);
}

.pricing-card.featured:hover {
    border-color: #00bf75;
    background: rgba(0, 209, 129, 0.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 209, 129, 0.1);
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--primary-green);
    color: #000;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 100px;
    letter-spacing: 0.05em;
}

.card-header {
    margin-bottom: 24px;
}

.plan-tag {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #999;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.plan-name {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #fff;
}

.plan-desc {
    font-size: 14px;
    color: #888;
    line-height: 1.5;
}

.card-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 32px;
}

.card-price .currency {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-green);
}

.card-price .amount {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.card-price .period {
    font-size: 14px;
    color: #777;
}

.card-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
    flex-grow: 1;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #ccc;
    line-height: 1.4;
}

.feature-item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.feature-item .icon-check {
    color: var(--primary-green);
}

.feature-item .icon-cross {
    color: #555;
}

.feature-item.disabled {
    color: #555;
    text-decoration: line-through;
}

.card-action {
    margin-top: auto;
}

.btn-outline-pricing {
    width: 100%;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-weight: 500;
    text-align: center;
}

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

.btn-primary-pricing {
    width: 100%;
    background-color: var(--primary-green);
    color: #000;
    font-weight: 600;
    text-align: center;
}

.btn-primary-pricing:hover {
    background-color: #00bf75;
}

/* Pricing Responsiveness */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .pricing-section {
        padding: 60px 0;
    }
}

/* Disable clicks on unlinked/placeholder footer links */
.main-footer a[href="#"],
.main-footer a:not([href]) {
    pointer-events: none !important;
    cursor: default !important;
    opacity: 0.5;
}

/* About Us & Contact Us Subpage Styles */
.page-hero {
    position: relative;
    padding: 160px 24px 80px 24px;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.page-hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.page-hero .hero-title {
    font-family: var(--font-serif);
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    text-align: center;
}

.page-hero .hero-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

/* About Grid Layout */
.about-section {
    padding: var(--section-padding);
    background-color: transparent;
    color: #ffffff;
}

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

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image img {
    max-height: 400px;
    width: auto;
    object-fit: contain;
}

.about-content h2 {
    font-family: var(--font-serif);
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #ffffff;
}

.about-content p {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
}

/* Setup Process Layout */
.process-section {
    padding: var(--section-padding);
    background-color: rgba(3, 15, 27, 0.45);
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.process-section h2 {
    font-family: var(--font-serif);
    font-size: 36px;
    text-align: center;
    margin-bottom: 48px;
    color: #ffffff;
}

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

.process-card {
    background: #051625;
    /* Dark navy card background */
    padding: 32px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.process-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.15);
}

.process-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    background: rgba(0, 209, 129, 0.1);
    /* Green transparency tint */
    color: var(--primary-green);
}

.process-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
}

.process-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

/* Contact Grid Layout */
.contact-section {
    padding: var(--section-padding);
    background: #000000;
    color: #ffffff;
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 24px;
}

.contact-header .tagline {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-green);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 12px;
}

.contact-title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    font-weight: 500;
    margin-bottom: 16px;
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: #ffffff;
}

.contact-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

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

.contact-info-card {
    background: #111111;
    color: white;
    padding: 40px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 380px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-info-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 209, 129, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 209, 129, 0.03);
}

.contact-info-card::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
}

.contact-info-block {
    margin-bottom: 30px;
}

.contact-info-block h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.contact-info-block p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.contact-form-card {
    background: #111111;
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-form-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 106, 255, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 106, 255, 0.03);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-family: var(--font-sans);
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #ffffff;
    width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--primary-green);
    box-shadow: 0 0 15px rgba(0, 209, 129, 0.2);
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

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

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

@media (max-width: 768px) {
    .page-hero {
        padding: 120px 24px 60px 24px;
    }

    .page-hero .hero-title {
        font-size: 36px;
    }

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

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

    .form-group.full-width {
        grid-column: auto;
    }

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

    .contact-info-card {
        padding: 24px;
        min-height: auto;
    }
}

/* Subpage Sticky Footer Wrapper */
.subpage-wrapper {
    position: relative;
    min-height: 100vh;
    padding-top: 100px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    background: url('../assets/images/login/background.jpg'), linear-gradient(to bottom, rgba(5, 22, 37, 0.92) 0%, rgba(3, 15, 27, 0.95) 100%) no-repeat center center fixed;
    background-size: cover;
}

/* Adobe Style Footer for Website Subpages */
.adobe-login-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 16px 24px;
    box-sizing: border-box;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 11px;
    color: rgba(255, 255, 255, 0.45);
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 10;
    background: rgba(5, 22, 37, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.adobe-footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: flex-end;
}

.adobe-footer-content span {
    color: rgba(255, 255, 255, 0.45);
    font-size: 11px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* --- Redesigned Elements for About Us & Contact Us --- */

/* Taglines */
.section-tagline {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--primary-green);
    text-transform: uppercase;
    margin-bottom: 12px;
    display: block;
}

/* Stats Section */
.stats-section {
    padding: 80px 24px;
    background-color: #030f1b;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: var(--container-width);
    margin: 0 auto;
}

.stats-card {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-4px);
}

.stats-number {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    font-weight: 600;
    color: var(--primary-green);
    line-height: 1;
    text-shadow: 0 0 30px rgba(0, 209, 129, 0.15);
}

.stats-label {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #ffffff;
    text-transform: uppercase;
}

.stats-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    max-width: 280px;
    line-height: 1.5;
}

/* Glassmorphic Contact Details & Forms */
.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 32px;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: transform 0.3s ease;
}

.contact-detail-item:hover {
    transform: translateX(4px);
}

.contact-detail-item iconify-icon {
    font-size: 24px;
    color: var(--primary-green);
    background: rgba(0, 209, 129, 0.12);
    padding: 12px;
    border-radius: 12px;
    flex-shrink: 0;
    border: 1px solid rgba(0, 209, 129, 0.15);
}

.contact-detail-text h4 {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}

.contact-detail-text p {
    font-size: 16px;
    color: #ffffff;
    line-height: 1.5;
}

/* Responsive adjustment for stats and forms */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .stats-card {
        padding: 10px;
    }
}

/* Responsive overrides for footer alignment */
@media (max-width: 900px) {
    .adobe-login-footer {
        justify-content: center !important;
    }

    .adobe-footer-content {
        justify-content: center !important;
        text-align: center !important;
    }
}