/* ---------- Global Styles ---------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #f9fbfd;
    color: #333;
    line-height: 1.6;
}


/* ---------- Header ---------- */

header {
    position: sticky;
    top: 0;
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 8%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    z-index: 1000;
}


/* Logo + Company Name */

.logo-container {
    margin-left: -40px;
    display: flex;
    align-items: center;
    gap: 2px;
}

.logo-container h1 {
    font-family: 'Segoe UI', sans-serif;
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(90deg, #2c3e50, #3498db);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-left: 2px;
}

.logo {
    height: 40px;
    /* adjust size based on your logo */
    width: auto;
}

header h1 {
    font-size: 1.5rem;
    color: #030a11;
    font-weight: 700;
    white-space: nowrap;
}


/* Navigation Links */

nav a {
    margin: 0 15px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #0073e6;
}

nav a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: #0073e6;
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}


/* Responsive */

@media (max-width: 900px) {
    header {
        flex-direction: column;
        padding: 10px 5%;
    }
    nav {
        margin-top: 10px;
    }
    nav a {
        margin: 8px;
    }
}


/* ---------- Hero Section ---------- */

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 10%;
    background: linear-gradient(135deg, rgb(190, 213, 214), #cfe4e7);
    color: black;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1;
    margin-right: 30px;
}

.hero-text h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.hero-text span {
    background: linear-gradient(90deg, #3498db, #3498db);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 18px;
    margin-bottom: 20px;
    max-width: 500px;
}

.hero img {
    width: 400px;
    max-width: 100%;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}


/* ================= Hero Section ================= */

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    animation: slideshow 15s infinite linear;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* dark overlay for readability */
    z-index: 1;
}

.hero-text {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.hero-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-text span {
    color: #00bfff;
}

.hero-text p {
    font-size: 1.2rem;
    line-height: 1.6;
}

.hero-text {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 40px;
    text-align: center;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    animation: fadeIn 1.5s ease;
}

.hero-text h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-text span {
    color: #00bfff;
    font-weight: 800;
    text-shadow: 0 0 0 rgba(197, 238, 252, 0.808);
    letter-spacing: 0.5px;
}

.hero-text p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #e6e6e6;
    font-weight: 400;
    margin-top: 10px;
}


/* Slideshow animation */

@keyframes slideshow {
    0% {
        background-image: url('images/pexels-mikhail-nilov-7681757.jpg');
    }
    33% {
        background-image: url('images/pexels-shkrabaanthony-5583964.jpg');
    }
    66% {
        background-image: url('images/pexels-weekendplayer-186464.jpg');
    }
    100% {
        background-image: url('images/pexels-mikhail-nilov-7681757.jpg');
    }
}


/* ---------- Section Titles ---------- */

section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 15px;
}

