/* =========================================================
   GLOBAL STYLES & RESETS
========================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    margin: 0;
    background: #ffffff;
    font-family: "Caudex", serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

section{
    padding: 80px 40px;
    text-align: center;
    position: relative;
}

p{
    font-size: 18px;
    line-height: 1.7;
    color: #4a5568;
}

/* =========================================================
   FONTS
========================================================= */
.caudex-bold{
    font-family: "Caudex", serif;
    font-weight: 700;
}

.sigmar-one-regular{
    font-family: "Sigmar One", sans-serif;
    font-weight: 400;
}

.kranky-regular{
    font-family: "Kranky", serif;
    font-weight: 400;
}

/* =========================================================
   HEADINGS
========================================================= */
h2{
    font-family: "Kranky", serif;
    font-size: 52px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

h3{
    color: #a382ed;
    font-weight: 600;
    font-size: 28px;
    margin-bottom: 15px;
}

/* =========================================================
   BUTTONS
========================================================= */
button{
    width: 100%;
    padding: 14px 24px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    background: #a382ed;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(163, 130, 237, 0.3);
    font-family: "Caudex", serif;
    font-weight: 600;
    font-size: 16px;
}

button:hover{
    background: #8e6bd9;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(163, 130, 237, 0.4);
}

/* =========================================================
   FORMS
========================================================= */
input,
select,
textarea{
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    font-family: "Caudex", serif;
    font-size: 15px;
    background: #ffffff;
}

input:focus,
select:focus,
textarea:focus{
    border-color: #a382ed;
    box-shadow: 0 0 0 3px rgba(163, 130, 237, 0.15);
    transform: translateY(-1px);
}

input::placeholder,
textarea::placeholder{
    font-family: "Caudex", serif;
    color: #a0aec0;
}

/* =========================================================
   NAVBAR
========================================================= */
.navbar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    margin: 20px 30px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 60px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: sticky;
    top: 20px;
    z-index: 1000;
}

.navbar:hover{
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.logo{
    text-decoration: none;
    background: linear-gradient(135deg, #a382ed, #8e6bd9);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    font-size: 28px;
    font-weight: 800;
    font-family: "Kranky", serif;
    letter-spacing: 1px;
}

.nav-links{
    list-style: none;
    display: flex;
    gap: 32px;
}

.nav-links li a{
    text-decoration: none;
    color: #1a202c;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 16px;
    position: relative;
}

.nav-links li a::after{
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #a382ed;
    transition: width 0.3s ease;
}

.nav-links li a:hover::after{
    width: 100%;
}

.nav-links li a:hover{
    color: #a382ed;
}

/* =========================================================
   HERO SECTION
========================================================= */
.hero{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 20px 80px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f5ff 100%);
    overflow: hidden;
    min-height: 90vh;
}

/* HERO CONTENT */
.hero-text{
    width: 100%;
    max-width: 800px;
    position: relative;
    z-index: 2;
}

/* HEADING */
.hero-text h2{
    font-size: 64px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #1a202c;
    font-family: "Kranky", serif;
}

/* PURPLE TEXT */
#changing-text{
    color: #a382ed;
    display: inline-block;
    animation: fadePulse 0.5s ease;
}

@keyframes fadePulse{
    0%{ opacity: 0.6; transform: scale(0.98);}
    100%{ opacity: 1; transform: scale(1);}
}

/* PARAGRAPH */
.hero-text p{
    font-size: 20px;
    line-height: 1.7;
    color: #4a5568;
    max-width: 650px;
    margin: 0 auto 25px;
}

