/* Base Styles */

:root {
    --primary-color: #0d0d0d;
    --secondary-color: #ffffff;
    --accent-color: #ff4d5a;
    --text-color: #f0f0f0;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--primary-color);
    color: var(--text-color);
    overflow-x: hidden;
}

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 9999;
}

.loader-content {
    text-align: center;
    color: green;
}

.loader-text {
    font-size: 2rem;
    margin-bottom: 20px;
    opacity: 0;
}

.loader-text span {
    color: #fff;
}

.progress-bar {
    width: 250px;
    height: 2px;
    background-color: #000;
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    text-align: center;
    transform: translateX(10px);
}

.progress {
    width: 0;
    height: 100%;
    background-color: #ff4d5a;
    position: absolute;
    left: 0;
    top: 0;
}

section {
    min-height: 100vh;
    padding: 80px 5%;
    position: relative;
}

h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    text-align: center;
}

h2::after {
    content: "";
    position: absolute;
    width: 50%;
    height: 3px;
    background-color: var(--accent-color);
    bottom: -5px;
    left: 0;
}

p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 800px;
}

a {
    text-decoration: none;
    color: var(--text-color);
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--accent-color);
    border: none;
    color: white;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 1rem;
}

.btn:hover {
    background-color: #e43545;
    /* transform: translateY(-3px); */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Header & Navigation */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    background-color: rgba(13, 13, 13, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 15px 5%;
}

.google-btn {
    position: fixed;
    bottom: 110px;
    right: 20px;
    z-index: 1000;
    background-color: #e43545;
    color: white;
    padding: 15px;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    width: 60px;
}

.google-btn i {
    font-size: 2rem;
}

.google-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background-color: #25d366;
    color: white;
    padding: 15px;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    width: 60px;
}

.whatsapp-btn i {
    font-size: 2rem;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
}

.logo span {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    position: relative;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    bottom: -5px;
    left: 0;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent-color);
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 101;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: var(--transition);
    display: block;
}

/* Hero Section */

#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
    padding-top: 0;
    padding-bottom: 0;
}

.hero-content {
    width: 50%;
    z-index: 2;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    /* opacity: 0; */
    transform: translateY(50px);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    /* opacity: 0; */
    transform: translateY(50px);
}

.hero-cta {
    /* opacity: 0; */
    transform: translateY(50px);
}

.hero-scene {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
}

/* About Section */

#about {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    height: 500px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.about-stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.stat {
    text-align: center;
    /* opacity: 0; */
    transform: translateY(20px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.stat-text {
    font-size: 1rem;
    font-weight: 500;
}

/* Portfolio Section */

#portfolio {
    background-color: #0a0a0a;
}

.portfolio-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-title {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.portfolio-category {
    color: var(--accent-color);
    font-size: 1rem;
}

/* Code driven Animation */

/* html,
body {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
  background: #000;
  overflow:hidden;
} 
*/

pov {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.die {
    width: 400px;
    height: 55px;
    padding-bottom: 9px;
    perspective: 999px;
    text-align: center;
    /* transform: translateX(100px); */
}

.cube {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.face img {
    width: 50px;
}

.face {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    /*   letter-spacing:-1px; */
    backface-visibility: hidden;
    /*   overflow:hidden; */
}

/* Services Section */

#services {
    text-align: center;
}

.services-intro {
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 40px 30px;
    transition: var(--transition);
    /* opacity: 0; */
    transform: translateY(30px);
}

.service-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.1);
}

.service-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Testimonials Section */

/* #testimonials {
  background-color: #0a0a0a;
  text-align: center;
}

.testimonials-intro {
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.testimonial-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  height: 300px;
  overflow: hidden;
}

.testimonial {
  position: absolute;
  width: 100%;
  height: 100%;
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  /* opacity: 0; */

/* transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
} */

/* Testimonials Section */

