/* 
    Ahmet Sevban Studio - Premium Design Service Website
    Global Styles & Reset 
*/

:root {
    --bg-color: #ffffff;
    /* White background */
    --text-primary: #103059;
    /* Navy Blue text */
    --text-secondary: #555555;
    /* Dark gray for secondary text */
    --accent: #8cdd71;
    /* Lime Green */
    --accent-secondary: #4c9ff8;
    /* Sky Blue */
    --accent-hover: #76c05d;
    --border-color: #eeeeee;
    --nav-height: 100px;
    --section-min-height: 80vh;
    --font-primary: 'Outfit', sans-serif;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-primary);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-color);
    color: var(--text-primary);
}

body {
    background-color: var(--bg-color);
    color: var(--text-secondary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

.container {
    width: 80%;
    /* Updated to 80% per user request */
    max-width: 1400px;
    /* Increased max-width for larger screens */
    margin: 0 auto;
}

/* 
    Typography & Text Utilities 
*/

h1,
h2,
h3,
h4 {
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.2;
}

.section-Title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-Title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--accent);
    border-radius: 2px;
}

.eyebrow {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-secondary);
    margin-bottom: 1rem;
    display: block;
    font-weight: 600;
}

p {
    margin-bottom: 1.5rem;
}

/* 
    Buttons 
*/

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: all var(--transition-speed) ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--bg-color);
    border-color: var(--accent);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent);
}

.btn-outline {
    background-color: transparent;
    color: var(--accent-secondary);
    border-color: var(--accent-secondary);
}

.btn-outline:hover {
    background-color: var(--accent-secondary);
    color: #ffffff;
}

.btn-text {
    background: none;
    color: var(--text-secondary);
    border: none;
    padding-left: 0;
}

.btn-text:hover {
    color: var(--accent);
    transform: translateX(5px);
}

/* 
    Header & Navigation 
*/

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    /* For layout calculation */
    z-index: 1000;
    background-color: #ffffff;
    /* Always white */
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    /* Always shadowed */
    transition: padding var(--transition-speed) ease;
    display: flex;
    align-items: center;
}

.header.scrolled {
    padding: 10px 0;
    /* Only animate padding on scroll */
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
}

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

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

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent);
    transition: width var(--transition-speed) ease;
}

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

.nav-links a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    padding: 0;
    z-index: 1100;
    /* Above overlay */
}

.hamburger span {
    width: 100%;
    height: 3px;
    background-color: var(--text-primary);
    transition: all var(--transition-speed) ease;
}

/* 
    Mobile Menu Overlay 
*/

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-color);
    /* Now white */
    z-index: 1050;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-speed) ease;
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav-links li {
    margin: 2rem 0;
    text-align: center;
}

.mobile-nav-links a {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    /* Now Navy Blue */
}

.close-menu {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    font-size: 3rem;
    color: var(--text-primary);
    /* Now Navy Blue */
    cursor: pointer;
}

/* 
    Main Content & Sections 
*/

.section {
    min-height: var(--section-min-height);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px 0;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.section.bg-alt {
    background-color: #f8f9fa;
    /* Very Light Gray */
}

.center-content {
    text-align: center;
    max-width: 800px;
    /* Constrain width for readability */
}

/* 
    Hero Slider Section 
*/

.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: var(--bg-color);
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    /* Placeholder background color if image fails */
    background-color: #103059;
    filter: blur(3px);
    /* Add slight blur */
    transform: scale(1.05);
    /* Scale slightly to hide blurred edges */
}

/* Dark Overlay Gradient */
.slide-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Darker cinematic overlay */
    background: linear-gradient(to right, rgba(16, 48, 89, 0.8), rgba(0, 0, 0, 0.6));
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    /* Left align */
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    padding-top: var(--nav-height);
    /* Clear navbar */
}

/* Text Animations */
.slide-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #ffffff;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.3s;
}

.slide-content p {
    font-size: 1.25rem;
    max-width: 600px;
    margin-bottom: 2.5rem;
    color: #e0e0e0;
    /* Light gray for readability on dark overlay */
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.5s;
}

