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

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Body Styling */
body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}
/* Enable touch scrolling on mobile */
html, body {
    touch-action: pan-y pinch-zoom;
    -webkit-overflow-scrolling: touch;
}

/* Ensure main content is scrollable */
#home-page {
    touch-action: pan-y pinch-zoom;
}
  /* Home Page Content */
#home-page {
    position: relative;
    width: 100%;
    z-index: 1;
}

/* GSAP Intro Customizations for Devasite */
#home-page header {
    position: relative;
    z-index: 10;
}

/* Hide the green screen transition */
.intro__red {
    display: none !important;
}

/* Make sure intro disappears after animation */
.intro {
    pointer-events: none;
}

/* Hide custom cursor - use regular cursor instead */
.cursor {
    display: none !important;
}

/* Make the stroke border wider */
.clip .h1__stroke {
    -webkit-text-stroke: 3px #fff !important;
}

/* Make the paragraph text bigger */
.clip p {
    font-size: 1.8vw !important;
}

@media (max-width: 768px) {
    .clip p {
        font-size: 16px !important;
    }
}

/* Ensure clip section takes full viewport */
.clip {
    min-height: 100vh;
}

/* Make sure menu is hidden during intro */
.menu {
    opacity: 0;
    pointer-events: none;
}

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


/* Import Poppins Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* Header Styling */
header {
    background-color: rgba(0, 0, 0, 0.95); /* Slightly transparent for modern look */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    padding: 20px 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    background-color: rgba(0, 0, 0, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    header {
        padding: 15px 20px;
    }
}

/* Mobile Menu Styling */
#mobile-menu {
    transition: all 0.3s ease-in-out;
    background-color: rgba(0, 0, 0, 0.95);
    border-radius: 8px;
    padding: 10px 0;
}

#mobile-menu.hidden {
    display: none;
}

#mobile-menu-button {
    transition: transform 0.2s ease;
}

#mobile-menu-button:active {
    transform: scale(0.95);
}

/* Scroll to Top Button */
#scroll-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #37FF8B 0%, #06F984 100%);
    color: #000;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(55, 255, 139, 0.4);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    transform: translateY(100px);
    outline: none;
}

#scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

#scroll-to-top:not(.show) {
    pointer-events: none;
}

#scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(55, 255, 139, 0.5);
}

#scroll-to-top:focus {
    outline: 3px solid #37FF8B;
    outline-offset: 2px;
}

#scroll-to-top:active {
    transform: translateY(-1px);
}

#scroll-to-top svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    #scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    #scroll-to-top svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    #scroll-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }
}

.logo {
    display: flex; /* Ensures proper alignment */
    align-items: center; /* Centers the image vertically */
    max-width: 100%; /* Allows flexibility */
    height: auto; /* Maintains aspect ratio */
}
  
.logo img {
    max-height: 150px; /* Adjust this to fit your header size */
    width: auto; /* Ensures the aspect ratio is maintained */
}


nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav ul li {
    position: relative;
}

nav ul li a {
    color: #fff;
    font-size: 1.1em;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #F1C40F; /* Gold accent color on hover */
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #F1C40F;
    opacity: 0;
    transition: opacity 0.3s ease;
}

nav ul li a:hover::after {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 20px;
    }

    .logo {
        margin-bottom: 15px;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    nav ul li a {
        font-size: 1.2em;
    }
}


/* Hero Section Styles - Animated Background */
.large-header {
    position: relative;
    width: 100%;
    background: #000; /* Pure black background */
    overflow: hidden;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

#hero {
    position: relative;
    width: 100%;
    background: #000;
    overflow: hidden;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

#demo-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-content-wrapper {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 100vh;
}

