/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Roboto, 'Open Sans', sans-serif;
    color: white;
    background-color: #185147;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Header styles */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #0e332d;
  backdrop-filter: blur(4px);
  z-index: 100;
  border-bottom: 1px solid rgba(31, 41, 55, 1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.header-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4rem;
}

@media (min-width: 640px) {
  .header-container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .header-container {
    padding: 0 2rem;
  }
}

/* ✅ Logo container */
.logo-container {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-img {
  width: 55px;
  height: 55px;
  object-fit: cover;
  border-radius: 8px;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 1px;
}

/* Navigation styles */
.desktop-nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
  }
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-button {
  color: #ffffff;
  background: none;
  border: none;
  font-size: 0.95rem;
  cursor: pointer;
  padding: 0.5rem 0;
  transition: color 0.2s ease;
  position: relative;
}

.nav-button:hover {
  color: #ffffff;
}

.nav-button.active {
  color: #ffffff;
  font-weight: 500;
}

.nav-button.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #ffffff;
}


/* Mobile menu button */
.mobile-menu-button {
    display: block;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

@media (min-width: 768px) {
    .mobile-menu-button {
        display: none;
    }
}

.menu-icon {
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile menu styles */
.mobile-menu {
    position: fixed;
    top: 4rem;
    left: 0;
    width: 100%;
    background-color: rgb(14, 51, 43);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    z-index: 99;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    padding: 1rem;
}

.mobile-nav-button {
    color: #d1d5db;
    background: none;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    padding: 1rem;
    text-align: left;
    transition: color 0.2s ease, background-color 0.2s ease;
    border-radius: 0.25rem;
}

.mobile-nav-button:hover {
    color: white;
    background-color: #0e332b;
}

.mobile-nav-button.active {
    color: white;
    font-weight: 500;
    background-color: rgba(255, 255, 255, 0.05);
}

/* Overlay for when mobile menu is open */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 98;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Home section */
:root {
    --dark-bg: rgb(14, 51, 45);
    --dark-text: #f3f4f6;
    --dark-accent: #ffffff;
    --dark-border: rgb(55, 65, 81);
}

html {
    scroll-behavior: smooth;
}

#home {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 4rem;
    /* Account for fixed header */
}

.particle-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bg-cover {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: auto;
}

.bg-gray-900\/70 {
    background-color: rgba(17, 24, 39, 0.7);
}

.home-content {
    position: relative;
    z-index: 10;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 56rem;
    margin: 0 auto;
    padding: 0 1rem;
}

h1.typewriter-heading {
    font-size: 2rem;
    /* mobile default */
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    word-wrap: break-word;
    white-space: normal;
    /* allow wrapping on small screens */
}

@media (min-width: 640px) {
    h1.typewriter-heading {
        font-size: 2.5rem;
    }
}

@media (min-width: 768px) {
    h1.typewriter-heading {
        font-size: 3.5rem;
    }
}

@media (min-width: 1024px) {
    h1.typewriter-heading {
        font-size: 4.5rem;
    }
}

.typewriter-line {
    display: inline-block;
    overflow: hidden;
    border-right: 0.05em solid #3b82f6;
    padding-right: 0.2em;
    max-width: 100%;
    white-space: nowrap;
    /* keep typing effect */
}

.cursor-hidden {
    border-right: none !important;
}

.home-description {
    font-size: 1rem;
    color: rgba(209, 213, 219, 1);
    margin-bottom: 2rem;
    max-width: 48rem;
    text-align: center;
}

@media (min-width: 640px) {
    .home-description {
        font-size: 1.2rem;
    }
}

@media (min-width: 768px) {
    .home-description {
        font-size: 1.5rem;
    }
}

/* Services Section */
.services-section {
    padding: 5rem 0;
    background-color: #185147;
    position: relative;
    z-index: 10;
}

.containe {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.text-center {
    text-align: center;
}

.mb-16 {
    margin-bottom: 4rem;
}

/* Title Animation */
.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    color: #ffffff;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #9ca3af;
    max-width: 48rem;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out 0.2s, transform 0.6s ease-out 0.2s;
}

/* Services Grid Layout */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    margin: -1rem;
    row-gap: 2rem;
}

.service-card {
    flex: 0 0 100%;
    padding: 1rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

@media (min-width: 768px) {
    .service-card {
        flex: 0 0 calc(33.333% - 2rem);
    }
}

/* Card Styling with Glow Effect */
.service-card .card-body {
    background-color: #0e332d;
    border: 1px solid #374151;
    height: 100%;
    border-radius: 0.5rem;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transform-style: preserve-3d;
}

.service-card .card-body::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    z-index: -1;
    background-size: 400%;
    border-radius: 0.5rem;
    opacity: 0;
    transition: all 0.6s ease;
    filter: blur(8px);
}