/* BUTTONS */
.hero-buttons{
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.hero-btn{
    display: inline-block;
    padding: 14px 32px;
    background: #a382ed;
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(163, 130, 237, 0.3);
}

.hero-btn:hover{
    transform: translateY(-3px);
    background: #8e6bd9;
    box-shadow: 0 8px 20px rgba(163, 130, 237, 0.4);
}

.hero-btn:first-child{
    background: transparent;
    border: 2px solid #a382ed;
    color: #a382ed;
    box-shadow: none;
}

.hero-btn:first-child:hover{
    background: #a382ed;
    color: white;
}

/* SHAPES - SIMPLE FLOAT UP/DOWN */
.bg-shapes{
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
}

.shape{
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    animation: floatUpDown 6s ease-in-out infinite;
}

@keyframes floatUpDown{
    0%{
        transform: translateY(0px);
    }
    50%{
        transform: translateY(-25px);
    }
    100%{
        transform: translateY(0px);
    }
}

/* LEFT SHAPE */
.shape1{
    width: 200px;
    height: 200px;
    background: #a382ed;
    top: 10%;
    left: -5%;
    animation-delay: 0s;
}

/* RIGHT SHAPE */
.shape2{
    width: 280px;
    height: 280px;
    background: #c4aaff;
    right: -8%;
    bottom: -10%;
    animation-delay: 1s;
}

/* MOBILE HERO */
@media(max-width:768px){
    .hero{
        padding: 50px 15px 60px;
        min-height: auto;
    }
    .hero-text h2{
        font-size: 44px;
    }
    .hero-text p{
        font-size: 17px;
    }
    .shape1{
        width: 120px;
        height: 120px;
    }
    .shape2{
        width: 160px;
        height: 160px;
    }
}

/* =========================================================
   ABOUT SECTION
========================================================= */
.about{
    background: #faf6f6;
    padding: 80px 40px;
}

.about-container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    max-width: 1280px;
    margin: 0 auto;
}

.about-left,
.about-right{
    width: 50%;
}

.about-right{
    text-align: center;
}

