/* GLOBAL RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ANIMATED GRADIENT BACKGROUND */
.bg-animated {
    position: fixed;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, #0b3c5d, #328cc1, #0b3c5d);
    background-size: 400% 400%;
    animation: gradientMove 15s ease infinite;
    z-index: -2;
}

/* FLOATING SHAPES */
.bg-animated span {
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    animation: float 20s infinite linear;
}

.bg-animated span:nth-child(1) {
    top: 10%;
    left: 20%;
}

.bg-animated span:nth-child(2) {
    top: 60%;
    left: 70%;
}

.bg-animated span:nth-child(3) {
    top: 30%;
    left: 80%;
}

.bg-animated span:nth-child(4) {
    top: 75%;
    left: 10%;
}

/* ANIMATIONS */
@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-60px) rotate(180deg);
    }

    100% {
        transform: translateY(0) rotate(360deg);
    }
}

/* PAGE CONTAINER */
.page-container {
    padding: 80px 40px;
    min-height: 80vh;
}

/* HEADER */
header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    padding: 20px 40px;
    background: rgba(11, 60, 93, 0.85);
    backdrop-filter: blur(8px);
    color: white;
}

/* NAV */
nav a {
    margin-left: 25px;
    color: white;
    text-decoration: none;
    font-weight: 500;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 25px;
    background: rgba(11, 60, 93, 0.9);
    color: white;
}

/* FADE-IN */
.fade-in {
    animation: fadeUp 1s ease forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CARDS */
.card {
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 12px;
    transition: 0.4s ease;
}

.card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
}


header {
    display: flex;
    justify-content: space-between;
    padding: 15px 40px;
    background: #0b3c5d;
    color: white;
}


nav a {
    color: white;
    margin-left: 20px;
    text-decoration: none;
}