@media (min-width: 768px) {
    .hero-content-wrapper {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    .hero-content-wrapper {
        padding: 40px 20px;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero-content-wrapper {
        padding: 30px 15px;
        gap: 20px;
    }
}

.hero-content {
    width: 100%;
    max-width: 100%;
    align-self: center;
    text-align: center;
    position: relative;
    z-index: 20;
}

@media (min-width: 768px) {
    .hero-content {
        max-width: 50%;
        text-align: left;
    }
}

.hero-content h1 {
    font-weight: 700;
    color: #fff;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-family: poppins;
    color: #e0e0e0;
}

@media (max-width: 768px) {
    .hero-content {
        padding: 0 10px;
    }
    
    .hero-content h1 {
        font-size: 2rem !important;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        font-size: 1rem !important;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.75rem !important;
    }
    
    .hero-content p {
        font-size: 0.95rem !important;
    }
}

/* Hero Section Button Styles */
.hero-btn {
    padding: 0.1em 0.25em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 13em;
    max-width: 100%;
    width: auto;
    min-height: 4.2em;
    height: auto;
    background-color: #212121;
    border: 0.08em solid #fff;
    border-radius: 0.3em;
    font-size: 12px;
    font-family: poppins;
    cursor: pointer;
    margin-right: 20px;
    margin-bottom: 10px;
    box-sizing: border-box;
    text-decoration: none;
    position: relative;
  }
  
  .hero-btn span {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    bottom: 0.4em;
    min-width: 8.25em;
    max-width: calc(100% - 1em);
    width: auto;
    min-height: 2.5em;
    height: auto;
    padding: 0.4em 0.6em;
    background-color: #212121;
    border-radius: 0.2em;
    font-size: 1.5em;
    color: #fff;
    border: 0.08em solid #fff;
    box-shadow: 0 0.4em 0.1em 0.019em #06F984;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    line-height: 1.3;
    box-sizing: border-box;
    flex-shrink: 1;
  }
  
  .hero-btn span:hover {
    transition: all 0.5s;
    transform: translate(0, 0.4em);
    box-shadow: 0 0 0 0 #fff;
  }
  
  .hero-btn span:not(:hover) {
    transition: all 1s;
  }
  
  /* Additional Button Hover Effect for Hero */
  .hero-btn:hover span {
    background-color: #06F984;
    color: #212121;
    box-shadow: 0 0.4em 0.1em 0.019em #212121;
  }

  /* Responsive styles for hero buttons */
  @media (max-width: 768px) {
    .hero-btn {
      width: 100%;
      max-width: 100%;
      min-width: auto;
      margin-right: 0;
      margin-bottom: 15px;
      font-size: 14px;
      padding: 0.2em 0.3em;
    }
    
    .hero-btn span {
      min-width: auto;
      width: 100%;
      max-width: 100%;
      font-size: 1.1em;
      padding: 0.8em 1.2em;
      min-height: 3em;
      white-space: normal;
    }
  }

  @media (max-width: 480px) {
    .hero-btn {
      font-size: 13px;
      margin-bottom: 12px;
      padding: 0.15em 0.25em;
    }
    
    .hero-btn span {
      font-size: 1em;
      padding: 0.9em 1em;
      line-height: 1.4;
      min-height: 3em;
    }
  }

  /* Ensure buttons in flex containers don't overflow */
  .cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
  }

  @media (max-width: 768px) {
    .cta-buttons {
      flex-direction: column;
      width: 100%;
    }
  }

  .cta-buttons .hero-btn,
  .text-center .hero-btn {
    flex-shrink: 1;
    flex-grow: 0;
  }
  
  @media (max-width: 768px) {
    .cta-buttons .hero-btn {
      flex-grow: 1;
    }
  }
  

.btn-primary {
    background: #fff;
    color: #2c3e50;
    border: none;
}

.btn-primary:hover {
    background: #2c3e50;
    color: #fff;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: #2c3e50;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* Hero Image Styles */
.hero-image img {
    max-width: 85%; /* Adjust the size of the image */
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    display: block;
    margin-left: auto; /* Centers the image horizontally */
    margin-right: auto; /* Centers the image horizontally */
    position: relative;
}

/* Hero Image Responsive */
.hero-image {
    width: 100%;
    max-width: 100%;
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

@media (min-width: 768px) {
    .hero-image {
        max-width: 50%;
        margin-top: 0;
    }
}

@media (max-width: 480px) {
    .hero-image {
        margin-top: 1.5rem;
    }
    
    .hero-image img {
        max-width: 90%;
    }
}

/* Nothero Section */
.nothero {
    position: relative;
    width: 100%;
    height: 100vh; /* Full screen height */
    background: url('/images/hero5.jpg') no-repeat center center/cover; /* Background image */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.nothero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #000000; /* Gradient overlay */
    opacity: 0.8; /* Transparent overlay */
    z-index: 1; /* Place overlay above background */
}

.nothero-text {
    position: relative;
    font-size: 8rem;
    font-weight: bold;
    color: #fff; /* White text for contrast */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5); /* Subtle shadow for readability */
    z-index: 2; /* Place text above the overlay */
    text-align: center;
    padding: 20px;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nothero-text {
        font-size: 2.5rem; /* Adjust font size for smaller screens */
    }
}
/* Nothero Button - From Uiverse.io by mrhyddenn */
.nothero-button {
    position: relative;
    padding: 10px 20px;
    border-radius: 7px;
    border: 1px solid rgb(61, 106, 255);
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
    background: transparent;
    color: #fff;
    overflow: hidden;
    box-shadow: 0 0 0 0 transparent;
    -webkit-transition: all 0.2s ease-in;
    -moz-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
  }
  
  .nothero-button:hover {
    background: rgb(61, 106, 255);
    box-shadow: 0 0 30px 5px rgba(0, 142, 236, 0.815);
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
  }
  
  .nothero-button:hover::before {
    -webkit-animation: sh02 0.5s 0s linear;
    -moz-animation: sh02 0.5s 0s linear;
    animation: sh02 0.5s 0s linear;
  }
  
  .nothero-button::before {
    content: '';
    display: block;
    width: 0px;
    height: 86%;
    position: absolute;
    top: 7%;
    left: 0%;
    opacity: 0;
    background: #fff;
    box-shadow: 0 0 50px 30px #fff;
    -webkit-transform: skewX(-20deg);
    -moz-transform: skewX(-20deg);
    -ms-transform: skewX(-20deg);
    -o-transform: skewX(-20deg);
    transform: skewX(-20deg);
  }
  
  @keyframes sh02 {
    from {
      opacity: 0;
      left: 0%;
    }
  
    50% {
      opacity: 1;
    }
  
    to {
      opacity: 0;
      left: 100%;
    }
  }
  
  .nothero-button:active {
    box-shadow: 0 0 0 0 transparent;
    -webkit-transition: box-shadow 0.2s ease-in;
    -moz-transition: box-shadow 0.2s ease-in;
    transition: box-shadow 0.2s ease-in;
  }
  

  .services {
    padding: 5rem 10%;
    background-color: #000000;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2000 1500'%3E%3Cdefs%3E%3Crect stroke='%23000000' stroke-width='.5' width='1' height='1' id='s'/%3E%3Cpattern id='a' width='3' height='3' patternUnits='userSpaceOnUse' patternTransform='scale(50) translate(-980 -735)'%3E%3Cuse fill='%23242424' href='%23s' y='2'/%3E%3Cuse fill='%23242424' href='%23s' x='1' y='2'/%3E%3Cuse fill='%23333333' href='%23s' x='2' y='2'/%3E%3Cuse fill='%23333333' href='%23s'/%3E%3Cuse fill='%233e3e3e' href='%23s' x='2'/%3E%3Cuse fill='%233e3e3e' href='%23s' x='1' y='1'/%3E%3C/pattern%3E%3C/defs%3E%3Crect fill='url(%23a)' width='100%25' height='100%25'/%3E%3C/svg%3E");
    background-attachment: fixed;
    background-size: cover;
  }
  
  .services-header {
    text-align: center;
    margin-bottom: 4rem;
  }
  
  .services-header h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 1rem;
  }
  
  .services-header p {
    font-size: 1.25rem;
    color: #a0a0a0;
    max-width: 48rem;
    margin: 0 auto;
  }
  
  .services-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
  }
  
  @media (min-width: 768px) {
    .services-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (min-width: 1024px) {
    .services-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  
  .service-card {
    background-color: #212121;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid transparent;
  }
  
  .service-card:hover {
    box-shadow: 0 0 30px 5px rgba(55, 255, 139, 0.2);
    border-color: #37FF8B;
  }
  
  .icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
  }
  
  .icon-container svg {
    color: #37FF8B;
  }
  
  .service-card h3 {
    font-size: 1.25rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 1rem;
  }
  
  .service-card p {
    color: #a0a0a0;
    margin-bottom: 1.5rem;
  }
  
  .features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .features-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #d1d1d1;
  }
  
  .features-list li svg {
    color: #37FF8B;
    flex-shrink: 0;
  }
  
  /* Animation for hover effect */
  .service-card {
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  }
  
  .service-card:hover {
    transform: translateY(-5px);
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    .services {
      padding: 3rem 5%;
    }
  
    .services-header h2 {
      font-size: 2rem;
    }
  
    .services-header p {
      font-size: 1.125rem;
    }
  }

/* Why This Studio Section */
#why-this-studio {
    padding: 6rem 10%;
    background-color: #000000;
    color: #fff;
}