.service-card .card-body:hover {
    transform: perspective(1000px) rotateX(3deg) rotateY(3deg) scale(1.02) translateY(-8px);
    box-shadow: 0 20px 40px rgba(1, 87, 51, 0.3);
    border-color: transparent;
    z-index: 2;
}

.service-card .card-body:hover::before {
    opacity: 0.7;
    animation: glow 6s linear infinite;
}

/* Inner content animation */
.service-card .card-body>div {
    transition: transform 0.4s ease;
}

.service-card .card-body:hover>div {
    transform: translateY(-5px);
}

@keyframes glow {
    0% {
        background-position: 0 0;
    }

    50% {
        background-position: 400% 0;
    }

    100% {
        background-position: 0 0;
    }
}

/* Card Content Styling */
.icon-container {
    margin-bottom: 1rem;
}

.icon-container svg {
    font-size: 2.5rem;
    width: 2.5rem;
    height: 2.5rem;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.service-description {
    color: #9ca3af;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
}

/* Button Styling */
.learn-more-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-weight: 500;
    cursor: pointer;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
    display: inline-block;
    font-size: 1rem;
    text-decoration: none;
}

.learn-more-btn:hover {
    color: #fff;
}

.learn-more-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #fff;
    transition: width 0.3s ease;
}

.learn-more-btn:hover::after {
    width: 100%;
}

/* Animation Classes */
.animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Icon Colors */
.service-card:nth-child(1) .icon-container svg {
    color: #60a5fa;
    /* blue-400 */
}

.service-card:nth-child(2) .icon-container svg {
    color: #34d399;
    /* green-400 */
}

.service-card:nth-child(3) .icon-container svg {
    color: #a78bfa;
    /* purple-400 */
}

/* Portfolio Section */
.portfolio-section {
    padding: 3rem 0;
    background-color: #0e332d;
    position: relative;
    padding-bottom: 20px;
}

.portfolio-section h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: rgb(227, 222, 222);
}

.portfolio-section .subtitle {
    font-size: 1.25rem;
    color: #9CA3AF;
    max-width: 800px;
    margin: 0 auto;
}

.portfolio-grid {
    display: flex;
    flex-wrap: wrap;
    margin: -1rem;
}

.portfolio-item {
    width: 100%;
    padding: 1rem;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .portfolio-item {
        width: 33.3333%;
    }
}

.portfolio-card {
    background-color: #185147;
    border: 1px solid #374151;
    border-radius: 0.5rem;
    overflow: hidden;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    transform-style: preserve-3d;
}