.slide-content .slide-actions {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.7s;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.slide.active .slide-content h1,
.slide.active .slide-content p,
.slide.active .slide-content .slide-actions {
    opacity: 1;
    transform: translateY(0);
}

/* Heartbeat Animation Button */
.btn-pulse {
    animation: heartbeat 2s infinite;
    background: rgba(140, 221, 113, 0.1) !important;
    border-color: var(--accent) !important;
    color: #ffffff !important;
}

.btn-pulse:hover {
    background: var(--accent) !important;
    color: var(--text-primary) !important;
    animation: none;
    /* Pause pulse on hover */
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(140, 221, 113, 0.4);
    }

    15% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(140, 221, 113, 0);
    }

    30% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(140, 221, 113, 0);
    }

    45% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(140, 221, 113, 0);
    }

    60% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(140, 221, 113, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(140, 221, 113, 0);
    }
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    top: 50%;
    right: 40px;
    bottom: auto;
    /* Reset bottom */
    left: auto;
    /* Reset left */
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    /* Vertical stack */
    gap: 15px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.7);
}

.dot.active {
    background-color: var(--accent);
    transform: scale(1.2);
}

/* Responsive adjustments for slider */
@media (max-width: 768px) {
    .slide-content h1 {
        font-size: 2.5rem;
    }

    .slide-content p {
        font-size: 1rem;
    }
}

/* 
    Footer 
*/

.footer {
    padding: 80px 0 40px;
    background-color: #103059;
    /* Navy Blue background for footer */
    color: #ffffff;
    /* Explicit white text for footer */
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand .footer-logo {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.footer-brand .footer-logo span {
    color: var(--accent);
}

.footer-brand .footer-logo,
.footer-desc {
    color: #ffffff;
}

.footer-desc {
    font-size: 0.9rem;
    max-width: 300px;
}

.footer h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-nav ul li,
.footer-social ul li {
    margin-bottom: 0.8rem;
}

.footer-nav a,
.footer-social a {
    color: #e0e0e0;
}

.footer-nav a:hover,
.footer-social a:hover {
    color: var(--accent);
    padding-left: 5px;
    /* Subtle shift */
}

.social-icons {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    color: #aaaaaa;
}

/* 
    Responsive Design 
*/

@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* Hide standard nav */
    }

    .hamburger {
        display: flex;
        /* Show hamburger */
    }

    .header-actions .btn {
        display: none;
        /* Hide CTA on small mobile to serve space, use menu instead */
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .section-Title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-brand .footer-logo,
    .footer-desc {
        margin-left: auto;
        margin-right: auto;
    }
}

/* 
    Services Marquee Slider 
*/

.services-marquee {
    position: relative;
    width: 90%;
    /* Boxed width */
    max-width: 1200px;
    margin: -45px auto 40px auto;
    /* Negative top margin to overlap Hero, bottom margin for spacing */
    height: 90px;
    background-color: #ffffff;
    /* White background */
    overflow: hidden;
    display: flex;
    align-items: center;
    border-radius: 12px;
    /* Rounded corners */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    /* Soft shadow */
    z-index: 10;
    /* Above hero and next section */
}

.marquee-track {
    display: flex;
    gap: 3rem;
    width: max-content;
    animation: scrollMarquee 30s linear infinite;
    padding: 0 1.5rem;
}

.service-item {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    /* Navy Blue text */
    display: flex;
    align-items: center;
    gap: 1rem;
    white-space: nowrap;
    opacity: 1;
    /* Full opacity */
    transition: all 0.3s ease;
    cursor: default;
    text-transform: uppercase;
}

.service-item i {
    color: var(--accent);
    /* Lime Green Icon */
    font-size: 1.2rem;
}

.service-item:hover {
    color: var(--accent-secondary);
    /* Sky Blue hover */
}

.service-item::after {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    background-color: #ddd;
    /* Light gray separator circle */
    border-radius: 50%;
    margin-left: 3rem;
}

.service-item:last-child::after {
    display: none;
}

/* Updated Container Width as per user request */
.container {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

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

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

/* 
    About Us Section 
    */

.about-section {
    padding: 100px 0;
    position: relative;
    background-color: #ffffff;
    /* White background */
    color: var(--text-primary);
    /* Navy Blue text */
    overflow: hidden;
}

/* Subtle gradient line divider */
.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.about-container {
    width: 80%;
    /* Updated to 80% */
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    /* Text wider than image */
    gap: 5rem;
    align-items: center;
}

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    /* Navy Blue */
    line-height: 1.2;
}

.about-text p {
    color: var(--text-secondary);
    /* Dark Gray */
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1.05rem;
}

.about-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    /* Darker border for light bg */
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--accent);
    /* Lime Green */
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat span {
    color: var(--text-secondary);
    /* Dark Gray */
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.about-visual {
    position: relative;
}

/* Image Placeholder Box with Border & Glow */
.about-img-placeholder {
    width: 100%;
    height: 500px;
    background-color: #f8f9fa;
    /* Light gray placeholder */
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Soft shadow */
}

/* Optional: Actual image styling if used later */
/* Adjusted for Logo Display */
.about-img-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Ensure logo is not cropped */
    padding: 60px;
    /* Add spacing around the logo */
    opacity: 1;
    /* Always visible */
    transition: transform 0.5s ease;
}