#why-this-studio .section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #fff;
    text-align: center;
    margin-bottom: 2rem;
}

/* How We Use AI Section */
#how-we-use-ai {
    padding: 6rem 10%;
    background-color: #000000;
    color: #fff;
}

#how-we-use-ai .section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #fff;
    text-align: center;
    margin-bottom: 2rem;
}

/* Process Section */
#process {
    padding: 6rem 10%;
    background-color: #212121;
    color: #fff;
}

#process .section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #fff;
    text-align: center;
    margin-bottom: 3rem;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
}

@media (min-width: 768px) {
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .process-steps {
        grid-template-columns: repeat(4, 1fr);
    }
}

.step {
    background-color: #333;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
    box-shadow: 0 0 30px 5px rgba(55, 255, 139, 0.2);
}

.step h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #37FF8B;
}

.step p {
    font-size: 1rem;
    color: #e0e0e0;
}

/* Pricing Section */
#pricing {
    padding: 6rem 10%;
    background-color: #000000;
    color: #fff;
}

#pricing .section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #fff;
    text-align: center;
    margin-bottom: 3rem;
}

.pricing-table {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
}

@media (min-width: 768px) {
    .pricing-table {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .pricing-table {
        grid-template-columns: repeat(3, 1fr);
    }
}

.pricing-plan {
    background-color: #212121;
    border-radius: 0.75rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-plan:hover {
    box-shadow: 0 0 30px 5px rgba(55, 255, 139, 0.2);
}

.pricing-plan h3 {
    font-size: 1.75rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #37FF8B;
}

.pricing-plan p {
    font-size: 1rem;
    color: #e0e0e0;
    margin-bottom: 1rem;
}

.pricing-plan .price {
    font-size: 2rem;
    font-weight: bold;
    color: #37FF8B;
}

/* Contact Section */
#contact {
    padding: 6rem 10%;
    background-color: #000000;
    color: #fff;
}

.contact-header {
    margin-bottom: 3rem;
}

.contact-accent-line {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #37FF8B, #06F984);
    margin: 0 auto 1.5rem;
    border-radius: 2px;
}

#contact .section-title {
    font-size: 2.75rem;
    font-weight: bold;
    color: #fff;
    text-align: center;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.contact-subtitle {
    opacity: 0.85;
    font-size: 1.05rem;
}

/* Contact Form Card */
.contact-form-card {
    max-width: 680px;
    margin: 0 auto;
    background: linear-gradient(135deg, #1a1a1a 0%, #212121 100%);
    border: 7px solid #37FF8B;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.contact-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #37FF8B, transparent);
    opacity: 0.6;
}

#contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Form Row for Name/Email */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

/* Form Group */
.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #e8e8e8;
    margin-bottom: 0.5rem;
    letter-spacing: 0.01em;
}

.form-group .optional {
    font-weight: 400;
    color: #888;
    font-size: 0.9em;
}

#contact-form input,
#contact-form textarea {
    padding: 0.875rem 1rem;
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-size: 1rem;
    background-color: rgba(0, 0, 0, 0.3);
    color: #fff;
    transition: all 0.25s ease;
    min-height: 48px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
    font-family: inherit;
}

