/* ===== CSS Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
  /* Brand Greens – kräftig & kühl wie im Logo */
  --primary-color: #0fc947;   /* satters Emerald (hell) */
  --primary-dark:  #009A63;   /* mittleres Smaragd */
  --primary-light: #26F0A2;   /* leuchtendes Highlight */

  --secondary-color: #000000;

  /* Dark Theme */
  --text-dark: #FFFFFF;
  --text-light: #FFFFFF;
  --text-gray: #D1D5DB;

  --bg-light: #0A0A0A;
  --bg-white: #141414;  /* etwas dunkler als 1A1A1A => mehr Kontrast */
  --bg-dark:  #000000;

  --border-color: #2A2A2A;

  /* Glows/Schlagschatten auf Logo-Grün abgestimmt */
  --shadow-sm: 0 2px 8px rgba(0, 211, 137, 0.20);
  --shadow-md: 0 6px 22px rgba(0, 211, 137, 0.28);
  --shadow-lg: 0 12px 48px rgba(0, 211, 137, 0.35);

  --transition: all 1.5s ease;

  /* Metallic/Neon-Gradient passend zum Logo-Verlauf */
  --metallic-gradient: linear-gradient(
    135deg,
    #00D389 0%,
    #00B06D 25%,
    #26F0A2 50%,
    #00A565 75%,
    #00D389 100%
  );
}


html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 0 20px rgba(46, 204, 113, 0.3);
    border-bottom: 2px solid transparent;
    background-image: linear-gradient(rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.95)),
                      var(--metallic-gradient);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.98);
    box-shadow: 0 0 30px rgba(46, 204, 113, 0.5);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 20px;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
}

.logo a {
    text-decoration: none;
    color: var(--text-light);
    display: flex;
    align-items: center;
}

.logo-image {
    height: 80px;
    width: auto;
    transition: var(--transition);
    filter: drop-shadow(0 0 10px rgba(46, 204, 113, 0.6));
}

.logo-image:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px rgba(46, 204, 113, 0.9));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--metallic-gradient);
    transition: var(--transition);
    box-shadow: 0 0 10px rgba(46, 204, 113, 0.8);
}

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

.nav-link:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(46, 204, 113, 0.8);
}

/* ===== Dropdown Menu ===== */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.dropdown-toggle .arrow {
    font-size: 0.7rem;
    transition: var(--transition);
}

.dropdown:hover .arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(15px);
    min-width: 250px;
    list-style: none;
    padding: 0.5rem 0;
    margin-top: 1rem;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(46, 204, 113, 0.4);
    border: 2px solid rgba(46, 204, 113, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

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

.dropdown-item {
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: var(--metallic-gradient);
    transition: var(--transition);
    z-index: -1;
}

.dropdown-item:hover::before {
    width: 100%;
}

.dropdown-item:hover {
    color: var(--bg-dark);
    padding-left: 2rem;
    text-shadow: none;
}

.login-btn {
    background: var(--metallic-gradient);
    background-size: 200% 200%;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    color: var(--bg-dark) !important;
    font-weight: 600;
    animation: shimmer 3s ease infinite;
}

@keyframes shimmer {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.login-btn::after {
    display: none;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 25px rgba(46, 204, 113, 0.7), 
                0 0 30px rgba(46, 204, 113, 0.5);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--metallic-gradient);
    transition: var(--transition);
    box-shadow: 0 0 10px rgba(46, 204, 113, 0.6);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ===== Hero Section with Matrix Effect ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #020202;
    overflow: hidden;
}

.matrix-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 30%, rgba(7, 243, 3, 0.849) 0%, transparent 60%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--text-light);
    max-width: 800px;
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-logo-container {
    margin-bottom: 2rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.hero-logo {
    width: 200px;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(46, 204, 113, 0.8));
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 0 20px rgba(1, 240, 100, 0.6);
}

.highlight {
    background: var(--metallic-gradient);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: shimmer 3s ease infinite, glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(46, 204, 113, 0.6));
    }
    50% {
        filter: drop-shadow(0 0 30px rgba(46, 204, 113, 0.9));
    }
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--metallic-gradient);
    background-size: 200% 200%;
    color: var(--bg-dark);
    animation: shimmer 3s ease infinite;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(46, 204, 113, 0.6), 
                0 0 50px rgba(46, 204, 113, 0.4),
                inset 0 0 20px rgba(255, 255, 255, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid;
    border-image: var(--metallic-gradient) 1;
    box-shadow: 0 0 20px rgba(46, 204, 113, 0.3);
}

.btn-secondary:hover {
    background: var(--metallic-gradient);
    color: var(--bg-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(46, 204, 113, 0.6);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 3;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    position: relative;
    box-shadow: 0 0 20px rgba(46, 204, 113, 0.5);
}

.mouse::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--metallic-gradient);
    border-radius: 2px;
    animation: scroll 1.5s infinite;
    box-shadow: 0 0 10px rgba(46, 204, 113, 0.8);
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

