/* =========================================================================
   A.C.E.S - Premium Electrical Business Template
   ========================================================================= */

:root {
    /* Color Palette */
    --bg-dark: #060B1E;
    --bg-card: #0E1630;
    --border: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.15);

    --accent: #F5B800;
    /* Rich Golden Amber */
    --accent-glow: rgba(245, 184, 0, 0.3);

    --text-main: #FFFFFF;
    --text-muted: #8A8F98;

    /* Typography */
    --font-heading: 'Clash Display', sans-serif;
    --font-body: 'Satoshi', sans-serif;

    /* Variables */
    --container: 1400px;
    --transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    line-height: 1.6;
    cursor: none;
    /* Custom cursor */
}

/* Typography Utils */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.1;
}

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

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

.w-full {
    width: 100%;
}

/* =========================================================================
   Custom Cursor & Preloader
   ========================================================================= */
.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 6px;
    height: 6px;
    background: var(--text-main);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background 0.3s;
}

.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-light);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease-out, width 0.3s, height 0.3s, border-color 0.3s, background 0.3s;
}

.cursor-hover .cursor-dot {
    background: var(--accent);
}

.cursor-hover .cursor-ring {
    width: 70px;
    height: 70px;
    border-color: var(--accent);
    background: rgba(245, 184, 0, 0.05);
}

.preloader {
    position: fixed;
    inset: 0;
    background: var(--bg-dark);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.loader-content i {
    font-size: 3rem;
    color: var(--accent);
    animation: pulse 2s infinite ease-in-out;
}

.progress-bar {
    width: 200px;
    height: 2px;
    background: var(--border);
    position: relative;
    overflow: hidden;
}

.progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--accent);
    width: 0%;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
        filter: drop-shadow(0 0 0 transparent);
    }

    50% {
        opacity: 1;
        filter: drop-shadow(0 0 15px var(--accent-glow));
    }
}

/* =========================================================================
   Buttons
   ========================================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 100px;
    font-family: var(--font-body);
    font-weight: 500;
    text-decoration: none;
    font-size: 1rem;
    transition: all var(--transition);
    cursor: none;
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover {
    background: #fff;
    border-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-light);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    border-color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
}

/* =========================================================================
   Navbar
   ========================================================================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 24px 0;
    z-index: 1000;
    transition: all 0.5s var(--transition);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(5, 5, 5, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 16px 0;
    border-bottom-color: var(--border);
}

.nav-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 4vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-main);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.logo i {
    font-size: 1.8rem;
}

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

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.95rem;
    position: relative;
    font-weight: 500;
    transition: color 0.3s;
}

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

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

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

/* =========================================================================
   Hero
   ========================================================================= */
.hero {
    position: relative;
    min-height: auto;
    display: flex;
    align-items: center;
    padding-top: 140px;
    padding-bottom: 60px;
    background: var(--bg-dark);
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    width: 100%;
}

.hero-visual {
    width: 100%;
    height: 40vh;
    min-height: 300px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-light);
    transform: scale(0.9);
    opacity: 0;
}

.map-wrapper {
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    filter: invert(90%) hue-rotate(180deg) brightness(85%) contrast(110%);
}

@media (min-width: 992px) {
    .hero {
        min-height: 100vh;
        padding-top: 120px;
        padding-bottom: 80px;
    }

    .hero-split {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 4rem;
    }

    .hero-visual {
        height: 55vh;
        min-height: 400px;
        border-radius: 20px;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    backdrop-filter: blur(10px);
    margin-bottom: 2rem;
    font-size: 0.9rem;
    opacity: 0;
}

.hero-badge .stars {
    color: var(--accent);
    display: flex;
    gap: 0.1rem;
}

.hero-title {
    font-size: clamp(2.3rem, 11vw, 7rem);
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
    word-break: break-word;
}

.hero-title .line {
    overflow: hidden;
    padding-bottom: 10px;
}

.hero-title .word {
    display: inline-block;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 3rem;
    line-height: 1.5;
    opacity: 0;
}

.hero-actions {
    opacity: 0;
}

.scroll-prompt {
    position: absolute;
    bottom: 40px;
    left: 4vw;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0;
    animation: fadeIn 1s 2s forwards;
}

.mouse-icon {
    width: 20px;
    height: 32px;
    border: 1px solid var(--text-muted);
    border-radius: 20px;
    position: relative;
}

.mouse-icon::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--text-muted);
    border-radius: 50%;
    animation: scrollMouse 1.5s infinite;
}

@keyframes scrollMouse {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 12px);
        opacity: 0;
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* =========================================================================
   Marquee
   ========================================================================= */
.marquee-strip {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 2.5rem 0;
    overflow: hidden;
    position: relative;
    display: flex;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
}

.marquee-content span {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--text-main);
}

.marquee-content i {
    font-size: 2rem;
}

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

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

/* =========================================================================
   Services (Interactive List)
   ========================================================================= */
.services {
    position: relative;
    padding: 150px 0;
    background: var(--bg-dark);
}