section h2 span {
    background: linear-gradient(90deg, #2c3e50, #3498db);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

section p {
    text-align: center;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #555;
}


/* ---------- Services Section ---------- */

.services {
    padding: 60px 8%;
    background: #fff;
    font-size: 1.05rem;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    justify-content: center;
}


/* Card Design */

.card {
    background: #fff;
    padding: 22px;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 340px;
    /* controls width */
    margin: 0 auto;
    /* center cards */
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.card img {
    width: 60px;
    margin-bottom: 15px;
}

.card h3 {
    font-size: 17px;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #2c3e50, #3498db);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 12px;
    line-height: 1.5;
}


/* Features */

.card ul.features {
    list-style: none;
    padding: 0;
    margin: 15px 0;
    text-align: left;
}

.card ul.features li {
    margin-bottom: 8px;
    padding-left: 22px;
    position: relative;
    font-size: 0.95rem;
    color: #333;
}

.card ul.features li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #0073e6;
    font-weight: bold;
}


/* Button */

.btn {
    display: inline-block;
    margin-top: 12px;
    padding: 9px 18px;
    background: linear-gradient(45deg, #0d0d0e, #00c6ff);
    color: #fff;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s ease;
}

.btn:hover {
    box-shadow: 0 0 12px rgba(0, 198, 255, 0.6);
}


/* Responsive Design */

@media (max-width: 768px) {
    .card {
        max-width: 100%;
    }
    .card img {
        width: 50px;
    }
}


/* ---------- FAQ Section ---------- */

.faq {
    padding: 60px 8%;
    background: #f9fbfd;
}

.faq-container {
    max-width: 800px;
    margin: auto;
}

.faq-item {
    border-bottom: 1px solid #ddd;
    margin-bottom: 15px;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 15px;
    font-size: 1rem;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 15px;
    color: #555;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 15px;
}

.faq-item.active .icon {
    transform: rotate(45deg);
}


/* Reset body and html */

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}


/* ---------- About Banner ---------- */

.about-banner {
    position: relative;
    width: 100vw;
    /* full viewport width */
    height: 100vh;
    /* full viewport height */
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    /* center full-width section even inside container */
    margin-right: -50vw;
    background: url('images/pexels-mizunokozuki-12899095.jpg') center center / cover no-repeat;
    background-attachment: fixed;
    /* optional: parallax */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    box-sizing: border-box;
}


/* Overlay to darken the image */

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.55);
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-overlay h1 {
    color: #fff;
    font-size: 3.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    margin: 0;
    opacity: 0;
    /* start hidden */
    transform: translateY(30px);
    /* start slightly lower */
    animation: bannerPopup 1.2s ease-out forwards;
    animation-delay: 0.3s;
    /* short delay after page loads */
}


/* Fade + slide-up animation */

@keyframes bannerPopup {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Responsive adjustments */

@media (max-width: 768px) {
    .about-banner {
        height: 70vh;
        background-attachment: scroll;
        /* prevents mobile lag */
    }
    .banner-overlay h1 {
        font-size: 2.2rem;
        padding: 0 10px;
    }
}


/* ---------- About Section ---------- */

.about {
    padding: 100px 8%;
    background: #fff;
    color: #444;
    overflow: hidden;
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 60px;
}


/* Left image */

.about-left {
    flex: 1;
    min-width: 320px;
    text-align: center;
    opacity: 0;
    transform: translateX(-100px);
    transition: all 1s ease;
}

.about-left img {
    width: 100%;
    max-width: 480px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}


/* Right content */

.about-right {
    flex: 1;
    min-width: 320px;
    opacity: 0;
    transform: translateX(100px);
    transition: all 1s ease;
}

.about-right h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-right h2 span {
    color: #00bfff;
}

.about-right p {
    font-size: 1.125rem;
    margin-bottom: 15px;
    text-align: justify;
}


/* Animation trigger */

.about.show .about-left {
    opacity: 1;
    transform: translateX(0);
}

.about.show .about-right {
    opacity: 1;
    transform: translateX(0);
}


/* Responsive design */

@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
    }
    .about-left img {
        max-width: 90%;
    }
    .about-right h2 {
        text-align: center;
    }
}


/* ---------- Vision & Mission Banner ---------- */