.about-img-placeholder:hover img {
    transform: scale(1.05);
    /* Slight zoom on hover */
}

/* Decorative element */
.about-visual::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--accent);
    /* Lime Green border */
    z-index: -1;
    border-radius: 12px;
    opacity: 0.3;
}

@media (max-width: 900px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-text {
        text-align: center;
    }

    .about-stats {
        justify-content: center;
        flex-wrap: wrap;
    }

    .about-img-placeholder {
        height: 350px;
    }
}

/* 
    Interactive Services & Tools Section 
*/

.interactive-section {
    padding: 100px 0;
    /* Animated Gradient Background */
    background: linear-gradient(-45deg, #103059, #0a1f3d, #1a4a8a, #0d2545);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    color: #ffffff;
    position: relative;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.interactive-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1.5rem;
}

.interactive-header h2 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.interactive-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
}

/* Filter Buttons */
.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--accent);
    /* Lime Green */
    color: var(--text-primary);
    /* Navy Blue text */
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(140, 221, 113, 0.4);
}

/* Content Area */
.content-area {
    min-height: 400px;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Services Grid (Single Column Stack) */
.services-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    /* Remove gap for seamless list look */
    max-width: 900px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    /* Top border for the list */
}

.service-card {
    background: transparent;
    /* Remove card bg */
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    /* Separator line */
    border-radius: 0;
    padding: 25px 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    position: relative;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.05);
    /* Subtle hover bg */
    padding-left: 20px;
    /* Slide effect */
    border-color: rgba(255, 255, 255, 0.1);
    /* Keep border color consistent */
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex: 1 0 auto;
    /* Default to full width mobile */
}

.service-header h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin: 0;
    font-weight: 500;
}

.toggle-icon {
    color: var(--accent);
    transition: transform 0.3s ease;
    display: none;
    /* Hide icon for split layout if desired, or keep */
}

.service-body {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    width: 100%;
    /* Default full width */
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

.service-card.open .service-body {
    max-height: 200px;
    opacity: 1;
    margin-top: 15px;
}

.service-body p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

@media (min-width: 768px) {
    .toggle-icon {
        display: none;
        /* Ensure hidden on desktop */
    }

    .service-card {
        flex-wrap: nowrap;
        /* Side by side */
        align-items: flex-start;
        /* Align top */
    }

    .service-header {
        flex: 0 0 40%;
        /* Title takes 40% width */
        width: auto;
    }

    .service-body {
        flex: 0 0 60%;
        /* Description takes 60% */
        width: auto;
        padding-left: 2rem;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        /* Separator between title and desc */
        margin-top: 0 !important;
        /* Reset margin */
        padding-top: 5px;
        /* Slight alignment adjust */
    }

    /* Logic change: In split view, description should probably show on hover or click.
       If we keep "accordion" logic, click to show.
    */
}

/* Tools Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 20px;
}

.tool-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px 10px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.tool-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-secondary);
    /* Sky Blue border */
    box-shadow: 0 5px 15px rgba(76, 159, 248, 0.2);
}



.tool-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    margin-bottom: 10px;
    filter: grayscale(80%);
    /* Subtle grayscale */
    transition: filter 0.3s ease, transform 0.3s ease;
}

.tool-card:hover .tool-img {
    filter: grayscale(0%);
    /* Full color on hover */
    transform: scale(1.1);
}

/* Specific Colors for brands on hover if desired, or keep uniform */