.services-images {
    position: absolute;
    top: 50%;
    right: 4vw;
    transform: translateY(-50%);
    width: 40vw;
    height: 80vh;
    border-radius: 24px;
    overflow: hidden;
    z-index: 0;
    display: none;
}

@media(min-width: 992px) {
    .services-images {
        display: block;
    }
}

.services-images .img-wrap {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s var(--transition), transform 1s var(--transition);
    transform: scale(1.05);
}

.services-images .img-wrap.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.services-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6) grayscale(20%);
}

.services-container {
    position: relative;
    z-index: 10;
}

.section-titling {
    margin-bottom: 80px;
    max-width: 500px;
}

.section-title {
    font-size: clamp(2.5rem, 4vw, 4rem);
    margin-bottom: 1.5rem;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.services-list {
    max-width: 50vw;
}

.service-item {
    padding: 40px 0;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    cursor: none;
    transition: all 0.4s;
    position: relative;
}

.service-item:last-child {
    border-bottom: 1px solid var(--border);
}

.service-meta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: var(--text-muted);
}

.service-num {
    font-family: var(--font-heading);
    font-size: 1.2rem;
}

.service-meta i {
    font-size: 2rem;
    transition: color 0.4s;
}

.service-info h3 {
    font-size: clamp(1.8rem, 2.5vw, 2.5rem);
    margin-bottom: 1rem;
    transition: color 0.4s;
}

.service-info p {
    color: var(--text-muted);
    max-width: 400px;
    transition: color 0.4s;
}

.service-arrow {
    margin-left: auto;
    font-size: 2rem;
    color: var(--border-light);
    transform: rotate(-45deg);
    transition: all 0.4s var(--transition);
}

.service-item:hover .service-meta i,
.service-item:hover .service-info h3 {
    color: var(--accent);
}

.service-item:hover .service-arrow {
    color: var(--accent);
    transform: rotate(0) translateX(10px);
}

@media(max-width: 991px) {
    .services-list {
        max-width: 100%;
    }

    .service-item {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .service-arrow {
        display: none;
    }
}

/* =========================================================================
   Stats
   ========================================================================= */
.stats {
    padding: 100px 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: left;
}

.stat-card.reveal-elem {
    border-left: 2px solid var(--accent);
    padding-left: 2rem;
}

.stat-card h3 {
    font-size: 4.5rem;
    color: var(--text-main);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-card span {
    color: var(--text-muted);
    font-size: 1.1rem;
    display: block;
}

/* =========================================================================
   Reviews
   ========================================================================= */
.reviews {
    padding: 150px 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.review-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    padding: 50px 40px;
    border-radius: 24px;
    position: relative;
    transition: all 0.5s;
}

.review-card:hover {
    background: var(--bg-card);
    border-color: var(--border-light);
    transform: translateY(-5px);
}

.quote-icon {
    font-size: 3rem;
    opacity: 0.2;
    position: absolute;
    top: 40px;
    right: 40px;
}

.review-text {
    font-size: 1.4rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    font-family: var(--font-heading);
}

.reviewer-info .stars {
    color: var(--accent);
    margin-bottom: 1rem;
    display: flex;
    gap: 0.2rem;
}

.reviewer-info h4 {
    font-size: 1.2rem;
}

.reviewer-info span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* =========================================================================
   Blog
   ========================================================================= */
.blog {
    padding: 150px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.5s;
}

.blog-card:hover {
    border-color: var(--border-light);
    transform: translateY(-10px);
}

.blog-img {
    height: 250px;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--transition);
}

.blog-card:hover .blog-img img {
    transform: scale(1.1);
}

.blog-content {
    padding: 30px;
}

.blog-date {
    display: block;
    color: var(--accent);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.blog-content p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.blog-link i {
    transition: transform 0.3s;
}

.blog-link:hover {
    color: var(--accent);
}

.blog-link:hover i {
    transform: translateX(5px);
}

/* =========================================================================
   FAQ / Knowledge Base
   ========================================================================= */
.faq {
    padding: 100px 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 860px;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.8rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    cursor: pointer;
    text-align: left;
    color: var(--text-main);
    font-family: var(--font-heading);
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    font-weight: 500;
    transition: color 0.3s;
}

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

.faq-icon {
    font-size: 1.4rem;
    color: var(--accent);
    flex-shrink: 0;
    transition: transform 0.4s var(--transition);
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
    padding-bottom: 1.8rem;
    max-width: 700px;
}

/* =========================================================================
   Contact
   ========================================================================= */
.contact {
    padding: 100px 0 150px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr 1.2fr;
        gap: 6rem;
    }
}

.contact-content h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 1.5rem;
}

.contact-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-decoration: none;
    color: var(--text-main);
}

.contact-item .icon {
    width: 64px;
    height: 64px;
    border: 1px solid var(--border-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--accent);
    transition: all 0.4s;
}

.contact-item:hover .icon {
    background: var(--accent);
    color: var(--bg-dark);
}