.testimonials {
    background: linear-gradient(135deg, #f6f6f6 0%, #ffffff 100%);
    background: none;
    padding: 80px 20px;
}

.testimonial-slider {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.testimonials h2 {
    color: #ffff;
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
}

.testimonial-card {
    background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7)), url(images/retro-camera\ 2.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 20px;
    text-align: center;
    display: none;
}

.testimonial-card.active {
    display: block;
    animation: fadeIn 0.5s ease-in;
}

.client-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 3px solid #f0f0f0;
}

.client-quote {
    font-style: italic;
    color: #fff;
    margin: 20px 0;
    line-height: 1.8;
}

.client-name {
    font-weight: bold;
    color: #777;
    margin-bottom: 5px;
}

.client-role {
    color: #999;
    font-size: 0.9rem;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.testimonial-nav button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: #ddd;
    cursor: pointer;
    padding: 0;
}

.testimonial-nav button.active {
    background: #ff4d5a;
}

/* Pricing Section */

.pricing-section {
    padding: 1rem;
    max-width: 1200px;
    margin: 30rem auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.section-header p {
    color: white;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 20px;
    transform-style: preserve-3d;
}

.pricing-card {
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    transform: translateZ(0);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    transform: translateY(50px);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* .pricing-card.popular::before {
  content: "Most Popular";
  position: absolute;
  top: 20px;
  right: -35px;
  background: green;
  color: white;
  padding: 8px 40px;
  transform: rotate(45deg);
  font-size: 0.8rem;
} */

.plan-name {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.plan-price {
    color: #ff4d5a;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 30px;
}

.plan-price span {
    font-size: 1rem;
    color: #718096;
}

.features-list {
    list-style: none;
    margin-bottom: 30px;
}

.features-list li {
    color: #fff;
    padding: 10px 0;
    border-bottom: 1px solid #edf2f7;
}

.pricing-section .cta-button {
    background: #000;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
    /* border-radius: 0 30px; */
    border: 1px solid #ff4d5a;
}

/* .cta-button:hover {
  background: #434190;
} */

.toggle-container {
    text-align: center;
    margin-bottom: 40px;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    margin: 0 10px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: green;
}

input:checked+.slider:before {
    transform: translateX(26px);
}

.billing-text {
    color: #718096;
    display: inline-block;
    vertical-align: middle;
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Contact Section */

#contact {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-intro {
    margin-bottom: 3rem;
}

.contact-container {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-form {
    flex: 1;
}

.contact-form h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: center;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    color: var(--accent-color);
}

.contact-text h4 {
    margin-bottom: 5px;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 5px;
    color: var(--text-color);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.1);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Footer */

footer {
    background-color: #060606;
    padding: 30px 5%;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.signage a {
    color: orange;
    text-decoration: none;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.copyright {
    margin-top: 20px;
    opacity: 0.7;
    font-size: 0.9rem;
}

/* 3D Scene Containers */

#floating-camera {
    position: absolute;
    right: 10%;
    width: 40%;
    height: 70%;
    top: 15%;
}

#rotating-gallery {
    position: relative;
    height: 400px;
    margin: 50px auto;
}

#camera-model {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0.8;
}

/* Responsive Styles */

@media (max-width: 1024px) {
    .hero-content {
        width: 60%;
    }
    .hero-scene {
        width: 40%;
    }
    .about-content {
        flex-direction: column;
    }
    .about-text,
    .about-image {
        width: 100%;
    }
    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    .contact-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        background-color: rgba(13, 13, 13, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        z-index: 100;
    }
    .nav-links.active {
        right: 0;
    }
    .hamburger {
        display: block;
    }
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    .hero-content {
        width: 100%;
        text-align: center;
    }
    .hero-scene {
        opacity: 0.3;
        width: 100%;
    }
    .hero-title {
        font-size: 3rem;
    }
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .about-stats {
        flex-direction: column;
        gap: 20px;
    }
    .footer-content {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    h2 {
        font-size: 2.2rem;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1.2rem;
    }
    .portfolio-item {
        height: 300px;
    }
}