.tool-name {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

@media (max-width: 600px) {
    .interactive-header h2 {
        font-size: 2rem;
    }

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

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

/* 
    Why Choose Us Section 
*/
.why-us-section {
    padding: 100px 0;
    background-color: #f8f9fa;
    /* Light clean background */
    background-image: linear-gradient(rgba(248, 249, 250, 0.85), rgba(248, 249, 250, 0.85)), url('img/rising-graph-bg.png');
    background-size: cover;
    background-position: center bottom;
    background-attachment: fixed;
    text-align: center;
    position: relative;
}

.why-header {
    max-width: 800px;
    margin: 0 auto 4rem auto;
    padding: 0 1.5rem;
}

.why-header h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    /* Navy Blue */
    margin-bottom: 1rem;
}

.why-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.why-item {
    background: rgba(255, 255, 255, 0.9);
    /* Semi-transparent */
    backdrop-filter: blur(10px);
    /* Glass effect */
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    position: relative;
    overflow: hidden;
    border-top: 3px solid transparent;
}

.why-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-top-color: var(--accent);
    /* Lime Green Top Border on Hover*/
}

.icon-circle {
    width: 60px;
    height: 60px;
    background-color: rgba(16, 48, 89, 0.05);
    /* Light Navy tint */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-size: 1.5rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.why-item:hover .icon-circle {
    background-color: var(--text-primary);
    color: var(--accent);
}

.why-item h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.why-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .why-header h2 {
        font-size: 2rem;
    }
}

/* 
    Portfolio Section 
*/
.portfolio-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.portfolio-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.portfolio-header h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.portfolio-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.portfolio-item {
    position: relative;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.portfolio-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(16, 48, 89, 0.9) 0%, rgba(16, 48, 89, 0.2) 100%);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.overlay-content {
    transform: translateY(20px);
    transition: transform 0.4s ease;
    width: 100%;
}

.portfolio-item:hover .overlay-content {
    transform: translateY(0);
}

.portfolio-category {
    display: block;
    color: var(--accent);
    /* Lime Green */
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-weight: 600;
}

.overlay-content h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.view-project-btn {
    display: inline-block;
    padding: 10px 25px;
    background: transparent;
    border: 1px solid #ffffff;
    color: #ffffff;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-project-btn:hover {
    background: var(--accent);
    color: var(--text-primary);
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(140, 221, 113, 0.5);
}

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

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

    .portfolio-item {
        height: 350px;
    }
}

/* 
    Process Section (Horizontal)
*/
.process-section {
    padding: 120px 0;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.process-header {
    text-align: center;
    margin-bottom: 5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.process-header h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.process-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.process-timeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 1.5rem;
    position: relative;
}

/* Horizontal Line */
.process-timeline::before {
    content: '';
    position: absolute;
    top: 65px;
    /* Center with number */
    left: 40px;
    right: 40px;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--accent), var(--text-primary), transparent);
    opacity: 0.3;
    z-index: 1;
}

.process-step {
    flex: 1;
    position: relative;
    text-align: center;
    padding: 0 15px;
    z-index: 2;
}

/* Step Numbers (Circles) */
.step-number {
    width: 50px;
    height: 50px;
    background: #ffffff;
    border: 3px solid var(--accent);
    color: var(--text-primary);
    border-radius: 50%;
    margin: 0 auto 30px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 0 20px rgba(140, 221, 113, 0.3);
    transition: all 0.3s ease;
    position: relative;
    z-index: 3;
}

.process-step:hover .step-number {
    background: var(--accent);
    color: var(--text-primary);
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(140, 221, 113, 0.6);
}