/* ===== Section Styles ===== */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
    text-shadow: 0 0 20px rgba(46, 204, 113, 0.3);
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 3rem;
}

/* ===== Services Section ===== */
.services {
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background-color: var(--bg-white);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease-out forwards;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--metallic-gradient);
    border-radius: 15px;
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 50px rgba(46, 204, 113, 0.4),
                0 0 40px rgba(46, 204, 113, 0.3);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--metallic-gradient);
    background-size: 200% 200%;
    border-radius: 50%;
    color: var(--bg-dark);
    transition: var(--transition);
    animation: shimmer 3s ease infinite;
    box-shadow: 0 0 30px rgba(46, 204, 113, 0.6);
}

.service-card:hover .service-icon {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 0 50px rgba(46, 204, 113, 0.9);
}

.service-icon svg {
    width: 40px;
    height: 40px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.service-details-btn {
    background: var(--metallic-gradient);
    background-size: 200% 200%;
    color: var(--bg-dark);
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    animation: shimmer 3s ease infinite;
    box-shadow: 0 0 20px rgba(46, 204, 113, 0.4);
}

.service-details-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(46, 204, 113, 0.7);
}

/* ===== Service Modal ===== */
.service-modal-content {
  box-sizing: border-box;
  max-width: min(90vw, 700px);
  max-height: 80vh;

  /* Scrollen */
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-gutter: stable both-edges; /* reserviert Platz für die Scrollbar */

  /* Abstand, damit nichts „unter“ der Scrollbar liegt */
  padding: 24px;
  padding-inline-end: 28px; /* extra rechts */

  /* Text bricht statt rauszuragen */
  overflow-wrap: anywhere; /* moderne Variante */
  word-break: break-word;  /* Fallback */

  background-color: var(--bg-white);
  border: 2px solid;
  border-image: var(--metallic-gradient) 1;
  box-shadow: 0 0 60px rgba(46, 204, 113, 0.5);
  border-radius: 12px;
}



.service-modal-body {
    padding: 2rem;
}

.service-modal-body h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    background: var(--metallic-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-modal-body h3 {
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
    color: var(--primary-color);
}

.service-modal-body p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.service-modal-body ul {
    list-style: none;
    margin: 1.5rem 0;
}

.service-modal-body ul li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-gray);
}

.service-modal-body ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* ===== About Section ===== */
.about {
    background-color: var(--bg-dark);
}

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

.about-text h2 {
    text-align: left;
    margin-bottom: 1rem;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    background: var(--metallic-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-gray);
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-icon {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(46, 204, 113, 0.8);
}

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

.image-placeholder {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    background: var(--metallic-gradient);
    background-size: 200% 200%;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 60px rgba(46, 204, 113, 0.5);
    animation: shimmer 3s ease infinite, pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 10px 60px rgba(46, 204, 113, 0.5);
    }
    50% {
        box-shadow: 0 10px 80px rgba(46, 204, 113, 0.8);
    }
}

.image-placeholder svg {
    width: 150px;
    height: 150px;
    color: var(--bg-dark);
}

/* ===== Testimonials Section ===== */
.testimonials {
    background-color: var(--bg-light);
    position: relative;
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    min-height: 300px;
}

.testimonial-card {
    background-color: var(--bg-white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.5s ease;
    pointer-events: none;
    border: 2px solid transparent;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    position: relative;
    border-image: var(--metallic-gradient) 1;
    box-shadow: 0 10px 40px rgba(46, 204, 113, 0.3);
}

.testimonial-content {
    margin-bottom: 2rem;
}

.testimonial-content p {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-gray);
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: var(--metallic-gradient);
    background-size: 200% 200%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-dark);
    font-size: 1.5rem;
    font-weight: bold;
    animation: shimmer 3s ease infinite;
    box-shadow: 0 0 20px rgba(46, 204, 113, 0.6);
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
    color: var(--text-dark);
}

.author-info p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid;
    border-image: var(--metallic-gradient) 1;
    background-color: transparent;
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 0 20px rgba(46, 204, 113, 0.3);
}

.slider-btn:hover {
    background: var(--metallic-gradient);
    color: var(--bg-dark);
    transform: scale(1.1);
    box-shadow: 0 0 40px rgba(46, 204, 113, 0.7);
}

/* ===== News Section ===== */
.news {
    background-color: var(--bg-dark);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.news-card {
    background-color: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(46, 204, 113, 0.4);
    border-image: var(--metallic-gradient) 1;
}

.news-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-image .image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--metallic-gradient);
    background-size: 200% 200%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    animation: shimmer 3s ease infinite;
}

