:root {
    /* Color Palette: Dark glossy base with subtle holographic accents */
    --color-graphite: #1a1a1e;
    --color-midnight: #0a0a10;
    --color-deep-navy: #000020;
    --color-teal-accent: #00e6e6; /* Bright teal */
    --color-rose-accent: #ff0099; /* Bright rose */

    --color-primary-bg: var(--color-midnight);
    --color-secondary-bg: var(--color-graphite);
    --color-text-light: #e0e0e0;
    --color-text-darker: #b0b0b0;
    --color-border-glow: rgba(0, 230, 230, 0.6); /* Teal glow */
    --color-button-hover-bg: linear-gradient(45deg, var(--color-teal-accent), var(--color-violet-accent));
    --color-button-hover-text: var(--color-primary-bg);
    --color-link-hover: var(--color-rose-accent);

    /* Typography */
    --font-heading: 'Exo 2', sans-serif;
    --font-body: 'Poppins', sans-serif;

    /* Spacing & Sizes */
    --container-max-width: 1200px;
    --section-padding: 6rem 0;
    --gap-base: 2rem;
    --border-radius-base: 8px;
    --transition-speed: 0.3s;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--color-text-light);
    background-color: var(--color-primary-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--color-text-light);
    text-decoration: none;
    transition: color var(--transition-speed) ease, text-shadow var(--transition-speed) ease;
}

a:hover {
    color: var(--color-link-hover);
    text-shadow: 0 0 8px var(--color-link-hover);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-text-light);
    line-height: 1.2;
    margin-bottom: 1rem;
    text-shadow: 0 0 5px var(--color-shadow-glow);
}

h1 { font-size: 3.5rem; font-weight: 700; }
h2 { font-size: 2.8rem; font-weight: 700; }
h3 { font-size: 1.8rem; font-weight: 600; }
p { font-size: 1.1rem; }

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--gap-base);
}

.section-padding {
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-darker);
    max-width: 800px;
    margin: 0 auto 3rem auto;
    text-align: center;
}

.section-title-visual {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text-light);
    text-align: center;
    margin-bottom: 1rem;
    text-shadow: 0 0 5px var(--color-shadow-glow);
}

/* Holographic Fusion Elements */
.gradient-border-box {
    position: relative;
    border-radius: var(--border-radius-base);
    padding: var(--gap-base);
    background-color: var(--color-secondary-bg);
    box-shadow: 0 0 15px var(--color-shadow-glow);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.gradient-border-box::before {
    content: '';
    position: absolute;
    inset: -2px; /* For a subtle border */
    border-radius: var(--border-radius-base);
    padding: 2px; /* Creates the border effect */
    background: linear-gradient(45deg, var(--color-teal-accent), var(--color-violet-accent), var(--color-rose-accent));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
    opacity: 1;.6;
    transition: opacity var(--transition-speed) ease;
}

.gradient-border-box:hover::before {
    opacity: 1;
    box-shadow: 0 0 20px rgba(0, 230, 230, 0.8);
}

/* Main Header */
.main-header {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--gap-base);
}

.brand-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-teal-accent);
    text-shadow: 0 0 10px var(--color-violet-accent);
    transition: color var(--transition-speed) ease, text-shadow var(--transition-speed) ease;
}

.brand-logo:hover {
    color: var(--color-rose-accent);
    text-shadow: 0 0 15px var(--color-rose-accent);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: var(--gap-base);
}

.nav-links a {
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    color: var(--color-text-darker);
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-violet-accent), var(--color-rose-accent));
    transition: width var(--transition-speed) ease, left var(--transition-speed) ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
    left: 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-teal-accent);
    text-shadow: 0 0 5px var(--color-teal-accent);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
}

.nav-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--color-text-light);
    border-radius: 2px;
    transition: all var(--transition-speed) ease;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: url('images/image_17.jpg') no-repeat center center/cover;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 32, 0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: var(--gap-base);
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px var(--color-violet-accent);
    background: linear-gradient(45deg, var(--color-teal-accent), var(--color-violet-accent), var(--color-rose-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.5rem;
    color: var(--color-text-darker);
    margin-bottom: 2.5rem;
}

.hero-cta-group {
    display: flex;
    justify-content: center;
    gap: var(--gap-base);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition-speed) ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--color-button-hover-bg);
    transition: left var(--transition-speed) ease;
    z-index: -1;
}

