/* --- ROOT VARIABLES & RESET --- */
:root {
    --color-deep-space: #0A0E1A;
    --color-cyan: #00FFFF;
    --color-solar-orange: #FF6B00;
    --color-light-gray: #D0D0D5;
    --color-medium-gray: #8A8A91;
    --color-dark-gray: #1E2333;
    --color-white: #FFFFFF;

    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Rajdhani', sans-serif;

    --header-height: 80px;
    --transition-fast: 0.3s ease;
    --transition-slow: 0.6s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-deep-space);
    color: var(--color-light-gray);
    font-family: var(--font-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: var(--color-cyan);
    transition: var(--transition-fast);
}

a:hover {
    color: var(--color-white);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-subtitle {
    display: inline-block;
    font-family: var(--font-secondary);
    font-weight: 600;
    color: var(--color-solar-orange);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    position: relative;
}

.section-subtitle::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50%;
    height: 2px;
    background: var(--color-solar-orange);
}

.section-title {
    font-size: 3rem;
    margin-bottom: 20px;
}

.section-description {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--color-medium-gray);
}

.highlight-cyan {
    color: var(--color-cyan);
    text-shadow: 0 0 10px var(--color-cyan);
}

.highlight-orange {
    color: var(--color-solar-orange);
    text-shadow: 0 0 10px var(--color-solar-orange);
}

.text-center {
    text-align: center;
}

/* --- PRELOADER --- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-deep-space);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

.loader-logo {
    position: relative;
    width: 150px;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-logo img {
    width: 80px;
    filter: brightness(0) invert(1);
    animation: pulse 1.5s infinite ease-in-out;
}

.loader-bar {
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 3px;
    background: rgba(0, 255, 255, 0.2);
    overflow: hidden;
}

.loader-bar::after {
    content: '';
    position: absolute;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--color-cyan);
    animation: loading-bar 2s linear infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes loading-bar {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}


/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 14px 30px;
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.4s ease-in-out;
    border: 2px solid transparent;
}

.btn span {
    position: relative;
    z-index: 2;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    transition: transform 0.4s;
    transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);
}

.btn-primary {
    background: var(--color-solar-orange);
    color: var(--color-white);
    border-color: var(--color-solar-orange);
}

.btn-primary:hover {
    color: var(--color-white);
}

.btn-primary::before {
    background: var(--color-deep-space);
    transform: translate3d(-100%, 0, 0);
}

.btn-primary:hover::before {
    transform: translate3d(0, 0, 0);
}

.btn-secondary {
    background: transparent;
    color: var(--color-white);
    border-color: var(--color-cyan);
}

.btn-secondary:hover {
    color: var(--color-deep-space);
}

.btn-secondary::before {
    background: var(--color-cyan);
    transform: translate3d(0, 100%, 0);
}

.btn-secondary:hover::before {
    transform: translate3d(0, 0, 0);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.2rem;
}

.btn-full {
    width: 100%;
    text-align: center;
}

/* --- HEADER & NAVIGATION --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    background: transparent;
    z-index: 1000;
    transition: background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.header.scrolled {
    background: rgba(10, 14, 26, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo img {
    width: 120px;
    filter: brightness(0) invert(1);
    transition: var(--transition-fast);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-light-gray);
    text-transform: uppercase;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-cyan);
    transition: width var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-white);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 150%;
    left: -20px;
    background: var(--color-dark-gray);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 5px;
    padding: 10px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-fast);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--color-light-gray);
    font-family: var(--font-primary);
    font-size: 0.95rem;
}

.dropdown-menu li a:hover {
    background-color: rgba(0, 255, 255, 0.1);
    color: var(--color-white);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger {
    width: 25px;
    height: 2px;
    background-color: var(--color-white);
    position: relative;
    transition: var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-white);
    transition: var(--transition-fast);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

/* Mobile Menu Active State */
.nav.is-active+.header-actions .hamburger {
    background-color: transparent;
}

.nav.is-active+.header-actions .hamburger::before {
    transform: rotate(45deg) translate(5px, 6px);
}

.nav.is-active+.header-actions .hamburger::after {
    transform: rotate(-45deg) translate(5px, -6px);
}


/* --- HERO SECTION --- */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
    z-index: -1;
}

@keyframes move-twink-back {
    from {
        background-position: 0 0;
    }

    to {
        background-position: -10000px 5000px;
    }
}

.stars {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: block;
    background: #000 url(https://www.script-tutorials.com/demos/360/images/stars.png) repeat top center;
    z-index: 0;
}