#contact-form input::placeholder,
#contact-form textarea::placeholder {
    color: #666;
    opacity: 0.7;
}

#contact-form input:focus,
#contact-form textarea:focus {
    outline: none;
    border-color: #37FF8B;
    background-color: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 0 3px rgba(55, 255, 139, 0.15),
                inset 0 2px 4px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

#contact-form textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.6;
}

/* Form Section for Project Details */
.form-section {
    margin-top: 0.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.form-section-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #37FF8B;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-section-title::before {
    content: '';
    width: 3px;
    height: 16px;
    background: #37FF8B;
    border-radius: 2px;
}

/* CTA Section */
.form-cta {
    margin-top: 1.5rem;
    text-align: center;
}

.submit-button {
    width: 100%;
    padding: 1.125rem 2rem;
    background: linear-gradient(135deg, #37FF8B 0%, #06F984 100%);
    color: #000;
    border: none;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(55, 255, 139, 0.3),
                0 2px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

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

.submit-button:hover:not(:disabled) {
    background: linear-gradient(135deg, #2ee875 0%, #05e074 100%);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(55, 255, 139, 0.4),
                0 4px 12px rgba(0, 0, 0, 0.3);
}

.submit-button:active:not(:disabled) {
    transform: translateY(0) scale(1);
    box-shadow: 0 2px 10px rgba(55, 255, 139, 0.3);
}

.submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.reassurance-text {
    margin-top: 0.875rem;
    font-size: 0.85rem;
    color: #888;
    font-weight: 400;
    letter-spacing: 0.02em;
}

#form-message {
    margin-bottom: 1.25rem;
    padding: 1rem 1.25rem;
    border-radius: 10px;
    font-weight: 500;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #contact {
        padding: 4rem 5%;
    }

    .contact-form-card {
        padding: 2rem 1.5rem;
        max-width: 100%;
    }

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

    #contact .section-title {
        font-size: 2.25rem;
    }

    .contact-subtitle {
        font-size: 1rem;
    }

    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 0.45rem;
    }

    #contact-form input,
    #contact-form textarea {
        padding: 0.8125rem 0.9375rem;
        font-size: 0.95rem;
        min-height: 48px;
    }

    .submit-button {
        padding: 1rem 1.75rem;
        font-size: 1rem;
        min-height: 52px;
    }

    .reassurance-text {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .contact-form-card {
        padding: 1.75rem 1.25rem;
        border-radius: 12px;
    }

    #contact .section-title {
        font-size: 1.875rem;
    }

    .contact-accent-line {
        width: 50px;
        height: 3px;
    }

    .form-section {
        padding-top: 1.25rem;
    }
}
/* Portfolio Section */
.portfolio-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #1e1e1e, #333);
    text-align: center;
}

