/* --- Global Styles & Variables --- */
    :root {
      --bg-dark: #121212;
      --bg-medium: #1e1e1e;
      --bg-light-accent: #2a2a2a;
      --text-light: #e0e0e0;
      --text-medium: #a0a0a0;
      --text-dark: #121212;
      --accent-primary: #00f5d4;
      --accent-primary-darker: #00c7a8;
      --accent-secondary: #ff00ff;
      --accent-tertiary: #fcec03;
      --font-heading: 'Poppins', sans-serif;
      --font-body: 'Roboto', sans-serif;
      --header-height: 70px;
      --logo-height: 40px;
      --footer-logo-height: 35px;
      --slide-transition-speed: 0.8s;
      --success-color: #2ecc71;
      --error-color: #e74c3c;
      --border-radius-small: 4px;
      --border-radius-medium: 8px;
      --box-shadow-light: 0 4px 15px rgba(0, 245, 212, 0.1);
      --box-shadow-dark: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

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

    html {
      scroll-behavior: smooth;
      font-size: 100%;
    }

    body {
      font-family: var(--font-body);
      background-color: var(--bg-dark);
      color: var(--text-light);
      line-height: 1.7;
      font-size: 1rem;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      background-image: linear-gradient(180deg, var(--bg-dark) 0%, #181818 100%);
    }
    body.no-scroll {
        overflow: hidden;
    }

    .container {
      width: 90%;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 15px;
    }

    h1, h2, h3, h4, h5, h6 {
      font-family: var(--font-heading);
      font-weight: 600;
      color: var(--text-light);
      margin-bottom: 1em;
      line-height: 1.3;
    }

    h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 700; }
    h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
    h3 { font-size: clamp(1.4rem, 3vw, 1.8rem); }
    h4 { font-size: clamp(1.1rem, 2.5vw, 1.3rem); }

    p {
      margin-bottom: 1.5em;
      color: var(--text-medium);
      max-width: 65ch;
    }
    .feature-item p, .service-content p, .portfolio-overlay p {
        max-width: none;
    }

    a {
      color: var(--accent-primary);
      text-decoration: none;
      transition: color 0.3s ease, opacity 0.3s ease;
    }

    a:hover {
      color: var(--text-light);
      opacity: 0.85;
    }

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

    /* --- Utility Classes --- */
    .visually-hidden {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    /* --- Header --- */
    .site-header {
      background-color: rgba(18, 18, 18, 0.8);
      backdrop-filter: blur(10px);
      padding: 0;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
      height: var(--header-height);
      display: flex;
      align-items: center;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      transition: background-color 0.3s ease, box-shadow 0.3s ease;
    }
    .site-header.scrolled {
        background-color: rgba(24, 24, 24, 0.9);
        box-shadow: var(--box-shadow-dark);
    }

    .site-header .container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
    }

    .logo-link {
        display: inline-block;
        line-height: 0;
        transition: opacity 0.3s ease;
    }
    .logo-link:hover {
        opacity: 0.9;
    }

    .logo-image {
      height: var(--logo-height);
      width: auto;
      vertical-align: middle;
    }

    .main-nav ul {
      list-style: none;
      display: flex;
    }

    .main-nav li {
      margin-left: clamp(15px, 3vw, 35px);
    }

    .main-nav a {
      color: var(--text-medium);
      font-weight: 500;
      font-family: var(--font-heading);
      padding: 8px 4px;
      position: relative;
      letter-spacing: 0.5px;
      transition: color 0.3s ease;
    }

    .main-nav a::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 2px;
      background-color: var(--accent-primary);
      transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    }

    .main-nav a:hover,
    .main-nav a.active {
      color: var(--text-light);
    }

    .main-nav a:hover::after,
    .main-nav a.active::after {
      width: 100%;
    }

    .menu-toggle {
      display: none;
      background: none;
      border: none;
      color: var(--text-light);
      font-size: 2rem;
      cursor: pointer;
      padding: 5px;
      line-height: 1;
    }


    /* --- Hero Slider Section (Home) --- */
    .hero-slider {
      position: relative;
      min-height: 100vh;
      display: flex;
      padding-top: var(--header-height);
      overflow: hidden;
      background-color: var(--bg-dark);
    }

    .slider-container {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
    }

    .slide {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-size: cover;
      background-position: center center;
      opacity: 0;
      visibility: hidden;
      transition: opacity var(--slide-transition-speed) ease-in-out, visibility 0s var(--slide-transition-speed);
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      transform: scale(1.1);
      transition: opacity var(--slide-transition-speed) ease-in-out,
                  visibility 0s var(--slide-transition-speed),
                  transform 8s ease-out;
    }

    .slide.active {
      opacity: 1;
      visibility: visible;
      transform: scale(1);
      transition: opacity var(--slide-transition-speed) ease-in-out,
                  visibility 0s 0s,
                  transform 8s ease-out;
      z-index: 1;
    }

    .hero-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(to bottom, rgba(18, 18, 18, 0.5), rgba(18, 18, 18, 0.8));
      z-index: 2;
    }

    .hero-content {
      position: relative;
      z-index: 3;
      padding-top: var(--header-height);
      max-width: 800px;
    }

    .slide .hero-title {
      font-size: clamp(2.8rem, 6vw, 4.5rem);
      font-weight: 700;
      margin-bottom: 0.5em;
      line-height: 1.2;
      color: #fff;
      text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
      opacity: 1;
      transform: translateY(0);
    }

    .slide .hero-subtitle {
      font-size: clamp(1.1rem, 2.5vw, 1.4rem);
      color: var(--text-light);
      margin-bottom: 2em;
      font-weight: 300;
      opacity: 1;
      transform: translateY(0);
    }

    .slide .cta-button {
       opacity: 1;
       transform: translateY(0);
    }

    .slide .hero-title,
    .slide .hero-subtitle,
    .slide .cta-button {
        transition: opacity 0.6s ease-out 0.3s, transform 0.6s ease-out 0.3s;
        opacity: 0;
        transform: translateY(20px);
    }
    .slide.active .hero-title,
    .slide.active .hero-subtitle,
    .slide.active .cta-button {
        opacity: 1;
        transform: translateY(0);
    }
    .slide.active .hero-subtitle { transition-delay: 0.5s; }
    .slide.active .cta-button { transition-delay: 0.7s; }


    .slider-nav {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background-color: rgba(0, 0, 0, 0.2);
      color: rgba(255, 255, 255, 0.7);
      border: 1px solid rgba(255, 255, 255, 0.1);
      padding: 12px 15px;
      font-size: 1.8rem;
      cursor: pointer;
      z-index: 5;
      transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
      border-radius: 50%;
      line-height: 1;
      display: none;
    }
    .slider-nav:hover {
      background-color: rgba(0, 0, 0, 0.5);
      color: #fff;
      border-color: rgba(255, 255, 255, 0.3);
    }
    .slider-nav.prev { left: 30px; }
    .slider-nav.next { right: 30px; }

    .slider-dots {
      position: absolute;
      bottom: 40px;
      left: 50%;
      transform: translateX(-50%);
      display: none;
      gap: 12px;
      z-index: 5;
    }
    .dot {
      width: 10px;
      height: 10px;
      background-color: rgba(255, 255, 255, 0.3);
      border-radius: 50%;
      cursor: pointer;
      transition: background-color 0.3s ease, transform 0.3s ease;
      border: 1px solid transparent;
    }
    .dot:hover {
      background-color: rgba(255, 255, 255, 0.6);
      transform: scale(1.1);
    }
    .dot.active {
      background-color: var(--accent-primary);
      transform: scale(1.2);
      border: 1px solid rgba(0,0,0,0.2);
    }

    .scroll-down-link {
        position: absolute;
        bottom: 40px;
        left: 50%;
        transform: translateX(-50%);
        color: rgba(255, 255, 255, 0.7);
        font-size: 1.8rem;
        z-index: 4;
        animation: bounce 2.5s infinite ease-in-out;
        opacity: 0.7;
    }
    .scroll-down-link:hover {
        color: #fff;
        opacity: 1;
    }

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

    /* --- General Sections --- */
     main { padding-top: 0; }

    section {
      padding: clamp(60px, 10vh, 100px) 0;
      position: relative;
    }
    section:not(:first-of-type) {
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }
    #section-intro { padding-top: clamp(60px, 10vh, 100px); }

    .intro-section {
        background-color: var(--bg-medium);
        text-align: center;
    }
    .intro-section h2 {
        color: var(--accent-primary);
        font-size: clamp(1.8rem, 4vw, 2.4rem);
    }
    .intro-section p {
        max-width: 750px;
        margin-left: auto;
        margin-right: auto;
        font-size: 1.1rem;
        color: var(--text-light);
    }

    .features-section {
        background-color: var(--bg-dark);
    }

    .feature-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: clamp(30px, 5vw, 50px);
      text-align: center;
    }

    .feature-item {
      background-color: var(--bg-medium);
      padding: clamp(25px, 4vw, 40px);
      border-radius: var(--border-radius-medium);
      border: 1px solid rgba(255, 255, 255, 0.08);
      transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
      box-shadow: 0 2px 5px rgba(0,0,0, 0.1);
    }
    .feature-item:hover {
        transform: translateY(-8px);
        box-shadow: var(--box-shadow-light);
        border-color: rgba(0, 245, 212, 0.3);
    }

    .feature-icon {
      font-size: 3rem;
      margin-bottom: 20px;
      color: var(--accent-primary);
      line-height: 1;
    }
    .feature-item h4 {
        color: var(--text-light);
        margin-bottom: 15px;
        font-size: 1.3rem;
    }
    .feature-item p {
        font-size: 1rem;
        color: var(--text-medium);
        margin-bottom: 0;
        line-height: 1.6;
    }

    .cta-section {
        background: linear-gradient(45deg, var(--accent-primary), var(--accent-primary-darker));
        text-align: center;
        padding: clamp(50px, 8vh, 80px) 0;
        border-radius: var(--border-radius-medium);
        margin: 40px auto;
        max-width: 1200px;
        width: 90%;
    }
    .cta-section h2 {
        color: var(--text-dark);
        margin-bottom: 15px;
        font-weight: 700;
    }
    .cta-section p {
        color: rgba(18, 18, 18, 0.8);
        margin-bottom: 30px;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    .cta-section .cta-button.secondary {
        background-color: var(--bg-dark);
        color: var(--text-light);
        box-shadow: var(--box-shadow-dark);
    }
     .cta-section .cta-button.secondary:hover {
        background-color: var(--bg-medium);
        color: var(--accent-primary);
        transform: translateY(-3px) scale(1.03);
     }


    /* --- Page Header (for inner pages) --- */
    .page-header {
      background: linear-gradient(rgba(30, 30, 30, 0.8), rgba(30, 30, 30, 0.9)), url('https://via.placeholder.com/1920x400/1e1e1e/333333?text=Header+BG') no-repeat center center/cover;
      padding: clamp(60px, 10vh, 90px) 0;
      text-align: center;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      margin-top: var(--header-height);
    }
    .page-header h1 {
      font-size: clamp(2.5rem, 5vw, 3.5rem);
      color: #fff;
      margin-bottom: 15px;
      text-shadow: 0 1px 5px rgba(0,0,0,0.2);
    }
    .page-header p {
      font-size: 1.1rem;
      color: var(--text-light);
      max-width: 600px;
      margin: 0 auto;
      opacity: 0.9;
    }

    /* --- Services Page --- */
    .services-list-section {
        padding: clamp(60px, 8vw, 80px) 0;
    }
    .service-item {
        display: flex;
        align-items: center; /* Vertically center align */
        gap: clamp(30px, 5vw, 50px); /* Responsive gap */
        background-color: var(--bg-medium);
        padding: clamp(30px, 5vw, 45px);
        border-radius: var(--border-radius-medium);
        margin-bottom: clamp(30px, 5vw, 40px);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-left: 5px solid var(--accent-primary);
        transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    }
    /* Alternating Layout */
    .service-item:nth-child(even) {
        flex-direction: row-reverse;
        border-left: 1px solid rgba(255, 255, 255, 0.08); /* Reset left border */
        border-right: 5px solid var(--accent-primary);
    }
     .service-item:nth-child(even) .service-content {
        text-align: right; /* Align text right */
     }
     .service-item:nth-child(even) .service-icon {
        margin-left: auto; /* Push icon to right */
        margin-right: 0;
     }


    .service-item:hover {
        background-color: var(--bg-light-accent);
        border-color: rgba(0, 245, 212, 0.3);
        transform: translateY(-5px); /* Subtle lift */
    }
    .service-icon {
        font-size: 3rem;
        flex-shrink: 0;
        color: var(--accent-primary);
        width: 65px;
        text-align: center;
        opacity: 0.9;
        line-height: 1;
        margin-right: auto; /* Push icon left by default */
    }
    .service-content {
        flex-grow: 1; /* Allow content to take remaining space */
    }
    .service-content h2 {
        margin-top: 0;
        margin-bottom: 15px;
        color: var(--text-light);
        font-size: 1.6rem;
        font-weight: 600;
    }
    .service-content p {
        margin-bottom: 0;
        color: var(--text-medium);
        line-height: 1.8;
    }

    /* --- Portfolio Page --- */
    .portfolio-gallery-section {
        padding: 80px 0;
    }

    .portfolio-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 35px;
      align-items: stretch;
    }

    .portfolio-item {
      position: relative;
      overflow: hidden;
      border-radius: var(--border-radius-medium);
      cursor: pointer;
      background-color: var(--bg-medium);
      display: flex;
      flex-direction: column;
      box-shadow: var(--box-shadow-dark);
      transition: transform 0.4s ease, box-shadow 0.4s ease;
    }
    .portfolio-item:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 25px rgba(0,0,0, 0.3);
    }

    .portfolio-item img {
      transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
      width: 100%;
      height: 100%;
      object-fit: cover;
      flex-grow: 1;
    }

    .portfolio-overlay {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      background: linear-gradient(to top, rgba(18, 18, 18, 0.98), rgba(18, 18, 18, 0.5) 70%, transparent);
      padding: 60px 30px 30px;
      color: var(--text-light);
      transform: translateY(50%);
      transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.5s ease;
      opacity: 0;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      min-height: 60%;
    }
    .portfolio-item:hover .portfolio-overlay {
        transform: translateY(0);
        opacity: 1;
    }
    .portfolio-item:hover img {
        transform: scale(1.08);
    }

    .portfolio-overlay h4 {
      margin: 0 0 10px 0;
      font-size: 1.5rem;
      color: #fff;
      font-weight: 600;
      line-height: 1.3;
      transform: translateY(10px);
      transition: transform 0.5s ease 0.1s, opacity 0.5s ease 0.1s;
      opacity: 0;
    }
    .portfolio-overlay p {
      margin: 0;
      font-size: 1rem;
      color: var(--text-light);
      opacity: 0;
      transform: translateY(10px);
      transition: transform 0.5s ease 0.2s, opacity 0.5s ease 0.2s;
    }
    .portfolio-item:hover .portfolio-overlay h4,
    .portfolio-item:hover .portfolio-overlay p {
        transform: translateY(0);
        opacity: 1;
    }


    /* --- About Page --- */
    .about-content-section { padding: 80px 0; }
    .about-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: clamp(40px, 6vw, 70px);
        align-items: center;
        margin-bottom: 80px;
    }
    .about-text h2 {
        color: var(--accent-primary);
        margin-bottom: 1.2em;
        font-size: 1.8rem;
    }
    .about-text p {
        font-size: 1.05rem;
    }
    .about-image img {
        border-radius: var(--border-radius-medium);
        box-shadow: var(--box-shadow-dark);
    }

    .values-section {
        background-color: var(--bg-medium);
        padding: clamp(40px, 6vw, 60px);
        border-radius: var(--border-radius-medium);
        text-align: center;
        border: 1px solid rgba(255, 255, 255, 0.08);
    }
    .values-section h2 {
        color: var(--accent-primary);
        margin-bottom: 40px;
        font-size: 1.8rem;
    }
    .values-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 30px;
    }
    .value-item {
        font-size: 1rem;
        color: var(--text-light);
        padding: 20px;
        background-color: var(--bg-light-accent);
        border-radius: var(--border-radius-small);
        border: 1px solid rgba(255, 255, 255, 0.05);
    }
    .value-item strong {
        color: var(--accent-primary);
        display: block;
        margin-bottom: 8px;
        font-weight: 600;
        font-size: 1.1rem;
    }

    /* --- Contact Page --- */
    .contact-section { padding: 80px 0; }
    .contact-grid {
        display: grid;
        grid-template-columns: 3fr 2fr; /* Form | Sidebar */
        gap: clamp(30px, 5vw, 50px);
        background-color: var(--bg-medium);
        padding: clamp(30px, 5vw, 50px);
        border-radius: var(--border-radius-medium);
        border: 1px solid rgba(255, 255, 255, 0.08);
    }
    .contact-sidebar {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    .contact-form-container h2,
    .map-container h2,
    .contact-info-container h2 {
        color: var(--accent-primary);
        margin-bottom: 25px;
        padding-bottom: 10px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 1.6rem;
    }
    .contact-form-container p {
        margin-bottom: 30px;
    }

    .map-container iframe {
        border-radius: var(--border-radius-small);
        width: 100%;
        height: 350px; /* Adjusted height */
        filter: grayscale(80%) contrast(1.1);
        transition: filter 0.3s ease;
        display: block;
    }
    .map-container iframe:hover {
        filter: grayscale(0%) contrast(1);
    }


    .form-group { margin-bottom: 25px; }
    .form-group label {
      display: block;
      margin-bottom: 8px;
      font-weight: 500;
      color: var(--text-medium);
      font-size: 0.9rem;
    }
    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group textarea {
      width: 100%;
      padding: 14px 18px;
      border: 1px solid #333;
      border-radius: var(--border-radius-small);
      background-color: var(--bg-dark);
      color: var(--text-light);
      font-family: var(--font-body);
      font-size: 1rem;
      transition: border-color 0.3s ease, box-shadow 0.3s ease;
    }
    .form-group input:focus,
    .form-group textarea:focus {
        outline: none;
        border-color: var(--accent-primary);
        box-shadow: 0 0 0 3px rgba(0, 245, 212, 0.2);
    }
    .form-group textarea {
      resize: vertical;
      min-height: 140px;
    }

    /* Form Status Message */
    .form-status-message {
        margin-top: 20px;
        padding: 12px 18px;
        border-radius: var(--border-radius-small);
        font-size: 0.95rem;
        display: none;
        line-height: 1.5;
    }
    .form-status-message.success {
        background-color: rgba(46, 204, 113, 0.1);
        color: var(--success-color);
        border: 1px solid rgba(46, 204, 113, 0.5);
        display: block;
    }
    .form-status-message.error {
        background-color: rgba(231, 76, 60, 0.1);
        color: var(--error-color);
        border: 1px solid rgba(231, 76, 60, 0.5);
        display: block;
    }


    .contact-info-item { margin-bottom: 25px; }
    .contact-info-item:last-child { margin-bottom: 0; }
    .contact-info-item h4 {
        color: var(--text-light);
        margin-bottom: 8px;
        font-size: 1.1rem;
    }
    .contact-info-item p {
        margin-bottom: 0;
        color: var(--text-medium);
        font-size: 0.95rem;
        line-height: 1.6;
    }
    .contact-info-item p a {
        color: var(--text-medium);
        word-break: break-word;
    }
     .contact-info-item p a:hover {
        color: var(--accent-primary);
     }
    .social-links-contact a {
        margin-right: 15px;
        color: var(--text-medium);
        font-size: 0.95rem;
        transition: color 0.3s ease;
    }
     .social-links-contact a:hover {
        color: var(--accent-primary);
     }


    /* --- Footer --- */
    .site-footer {
      background-color: var(--bg-dark);
      color: var(--text-medium);
      padding: 50px 0 30px;
      margin-top: 80px;
      border-top: 1px solid rgba(255, 255, 255, 0.05);
      font-size: 0.9rem;
    }
    .footer-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 30px;
        flex-wrap: wrap;
        gap: 20px;
    }
    .footer-logo-link { line-height: 0; }
    .footer-logo-image {
        height: var(--footer-logo-height);
        width: auto;
        opacity: 0.8;
    }
    .footer-nav a {
        color: var(--text-medium);
        margin: 0 12px;
        font-size: 0.95rem;
    }
    .footer-nav a:hover {
        color: var(--accent-primary);
    }
    .social-links a {
        color: var(--text-medium);
        margin-left: 18px;
        font-size: 1.3rem;
        font-weight: normal;
        font-family: sans-serif;
        display: inline-block;
        width: 30px;
        text-align: center;
        transition: color 0.3s ease, transform 0.3s ease;
    }
    .social-links a:hover {
        color: var(--accent-primary);
        transform: scale(1.1);
    }
    .copyright {
      text-align: center;
      margin-top: 30px;
      padding-top: 30px;
      border-top: 1px solid rgba(255, 255, 255, 0.05);
      font-size: 0.85rem;
      color: #777;
    }

    /* --- Buttons --- */
    .cta-button {
      display: inline-block;
      background: linear-gradient(45deg, var(--accent-primary), var(--accent-primary-darker));
      color: var(--text-dark);
      padding: 14px 35px;
      border-radius: 50px;
      font-size: 1rem;
      font-weight: 600;
      font-family: var(--font-heading);
      text-transform: uppercase;
      letter-spacing: 1.2px;
      transition: background 0.4s ease, transform 0.3s ease, box-shadow 0.3s ease;
      border: none;
      cursor: pointer;
      box-shadow: 0 4px 10px rgba(0, 245, 212, 0.15);
      position: relative;
      overflow: hidden;
      z-index: 1;
    }
    .cta-button::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
        transition: left 0.6s ease;
        z-index: -1;
    }

    .cta-button:hover::before {
        left: 100%;
    }

    .cta-button:hover {
      background: linear-gradient(45deg, var(--accent-primary-darker), var(--accent-primary));
      transform: translateY(-4px) scale(1.02);
      text-decoration: none;
      box-shadow: 0 8px 20px rgba(0, 245, 212, 0.25);
      color: var(--text-dark);
      opacity: 1;
    }
    .cta-button:disabled {
        background: var(--text-medium);
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
        color: var(--bg-medium);
        opacity: 0.7;
    }
     .cta-button:disabled::before {
        display: none;
     }


    /* --- Animations --- */
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(20px); }
      to { opacity: 1; transform: translateY(0); }
    }

    /* Scroll Animation Class */
    .fade-in-on-scroll {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    }
    .fade-in-on-scroll.is-visible {
        opacity: 1;
        transform: translateY(0);
    }


    /* --- Responsive Design Adjustments --- */
    @media (max-width: 992px) {
        h1 { font-size: clamp(2.2rem, 5vw, 3rem); }
        h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
        .about-grid { grid-template-columns: 1fr; }
        .about-image { order: -1; margin-bottom: 40px; }
        .contact-grid { grid-template-columns: 1fr; } /* Stack form, sidebar */
        .contact-sidebar { order: 2; } /* Sidebar below form */
        .map-container { margin-top: 0; } /* Remove extra margin */
        .portfolio-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
    }

    @media (max-width: 768px) {
        :root {
          --header-height: 65px;
          --logo-height: 35px;
          --footer-logo-height: 30px;
        }
        section { padding: clamp(50px, 8vh, 80px) 0; }
        #section-intro { padding-top: clamp(50px, 8vh, 80px); }

        .main-nav {
            display: none;
            position: absolute;
            top: var(--header-height);
            left: 0;
            width: 100%;
            background-color: var(--bg-medium);
            padding: 10px 0;
            flex-direction: column;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow: var(--box-shadow-dark);
        }
        .main-nav.is-active { display: flex; }
        .main-nav ul { flex-direction: column; width: 100%; }
        .main-nav li { margin: 0; text-align: center; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
        .main-nav li:last-child { border-bottom: none; }
        .main-nav a { display: block; padding: 18px; width: 100%; }
        .main-nav a::after { display: none; }

        .menu-toggle { display: block; }

        .footer-content { flex-direction: column; text-align: center; gap: 25px; }
        .footer-nav { margin: 0; }
        .social-links { margin-top: 0; }
        .social-links a { margin: 0 12px; }

        .slider-nav { padding: 10px 12px; font-size: 1.5rem; }
        .slider-nav.prev { left: 15px; }
        .slider-nav.next { right: 15px; }
        .slider-dots { bottom: 25px; }
        .dot { width: 9px; height: 9px; }
        .scroll-down-link { font-size: 1.5rem; bottom: 25px; }

        /* Ensure alternating service layout resets on mobile */
        .service-item,
        .service-item:nth-child(even) {
            flex-direction: column;
            align-items: flex-start;
            text-align: left;
            border-right: none;
            border-left: 4px solid var(--accent-primary); /* Consistent left border */
        }
        .service-item:nth-child(even) .service-icon,
        .service-item .service-icon {
            text-align: left;
            margin-bottom: 15px;
            width: auto;
        }
        .service-content h2 { font-size: 1.6rem; }

    }

     @media (max-width: 576px) {
        .slide .hero-title { font-size: clamp(2rem, 7vw, 2.5rem); }
        .feature-grid { grid-template-columns: 1fr; }
        .portfolio-grid { grid-template-columns: 1fr; }
        .contact-grid { padding: 30px; }
        .cta-button { padding: 12px 30px; font-size: 0.95rem; }
        .map-container iframe { min-height: 300px; }
        .footer-nav a { margin: 0 8px; font-size: 0.9rem; }
        .social-links a { margin: 0 10px; font-size: 1.2rem; }
     }