.cta-button:hover::before {
    left: 0;
}

.cta-button:hover {
    color: var(--color-button-hover-text);
    box-shadow: 0 0 20px var(--color-shadow-glow);
}

.cta-button {
    background: linear-gradient(45deg, var(--color-teal-accent), var(--color-violet-accent));
    color: var(--color-primary-bg);
    box-shadow: 0 0 15px rgba(0, 230, 230, 0.4);
}

.cta-button.secondary {
    background: transparent;
    color: var(--color-teal-accent);
    border-image: linear-gradient(45deg, var(--color-teal-accent), var(--color-violet-accent)) 1;
    border-width: 2px;
    border-style: solid;
    box-shadow: 0 0 10px rgba(153, 51, 255, 0.3);
}

.cta-button.secondary:hover {
    color: var(--color-primary-bg);
    background: var(--color-button-hover-bg);
    border-image: none;
    border: none;
}


/* Mission Section (STATS FOCUS) */
.mission-section h2, .mission-section .section-subtitle {
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap-base);
    margin-top: 4rem;
    text-align: center;
}

.stat-item {
    background-color: var(--color-secondary-bg);
    padding: var(--gap-base);
    border-radius: var(--border-radius-base);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 10px var(--color-shadow-glow);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.stat-item::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--border-radius-base);
    background: linear-gradient(45deg, rgba(0, 230, 230, 0.5), rgba(153, 51, 255, 0.5), rgba(255, 0, 153, 0.5));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
    opacity: 1;.3;
    transition: opacity var(--transition-speed) ease;
}

.stat-item:hover::before {
    opacity: 1;.8;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-teal-accent);
    display: block;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 15px var(--color-teal-accent);
}

.stat-description {
    font-size: 1.2rem;
    color: var(--color-text-darker);
}

/* Showcase Section (STATS SHOWCASE) */
.showcase-section .section-title-visual, .showcase-section .section-subtitle {
    text-align: center;
}

.stats-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap-base);
    margin-top: 4rem;
    text-align: center;
}

.stat-card {
    background-color: var(--color-secondary-bg);
    padding: var(--gap-base);
    border-radius: var(--border-radius-base);
    box-shadow: 0 0 12px var(--color-shadow-glow);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--border-radius-base);
    background: linear-gradient(135deg, rgba(153, 51, 255, 0.5), rgba(255, 0, 153, 0.5), rgba(0, 230, 230, 0.5));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
    opacity: 1;.3;
    transition: opacity var(--transition-speed) ease;
}

.stat-card:hover::before {
    opacity: 1;.8;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px var(--color-shadow-glow);
}

.showcase-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    color: var(--color-violet-accent);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px var(--color-violet-accent);
    display: block;
}

.showcase-label {
    font-size: 1.3rem;
    color: var(--color-text-darker);
}

/* Services Section (TABBED INTERFACE) */
.services-section h2, .services-section .section-subtitle {
    text-align: center;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-button {
    background-color: var(--color-secondary-bg);
    color: var(--color-text-darker);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.tab-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--color-teal-accent), var(--color-violet-accent));
    transition: left var(--transition-speed) ease;
    z-index: -1;
    opacity: 1;.3;
}

.tab-button:hover::before,
.tab-button.active::before {
    left: 0;
    opacity: 1;.8;
}

.tab-button:hover {
    color: var(--color-text-light);
    box-shadow: 0 0 15px var(--color-shadow-glow);
}

.tab-button.active {
    background: linear-gradient(45deg, var(--color-teal-accent), var(--color-violet-accent));
    color: var(--color-primary-bg);
    box-shadow: 0 0 20px rgba(0, 230, 230, 0.6);
    text-shadow: 0 0 5px var(--color-primary-bg);
    border-color: var(--color-teal-accent);
}

.tab-content-wrapper {
    background-color: var(--color-secondary-bg);
    padding: var(--gap-base) calc(var(--gap-base) * 1.5);
    border-radius: var(--border-radius-base);
    box-shadow: 0 0 15px var(--color-shadow-glow);
    position: relative;
}

.tab-content-wrapper::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: var(--border-radius-base);
    background: linear-gradient(45deg, var(--color-rose-accent), var(--color-violet-accent), var(--color-teal-accent));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
    opacity: 1;.6;
}


.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease-out;
}

.tab-pane.active {
    display: block;
}