.hero {
    height: 80vh;
    background: linear-gradient(to right, #ffffff, #abd6ef);
    color: rgb(0, 0, 0);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


.btn {
    background: #f4b41a;
    padding: 10px 20px;
    color: black;
    text-decoration: none;
}


.features {
    display: flex;
    justify-content: space-around;
    padding: 50px;
}


.card {
    background: #f2f2f2;
    padding: 30px;
    width: 30%;
}


.content {
    padding: 60px;
    color: #000000;
}

.content h2 {
    color: #ffffff;
    /* heading color */
}

.content p {
    color: #000000;
    /* paragraph text */
}

.content li {
    color: #000000;
    /* list text */
}

footer {
    background: #0b3c5d;
    color: white;
    text-align: center;
    padding: 20px;
}

/* CONTACT PAGE ADVANCED UI */

.contact-hero {
    text-align: center;
    padding: 80px 20px 40px;
    background: linear-gradient(135deg, #0b3c5d, #328cc1);
    color: white;
}

.contact-wrapper {
    display: flex;
    gap: 60px;
    padding: 80px 40px;
    max-width: 1200px;
    margin: auto;
}

.interactive-form {
    flex: 1;
}

.input-group {
    position: relative;
    margin-bottom: 35px;
}

.input-group input,
.input-group textarea {
    width: 100%;
    border: none;
    border-bottom: 2px solid #ccc;
    padding: 12px 0;
    font-size: 16px;
    background: transparent;
    outline: none;
}

.input-group label {
    position: absolute;
    left: 0;
    top: 12px;
    color: #ffffff;
    font-size: 14px;
    pointer-events: none;
    transition: 0.3s ease;
}

.input-group input:focus+label,
.input-group input:valid+label,
.input-group textarea:focus+label,
.input-group textarea:valid+label {
    top: -12px;
    font-size: 12px;
    color: #0b3c5d;
}

.input-group .line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #0b3c5d;
    transition: 0.4s ease;
}

.input-group input:focus~.line,
.input-group textarea:focus~.line {
    width: 100%;
}

.submit-btn {
    background: #f4b41a;
    border: none;
    padding: 14px 30px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s ease;
}

.submit-btn:hover {
    background: #d89e15;
    transform: translateY(-2px);
}

.form-note {
    margin-top: 15px;
    font-size: 13px;
    color: #ffffff;
}

/* SIDE CONTENT */

.contact-side {
    flex: 1;
}

.contact-side h3 {
    margin-bottom: 15px;
}

.side-card {
    background: #f5f7fa;
    padding: 20px;
    margin-top: 15px;
    border-left: 4px solid #0b3c5d;
}

/* MOBILE */

@media (max-width: 900px) {
    .contact-wrapper {
        flex-direction: column;
    }
}

/* ================================
   INTERACTIVE HERO DESIGN
================================ */

.hero-interactive {
    position: relative;
    height: 85vh;
    display: flex;
    align-items: center;
    padding: 0 10%;
    color: white;
    overflow: hidden;
}

.hero-content {
    max-width: 650px;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: white;
}

.hero-title span {
    color: #f4b41a;
}

.hero-subtext {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 35px;
    max-width: 550px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-btn-primary {
    background: #f4b41a;
    padding: 15px 25px;
    border-radius: 6px;
    font-weight: bold;
}

.hero-btn-secondary {
    background: transparent;
    border: 2px solid white;
    padding: 15px 25px;
    border-radius: 6px;
    font-weight: bold;
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* HERO VISUAL SIDE */

.hero-visual {
    position: absolute;
    right: 5%;
    bottom: 0;
    width: 530px;
    height: 530px;
    border-radius: 50%;
    background: radial-gradient(circle, #ffffff1a, #00000000);
    z-index: 1;
    animation: pulse 6s ease-in-out infinite;
    opacity: 0.9;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* FLOATING SHAPES */

.hero-floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.7;
    z-index: 0;
}

.shape-a {
    width: 230px;
    height: 230px;
    background: #328cc1;
    top: 15%;
    left: -4%;
    animation: float1 12s infinite ease-in-out;
}

.shape-b {
    width: 300px;
    height: 300px;
    background: #0b3c5d;
    bottom: -4%;
    right: -4%;
    animation: float2 15s infinite ease-in-out;
}

.shape-c {
    width: 180px;
    height: 180px;
    background: #f4b41a;
    top: 55%;
    right: 30%;
    animation: float3 10s infinite ease-in-out;
}

@keyframes float1 {
    50% {
        transform: translateY(-30px) translateX(20px);
    }
}

@keyframes float2 {
    50% {
        transform: translateY(40px) translateX(-25px);
    }
}

@keyframes float3 {
    50% {
        transform: translateY(-20px) translateX(15px);
    }
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .hero-interactive {
        padding-top: 120px;
        padding-left: 30px;
        padding-right: 30px;
        flex-direction: column;
        text-align: center;
    }

    .hero-visual {
        display: none;
    }
}

/* =====================================
   ADVANCED SERVICES PAGE UI
===================================== */

.services-hero {
    text-align: center;
    margin-bottom: 60px;
    color: white;
}

.services-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.services-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 20px;
}

.service-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);
    border-radius: 18px;
    padding: 35px 25px;
    text-align: center;
    color: white;
    transition: 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.22);
    box-shadow: 0 25px 40px rgba(0, 0, 0, 0.18);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #f4b41a;
}

.service-card p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-link {
    font-weight: bold;
    color: #ffffff;
    opacity: 0.8;
    cursor: pointer;
    transition: 0.3s ease;
}

.service-link:hover {
    opacity: 1;
    color: #f4b41a;
}

/* Mobile responsiveness */
@media(max-width: 900px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================
   ADVANCED ABOUT PAGE UI
================================ */

.about-hero {
    padding: 90px 20px 40px;
    text-align: center;
    color: white;
}

.about-hero h1 span {
    color: #f4b41a;
    font-size: 3.5rem;
    font-weight: 700;
}

.about-hero p {
    margin-top: 15px;
    font-size: 1.2rem;
    opacity: 0.8;
}

.about-container {
    max-width: 1200px;
    margin: 60px auto;
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-left,
.about-right {
    flex: 1;
}

.about-left h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: #f4b41a;
}

.about-left p {
    line-height: 1.7;
    margin-bottom: 20px;
    color: white;
}

.about-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.point-card {
    padding: 15px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    border-radius: 12px;
    color: white;
    text-align: center;
    transition: 0.4s ease;
}

.point-card:hover {
    transform: translateY(-6px);
}

.about-image {
    height: 380px;
    border-radius: 25px;
    background: url("/static/img/team.jpg") center/cover no-repeat;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}

/* STATS */

.about-stats {
    display: flex;
    justify-content: space-evenly;
    margin: 70px auto;
    max-width: 1100px;
}

.stat-block {
    background: rgba(255, 255, 255, 0.14);
    padding: 25px;
    width: 30%;
    text-align: center;
    border-radius: 16px;
    backdrop-filter: blur(8px);
    transition: 0.4s ease;
    color: white;
}

.stat-block:hover {
    transform: translateY(-10px);
}

.stat-block h3 {
    color: #f4b41a;
    font-size: 2.6rem;
}

/* MISSION */

.mission-section {
    max-width: 850px;
    margin: 60px auto;
    text-align: center;
    color: white;
}

.mission-section h2 {
    margin-bottom: 10px;
    font-size: 2.2rem;
    color: #f4b41a;
}

/* TIMELINE */

.approach-section {
    max-width: 1000px;
    margin: 80px auto;
    color: white;
}

.approach-section h2 {
    font-size: 2.2rem;
    color: #f4b41a;
    margin-bottom: 25px;
    text-align: center;
}

.timeline {
    position: relative;
    padding-left: 30px;
    border-left: 3px solid rgba(255, 255, 255, 0.35);
}

.timeline-item {
    margin-bottom: 40px;
    padding-left: 20px;
    transition: 0.3s;
}

.timeline-item h3 {
    font-size: 1.6rem;
    margin-bottom: 8px;
    color: #ffffff;
}

.timeline-item p {
    opacity: 0.85;
}

/* MOBILE */

@media(max-width: 900px) {
    .about-container {
        flex-direction: column;
    }

    .about-stats {
        flex-direction: column;
    }

    .stat-block {
        width: 100%;
        margin-bottom: 20px;
    }

    .point-card,
    .timeline {
        grid-template-columns: 1fr;
    }
}

/* CONTACT MASTER LAYOUT */
.contact-master-container {
    max-width: 1300px;
    margin: 40px auto;
    padding: 20px;
    min-height: 80vh;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

/* GLASSMORPHISM FORM */
.form-container-glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px;
    border-radius: 24px;
    color: white;
}

.step-indicator {
    color: #f4b41a;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
}

/* INPUT REINVENTION */
.input-wrapper {
    position: relative;
    margin: 40px 0;
}

.input-wrapper input,
.input-wrapper textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    padding: 15px 0;
    color: white;
    font-size: 1.2rem;
    outline: none;
}

.input-wrapper label {
    position: absolute;
    left: 0;
    top: 15px;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
    opacity: 0.6;
}

.input-wrapper input:focus+label,
.input-wrapper input:not(:placeholder-shown)+label {
    top: -20px;
    font-size: 0.9rem;
    color: #f4b41a;
    opacity: 1;
}

/* STEP ANIMATIONS */
.form-step {
    display: none;
    animation: slideIn 0.5s ease forwards;
}

.form-step.active {
    display: block;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* LIVE PREVIEW CARD */
.live-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    color: #0b3c5d;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.card-chip {
    background: #f4b41a;
    display: inline-block;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.message-quote {
    margin-top: 20px;
    padding: 15px;
    background: #f5f7fa;
    border-left: 4px solid #f4b41a;
    font-style: italic;
}

/* SUBMIT BUTTON GLOW */
.submit-btn-glow {
    background: #f4b41a;
    color: #0b3c5d;
    border: none;
    padding: 18px 40px;
    border-radius: 12px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(244, 180, 26, 0.4);
    transition: 0.3s;
}

.submit-btn-glow:hover {
    box-shadow: 0 0 40px rgba(244, 180, 26, 0.6);
    transform: scale(1.05);
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background: #28a745;
    border-radius: 50%;
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(40, 167, 69, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
    }
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .preview-panel {
        display: none;
    }

    /* Hide preview on mobile for space */
}

/* BUTTON GROUP LAYOUT */
.btn-group {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

/* THE NEXT & REVIEW BUTTONS (Primary) */
.next-btn {
    background: #f4b41a;
    /* Your brand gold */
    color: #0b3c5d;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(244, 180, 26, 0.3);
}

.next-btn:hover {
    background: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* THE BACK & EDIT BUTTONS (Secondary/Ghost) */
.back-btn {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    color: #f4b41a;
}

/* ACTIVE STATE FOR ALL BUTTONS */
.next-btn:active,
.back-btn:active {
    transform: scale(0.95);
}