.twinkling {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: block;
    background: transparent url(https://www.script-tutorials.com/demos/360/images/twinkling.png) repeat top center;
    z-index: 1;
    animation: move-twink-back 200s linear infinite;
}

.planet {
    position: absolute;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    box-shadow: 0 0 50px rgba(0, 255, 255, 0.3), inset -20px -20px 50px rgba(0, 0, 0, 0.5);
    animation: float 10s ease-in-out infinite;
}

.planet-1 {
    width: 150px;
    height: 150px;
    top: 15%;
    left: 10%;
    background-image: radial-gradient(circle at 20% 20%, #ff9a76, #ff6b00);
    animation-duration: 12s;
}

.planet-2 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    right: 15%;
    background-image: radial-gradient(circle at 70% 70%, #66d9ef, #00ffff);
    animation-duration: 8s;
    animation-delay: 2s;
}

.planet-3 {
    width: 50px;
    height: 50px;
    top: 30%;
    right: 30%;
    background-image: radial-gradient(circle at 50% 50%, #f0f0f0, #a0a0a0);
    animation-duration: 15s;
    animation-delay: 4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-30px);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px rgba(10, 14, 26, 0.5);
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 650px;
    margin: 0 auto 2.5rem;
    color: var(--color-light-gray);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* --- SERVICES SECTION --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: transparent;
    perspective: 1000px;
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 320px;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.service-card:hover .service-card-inner {
    transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    padding: 2.5rem 2rem;
    border-radius: 10px;
    background: var(--color-dark-gray);
    border: 1px solid rgba(0, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.service-card-back {
    transform: rotateY(180deg);
    background-color: var(--color-solar-orange);
}

.service-card-back h3,
.service-card-back p {
    color: var(--color-deep-space);
}

.service-icon {
    font-size: 3rem;
    color: var(--color-cyan);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 15px var(--color-cyan);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* --- MISSION PLANNER (CALCULATOR) SECTION --- */
.mission-planner-section {
    background: var(--color-dark-gray);
}

.planner-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: var(--color-deep-space);
    padding: 3rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 107, 0, 0.3);
}

.planner-controls h3 {
    margin-bottom: 1.5rem;
    color: var(--color-solar-orange);
}

.checkbox-group {
    margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
    display: none;
}

.checkbox-group label {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 5px;
    border: 2px solid var(--color-dark-gray);
    transition: var(--transition-fast);
}

.checkbox-group label i {
    color: var(--color-cyan);
    transition: var(--transition-fast);
}

.checkbox-group input[type="checkbox"]:checked+label {
    background: rgba(0, 255, 255, 0.1);
    border-color: var(--color-cyan);
    color: var(--color-white);
}

.checkbox-group input[type="checkbox"]:checked+label i {
    transform: scale(1.2);
}

.planner-display {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.planner-display h3 {
    color: var(--color-cyan);
    margin-bottom: 2rem;
}

.complexity-gauge {
    width: 100%;
    max-width: 300px;
    height: 30px;
    background: var(--color-dark-gray);
    border-radius: 15px;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.gauge-bar {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--color-cyan), var(--color-solar-orange));
    border-radius: 15px;
    transition: width var(--transition-slow);
}

.gauge-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--color-white);
    font-weight: 700;
}

#complexity-feedback {
    min-height: 40px;
    margin-bottom: 2rem;
    color: var(--color-medium-gray);
}


/* --- TESTIMONIALS SECTION --- */
.testimonial-slider-wrapper {
    position: relative;
    overflow: hidden;
    /* This hides the overflowing slides */
    border-radius: 10px;
    /* Optional: if cards have border-radius */
}

.testimonial-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    /* Smooth transition for sliding */
}

.testimonial-card {
    flex: 0 0 100%;
    /* Each slide takes full width of the container */
    width: 100%;
    background: var(--color-dark-gray);
    padding: 3rem;
    border-radius: 10px;
    border-left: 5px solid var(--color-solar-orange);
    text-align: center;
}

.testimonial-quote-icon {
    font-size: 2.5rem;
    color: var(--color-solar-orange);
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 2rem;
    color: var(--color-light-gray);
}