.step-content {
    background: #ffffff;
    padding: 25px 20px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.process-step:hover .step-content {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.step-content h3 {
    color: var(--text-primary);
    margin-bottom: 12px;
    font-size: 1.15rem;
    font-weight: 600;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Horizontal Timeline Responsive */
@media (max-width: 991px) {
    .process-timeline {
        flex-wrap: wrap;
        gap: 30px;
    }

    .process-step {
        flex: 0 0 calc(50% - 15px);
    }

    .process-timeline::before {
        display: none;
        /* Line doesn't work well on grid flow */
    }
}

@media (max-width: 600px) {
    .process-step {
        flex: 0 0 100%;
    }
}

/* 
    FAQ Section 
*/
.faq-section {
    padding: 100px 0;
    background: linear-gradient(-45deg, #103059, #1a4a8a, #0d2545, #163d71);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    position: relative;
    color: #ffffff;
}

.faq-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-header h2 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.faq-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

.faq-list {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.faq-item {
    margin-bottom: 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    align-self: start;
}

.faq-item:hover {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.08);
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
    color: var(--accent);
}

.faq-item.active {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
}

.faq-item.active .faq-question {
    color: var(--accent);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 25px 25px 25px;
}

.faq-answer p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 991px) {
    .faq-list {
        grid-template-columns: 1fr;
    }
}

/* 
    Newsletter Section 
*/
.newsletter-section {
    padding: 140px 0;
    background-color: #fcfcfc;
    position: relative;
    z-index: 1;
}

.newsletter-card {
    max-width: 1000px;
    margin: 0 auto;
    padding: 80px 60px;
    background: linear-gradient(135deg, #103059 0%, #071930 100%);
    border-radius: 40px;
    /* Softer corners */
    text-align: center;
    color: #ffffff;
    box-shadow: 0 40px 80px rgba(16, 48, 89, 0.15);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.newsletter-card::after {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(140, 221, 113, 0.1) 0%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
}

.newsletter-card h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.newsletter-card p {
    font-size: 1.2rem;
    opacity: 0.7;
    margin-bottom: 3.5rem;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    max-width: 550px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.newsletter-form:focus-within {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent);
}

.newsletter-form input {
    flex: 1;
    padding: 15px 30px;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1rem;
    outline: none;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.newsletter-form button {
    padding: 15px 40px;
    border-radius: 40px;
    background: var(--accent);
    color: var(--text-primary);
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(140, 221, 113, 0.2);
}

.newsletter-form button:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 30px rgba(140, 221, 113, 0.4);
}

/* 
    Floating Contact Button (FAB)
*/
.fab-container {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 9999;
}

.fab-main {
    width: 60px;
    height: 60px;
    background: var(--text-primary);
    color: #ffffff;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 10px 30px rgba(16, 48, 89, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 10;
}

.fab-label {
    position: absolute;
    right: 75px;
    background: var(--text-primary);
    color: #ffffff;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.fab-main:hover .fab-label {
    opacity: 1;
    transform: translateX(0);
}

.fab-container.active .fab-main {
    transform: rotate(135deg);
    background: #ff4757;
    /* Change color when open */
}

.fab-options {
    position: absolute;
    bottom: 75px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    pointer-events: none;
}

.fab-container.active .fab-options {
    pointer-events: auto;
}

.fab-opt {
    width: 50px;
    height: 50px;
    background: #ffffff;
    color: var(--text-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.fab-opt span {
    position: absolute;
    right: 65px;
    background: #ffffff;
    color: var(--text-primary);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 650;
    white-space: nowrap;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.fab-opt:hover span {
    opacity: 1;
    transform: translateX(0);
}

.fab-opt:hover {
    background: var(--accent);
    color: var(--text-primary);
}

.fab-container.active .fab-opt {
    opacity: 1;
    transform: translateY(0);
}

/* Delay for stack effect */
.fab-container.active .fab-opt:nth-child(1) {
    transition-delay: 0.05s;
}

.fab-container.active .fab-opt:nth-child(2) {
    transition-delay: 0.1s;
}

.fab-container.active .fab-opt:nth-child(3) {
    transition-delay: 0.15s;
}

@media (max-width: 768px) {
    .newsletter-card {
        padding: 50px 30px;
    }

    .newsletter-card h2 {
        font-size: 2rem;
    }

    .newsletter-form {
        flex-direction: column;
        background: transparent;
        border: none;
        padding: 0;
    }

    .newsletter-form input {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 30px;
        margin-bottom: 10px;
    }

    .fab-container {
        bottom: 25px;
        right: 25px;
    }
}

/* 
    Contact Page Styles (Modern & Premium)
*/
.contact-page-wrapper {
    min-height: 100vh;
    padding: 120px 0 80px;
    background: linear-gradient(-45deg, #103059, #0d1e33, #163d71, #081221);
    background-size: 200% 200%;
    animation: gradientBG 20s ease infinite;
    color: #ffffff;
    display: flex;
    flex-direction: column;
}

.contact-hero-content {
    text-align: center;
    margin-bottom: 60px;
}

.contact-hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -2px;
    color: #ffffff;
}

.contact-hero-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

.contact-grid-premium {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    gap: 40px;
    align-items: stretch;
}

/* Info Cards Styling */
.contact-info-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.premium-info-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.premium-info-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px) translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(140, 221, 113, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent);
    transition: all 0.3s ease;
}

.premium-info-card:hover .card-icon {
    background: var(--accent);
    color: var(--text-primary);
    transform: rotate(10deg) scale(1.1);
}

.card-text h4 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
}

.card-text p {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Modern Glass Form */
.premium-contact-form {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    padding: 50px;
    position: relative;
    overflow: hidden;
}

.premium-contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--accent), transparent);
}

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

.floating-input-group {
    position: relative;
    margin-bottom: 30px;
}

.glass-input {
    width: 100%;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #ffffff;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.glass-input:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(140, 221, 113, 0.1);
}

.glass-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.premium-contact-form label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.submit-btn-premium {
    width: 100%;
    padding: 20px;
    border-radius: 15px;
    background: var(--accent);
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn-premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(140, 221, 113, 0.3);
    background: #9dee7f;
}

@media (max-width: 991px) {
    .contact-grid-premium {
        grid-template-columns: 1fr;
    }

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

    .contact-hero-content h1 {
        font-size: 3rem;
    }
}

/* 
    Digital HUB Button & Page 
*/
.btn-tools {
    background: #ffffff;
    color: #103059 !important;
    font-weight: 800 !important;
    border: 2px solid var(--accent);
    position: relative;
    padding: 6px 12px !important;
    /* Slightly more compact */
    border-radius: 50px !important;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: toolsPulse 3s ease-in-out infinite;
    /* Slower, smoother pulse */
    box-shadow: 0 4px 15px rgba(140, 221, 113, 0.15);
    margin-right: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-tools i,
.btn-tools img {
    height: 18px;
    width: auto;
    object-fit: contain;
}

.btn-tools:hover {
    background: var(--accent);
    color: #103059 !important;
    box-shadow: 0 8px 25px rgba(140, 221, 113, 0.4);
    transform: translateY(-2px);
}

.btn-tools:hover i {
    color: #103059;
}

@keyframes toolsPulse {
    0% {
        border-color: var(--accent);
    }

    50% {
        border-color: #ffffff;
    }

    100% {
        border-color: var(--accent);
    }
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Dashboard & HUB HUB HUB */
.dashboard-container {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 30px;
    margin-top: 40px;
    color: #ffffff;
}

@media (max-width: 992px) {
    .dashboard-container {
        grid-template-columns: 1fr;
    }
}

.dashboard-sidebar {
    background: rgba(13, 30, 51, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    padding: 35px;
    height: fit-content;
    position: sticky;
    top: 120px;
}

.dashboard-main {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Tabs */
.hub-tabs {
    display: flex;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px;
    border-radius: 20px;
    margin-bottom: 20px;
    width: fit-content;
}

.hub-tab-btn {
    padding: 12px 25px;
    border-radius: 12px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.hub-tab-btn.active {
    background: var(--accent);
    color: #103059;
}

.hub-tab-content {
    display: none;
}

.hub-tab-content.active {
    display: block;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.metric-card-hub {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 25px;
    transition: all 0.3s ease;
}

.metric-card-hub:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--accent);
}

.metric-card-hub h4 {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
}

.metric-card-hub .metric-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
}

.metric-card-hub .metric-sub {
    font-size: 0.8rem;
    color: var(--accent);
    margin-top: 5px;
}

.chart-card-hub {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    padding: 40px;
    height: 400px;
    /* Constrain height to prevent stretching */
    position: relative;
    display: flex;
    flex-direction: column;
}

.chart-card-hub h3 {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

.chart-card-hub canvas {
    flex: 1;
    width: 100% !important;
    height: 100% !important;
}

/* Input Styles */
.hub-group {
    margin-bottom: 30px;
}

.hub-group label {
    display: block;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.hub-select,
.hub-input,
.hub-textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px 18px;
    color: #ffffff;
    font-family: inherit;
    outline: none;
    transition: all 0.3s ease;
}

.hub-select:focus,
.hub-input:focus,
.hub-textarea:focus {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 15px rgba(140, 221, 113, 0.2);
}

.hub-select option {
    background: #0d1e33;
    color: #ffffff;
}

/* Utils */
.text-accent {
    color: var(--accent);
}

.bg-glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
}

/* Modal System */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 18, 33, 0.9);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content-hub {
    background: #0d1e33;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 40px;
    width: 90%;
    max-width: 500px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .modal-content-hub {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.modal-close:hover {
    opacity: 1;
}

.modal-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #ffffff;
    font-weight: 700;
}

.modal-desc {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 30px;
    font-size: 0.95rem;
}