.news-card:hover .news-image .image-placeholder {
    transform: scale(1.1);
}

.news-image svg {
    width: 80px;
    height: 80px;
    color: var(--bg-dark);
}

.news-content {
    padding: 1.5rem;
}

.news-date {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(46, 204, 113, 0.5);
}

.news-card h3 {
    font-size: 1.3rem;
    margin: 0.5rem 0 1rem;
    color: var(--text-dark);
}

.news-card p {
    color: var(--text-gray);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.read-more:hover {
    text-shadow: 0 0 10px rgba(46, 204, 113, 0.8);
}

/* ===== Newsletter Section ===== */
.newsletter {
    background: var(--metallic-gradient);
    background-size: 200% 200%;
    color: var(--bg-dark);
    padding: 4rem 0;
    animation: shimmer 5s ease infinite;
    box-shadow: 0 0 60px rgba(46, 204, 113, 0.5);
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.newsletter p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form input {
    flex: 1;
    min-width: 250px;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.9);
}

.newsletter-form button {
    background-color: var(--bg-dark);
    color: var(--text-light);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.newsletter-form button:hover {
    background-color: #1A1A1A;
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
}

/* ===== Contact Section ===== */
.contact {
    background-color: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background-color: var(--bg-white);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(46, 204, 113, 0.4);
}

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

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--metallic-gradient);
    background-size: 200% 200%;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    animation: shimmer 3s ease infinite;
    box-shadow: 0 0 20px rgba(46, 204, 113, 0.5);
}

.info-icon svg {
    width: 24px;
    height: 24px;
    color: var(--bg-dark);
}

.info-item h4 {
    margin-bottom: 0.3rem;
    color: var(--text-dark);
}

.info-item p {
    color: var(--text-gray);
}

/* ===== Footer ===== */
.footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 3rem 0 1rem;
    border-top: 2px solid;
    border-image: var(--metallic-gradient) 1;
    box-shadow: 0 -5px 30px rgba(46, 204, 113, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    width: 150px;
    height: auto;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(46, 204, 113, 0.5));
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    background: var(--metallic-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-section p {
    color: var(--text-gray);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-gray);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(46, 204, 113, 0.6);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-white);
    border-radius: 50%;
    transition: var(--transition);
    border: 2px solid transparent;
}

.social-links a:hover {
    background: var(--metallic-gradient);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(46, 204, 113, 0.6);
}

.social-links svg {
    width: 20px;
    height: 20px;
    color: var(--text-dark);
}

.social-links a:hover svg {
    color: var(--bg-dark);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-gray);
}

/* ===== Login Modal ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

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

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--bg-white);
    padding: 3rem;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: slideUp 0.3s ease;
    box-shadow: 0 10px 60px rgba(46, 204, 113, 0.5);
    border: 2px solid;
    border-image: var(--metallic-gradient) 1;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    color: var(--text-gray);
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(46, 204, 113, 0.8);
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.modal-header p {
    color: var(--text-gray);
}

.auth-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.auth-tab {
    flex: 1;
    padding: 0.8rem;
    border: none;
    background-color: var(--bg-light);
    color: var(--text-gray);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 10px;
    transition: var(--transition);
}

.auth-tab.active {
    background: var(--metallic-gradient);
    background-size: 200% 200%;
    color: var(--bg-dark);
    animation: shimmer 3s ease infinite;
    box-shadow: 0 0 20px rgba(46, 204, 113, 0.5);
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.auth-form label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.auth-form input {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: normal;
    color: var(--text-gray);
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.forgot-password {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.forgot-password:hover {
    text-shadow: 0 0 10px rgba(46, 204, 113, 0.8);
}

.btn-full {
    width: 100%;
}

/* ===== AOS Animations ===== */
[data-aos] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        gap: 1.5rem;
        box-shadow: 0 10px 40px rgba(46, 204, 113, 0.3);
    }

    .nav-menu.active {
        left: 0;
    }

    .dropdown-menu {
        position: static;
        margin-top: 0.5rem;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

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

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-logo {
        width: 150px;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .modal-content {
        padding: 2rem 1.5rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .testimonial-card {
        padding: 2rem 1.5rem;
    }
}

/* ===== Utility Classes ===== */
.fade-in {
    animation: fadeInUp 0.8s ease-out;
}

.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Legal Popup (iframe modal) ===== */
.legal-modal {
  width: 90%;
  max-width: 900px;
  height: 80vh;
  background-color: #0d0d0d;
  border-radius: 12px;
  border: 2px solid;
  border-image: var(--metallic-gradient) 1;
  box-shadow: 0 0 40px rgba(46, 204, 113, 0.4);
  overflow: hidden;
  position: relative;
  padding: 0;
}

.legal-modal iframe {
  width: 100%;
  height: 100%;
  border: none;
  background-color: #111;
}

