/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #0d1b2a;
    color: #e0e0e0;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Modern Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(13, 27, 42, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    color: #ffffff;
    font-weight: 600;
    font-size: 1.3rem;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: #a0a0a0;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    font-weight: 400;
}

.nav-links a span {
    color: #2475d0;
    font-weight: 500;
    font-size: 0.85rem;
    margin-right: 0.5rem;
}

.nav-links a:hover {
    color: #ffffff;
}

/* Responsive Navbar */
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        gap: 1rem;
        position: absolute;
        top: 100%;
        right: 0;
        background-color: #0d1b2a;
        padding: 1rem 2rem;
        display: none;
    }

    .navbar.open .nav-links {
        display: flex;
    }
}

@media (max-width: 600px) {
    .nav-links a {
        display: block;
        padding: 1rem;
        text-align: center;
    }
}

/* Sections */
section {
    /* Remove fixed height */
    /* height: 100vh; */
    min-height: 100vh; /* Optional: ensures full viewport height but allows it to grow */
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

#about {
    background-color: #1c2e4a;
    display: flex;flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
}

#services {
    padding: 2rem 1rem;
    height: auto;
}

#contact {
    background-color: #0f1827;
}

/* Footer */
footer {
    text-align: center;
    padding: 1rem;
    background-color: #66fcf1;
    color: black;
}

.section-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 1rem;
}

@media (min-width: 500px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background-color: #1c2e4a;
    padding: 1.5rem;
    border-radius: 12px;
    width: 280px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    color: #ffffff;
}

.service-card img {
    width: 80px;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.service-card:hover img {
    transform: scale(1.1);
}

/* Splash Screen */
body.lock-scroll {
    overflow: hidden;
}

.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background-color: #0d1b2a;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 9999;
}

.fade-out {
    opacity: 0;
    transition: opacity 1s ease;
}

.splash-content {
    padding: 2rem;
    text-align: center;
}

.splash-logo {
    width: 80%;
    max-width: 200px;
    height: auto;
}

.enter-button {
    display: inline-block;
    margin-top: 2rem;
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    color: white;
    background-color: #2475d0;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.enter-button:hover {
    background-color: #1c5fb0;
}

/* Animations */
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes floatLogo {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Hamburger styles */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.hamburger .bar {
    height: 3px;
    width: 100%;
    background-color: #ffffff;
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
}

/* Mobile nav toggle */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        gap: 1.5rem;
        position: absolute;
        top: 70px;
        right: 2rem;
        background-color: rgba(13, 27, 42, 0.95);
        padding: 1.5rem;
        display: none;
        border-radius: 10px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.4);
        transition: all 0.3s ease;
    }

    .nav-links.active {
        display: flex;
    }
}

#contact {
    padding: 4rem 2rem;
    background-color: #0d1b2a;
    color: #ffffff;
}

.contact-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1000px;
    margin: auto;
}

@media (min-width: 768px) {
    .contact-container {
        flex-direction: row;
        justify-content: space-between;
    }
}

.contact-text {
    flex: 1;
}

.contact-text ul {
    list-style: none;
    padding: 0;
}

.contact-text li {
    margin: 0.5rem 0;
}

.contact-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: transparent;
    border: 2px solid #ffffff33;
    color: #ffffff;
    padding: 0.8rem;
    border-radius: 8px;
    outline: none;
}

.form-group label {
    position: absolute;
    top: 0.7rem;
    left: 0.8rem;
    color: #ffffff99;
    transition: 0.2s ease all;
    pointer-events: none;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -1rem;
    left: 0.6rem;
    font-size: 0.8rem;
    color: #66fcf1;
    background-color: #0d1b2a;
    padding: 0 0.3rem;
}

button[type="submit"] {
    background-color: #66fcf1;
    color: #0d1b2a;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #45c6b0;
}

.form-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
    margin-top: 20px;
    color: #4caf50;
    text-align: center;
}

.form-success.show {
    opacity: 1;
    transform: translateY(0);
}

.checkmark {
    width: 64px;
    height: 64px;
    stroke: #4caf50;
    animation: scaleIn 0.3s ease-in-out both;
    margin-bottom: 10px;
}

.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke: #4caf50;
    fill: none;
    animation: strokeCircle 0.6s ease-in-out forwards;
}

.checkmark-check {
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke-width: 2;
    stroke: #4caf50;
    animation: strokeCheck 0.3s 0.6s ease-in-out forwards;
}

@keyframes strokeCircle {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes strokeCheck {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes scaleIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.hidden {
    display: none;
}

.home-with-video {
    position: relative;
    overflow: hidden;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.background-video {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    z-index: -1;
}

.home-content {
    position: relative;
    z-index: 1;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 1rem;
}

/* Hide video on mobile */
@media (max-width: 768px) {
    .background-video {
        display: none !important;
    }

    .mobile-background {
        display: block;
        background-image: url('images/home-fallback.jpg');
        background-size: cover;
        background-position: center;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
    }
}

/* Default desktop styles */
.background-video {
    display: block;
}

.mobile-background {
    display: none;
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
    padding: 2rem 0;
    color: #ffffff;
}

.about-photo img {
    max-width: 250px;
    border-radius: 1rem;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.about-text {
    flex: 1;
    min-width: 280px;
}

@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-photo img {
        max-width: 200px;
    }
}

.pricing-snippet {
    text-align: center;
    margin-top: 4rem;
    color: #e0e0e0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 280px;
    gap: 1.5rem;
    margin-top: 2rem;
    padding: 0 1rem;
    justify-content: center;
}

@media (min-width: 600px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 280px);
    }
}

@media (min-width: 900px) {
    .pricing-grid {
        grid-template-columns: repeat(4, 280px);
    }
}

.pricing-card {
    background-color: #1c2e4a;
    padding: 1.5rem;
    border-radius: 12px;
    width: 280px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    color: #ffffff;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.pricing-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: #ffffff;
}

.pricing-card .price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #66fcf1;
    margin: 0.5rem 0;
}

.pricing-card .note {
    font-size: 0.9rem;
    color: #a0a0a0;
}

.custom-note {
    margin-top: 2rem;
    font-size: 1rem;
}


.carousel-container {
    margin-top: 3rem;
    text-align: center;
  }
  
  
  .carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
  }
  
  .carousel-track {
    display: flex;
    transition: transform 0.4s ease-in-out;
  }
  
  .carousel-slide {
    min-width: 100%;
    box-sizing: border-box;
    padding: 1rem;
  }
  
  .carousel-slide img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }
  
  .carousel-slide p {
    margin-top: 0.5rem;
    font-weight: 500;
    color: var(--text-secondary);
  }
  
  .carousel-btn {
    position: absolute;
    top: 40%;
    transform: translateY(-10%);
    color: #fff;
    z-index: 2;
    background-color: #0c2d57; /* Match your site theme color */
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }
  
  .carousel-btn.prev {
    left: 10px;
  }
  
  .carousel-btn.next {
    right: 10px;
  }
  
  .carousel-btn:hover {
    background-color: #145ea8;
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  }

  .carousel-btn:active {
    transform: scale(0.95);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
  }
  