/* Portfolio Headline */
h3.portfolio-title {
    font-size: 6rem;
    font-weight: 900;
    text-transform: uppercase;
    background: linear-gradient(90deg, #37FF8B, #00D4FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 3px;
    margin-bottom: 3rem;
    position: relative;
}

/* Underline effect */
.portfolio-title::after {
    content: "";
    display: block;
    width: 550px;
    height: 5px;
    background: #37FF8B;
    margin: 10px auto 0;
    border-radius: 10px;
    transition: width 0.3s ease-in-out;
}

.portfolio-title:hover::after {
    width: 250px;
}

/* Tabs Styling */
.portfolio-section .tabs {
    margin-bottom: 30px;
}

.portfolio-section .tabs ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.portfolio-section .tabs ul li {
    display: inline-block;
}

.portfolio-section .tabs ul li a {
    display: inline-block;
    padding: 12px 25px;
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    background: linear-gradient(135deg, #37FF8B, #00D4FF);
    color: #1e1e1e;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 212, 255, 0.3);
}

.portfolio-section .tabs ul li a:hover,
.portfolio-section .tabs ul li a.active {
    background: #37FF8B;
    color: black;
    box-shadow: 0 4px 15px rgba(55, 255, 139, 0.6);
    transform: scale(1.1);
}

/* Tab Content */
.portfolio-section .tab-content {
    margin-top: 40px;
    padding: 0;
    background: none;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .portfolio-title {
        font-size: 5rem;
    }
}

@media (max-width: 992px) {
    .portfolio-title {
        font-size: 4rem;
    }

    .portfolio-section .tabs ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .portfolio-section .tabs ul li a {
        padding: 10px 20px;
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .portfolio-title {
        font-size: 3rem;
    }

    .portfolio-section .tabs ul {
        flex-direction: column;
        align-items: center;
    }

    .portfolio-section .tabs ul li {
        width: 100%;
        text-align: center;
    }

    .portfolio-section .tabs ul li a {
        display: block;
        width: 90%;
        font-size: 1.2rem;
        padding: 12px 0;
    }
}

@media (max-width: 480px) {
    .portfolio-title {
        font-size: 2.5rem;
        letter-spacing: 1px;
    }

    .portfolio-section .tabs ul li a {
        font-size: 1rem;
        padding: 10px;
        width: 100%;
    }
}

#footer {
    background-color: #000000;
    color: #fff;
    padding: 40px 0;
    font-family: 'Poppins', sans-serif;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 30px;
}

.footer-logo img {
    max-width: 150px;
    height: auto;
    display: block;
}

.footer-links, .footer-contact {
    padding: 10px;
}

.footer-links h3, .footer-contact h3 {
    font-size: 1.25rem;
    font-weight: bold;
    color: #F1C40F; /* Gold color for headers */
    margin-bottom: 20px;
}

.footer-links ul, .footer-social ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li, .footer-social ul li {
    margin-bottom: 10px;
}

.footer-links ul li a, .footer-social ul li a {
    color: #a0a0a0;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover, .footer-social ul li a:hover {
    color: #F1C40F; /* Gold hover effect */
}

.footer-bottom {
    text-align: center;
    font-size: 1rem;
    color: #a0a0a0;
    margin-top: 30px;
    border-top: 1px solid #333;
    padding-top: 20px;
}

.footer-bottom p {
    margin: 0;
}

/* Social Media Icons Styling */
.footer-social ul li a {
    display: inline-block;
    padding: 5px 10px;
}

.footer-social ul li a:hover {
    background-color: #333;
    border-radius: 5px;
}

/* Footer Contact Buttons Styling */
.contact-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background-color: #37FF8B;
    color: #000;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    min-height: 44px;
}

.contact-btn:hover {
    background-color: #2ee875;
    transform: translateY(-2px);
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #a0a0a0;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.contact-email:hover {
    color: #F1C40F;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-logo {
        display: flex;
        justify-content: center;
    }

    .footer-logo img {
        max-width: 120px;
    }

    .footer-links,
    .footer-contact {
        text-align: center;
    }

    .footer-links ul,
    .footer-contact {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .contact-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto 15px;
    }

    .contact-btn {
        width: 100%;
        justify-content: center;
    }

    .contact-email {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    #footer {
        padding: 30px 20px;
    }

    .footer-content {
        gap: 30px;
    }

    .contact-buttons {
        max-width: 100%;
    }

    .footer-links h3,
    .footer-contact h3 {
        font-size: 1.1rem;
    }

    .footer-bottom {
        font-size: 0.9rem;
        padding-top: 15px;
    }
}
/* Portfolio Section */
#portfolio {
    padding: 20px;
    background-color: #000000;
}