.portfolio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 0.5rem;
    background: linear-gradient(45deg, hwb(154 97% 0% / 0.852), rgba(59, 130, 246, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.portfolio-card:hover::before {
    opacity: 1;
}

.card-image {
    height: 12rem;
    overflow: hidden;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.5s ease;
    backface-visibility: hidden;
}

.portfolio-card:hover .card-image img {
    transform: scale(1.1);
}

.portfolio-card .card-body {
    padding: 1.5rem;
    position: relative;
    z-index: 2;
    background-color: #185147;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: rgb(255, 255, 255);
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-tag {
    background-color: #0e332d;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
}

.view-btn {
    background-color: #ffffff;
    color: #0e332d;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.view-btn:hover {
    background-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Glow Effect */
.glow-effect {
    position: relative;
    overflow: hidden;
}

.glow-effect::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.6), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
}

.portfolio-card:hover .glow-effect::after {
    opacity: 1;
    animation: glow 2s infinite;
}

@keyframes glow {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* Animation Classes */
.portfolio-section .fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.portfolio-section .fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-section .delay-1 {
    transition-delay: 0.2s;
}

.portfolio-section .delay-2 {
    transition-delay: 0.4s;
}

/* Team Section Styles */
.team-section {
    padding: 5rem 0;
    background-color: #185147;
}

.team-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.team-header {
    text-align: center;
    margin-bottom: 4rem;
    color: #fff;
}

.team-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.team-subtitle {
    font-size: 1.25rem;
    color: #cdcdcd;
    max-width: 800px;
    margin: 0 auto;
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    margin: -1rem;
}

.team-member {
    width: 100%;
    padding: 1rem;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .team-member {
        width: 33.3333%;
    }
}

.team-card {
    background-color: #0e332d;
    border: 1px solid #374151;
    border-radius: 0.5rem;
    padding: 2rem;
    height: 100%;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Glow Effect */
.glow-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffffffc6, transparent);
    transition: 0.5s;
}

.team-card:hover.glow-effect::before {
    left: 100%;
}

.member-image {
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    margin: 0 auto 1rem;
    border: 3px solid #fff;
}

.member-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
}

.member-role {
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.member-skills {
    color: #9ca3af;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-icon {
    color: #9ca3af;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.social-icon:hover {
    color: white;
    transform: translateY(-2px);
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

/* Tech Stack Section */
.tech-stack {
    padding: 5rem 0;
    background-color: #0e332d;
    overflow: hidden;
}

.tech-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.tech-header {
    text-align: center;
    margin-bottom: 3rem;
}

.tech-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.tech-subtitle {
    font-size: 1.25rem;
    color: #9ca3af;
    max-width: 600px;
    margin: 0 auto;
}

.tech-carousel-container {
    overflow: hidden;
    position: relative;
}

.tech-carousel {
    display: flex;
    gap: 1rem;
    animation: scroll 30s linear infinite;
}

.tech-item {
    flex-shrink: 0;
    background-color: #185147;
    border: 1px solid #374151;
    border-radius: 0.5rem;
    padding: 1rem 1.5rem;
    transition: all 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.tech-name {
    font-weight: 600;
    color: white;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Contact Section */
.contact-section {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
    background-color: #185147 !important;
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-header h2 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.contact-header p {
    font-size: 1.1rem;
    color: #cbd5e1;
    max-width: 600px;
    margin: 0 auto;
}

.contact-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
    padding-bottom: 20px;
}

.contact-form {
    background-color: #0e332d;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #f3f4f6;
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: #ffffff;
    color: #000000;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 0.75rem;
    background-color: #ffffff;
    color: #000000;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #185147;
    color: white;
}

/* Contact Info */
.contact-info {
    padding: 2rem;
    background-color: #0e332d;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.info-content h4 {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.info-content p {
    color: #cbd5e1;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.social-icons a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Footer Section */
.footer {
    background-color: #0e332d;
    padding: 4rem 1rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.footer-brand {
    text-align: center;
}

.footer-brand h2 {
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: #9ca3af;
    line-height: 1.6;
    max-width: 400px;
    margin: 0 auto;
}

.footer h3 {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
    text-align: center;
}

.footer h3::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: #ffffff;
}

.quick-links ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

.quick-links li {
    margin-bottom: 0.75rem;
}

.quick-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.quick-links a:hover {
    color: #ffffff;
}

.newsletter-form {
    text-align: center;
}

.newsletter-form p {
    color: #9ca3af;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.newsletter-input {
    display: flex;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-input input {
    flex: 1;
    padding: 0.75rem 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 6px 0 0 6px;
    font-size: 0.95rem;
}

.newsletter-input input::placeholder {
    color: #9ca3af;
}

.newsletter-input button {
    padding: 0 1.5rem;
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    border: none;
    border-radius: 0 6px 6px 0;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.newsletter-input button:hover {
    background-color: #ffffff;
}

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #9ca3af;
    font-size: 0.9rem;
}

/* Mobile-specific fixes */
@media (max-width: 768px) {
    .header-container {
        padding: 0 1rem;
    }

    .mobile-menu {
        top: 60px;
        height: calc(100vh - 60px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .mobile-nav {
        padding: 1rem 0;
    }

    .mobile-nav-button {
        padding: 1.2rem 1.5rem;
        font-size: 1.1rem;
    }

    /* Prevent horizontal scrolling */
    body,
    html {
        overflow-x: hidden;
        width: 100%;
    }

    /* Improve touch targets */
    button,
    a {
        min-height: 44px;
        min-width: 44px;
    }

    /* Home section adjustments */
    .home-content {
        padding: 0 1.5rem;
    }

    .typewriter-heading {
        font-size: 1.8rem;
    }

    .home-description {
        font-size: 1rem;
    }

    /* Responsive contact section */
    .contact-container {
        flex-direction: column;
    }

    .newsletter-input {
        flex-direction: column;
    }

    .newsletter-input input {
        border-radius: 6px;
        margin-bottom: 0.5rem;
    }

    .newsletter-input button {
        border-radius: 6px;
        padding: 0.75rem;
    }
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
        text-align: left;
    }

    .footer-brand {
        text-align: left;
        margin: 0;
    }

    .footer-brand p {
        margin: 0;
    }

    .footer h3 {
        text-align: left;
    }

    .footer h3::after {
        left: 0;
        transform: none;
    }

    .quick-links ul {
        text-align: left;
    }

    .newsletter-form {
        text-align: left;
    }

    .newsletter-input {
        margin: 0;
    }

    .contact-container {
        flex-direction: row;
    }

    .contact-form {
        flex: 1;
    }

    .contact-info {
        flex: 1;
    }

    .contact-header h2 {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .nav-container p {
        font-size: 0.9rem;
    }

    .logo-img {
        width: 50px !important;
        height: 50px !important;
    }

    .typewriter-heading {
        font-size: 1.5rem;
    }
}