.testimonial-author {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.author-info h4 {
    color: var(--color-white);
    margin-bottom: 0.25rem;
}

.author-info span {
    color: var(--color-medium-gray);
    font-size: 0.9rem;
}

.slider-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.slider-nav button {
    background: var(--color-dark-gray);
    border: 1px solid var(--color-medium-gray);
    color: var(--color-white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-fast);
}

.slider-nav button:hover {
    background: var(--color-solar-orange);
    border-color: var(--color-solar-orange);
}


/* --- CTA SECTION --- */
.cta-section {
    background: linear-gradient(rgba(10, 14, 26, 0.9), rgba(10, 14, 26, 0.9)), url(https://i.imgur.com/u5vG0I5.jpeg) no-repeat center center/cover;
    padding: 80px 0;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-text {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    color: var(--color-light-gray);
}

/* --- PAGE HEADER --- */
.page-header {
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: var(--color-dark-gray);
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.breadcrumbs a {
    color: var(--color-medium-gray);
}

.breadcrumbs a:hover {
    color: var(--color-cyan);
}

.breadcrumbs span {
    color: var(--color-white);
}

/* --- CONTACT PAGE --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    margin-top: 60px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--color-dark-gray);
    border-radius: 5px;
    margin-bottom: 1.5rem;
    border-left: 3px solid transparent;
    transition: var(--transition-fast);
}

.contact-card:hover {
    border-left-color: var(--color-solar-orange);
    transform: translateX(10px);
}

.contact-icon {
    font-size: 2rem;
    color: var(--color-cyan);
}

.contact-details h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--color-medium-gray);
}

.contact-form-container {
    background: var(--color-dark-gray);
    padding: 3rem;
    border-radius: 10px;
}

.form-title {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.form-row {
    display: flex;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
    width: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px 12px 40px;
    background: var(--color-deep-space);
    border: 2px solid var(--color-medium-gray);
    border-radius: 5px;
    color: var(--color-white);
    transition: var(--transition-fast);
}

.form-group textarea {
    padding: 12px 15px;
    padding-left: 15px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-cyan);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.form-group i {
    position: absolute;
    left: 15px;
    top: 45px;
    color: var(--color-medium-gray);
}

.form-group textarea+i {
    top: 15px;
    left: auto;
    right: 15px;
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Success Popup */
.popup {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 14, 26, 0.8);
    justify-content: center;
    align-items: center;
}

.popup.show {
    display: flex;
}

.popup-content {
    background: var(--color-dark-gray);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    position: relative;
    width: 90%;
    max-width: 400px;
    border-top: 5px solid var(--color-cyan);
    animation: popup-fade-in 0.5s ease;
}

@keyframes popup-fade-in {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.popup-icon {
    font-size: 4rem;
    color: var(--color-cyan);
    margin-bottom: 1rem;
}

.popup-content h3 {
    margin-bottom: 0.5rem;
}

/* --- LEGAL PAGES --- */
.main-content {
    padding: 80px 0;
}

.legal-content {
    background: var(--color-dark-gray);
    padding: 3rem;
    border-radius: 10px;
}

.legal-content h2 {
    color: var(--color-solar-orange);
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-solar-orange);
}

.legal-content p {
    margin-bottom: 1rem;
}

.legal-content strong {
    color: var(--color-cyan);
}

/* --- FOOTER --- */
.footer {
    background-color: var(--color-deep-space);
    border-top: 1px solid rgba(0, 255, 255, 0.1);
    padding: 80px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding-bottom: 40px;
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--color-solar-orange);
}

.footer-about .footer-logo img {
    width: 120px;
    filter: brightness(0) invert(1);
    margin-bottom: 1rem;
}

.footer-socials {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-socials a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-medium-gray);
    border-radius: 50%;
    color: var(--color-medium-gray);
}

.footer-socials a:hover {
    background: var(--color-cyan);
    border-color: var(--color-cyan);
    color: var(--color-deep-space);
    transform: translateY(-5px);
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a {
    color: var(--color-light-gray);
}

.footer-links ul li a:hover {
    color: var(--color-white);
    padding-left: 5px;
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-contact ul li i {
    color: var(--color-solar-orange);
    margin-top: 5px;
}

.footer-contact a {
    color: var(--color-light-gray);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    color: var(--color-medium-gray);
}

/* --- BACK TO TOP BUTTON --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--color-solar-orange);
    color: var(--color-white);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-fast);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: scale(1.1);
}

/* --- LIVE CHAT WIDGET --- */
.live-chat-widget {
    position: fixed;
    bottom: 30px;
    left: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--color-cyan);
    color: var(--color-deep-space);
    padding: 10px 15px;
    border-radius: 25px;
    cursor: pointer;
    z-index: 999;
    transition: var(--transition-fast);
    font-family: var(--font-secondary);
    font-weight: 600;
}

.live-chat-widget:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

/* --- SCROLL ANIMATIONS --- */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll[data-animation="fade-up"] {
    transform: translateY(50px);
}

.animate-on-scroll[data-animation="fade-right"] {
    transform: translateX(-50px);
}

.animate-on-scroll[data-animation="fade-left"] {
    transform: translateX(50px);
}

.animate-on-scroll[data-animation="zoom-in"] {
    transform: scale(0.8);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}


/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 992px) {
    :root {
        --header-height: 70px;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .menu-toggle {
        display: block;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--color-deep-space);
        display: flex;
        justify-content: center;
        align-items: center;
        transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    }

    .nav.is-active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 2rem;
    }

    .nav-link {
        font-size: 1.5rem;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        border: none;
        padding-left: 20px;
        min-width: auto;
        display: none;
    }

    .dropdown.open .dropdown-menu {
        display: block;
    }

    .planner-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .section {
        padding: 80px 0;
    }

    .hero {
        height: auto;
        padding: 150px 0 100px;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-about .footer-logo {
        margin: 0 auto;
    }

    .footer-socials {
        justify-content: center;
    }

    .footer-contact ul li {
        justify-content: center;
    }

    .live-chat-widget span {
        display: none;
    }

    .live-chat-widget {
        padding: 15px;
    }
}

@media (max-width: 480px) {

    .section-title,
    .page-header h1 {
        font-size: 2.2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .contact-form-container,
    .legal-content {
        padding: 2rem;
    }
}