#portfolio h2 {
    text-align: center;
    font-size: 2em;
    margin-bottom: 20px;
}

/* Tabs */
.tabs ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 95%;
}

.tabs ul li {
    margin: 0 15px;
}

.tabs ul li a {
    text-decoration: none;
    font-size: 1.1em;
    color: #333;
    padding: 10px;
    display: inline-block;
}

.tabs ul li a.active {
    color: #fff;
    background-color: #007bff;
}

/* Tab content */
.tab-content {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Initially hide tab panes */
.tab-pane {
    display: none;
    width: 100%;
    max-width: 100%;
    height: 100%;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Optional: Customize individual website previews in tab panes */
.tab-pane iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Active Tab */
.tab-pane.active {
    display: block;
}

/* Portfolio Component Styles */
.portfolio-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #1e1e1e, #333);
    text-align: center;
}

/* Portfolio Project Cards */
.project-card {
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

/* Portfolio Thumbnail Container - Make buttons always visible on mobile */
.thumbnail-container .absolute {
    transition: opacity 0.3s ease;
}

/* On touch devices, make buttons always visible */
@media (hover: none) and (pointer: coarse) {
    .thumbnail-container .absolute {
        opacity: 1 !important;
        background: rgba(0, 0, 0, 0.6) !important;
    }
    
    .thumbnail-container iframe {
        pointer-events: none;
    }
    
    /* Make buttons larger and more touch-friendly on mobile */
    .thumbnail-container .absolute a,
    .thumbnail-container .absolute button {
        min-height: 48px !important;
        min-width: 100px;
        padding: 12px 20px !important;
        font-size: 15px !important;
        font-weight: 600;
        touch-action: manipulation;
    }
}

/* Improve mobile button layout */
@media (max-width: 768px) {
    .thumbnail-container .absolute .flex {
        flex-direction: column;
        gap: 10px;
        width: 80%;
    }
    
    .thumbnail-container .absolute a,
    .thumbnail-container .absolute button {
        width: 100%;
        min-height: 48px;
        padding: 12px 16px;
    }
}

/* Touch device specific styles (JavaScript adds this class) */
body.touch-device .thumbnail-container .absolute {
    opacity: 1 !important;
    background: rgba(0, 0, 0, 0.65) !important;
}

body.touch-device .thumbnail-container iframe.thumbnail-iframe {
    pointer-events: none !important;
}

body.touch-device .thumbnail-container .absolute a,
body.touch-device .thumbnail-container .absolute button {
    pointer-events: auto !important;
    cursor: pointer !important;
}

/* Make buttons more prominent on small screens */
@media (max-width: 480px) {
    .thumbnail-container .absolute {
        opacity: 1 !important;
        background: rgba(0, 0, 0, 0.7) !important;
    }
    
    .thumbnail-container .absolute .flex {
        width: 90%;
        gap: 8px;
    }
    
    .thumbnail-container .absolute a,
    .thumbnail-container .absolute button {
        font-size: 14px;
        padding: 10px 14px;
    }
}

/* On desktop, keep hover behavior */
@media (hover: hover) and (pointer: fine) {
    .thumbnail-container .absolute {
        opacity: 0;
    }
    
    .thumbnail-container:hover .absolute {
        opacity: 1;
    }
}

/* Portfolio Thumbnail Iframe */
.thumbnail-iframe {
    transform: scale(0.25);
    transform-origin: 0 0;
    width: 400%;
    height: 400%;
    border: none;
    pointer-events: none;
}

.thumbnail-container {
    height: 256px; /* Same as h-64 in Tailwind */
    overflow: hidden;
    position: relative;
}

/* Portfolio Preview Overlay */
.preview-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.preview-overlay.active {
    display: flex;
}

.preview-container {
    width: 95%;
    max-width: 1400px;
    height: 90vh;
    max-height: 90vh;
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    margin: 20px;
}

.preview-overlay.fullscreen .preview-container {
    width: 100%;
    height: 100vh;
    max-width: 100%;
    max-height: 100vh;
    border-radius: 0;
    margin: 0;
}

.preview-close {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(239, 68, 68, 0.9);
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.preview-close:hover {
    background: rgba(220, 38, 38, 1);
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.preview-close:active {
    transform: scale(0.95);
}

.preview-close svg {
    width: 20px;
    height: 20px;
}

#preview-iframe {
    width: 100%;
    height: 100%;
    border: none;
    flex: 1;
    background: white;
    overflow: auto;
    display: block;
}

.preview-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10002;
    color: white;
    font-size: 1.1rem;
    gap: 20px;
}

.preview-loading.hidden {
    display: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(55, 255, 139, 0.2);
    border-top-color: #37FF8B;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.preview-buttons {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 10003;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.preview-overlay.fullscreen .preview-buttons {
    bottom: 30px;
}

.preview-buttons button {
    min-height: 44px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.preview-buttons button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .preview-container {
        width: 100%;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
        margin: 0;
    }
    
    .preview-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
    }
    
    .preview-close svg {
        width: 18px;
        height: 18px;
    }
    
    .preview-buttons {
        bottom: 15px;
        padding: 8px 16px;
    }
    
    .preview-buttons button {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
}

@media (max-width: 480px) {
    .preview-close {
        top: 8px;
        right: 8px;
        width: 36px;
        height: 36px;
    }
    
    .preview-buttons {
        bottom: 10px;
        left: 10px;
        right: 10px;
        transform: none;
        width: calc(100% - 20px);
    }
    
    .preview-buttons button {
        flex: 1;
        font-size: 0.85rem;
    }
}