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

:root {
    --primary-color: #00aae0;
    --secondary-color: #66ce00;
    --text-color: #333;
    --background-color: #f4f4f4;
    --header-bg: transparent;
    --header-text-color: var(--text-color);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: 1px solid rgba(255, 255, 255, 0.2);
    --glass-shine-color: rgba(0, 170, 224, 0.3);
    --shadow: 
        0 8px 32px 0 rgba(0, 170, 224, 0.1),
        inset 0 2px 2px rgba(255, 255, 255, 0.6),
        inset 0 -2px 2px rgba(0, 170, 224, 0.2);
    --pricing-background-text-color: #767575;
}

[data-theme="dark"] {
    --primary-color: #00aae0;
    --secondary-color: #66ce00;
    --text-color: #fff;
    --background-color: #1a1a1a;
    --header-bg: transparent;
    --header-text-color: #fff;
    --glass-bg: rgba(0, 0, 0, 0.15);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --glass-shine-color: rgba(255, 255, 255, 0.2);
    --shadow: 
        0 8px 32px 0 rgba(0, 0, 0, 0.2),
        inset 0 1px 1px rgba(255, 255, 255, 0.1),
        inset 0 -1px 1px rgba(0, 0, 0, 0.3);
    --pricing-background-text-color: #fff;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    transition: background-color 0.3s, color 0.3s;
}

header {
    position: fixed;
    top: 20px;
    left: 5%;
    width: 90%;
    z-index: 100;
    padding: 10px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.logo-container, .nav-links, .nav-icons-container {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
    border: var(--glass-border);
    border-radius: 50px;
    padding: 10px 20px;
    transition: background 0.5s ease, backdrop-filter 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease;
}

.logo img {
    height: 40px;
    transition: filter 0.3s ease;
}

[data-theme="dark"] .logo img {
    filter: invert(1) brightness(1.5);
}

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

.nav-links li {
    margin: 0;
}

.nav-links a {
    color: var(--header-text-color);
    text-decoration: none;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.nav-icons {
    display: flex;
    align-items: center;
}

.nav-icons > div {
    margin: 0 8px;
}

.theme-switcher-label {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.theme-switcher-label input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.slider i {
    color: var(--header-text-color);
    transition: color 0.4s;
}

main {
    padding-top: 0;
    overflow-x: hidden;
}

section {
    padding: 8rem 5%;
    margin: 0 auto;
    max-width: 1200px;
    text-align: center;
    position: relative;
}

.hero {
    color: #fff;
    height: 100vh;
    width: 100%;
    max-width: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

#hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.locations {
    color: #fff;
    max-width: none;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    padding-top: 8rem;
    padding-bottom: 8rem;
    position: relative;
    overflow: hidden;
}

#locations-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.locations-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    width: 100%;
    padding: 0 5%;
}

.hero-left {
    display: flex;
    justify-content: center;
    z-index: 1;
}

.hero-content {
    border-radius: 20px;
    padding: 3rem;
    max-width: 550px;
    text-align: center;
    margin: 0 auto;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    border: var(--glass-border);
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.cta-button {
    background: var(--primary-color);
    color: #fff;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
    width: 100%;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.service-cards, .location-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
}

.card {
    border-radius: 15px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    border: var(--glass-border);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.about-container {
    display: grid;
    gap: 0;
    align-items: center;
}

.about-content {
    border-radius: 20px;
    padding: 3rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    border: var(--glass-border);
}

.swiper-container {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    border: var(--glass-border);
}

.swiper-slide img {
    width: 100%;
    object-fit: cover;
}

.swiper-button-next, .swiper-button-prev {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    color: var(--primary-color);
}

.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 24px;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color);
}

.contact {
    border-radius: 20px;
    padding: 3rem;
    margin-top: 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    border: var(--glass-border);
}

.contact-form, .login-form {
    display: grid;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.contact-form input, .contact-form textarea, .login-form input {
    width: 100%;
    padding: 1rem;
    background: transparent;
    border: 1px solid var(--text-color);
    border-radius: 10px;
    color: var(--text-color);
    font-family: inherit;
    font-size: 1rem;
}

.contact-form input:focus, .contact-form textarea:focus, .login-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-form label, .login-form label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: var(--text-color);
    pointer-events: none;
    transition: top 0.3s, font-size 0.3s, color 0.3s;
}

.contact-form input:focus + label, .contact-form textarea:focus + label, .contact-form input:not(:placeholder-shown) + label, .contact-form textarea:not(:placeholder-shown) + label, .login-form input:focus + label, .login-form input:not(:placeholder-shown) + label {
    top: -0.75rem;
    left: 0.75rem;
    font-size: 0.8rem;
    color: var(--primary-color);
    background: var(--background-color);
    padding: 0 0.25rem;
}

#form-status {
    margin-top: 1rem;
}

.language-selector, .user-menu {
    position: relative;
}

.language-selector-button, .user-menu-button {
    background: transparent;
    border: none;
    color: var(--header-text-color);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
}

.language-dropdown, .user-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    border: var(--glass-border);
    border-radius: 10px;
    padding: 10px;
    width: max-content;
    z-index: 101;
}