.about-right img,
.about-right video{
    width: 100%;
    max-width: 450px;
    border-radius: 24px;
    animation: floatUpDown 6s ease-in-out infinite;
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-right video:hover{
    transform: scale(1.02);
}

.about-text p{
    font-size: 18px;
    line-height: 1.8;
    color: #4a5568;
    text-align: left;
}

.about-stats{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 20px;
    margin-top: 35px;
}

.stat{
    padding: 20px;
    background: white;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.stat:hover{
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.stat h3{
    font-size: 36px;
    margin-bottom: 8px;
}

.stat p{
    font-size: 15px;
    margin: 0;
    color: #718096;
}

/* =========================================================
   SERVICES SECTION
========================================================= */
.services{
    padding: 80px 60px;
    background: white;
}

.service-row{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    margin: 80px 0;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.service-row.reverse{
    flex-direction: row-reverse;
}

.service-image,
.service-text{
    width: 50%;
}

.service-image img{
    width: 100%;
    max-width: 450px;
    border-radius: 24px;
    animation: floatUpDown 6s ease-in-out infinite;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.service-image img:hover{
    transform: scale(1.03);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.12);
}

.service-text h3{
    font-size: 32px;
    margin-bottom: 15px;
    text-align: left;
}

.service-text p{
    color: #4a5568;
    line-height: 1.8;
    font-size: 17px;
    text-align: left;
}

/* =========================================================
   CONTACT SECTION
========================================================= */
.contact{
    background: #f5f7fa;
    padding: 80px 40px;
}

.contact-container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 50px;
}

.contact-left{
    flex: 1;
    text-align: left;
}

.contact-left h2{
    font-size: 52px;
    color: #a382ed;
    margin-bottom: 20px;
    text-align: left;
}

.contact-left > p{
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 25px;
}

.contact-info{
    margin-top: 20px;
}

.contact-info p{
    margin: 15px 0;
    color: #2d3748;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-info p strong{
    color: #a382ed;
}

.contact-right{
    flex: 1;
    text-align: center;
}

.contact-right img{
    width: 100%;
    max-width: 450px;
    border-radius: 24px;
    box-shadow: 0 20px 35px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.contact-right img:hover{
    transform: scale(1.02);
}

/* =========================================================
   TESTIMONIALS
========================================================= */
.testimonials{
    padding: 80px 40px;
    background: #faf6f6;
}

.section-title{
    text-align: center;
    font-size: 48px;
    color: #a382ed;
    margin-bottom: 50px;
    font-family: "Kranky", serif;
}

.testimonial-wrapper{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-viewport{
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
}

.testimonial-container{
    display: flex;
    transition: transform 0.5s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.testimonial-card{
    flex: 0 0 50%;
    padding: 25px;
    box-sizing: border-box;
}

.top{
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.top img{
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
    /* border: 3px solid #a382ed; */
    box-shadow: 0 5px 12px rgb(0 0 0 / 38%);
}

.top h4{
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #1a202c;
}

.top span{
    font-size: 13px;
    color: #718096;
}

.stars{
    margin: 12px 0;
}

.star{
    font-size: 20px;
    color: #cbd5e0;
    transition: color 0.2s;
}

.star.filled{
    color: #fbbf24;
}

.message{
    color: #4a5568;
    line-height: 1.7;
    font-style: italic;
    background: white;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    font-size: 16px;
}

.nav-btn{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    color: #a382ed;
    font-size: 24px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover{
    background: #a382ed;
    color: white;
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(163, 130, 237, 0.3);
}

/* =========================================================
   FOOTER - ORIGINAL BLACK VERSION
========================================================= */
.footer{
    background: #111;
    color: white;
    padding: 28px 5% 10px;
    overflow: hidden;
}

.footer-container{
    max-width: 1100px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 35px;
    flex-wrap: wrap;
}

.footer-box{
    flex: 1;
    min-width: 240px;
}

.footer-box h2{
    font-size: 28px;
    color: #a382ed;
    margin-bottom: 8px;
    line-height: 1;
}

.footer-box p{
    font-size: 14px;
    color: #bdbdbd;
    line-height: 1.5;
    max-width: 320px;
}

.footer-form{
    width: 360px;
    padding: 16px;
    border-radius: 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
}

.footer-form h3{
    font-size: 18px;
    margin-bottom: 12px;
    color: #a382ed;
}

.footer-form form{
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-form input,
.footer-form select,
.footer-form textarea{
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    color: white;
    font-size: 13px;
    padding: 12px;
    border-radius: 8px;
}

.footer-form textarea{
    resize: none;
    height: 70px;
}

.footer-form option{
    background: #1a202c;
    color: white;
}

.footer-bottom{
    margin-top: 18px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
}

.footer-bottom p{
    font-size: 12px;
    color: #999;
}

/* =========================================================
   MARQUEE
========================================================= */
marquee{
    /* background: linear-gradient(90deg, #f95f21, #ff7a3c); */
    background:#a382ed;
    color: #fff;
    padding: 12px 0;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* =========================================================
   RESPONSIVE DESIGN
========================================================= */

/* MOBILE */
@media (max-width: 767px){
    section{
        padding: 50px 20px !important;
    }
    
    h2{
        font-size: 38px !important;
    }
    
    /* NAVBAR */
    .navbar{
        flex-direction: column;
        gap: 12px;
        padding: 12px 20px;
        margin: 15px;
        border-radius: 30px;
    }
    .nav-links{
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    /* ABOUT */
    .about-container{
        flex-direction: column;
        gap: 35px;
    }
    .about-left,
    .about-right{
        width: 100%;
    }
    .about-text p{
        text-align: center;
    }
    .about-stats{
        gap: 12px;
    }
    
    /* SERVICES */
    .service-row,
    .service-row.reverse{
        flex-direction: column !important;
        gap: 30px;
        margin: 50px 0;
    }
    .service-image,
    .service-text{
        width: 100%;
        text-align: center;
    }
    .service-text h3,
    .service-text p{
        text-align: center;
    }
    .services{
        padding: 50px 20px !important;
    }
    
    /* TESTIMONIALS */
    .testimonial-card{
        flex: 0 0 100%;
        padding: 15px;
    }
    .section-title{
        font-size: 36px;
    }
    .nav-btn{
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    /* CONTACT */
    .contact-container{
        flex-direction: column;
        gap: 35px;
    }
    .contact-left h2{
        text-align: center;
    }
    .contact-left > p{
        text-align: center;
    }
    .contact-info p{
        justify-content: center;
        flex-wrap: wrap;
    }
    
    /* FOOTER */
    .footer-container{
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-form{
        width: 100%;
    }
    .footer-box{
        text-align: center;
    }
    .footer-box p{
        margin: 0 auto;
    }
}

/* TABLET */
@media (min-width: 768px) and (max-width: 1023px){
    .hero-text h2{
        font-size: 52px;
    }
    .service-image,
    .service-text,
    .about-left,
    .about-right{
        width: 48%;
    }
    .service-row{
        gap: 35px;
    }
    .contact-container{
        gap: 35px;
    }
}

/* LARGE DESKTOP */
@media (min-width: 1200px){
    .hero{
        padding: 100px 100px;
    }
    .services{
        padding: 100px 80px;
    }
    .service-row{
        gap: 80px;
    }
}