.contact-item span {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.contact-item strong {
    font-size: 1.2rem;
    font-weight: 500;
}

.contact-form-wrap {
    background: var(--bg-card);
    padding: 50px;
    border-radius: 32px;
    border: 1px solid var(--border);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.input-wrap {
    position: relative;
}

.input-wrap input,
.input-wrap textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-light);
    padding: 10px 0;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s;
    outline: none;
    resize: none;
}

.input-wrap label {
    position: absolute;
    top: 10px;
    left: 0;
    color: var(--text-muted);
    pointer-events: none;
    transition: all 0.3s ease;
}

.input-wrap input:focus,
.input-wrap textarea:focus {
    border-bottom-color: var(--accent);
}

.input-wrap input:focus~label,
.input-wrap textarea:focus~label,
.input-wrap input:not(:placeholder-shown)~label,
.input-wrap textarea:not(:placeholder-shown)~label {
    top: -20px;
    font-size: 0.8rem;
    color: var(--accent);
}

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

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

    .contact-form-wrap {
        padding: 30px;
    }
}

/* =========================================================================
   Footer
   ========================================================================= */
.footer {
    background: #000;
    padding: 80px 0 30px;
    border-top: 1px solid var(--border);
}

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

.footer-brand .logo {
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: var(--text-muted);
    max-width: 400px;
}

.footer h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer ul a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer ul a:hover {
    color: var(--accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

.legal-links a {
    color: var(--text-muted);
    text-decoration: none;
}

.legal-links a:hover {
    color: var(--text-main);
}

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

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .nav-links,
    .btn-outline {
        display: none;
    }

    .cursor-dot,
    .cursor-ring {
        display: none;
    }

    body {
        cursor: auto;
    }

    .btn,
    .service-item,
    a {
        cursor: pointer;
    }
}

/* =========================================================================
   Modal
   ========================================================================= */
.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--transition);
}

.modal.active {
    opacity: 1;
    pointer-events: all;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
}

.modal-container {
    position: relative;
    background: var(--bg-card);
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    border-radius: 32px;
    border: 1px solid var(--border);
    overflow-y: auto;
    transform: translateY(30px);
    transition: transform 0.6s var(--transition);
}

.modal.active .modal-container {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
}

.modal-close:hover {
    background: var(--accent);
    color: var(--bg-dark);
    border-color: var(--accent);
}

.modal-img {
    height: 500px;
    width: 100%;
    background: #060b1e;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-img img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.modal-content {
    padding: 40px;
}

.modal-date {
    display: block;
    color: var(--accent);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.modal-text {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .modal {
        padding: 1rem;
    }
    
    .modal-img {
        height: 250px;
    }
    
    .modal-content {
        padding: 25px;
    }
    
    .modal-content h2 {
        font-size: 1.8rem;
    }
}

/* =========================================================================
   Team Section
   ========================================================================= */
.team {
    padding: 150px 0;
    background: var(--bg-dark);
    border-top: 1px solid var(--border);
}

.team-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    align-items: center;
}

.team-img-wrap {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.team-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6, 11, 30, 0.4), transparent);
    pointer-events: none;
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s var(--transition);
}

.team-img-wrap:hover .team-img {
    transform: scale(1.05);
}

.team-info h3 {
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-family: var(--font-heading);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.team-info p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.team-badges {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.team-badges .badge {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 0.8rem 1.5rem;
    border-radius: 100px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-main);
    transition: all 0.3s;
}

.team-badges .badge i {
    color: var(--accent);
    font-size: 1.2rem;
}

.team-badges .badge:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
}

@media(max-width: 991px) {
    .team-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* =========================================================================
   Mobile Navigation Styling
   ========================================================================= */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
    padding: 0;
}

.nav-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

/* Morphing hamburger to X */
.nav-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: var(--accent);
}

.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: var(--accent);
}

/* Mobile Menu Panel */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: rgba(6, 11, 30, 0.95);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-left: 1px solid var(--border-light);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    transition: right 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
}

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

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-menu-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 500;
    transition: color 0.3s;
    letter-spacing: 1px;
}

.mobile-menu-links a:hover,
.mobile-menu-links a.active {
    color: var(--accent);
}

@media(max-width: 991px) {
    .nav-toggle {
        display: flex;
    }

    .navbar .nav-links,
    .navbar .btn-outline {
        display: none !important;
    }

    .hero {
        padding-top: 100px;
        padding-bottom: 20px;
    }

    .hero-content {
        display: contents;
    }

    .hero-badge {
        order: 1;
        justify-self: start;
    }

    .hero-title {
        order: 2;
        margin-bottom: 0.5rem;
    }

    .hero-visual {
        order: 3;
        height: 250px;
        min-height: auto;
        margin: 1rem 0;
    }

    .hero-subtitle {
        order: 4;
        margin-bottom: 1.5rem !important;
    }

    .hero-actions {
        order: 5;
        margin-bottom: 1.5rem;
    }
}