.user-dropdown {
    width: 250px;
    padding: 20px;
}

.language-dropdown a {
    display: block;
    color: var(--header-text-color);
    text-decoration: none;
    padding: 5px 10px;
    margin: 5px 0;
    transition: background 0.2s, color 0.2s;
}

.language-dropdown a:hover {
    background: var(--primary-color);
    border-radius: 5px;
    color: #fff;
}

.language-selector:hover .language-dropdown, .user-menu:hover .user-dropdown {
    display: block;
}

.language-selector.open .language-dropdown, .user-menu.open .user-dropdown {
    display: block;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-color);
    opacity: 0.7;
    margin: 1rem 0;
}

.divider::before, .divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--text-color);
}

.divider:not(:empty)::before {
    margin-right: .5em;
}

.divider:not(:empty)::after {
    margin-left: .5em;
}

.google-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #fff;
    color: #444;
    border: 1px solid #ccc;
    padding: 0.6rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s;
    width: 100%;
}

.google-login-btn:hover {
    background: #f2f2f2;
    border-color: #aaa;
}

.google-login-btn i {
    font-size: 1.2rem;
    color: #DB4437;
}

.pricing-section {
  position: relative;
  padding: 8rem 5%;
  text-align: center;
  overflow: hidden;
}

.pricing-background-text {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 18rem;
  font-weight: 900;
  color: var(--pricing-background-text-color);
  z-index: 1;
  pointer-events: none;
}

.pricing-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.pricing-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: var(--glass-border);
  box-shadow: var(--shadow);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 2;
  position: relative;
  color: var(--text-color);
}


.pricing-card:hover {
  transform: translateY(-10px);
}

.card-header h3 {
  font-size: 1.2rem;
  font-weight: 400;
}

.card-header .price {
  font-size: 3rem;
  font-weight: 700;
  margin: 1rem 0;
}

.features {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.features li {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.features li .bi-check {
  margin-right: 10px;
  background-color: var(--glass-bg);
  border-radius: 50%;
  padding: 5px;
  color: var(--primary-color);
}

.pricing-card .cta-button {
  width: 100%;
  padding: 1rem;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.pricing-card:not(.standard) .cta-button {
  background-color: transparent;
  color: var(--text-color);
  border: 1px solid var(--primary-color);
}

.pricing-card.standard .cta-button {
  background-color: var(--primary-color);
  color: #fff;
}

.billing-toggle {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 3rem;
  z-index: 2;
  position: relative;
  color: var(--text-color);
}

.billing-toggle span {
  margin-right: 1rem;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 28px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.billing-toggle .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
}

.billing-toggle .slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
}

.billing-toggle input:checked + .slider {
  background-color: #2196F3;
}

.billing-toggle input:checked + .slider:before {
  transform: translateX(22px);
}

.billing-toggle .slider.round {
  border-radius: 34px;
}

.billing-toggle .slider.round:before {
  border-radius: 50%;
}

footer {
    padding: 4rem 5% 2rem;
    margin-top: 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    border: var(--glass-border);
    border-radius: 20px;
}

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

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

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

.footer-column ul li a {
    color: var(--header-text-color);
    text-decoration: none;
}

.social-icons a {
    color: var(--header-text-color);
    font-size: 1.5rem;
    margin-right: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.developer-signature {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.developer-signature img {
    height: 20px;
    margin-left: 5px;
}

.shine {
    background: linear-gradient(90deg, var(--text-color), var(--primary-color), var(--text-color));
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 3s linear infinite;
    display: inline-block;
}

@keyframes shine {
    to {
        background-position: -200% center;
    }
}

.hamburger {
    display: none;
}


@media screen and (max-width: 1024px) {
    .nav-links {
        position: absolute;
        right: -20px;
        height: 92vh;
        top: 80px;
        background-color: var(--background-color);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 50%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        border-radius: 20px;
        padding-top: 2rem;
    }

    .nav-links li {
        opacity: 0;
    }

    .hamburger {
        display: block;
        cursor: pointer;
    }

    .nav-icons-container {
        display: none;
    }

    .nav-active {
        transform: translateX(0%);
    }

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

    .toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .toggle .line2 {
        opacity: 0;
    }

    .toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}

@media (min-width: 1025px) {
    .nav-links .language-selector-item,
    .nav-links .user-menu-item,
    .nav-links .theme-switcher-item {
        display: none;
    }
}

@media (min-width: 992px) {
    .hero-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-left {
        justify-content: flex-start;
    }

    .hero-content {
        text-align: left;
    }

    .about-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-content {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }

    .swiper-container {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }
}

@media (max-width: 768px) {
    .hero-content {
      padding: 2rem;
      text-align: center;
      margin: 0 auto;
    }
  
    .hero-container {
      padding: 0 1rem;
    }
    
    .pricing-container {
        grid-template-columns: 1fr;
    }

    .pricing-card.standard {
        transform: scale(1);
    }
}