.tab-pane h3 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--color-teal-accent);
    text-shadow: 0 0 10px rgba(0, 230, 230, 0.4);
}

.tab-pane p {
    margin-bottom: 1.5rem;
    color: var(--color-text-darker);
}

.tab-pane ul {
    list-style: none;
    padding: 0;
    margin-left: 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0.5rem 1.5rem;
}

.tab-pane ul li {
    position: relative;
    padding-left: 1.5rem;
    color: var(--color-text-light);
}

.tab-pane ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--color-rose-accent), var(--color-violet-accent));
    box-shadow: 0 0 8px var(--color-rose-accent);
}


/* Solutions Section (BENEFIT FOCUS) */
.solutions-section h2, .solutions-section .section-subtitle {
    text-align: center;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap-base);
    margin-top: 3rem;
}

.solution-card {
    background-color: var(--color-secondary-bg);
    padding: var(--gap-base);
    border-radius: var(--border-radius-base);
    box-shadow: 0 0 12px var(--color-shadow-glow);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

.solution-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--border-radius-base);
    background: linear-gradient(135deg, rgba(0, 230, 230, 0.5), rgba(153, 51, 255, 0.5));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
    opacity: 1;.3;
    transition: opacity var(--transition-speed) ease;
}

.solution-card:hover::before {
    opacity: 1;.8;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px var(--color-shadow-glow);
}

.solution-card h3 {
    font-size: 2rem;
    color: var(--color-rose-accent);
    text-shadow: 0 0 10px rgba(255, 0, 153, 0.4);
    margin-bottom: 1rem;
}

.solution-card p {
    color: var(--color-text-darker);
    margin-bottom: 1rem;
    flex-grow: 1;
}

.solution-card ul {
    list-style: none;
    padding: 0;
    margin-left: 1rem;
}

.solution-card ul li {
    position: relative;
    padding-left: 1.5rem;
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
}

.solution-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--color-teal-accent), var(--color-violet-accent));
    box-shadow: 0 0 8px var(--color-teal-accent);
}

/* Portfolio/Gallery Section (FILTERABLE GALLERY) */
.portfolio-section .section-title-visual, .portfolio-section .section-subtitle {
    text-align: center;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-button {
    background-color: var(--color-secondary-bg);
    color: var(--color-text-darker);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.filter-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--color-rose-accent), var(--color-violet-accent));
    transition: left var(--transition-speed) ease;
    z-index: -1;
    opacity: 1;.3;
}

.filter-button:hover::before,
.filter-button.active::before {
    left: 0;
    opacity: 1;.8;
}

.filter-button:hover {
    color: var(--color-text-light);
    box-shadow: 0 0 15px var(--color-shadow-glow);
}

.filter-button.active {
    background: linear-gradient(45deg, var(--color-rose-accent), var(--color-violet-accent));
    color: var(--color-primary-bg);
    box-shadow: 0 0 20px rgba(255, 0, 153, 0.6);
    text-shadow: 0 0 5px var(--color-primary-bg);
    border-color: var(--color-rose-accent);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--gap-base);
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-base);
    box-shadow: 0 0 10px var(--color-shadow-glow);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-speed) ease;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-item .hover-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0));
    padding: 1rem;
    transform: translateY(100%);
    transition: transform var(--transition-speed) ease;
    color: var(--color-text-light);
}

.portfolio-item:hover .hover-content {
    transform: translateY(0);
}

.portfolio-item .hover-content h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.4rem;
    color: var(--color-teal-accent);
    text-shadow: 0 0 8px rgba(0, 230, 230, 0.4);
}

.portfolio-item .hover-content p {
    font-size: 0.9rem;
    color: var(--color-text-darker);
}

/* Clients Section (SOCIAL PROOF) */
.clients-section h2, .clients-section .section-subtitle {
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap-base);
    margin-top: 3rem;
}

.testimonial-card {
    background-color: var(--color-secondary-bg);
    padding: var(--gap-base);
    border-radius: var(--border-radius-base);
    box-shadow: 0 0 12px var(--color-shadow-glow);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--border-radius-base);
    background: linear-gradient(135deg, rgba(255, 0, 153, 0.5), rgba(153, 51, 255, 0.5));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
    opacity: 1;.3;
    transition: opacity var(--transition-speed) ease;
}

.testimonial-card:hover::before {
    opacity: 1;.8;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px var(--color-shadow-glow);
}