.vision-banner {
    position: relative;
    width: 100vw;
    height: 100vh;
    background: url('images/pexels-shtefutsa-17775665.jpg') center center / cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-overlay {
    background-color: rgba(0, 0, 0, 0.55);
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-overlay h1 {
    color: #fff;
    font-size: 3.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0;
    transform: translateY(30px);
    animation: bannerPopup 1.2s ease forwards;
    animation-delay: 0.3s;
}

@keyframes bannerPopup {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ---------- Vision & Mission Sections ---------- */

.vision-section,
.mission-section {
    padding: 100px 8%;
    background: #fff;
    color: #444;
    overflow: hidden;
}


/* Containers */

.vision-container,
.mission-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 60px;
}


/* Left Image */

.vision-left,
.mission-left {
    flex: 1;
    min-width: 320px;
    text-align: center;
    opacity: 0;
    transform: translateX(-100px);
    transition: all 1s ease;
}

.vision-left img,
.mission-left img {
    width: 100%;
    max-width: 480px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}


/* Right Content */

.vision-right,
.mission-right {
    flex: 1;
    min-width: 320px;
    opacity: 0;
    transform: translateX(100px);
    transition: all 1s ease;
}

.vision-right h2,
.mission-right h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.vision-right h2 span,
.mission-right h2 span {
    color: #00bfff;
}

.vision-right p,
.mission-right p {
    font-size: 1.125rem;
    margin-bottom: 15px;
    text-align: justify;
}

.vision-right ul,
.mission-right ul {
    list-style: disc;
    padding-left: 20px;
}

.vision-right li,
.mission-right li {
    margin-bottom: 10px;
}


/* Animation trigger */

.vision-section.show .vision-left,
.mission-section.show .mission-left {
    opacity: 1;
    transform: translateX(0);
}

.vision-section.show .vision-right,
.mission-section.show .mission-right {
    opacity: 1;
    transform: translateX(0);
}


/* Responsive design */

@media (max-width: 768px) {
    .vision-container,
    .mission-container {
        flex-direction: column;
    }
    .vision-left img,
    .mission-left img {
        max-width: 90%;
    }
    .vision-right h2,
    .mission-right h2 {
        text-align: center;
    }
}


/* Privacy Policy Section */

.privacy-section {
    background: #f4f7fb;
    padding: 80px 0;
}

.privacy-section .content-box {
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 50px 45px;
    max-width: 950px;
    margin: 0 auto;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
}

.privacy-section h2 {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(90deg, #2c3e50, #3498db);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
    border-left: 6px solid #0077cc;
    padding-left: 14px;
}

.privacy-section h3 {
    font-size: 20px;
    font-weight: 600;
    color: #444;
    margin-bottom: 25px;
}

.privacy-section p {
    font-size: 18px;
    line-height: 1.9;
    color: #333;
    margin-bottom: 18px;
    text-align: justify;
}


/* Points Section */

.privacy-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 35px;
}

.point-box {
    background: #f9f9f9;
    border: 1px solid #dcdcdc;
    border-radius: 10px;
    padding: 25px 20px;
    transition: 0.3s ease;
}

.point-box:hover {
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.point-box h4 {
    font-size: 18px;
    font-weight: 600;
    color: #0a1c6b;
    margin-bottom: 12px;
}

.point-box p {
    font-size: 15px;
    color: #444;
    line-height: 1.7;
    text-align: justify;
}


/* Mobile Responsive */

@media (max-width: 768px) {
    .privacy-section .content-box {
        padding: 35px 22px;
    }
    .privacy-section h2 {
        font-size: 26px;
    }
    .point-box h4 {
        font-size: 16px;
    }
}


/* ---------- Privacy Banner ---------- */

.privacy-banner {
    position: relative;
    width: 100vw;
    height: 100vh;
    background: url('images/pexels-sash2s-16592498.jpg') center center / cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-overlay {
    background-color: rgba(0, 0, 0, 0.55);
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-overlay h1 {
    color: #fff;
    font-size: 3.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0;
    transform: translateY(30px);
    animation: bannerPopup 1.2s ease forwards;
    animation-delay: 0.3s;
}


/* ---------- Privacy Section ---------- */

.privacy-section {
    padding: 100px 8%;
    background: #fff;
    color: #444;
    overflow: hidden;
}

.privacy-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 60px;
}


/* Left Image */

.privacy-left {
    flex: 1;
    min-width: 320px;
    text-align: center;
    opacity: 0;
    transform: translateX(-100px);
    transition: all 1s ease;
}

.privacy-left img {
    width: 100%;
    max-width: 480px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}


/* Right Content */

.privacy-right {
    flex: 1;
    min-width: 320px;
    opacity: 0;
    transform: translateX(100px);
    transition: all 1s ease;
}

.privacy-right h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.privacy-right h2 span {
    color: #00bfff;
}

.privacy-right p {
    font-size: 1.125rem;
    margin-bottom: 15px;
    text-align: justify;
}


/* Emoji points */

.privacy-points {
    margin-top: 30px;
}

.point-box {
    margin-bottom: 25px;
}

.point-box h4 {
    font-size: 1.2rem;
    margin-bottom: 6px;
}

.point-box p {
    font-size: 1rem;
    color: #333;
}


/* Animation trigger */

.privacy-section.show .privacy-left {
    opacity: 1;
    transform: translateX(0);
}

.privacy-section.show .privacy-right {
    opacity: 1;
    transform: translateX(0);
}


/* Responsive design */

@media (max-width: 768px) {
    .privacy-container {
        flex-direction: column;
    }
    .privacy-left img {
        max-width: 90%;
    }
    .privacy-right h2 {
        text-align: center;
    }
}


/* ---------- Contact Banner ---------- */

.contact-banner {
    position: relative;
    width: 100vw;
    height: 100vh;
    background: url('images/pexels-tphotography-215367.jpg') center center / cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-overlay {
    background-color: rgba(0, 0, 0, 0.55);
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-overlay h1 {
    color: #fff;
    font-size: 3.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0;
    transform: translateY(30px);
    animation: bannerPopup 1.2s ease forwards;
    animation-delay: 0.3s;
}

@keyframes bannerPopup {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ---------- Contact Section ---------- */

.contact {
    padding: 100px 8%;
    background: #fff;
    color: #444;
    overflow: hidden;
}

.contact-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 60px;
}


/* Left Image */

.contact-left {
    flex: 1;
    min-width: 320px;
    text-align: center;
    opacity: 0;
    transform: translateX(-100px);
    transition: all 1s ease;
}

.contact-left img {
    width: 100%;
    max-width: 480px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}


/* Right Content */

.contact-right {
    flex: 1;
    min-width: 320px;
    opacity: 0;
    transform: translateX(100px);
    transition: all 1s ease;
}

.contact-right h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact-right h2 span {
    color: #00bfff;
}

.contact-right p {
    font-size: 1.125rem;
    margin-bottom: 25px;
    text-align: justify;
}


/* Contact Cards */

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-card i {
    font-size: 1.5rem;
    color: #00bfff;
}

.contact-card h3 {
    margin: 0;
    color: #222;
}

.contact-card p {
    margin: 3px 0;
}


/* Animation triggers */

.contact.show .contact-left {
    opacity: 1;
    transform: translateX(0);
}

.contact.show .contact-right {
    opacity: 1;
    transform: translateX(0);
}


/* Responsive design */

@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }
    .contact-left img {
        max-width: 90%;
    }
    .contact-right h2 {
        text-align: center;
    }
}

.footer {
    background: #0b0c10;
    color: #f1f1f1;
    padding: 50px 20px 20px;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: auto;
}

.footer-about h2 {
    color: #00aaff;
    margin-bottom: 8px;
}

.footer-about .tagline {
    font-style: italic;
    color: #ccc;
    margin-bottom: 15px;
}

.footer h3 {
    margin-bottom: 15px;
    font-size: 18px;
    color: #ffffff;
    border-bottom: 2px solid #00aaff;
    display: inline-block;
    padding-bottom: 5px;
}

.footer p {
    font-size: 14px;
    line-height: 1.6;
    margin: 5px 0;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin: 8px 0;
}

.footer a {
    color: #f1f1f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #00aaff;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    border-top: 1px solid #333;
    padding-top: 15px;
    font-size: 13px;
    color: #aaa;
}


/* ✅ Updated social icons (Zerodha-style row) */

.footer-social {
    display: flex;
    flex-direction: column;
    /* heading mela, icons keela */
    align-items: flex-start;
    /* left align, center venumna flex-start → center */
}

.footer-social h3 {
    margin-bottom: 12px;
    font-size: 18px;
    color: #ffffff;
    border-bottom: 2px solid #00aaff;
    display: inline-block;
    padding-bottom: 5px;
}

.footer-social .icons {
    display: flex;
    /* ✅ icons row la */
    gap: 15px;
    /* spacing between icons */
    margin-top: 10px;
}

.footer-social .icons a {
    font-size: 22px;
    color: #f1f1f1;
    transition: transform 0.3s ease, color 0.3s ease;
}

.footer-social .icons a:hover {
    color: #00aaff;
    transform: scale(1.2);
}


/* Footer logo */

.footer-logo {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.footer-logo img {
    height: 40px;
    /* logo size control */
    width: auto;
}

.footer-logo h2 {
    color: #e1ebf0;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}


/* ---------- Tablet & Mobile Enhancements ---------- */


/* Tablet */

@media (max-width: 768px) {
    /* Header */
    header {
        flex-direction: column;
        padding: 12px 5%;
    }
    .logo-container {
        margin-left: 0;
        justify-content: center;
        margin-bottom: 8px;
    }
    nav {
        margin-top: 10px;
        text-align: center;
    }
    nav a {
        display: inline-block;
        margin: 6px 12px;
    }
    /* Hero Section */
    .hero {
        flex-direction: column;
        padding: 60px 5%;
        text-align: center;
    }
    .hero-text {
        margin-right: 0;
        margin-bottom: 30px;
    }
    .hero-text h2 {
        font-size: 2.2rem;
    }
    .hero-text p {
        font-size: 18px;
        max-width: 100%;
    }
    .hero img {
        width: 80%;
        max-width: 300px;
    }
    /* Services Cards */
    .service-cards {
        gap: 20px;
    }
    /* Vision & Mission */
    .vision-section .content-box,
    .mission-section .content-box {
        padding: 30px 20px;
    }
    .vision-section h2,
    .mission-section h2 {
        font-size: 24px;
    }
    .vision-section p,
    .mission-section p,
    .vision-section ul li,
    .mission-section ul li {
        font-size: 15px;
    }
    /* Privacy Points */
    .privacy-points {
        gap: 20px;
    }
    .point-box {
        padding: 20px 15px;
    }
    .point-box h4 {
        font-size: 16px;
    }
    /* Contact Section */
    .contact-container {
        flex-direction: column;
        gap: 25px;
    }
    /* Footer */
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }
}


/* Mobile */

@media (max-width: 480px) {
    /* Header */
    header {
        padding: 10px 3%;
    }
    header h1 {
        font-size: 1.3rem;
    }
    nav a {
        margin: 5px 8px;
        font-size: 14px;
    }
    /* Hero Section */
    .hero {
        padding: 40px 3%;
    }
    .hero-text h2 {
        font-size: 1.8rem;
    }
    .hero-text p {
        font-size: 16px;
    }
    .hero img {
        width: 100%;
        max-width: 250px;
    }
    /* Services Cards */
    .service-cards {
        grid-template-columns: 1fr;
    }
    /* Vision & Mission */
    .vision-section h2,
    .mission-section h2 {
        font-size: 20px;
    }
    .vision-section p,
    .mission-section p,
    .vision-section ul li,
    .mission-section ul li {
        font-size: 14px;
        line-height: 1.6;
    }
    /* Privacy Points */
    .point-box h4 {
        font-size: 15px;
    }
    .point-box p {
        font-size: 14px;
    }
    /* Contact Section */
    .contact-container {
        gap: 20px;
    }
    .contact-card {
        max-width: 100%;
        padding: 20px 15px;
    }
    /* Footer */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    .footer h3,
    .footer-social h3 {
        font-size: 16px;
    }
    .social-icons a {
        font-size: 18px;
    }
    .footer-logo {
        display: flex;
        align-items: center;
        gap: 2px;
        margin-bottom: 12px;
    }
}


/* Fix anchor link offset for sticky header */

@media (max-width: 480px) {
     :target::before {
        height: 60px;
        margin-top: -60px;
    }
}


/* Hide menu toggle on desktop */

.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: #333;
}


/* Mobile Menu Styles */

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        background: #fff;
        position: absolute;
        top: 70px;
        /* height of header */
        right: 0;
        width: 220px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        padding: 15px;
        z-index: 1000;
    }
    .nav-links a {
        margin: 12px 0;
        font-size: 16px;
    }
    /* Show menu when active */
    .nav-links.active {
        display: flex;
    }
}


/* On mobile, keep logo on left and menu icon on right */

@media (max-width: 768px) {
    .logo-container {
        flex: 1;
    }
    .menu-toggle {
        margin-left: auto;
        /* push it to right side */
    }
}


/* ---------- Mission Section (flip layout) ---------- */

.mission-container {
    flex-direction: row-reverse;
    /* image right side, text left side */
}


/* ================================
   MODERN LANDING — GLOBAL TWEAKS
   ================================ */


/* Smoother anchor jumps under sticky header */

section[id],
.about-banner,
.vision-banner,
.contact-banner,
.privacy-banner {
    scroll-margin-top: 80px;
}


/* Sharper hero contrast on small screens */

@media (max-width: 768px) {
    .hero {
        height: 85vh;
    }
    .hero-overlay {
        background: rgba(0, 0, 0, 0.65);
    }
}


/* Modern, fluid type for key headings */

.hero-text h2 {
    font-size: clamp(1.8rem, 3.5vw + 1rem, 3rem) !important;
}

.banner-overlay h1 {
    font-size: clamp(1.8rem, 3vw + 1rem, 3.2rem) !important;
}


/* Clean “Smart Trading” text (no blur) */

.hero-text span {
    color: #00bfff;
    font-weight: 800;
    text-shadow: none !important;
    filter: none !important;
    letter-spacing: .3px;
    -webkit-text-stroke: 0;
    text-rendering: geometricPrecision;
}


/* Cards: slightly tighter for modern look */

.card {
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    backdrop-filter: saturate(1.05);
}


/* Sections: cozy vertical rhythm on mobile */

@media (max-width: 768px) {
    .services,
    .about,
    .vision-section,
    .mission-section,
    .contact,
    .privacy-section,
    .faq {
        padding: 60px 6%;
    }
    section p {
        padding: 0 4px;
    }
}


/* About / Vision / Mission / Contact / Privacy: stack + center on mobile */

@media (max-width: 768px) {
    .about-container,
    .vision-container,
    .mission-container,
    .contact-container,
    .privacy-container {
        gap: 28px;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    .about-right p,
    .vision-right p,
    .mission-right p,
    .contact-right p,
    .privacy-right p {
        text-align: left;
        /* readable blocks */
        margin-left: auto;
        margin-right: auto;
        max-width: 560px;
    }
    .about-left img,
    .vision-left img,
    .mission-left img,
    .contact-left img,
    .privacy-left img {
        max-width: 92%;
        border-radius: 14px;
    }
}


/* Banners: avoid oversized heights on small devices */

@media (max-width: 768px) {
    .about-banner,
    .vision-banner,
    .contact-banner,
    .privacy-banner {
        height: 75vh;
        background-attachment: scroll;
        /* prevent mobile jank */
    }
}


/* Services grid: tidy & centered */

@media (max-width: 1024px) {
    .service-cards {
        gap: 22px;
    }
}

@media (max-width: 600px) {
    .service-cards {
        grid-template-columns: 1fr;
    }
    .card {
        max-width: 520px;
    }
}


/* FAQ expand area breathing space on mobile */

@media (max-width: 768px) {
    .faq-container {
        padding: 0 4px;
    }
    .faq-item.active .faq-answer {
        max-height: 380px;
    }
}


/* Footer: modern stacked layout with comfy touch targets */

@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }
}

@media (max-width: 540px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-social {
        align-items: center;
    }
    .footer-social .icons a {
        font-size: 24px;
    }
    .footer a {
        padding: 6px 0;
        display: inline-block;
    }
}


/* ==================================================
   FULL-SCREEN OVERLAY MOBILE MENU (Modern Landing)
   ================================================== */

@media (max-width: 768px) {
    /* Make the menu button sit above overlay */
    .menu-toggle {
        position: relative;
        z-index: 1101;
    }
    /* Full-screen overlay menu */
    .nav-links {
        position: fixed;
        inset: 0;
        background: rgba(7, 12, 18, 0.88);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 18px;
        padding: 24px;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: transform .35s ease, opacity .35s ease;
        z-index: 1100;
    }
    .nav-links a {
        color: #e8f1f6;
        font-size: 1.25rem;
        padding: 10px 16px;
        border-radius: 10px;
        transition: background .25s ease, transform .25s ease, color .25s ease;
    }
    .nav-links a:hover {
        background: rgba(0, 191, 255, 0.12);
        color: #a8e7ff;
        transform: translateY(-1px);
    }
    /* Active = visible */
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    /* Lock page scroll when menu open */
    body.menu-open {
        overflow: hidden;
    }
    /* Header above overlay & safe spacing */
    header {
        z-index: 1200;
    }
}


/* ---------- Header Mobile Fix ---------- */

@media (max-width: 768px) {
    header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 10px 5%;
    }
    .logo-container {
        margin-left: 0;
        /* remove negative offset */
        justify-content: flex-start;
        /* align properly */
        gap: 6px;
        /* add breathing space */
    }
    .logo-container h1 {
        font-size: 20px;
        /* reduce size for smaller screens */
    }
    .logo {
        height: 32px;
        /* smaller logo */
    }
    nav {
        display: none;
        /* hide normal nav for mobile */
    }
    .menu-toggle {
        display: block;
        /* show the hamburger icon */
        font-size: 26px;
        cursor: pointer;
        color: #0073e6;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 75%;
        height: 100vh;
        background: #ffffff;
        /* changed from dark to white */
        box-shadow: -2px 0 15px rgba(0, 0, 0, 0.2);
        transform: translateX(100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.4s ease, opacity 0.4s ease;
        padding-top: 80px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding-left: 25px;
    }
    .nav-links a {
        color: #000 !important;
        /* black text */
        font-weight: 600;
        text-decoration: none;
        font-size: 1.1rem;
    }
    .nav-links.active {
        transform: translateX(0);
        opacity: 1;
        pointer-events: auto;
    }
}


/* Prevent page scroll when menu open */

body.menu-open {
    overflow: hidden;
}


/* ======================================
   🔹 FULL MOBILE VIEW OPTIMIZATION (<=480px)
   ====================================== */

@media (max-width: 480px) {
    /* Body & general adjustments */
    body {
        font-size: 15px;
        line-height: 1.6;
        padding: 0;
        margin: 0;
        overflow-x: hidden;
        background: #f9fbfd;
    }
    /* Header */
    header {
        flex-direction: row;
        justify-content: space-between;
        padding: 10px 5%;
        box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
    }
    .logo-container h1 {
        font-size: 18px;
    }
    .logo {
        height: 30px;
        width: auto;
    }
    /* Hero Section */
    .hero {
        flex-direction: column;
        text-align: center;
        height: auto;
        padding: 60px 4%;
    }
    .hero-text h2 {
        font-size: 1.7rem;
        line-height: 1.4;
    }
    .hero-text p {
        font-size: 15px;
        color: #f0f0f0;
    }
    .hero img {
        width: 80%;
        margin-top: 25px;
        max-width: 260px;
    }
    /* Services */
    .services {
        padding: 50px 5%;
    }
    .service-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .card {
        padding: 20px;
        max-width: 100%;
    }
    .card h3 {
        font-size: 16px;
    }
    .card p {
        font-size: 14px;
    }
    /* About / Vision / Mission / Privacy / Contact sections */
    .about-container,
    .vision-container,
    .mission-container,
    .privacy-container,
    .contact-container {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }
    .about-left img,
    .vision-left img,
    .mission-left img,
    .privacy-left img,
    .contact-left img {
        max-width: 90%;
        border-radius: 10px;
    }
    .about-right p,
    .vision-right p,
    .mission-right p,
    .privacy-right p,
    .contact-right p {
        font-size: 15px;
        line-height: 1.7;
        padding: 0 5px;
        text-align: left;
    }
    /* Banner Text */
    .banner-overlay h1 {
        font-size: 2rem !important;
        text-align: center;
        padding: 0 8px;
    }
    /* FAQ Section */
    .faq {
        padding: 40px 5%;
    }
    .faq-question {
        font-size: 15px;
    }
    .faq-answer {
        font-size: 14px;
        line-height: 1.6;
    }
    /* Footer */
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }
    .footer-logo {
        justify-content: center;
    }
    .footer h3 {
        font-size: 16px;
    }
    .footer p {
        font-size: 13px;
    }
    .footer a {
        font-size: 14px;
        padding: 6px 0;
    }
    .footer-social {
        align-items: center;
    }
    .footer-social .icons a {
        font-size: 22px;
    }
    /* Contact Cards */
    .contact-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .contact-card i {
        font-size: 22px;
    }
    /* Fix sticky header jump */
     :target::before {
        content: "";
        display: block;
        height: 70px;
        margin-top: -70px;
    }
}