.client-info {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.client-info img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
    border: 3px solid var(--color-teal-accent);
    box-shadow: 0 0 10px var(--color-teal-accent);
}

.client-details {
    text-align: left;
}

.client-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    color: var(--color-teal-accent);
    text-shadow: 0 0 5px rgba(0, 230, 230, 0.3);
}

.client-title {
    font-size: 0.9rem;
    color: var(--color-text-darker);
}

.testimonial-text {
    font-size: 1.1rem;
    color: var(--color-text-light);
    flex-grow: 1;
}

/* FAQ Section (TABBED INTERFACE) */
.faq-section .section-title-visual, .faq-section .section-subtitle {
    text-align: center;
}

.faq-item {
    background-color: var(--color-graphite);
    margin-bottom: 1rem;
    padding: 1.5rem;
    border-radius: var(--border-radius-base);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
}

.faq-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-violet-accent);
    text-shadow: 0 0 5px rgba(153, 51, 255, 0.3);
    margin-bottom: 0;
}

.faq-item h3::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--color-teal-accent);
    transition: transform var(--transition-speed) ease;
}

.faq-item.active h3::after {
    transform: rotate(45deg);
}

.faq-item p {
    margin-top: 1rem;
    color: var(--color-text-darker);
    display: none;
}

.faq-item.active p {
    display: block;
    animation: fadeIn 0.4s ease-out;
}

/* Gallery Section (SLIDESHOW) */
.gallery-section .section-title-visual, .gallery-section .section-subtitle {
    text-align: center;
}

.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: 3rem auto;
    border-radius: var(--border-radius-base);
    overflow: hidden;
    box-shadow: 0 0 20px var(--color-shadow-glow);
    background-color: var(--color-secondary-bg);
}

.slideshow-slide {
    display: none;
    position: relative;
}

.slideshow-slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.slide-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0));
    color: var(--color-text-light);
    padding: 1.5rem 2rem;
}

.slide-text h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.8rem;
    color: var(--color-rose-accent);
    text-shadow: 0 0 10px rgba(255, 0, 153, 0.4);
}

.slide-text p {
    font-size: 1.1rem;
    color: var(--color-text-darker);
}

/* Next & previous buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 1rem;
    margin-top: -22px;
    color: var(--color-text-light);
    font-weight: bold;
    font-size: 1.5rem;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    z-index: 10;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little more opacity */
.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
    color: var(--color-teal-accent);
    text-shadow: 0 0 10px var(--color-teal-accent);
}

/* The dots/bullets/indicators */
.slideshow-dots {
    text-align: center;
    margin-top: var(--gap-base);
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: inline-block;
    transition: background-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.dot.active, .dot:hover {
    background-color: var(--color-teal-accent);
    box-shadow: 0 0 10px var(--color-teal-accent);
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

/* Support Section (SOCIAL FOCUS - adapted to NO social media) */
.support-section .section-title-visual, .support-section .section-subtitle {
    text-align: center;
}

.support-text {
    font-size: 1.2rem;
    color: var(--color-text-darker);
    max-width: 800px;
    margin: 2rem auto 0 auto;
    text-align: center;
}

/* Main Footer */
.main-footer {
    background-color: var(--color-deep-navy);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(0, 230, 230, 0.2);
    box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.4);
}

.main-footer p {
    font-size: 0.9rem;
    color: var(--color-text-darker);
    margin-bottom: 1rem;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: var(--gap-base);
    flex-wrap: wrap;
}

.footer-nav a {
    font-size: 0.9rem;
    color: var(--color-text-darker);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-base);
    transition: all var(--transition-speed) ease;
}

.footer-nav a:hover {
    color: var(--color-teal-accent);
    background-color: rgba(0, 230, 230, 0.1);
    box-shadow: 0 0 8px rgba(0, 230, 230, 0.3);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 1; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 1024px) {
    h1 { font-size: 3.5rem; }
    h2 { font-size: 2.2rem; }
    h3 { font-size: 1.5rem; }
    .hero-content p { font-size: 1.3rem; }
    .section-title-visual { font-size: 2rem; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        position: absolute;
        top: 100%;
        left: 0;
        padding: 1rem 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links li {
        text-align: center;
        width: 100%;
    }
    .nav-links a {
        display: block;
        padding: 0.8rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    .nav-links a::after {
        display: none;
    }
    .nav-toggle {
        display: flex;
    }
    .hero-content h1 {
        font-size: 2.8rem;
    }
    .hero-content p {
        font-size: 1.1rem;
    }
    .hero-cta-group {
        flex-direction: column;
        gap: 1rem;
    }
    .cta-button {
        width: 80%;
        margin: 0 auto;
    }

    .stats-grid,
    .stats-showcase-grid,
    .solution-grid,
    .testimonials-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .stat-number { font-size: 3rem; }
    .showcase-number { font-size: 3.5rem; }

    .tab-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    .tab-button {
        width: 100%;
    }
    .tab-pane h3 { font-size: 1.8rem; }
    .tab-pane ul {
        grid-template-columns: 1fr;
    }

    .slideshow-slide img {
        height: 300px;
    }
    .slide-text {
        padding: 1rem 1.5rem;
    }
    .slide-text h3 {
        font-size: 1.4rem;
    }
    .slide-text p {
        font-size: 1rem;
    }

    .prev, .next {
        font-size: 1.2rem;
        padding: 0.8rem;
    }

    .footer-nav {
        flex-direction: column;
        gap: 0.5rem;
    }
    .footer-nav a {
        width: 100%;
        padding: 0.8rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.3rem; }
    .hero-content p { font-size: 1rem; }
    .section-subtitle { font-size: 1rem; }
    .section-title-visual { font-size: 1.8rem; }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        width: 90%;
    }
    .stat-number { font-size: 2.5rem; }
    .stat-description { font-size: 1rem; }
    .showcase-number { font-size: 3rem; }
    .showcase-label { font-size: 1.1rem; }
    .tab-button {
        font-size: 1rem;
        padding: 0.6rem 1.5rem;
    }
    .tab-pane h3 { font-size: 1.5rem; }
    .solution-card h3 { font-size: 1.5rem; }
    .client-name { font-size: 1.1rem; }
    .testimonial-text { font-size: 1rem; }
    .faq-item h3 { font-size: 1.1rem; }
    .slideshow-slide img {
        height: 250px;
    }
    .slide-text h3 {
        font-size: 1.2rem;
    }
    .slide-text p {
        font-size: 0.9rem;
    }
}
/* Visible state helpers */
+ .animate-fade-in-up.visible,
+ .animate-fade-in-left.visible,
+ .animate-fade-in-right.visible,
+ .animate-bounce-y.visible,
+ .section-scroll-animate.visible,
+ .text-animate-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Universal Icon Fixes for Buttons */
button svg, .carousel-next svg, .carousel-prev svg, .slider-next svg, .slider-prev svg,
.next svg, .prev svg, .tab-button svg, .tab-btn svg {
    display: inline-block;
    vertical-align: middle;
    pointer-events: none;
    width: 1em;
    height: 1em;
    fill: currentColor;
}

button i, .carousel-next i, .carousel-prev i, .slider-next i, .slider-prev i,
.next i, .prev i, .tab-button i, .tab-btn i {
    display: inline-block;
    vertical-align: middle;
    pointer-events: none;
    font-style: normal;
}

button .icon, .carousel-next .icon, .carousel-prev .icon,
.slider-next .icon, .slider-prev .icon, .tab-button .icon {
    display: inline-block;
    vertical-align: middle;
    pointer-events: none;
}

/* Ensure carousel buttons are clickable even with icons */
.carousel-next, .carousel-prev, .slider-next, .slider-prev,
.next, .prev, .next-btn, .prev-btn {
    cursor: pointer;
    position: relative;
}

.carousel-next *, .carousel-prev *, .slider-next *, .slider-prev *,
.next *, .prev *, .next-btn *, .prev-btn * {
    pointer-events: none;
}

/* Tab button icon fixes */
.tab-button, .tab-btn, .tab {
    cursor: pointer;
    position: relative;
}

.tab-button *, .tab-btn *, .tab * {
    pointer-events: none;
}

/* Ensure icons don't block clicks */
button > svg, button > i, button > .icon,
.carousel-next > svg, .carousel-prev > svg,
.tab-button > svg, .tab-button > i {
    pointer-events: none !important;
}

/* Safe visibility overrides (auto-added) */
:root, html, body, main, header, footer, section, .container, .content {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Accessibility focus outlines */
:focus{outline:2px solid #5ac8fa;outline-offset:2px;}
:focus:not(:focus-visible){outline:none;}
