/* ==========================================================================
   UPAY SERVICES - MAIN STYLESHEET (v2.0 Fixed)
   ========================================================================== */

/* ================= CSS VARIABLES & RESET ================= */
:root {
    --primary: #0093F6;
    --primary-dark: #0077c8;
    --text-dark: #535353;
    --text-light: #777777;
    --white: #FFFFFF;
    --bg-light: #f8faff;
    --shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ================= BASE LAYOUT & TYPOGRAPHY ================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.lg-logo{
    height: 35px;
}

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 50px;
}

/* ================= BUTTON COMPONENTS ================= */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 147, 246, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

/* ================= HEADER & NAVBAR ================= */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: var(--transition);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* ================= HERO SECTIONS ================= */
.hero {
    padding-top: 150px;
    padding-bottom: 100px;
    background: linear-gradient(135deg, var(--bg-light) 0%, #e0f0ff 100%);
    display: flex;
    align-items: center;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.hero-text h1 span {
    color: var(--primary);
}

.hero-text p {
    font-size: 1.1rem;
    /* color: var(--text-light); */
    color: var(--text-dark);
    margin-bottom: 30px;
}

.hero-btns {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-img-placeholder {
    width: 100%;
    max-width: 500px;
    height: 400px;
    background: linear-gradient(45deg, var(--primary), #00c6ff);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    box-shadow: var(--shadow);
    animation: morph 8s ease-in-out infinite;
    align-items: center;
    display: flex;
    justify-content: center;
}

@keyframes morph {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }

    50% {
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    }

    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
}

.inner-hero {
    padding-top: 160px;
    padding-bottom: 80px;
    background: linear-gradient(135deg, var(--bg-light) 0%, #e0f0ff 100%);
    text-align: center;
}

.inner-hero h1 {
    font-size: 3rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.inner-hero h1 span {
    color: var(--primary);
}

.inner-hero p {
    font-size: 1.1rem;
    /* color: var(--text-light); */
    color: var(--text-dark);
    max-width: 700px;
    margin: 0 auto;
}
.hero-img-placeholder:hover  .hero-tracklink{
    color: var(--primary);
}

.hero-tracklink{
    font-size: 3rem;
    color: var(--bg-light);
    padding: 20px;
    display: flex;
}

/* ================= ABOUT SECTION ================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.about-highlights {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.highlight-card {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 12px;
    flex: 1;
    text-align: center;
    border: 1px solid #eaeaea;
}

.highlight-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

/* ================= HOME SERVICES GRID ================= */
.services {
    background-color: var(--bg-light);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid var(--primary);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(0, 147, 246, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ================= DETAILED CATEGORY GRID (Services Page) ================= */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.category-card {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--primary);
    display: flex;
    flex-direction: column;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eaeaea;
}

.category-header i {
    font-size: 2rem;
    color: var(--primary);
}

.category-header h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
}

.service-list {
    flex: 1;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-light);
}

.service-list li i {
    color: #10B981;
    font-size: 0.9rem;
}

/* ================= WHY CHOOSE US ================= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.feature-icon {
    font-size: 2rem;
    color: var(--primary);
}

.feature-text h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.feature-text p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ================= REVIEWS SECTION ================= */
.reviews {
    background-color: var(--bg-light);
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.stars {
    color: #FFD700;
    margin-bottom: 15px;
}

.review-text {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 20px;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reviewer-info h4 {
    font-size: 1rem;
}

.reviewer-info span {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* ================= FAQ SECTION ================= */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border: 1px solid #eaeaea;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
}

.faq-question i {
    color: var(--primary);
    transition: var(--transition);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    color: var(--text-light);
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 200px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* ================= CTA BANNER SECTION ================= */
.cta-section {
    padding: 40px 0 100px;
}

.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
    color: var(--white);
    box-shadow: 0 15px 30px rgba(0, 147, 246, 0.2);
}

.cta-banner h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--white);
}

.cta-banner p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* ================= FOOTER ================= */
footer {
    background-color: #2b2b2b;
    color: var(--white);
    padding: 70px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    /* color: var(--white); */
    color: var(--primary);
    align-items: center;
    display: flex;
    gap: 10px;
   
}



.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    /* color: var(--white); */
    color: var(--primary);
}

.footer-col p {
    color: #bbbbbb;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #bbbbbb;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    color: #bbbbbb;
}

.contact-info i {
    color: var(--primary);
    font-size: 1.2rem;
    margin-top: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #bbbbbb;
    font-size: 0.9rem;
}

/* ================= RESPONSIVE MEDIA QUERIES (FIXED) ================= */
@media (max-width: 992px) {

    /* FIX: Force grids to become vertical columns on smaller screens */
    .hero-content,
    .about-grid {
        display: flex;
        flex-direction: column;
        text-align: center;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-text h1 {
        font-size: 2.8rem;
    }

    .inner-hero h1 {
        font-size: 2.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 80px;
        left: -100%;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        padding: 30px 0;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
        transition: 0.4s;
    }

    .nav-links.active {
        left: 0;
    }

    .menu-toggle {
        display: block;
    }

    .nav-btn {
        display: none;
    }

    .cta-banner h2 {
        font-size: 1.8rem;
    }

    /* REMOVED the broken .about-grid { display: flex; } from here! */
}

/* ==========================================================================
   SERVICES PAGE SPECIFIC CSS (NEW ADDITIONS ONLY)
   ========================================================================== */

/* Utility Class */
.d-none {
    display: none !important;
}

/* Category Layout */
.services-page-wrap {
    background-color: var(--bg-light);
    padding: 60px 0;
}

.category-section {
    margin-bottom: 60px;
}

.category-title {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0f0ff;
    display: inline-block;
}

/* Expandable Cards Enhancements */
.service-card {
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card p {
    flex-grow: 1;
}

.service-card.expandable {
    cursor: pointer;
}

.service-card.expandable::after {
    content: 'Click to expand';
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 500;
    opacity: 0;
    transition: var(--transition);
}

.service-card.expandable:hover::after {
    bottom: 10px;
    opacity: 1;
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.service-icon {
    transition: var(--transition);
}

/* Modal / Popup Styling */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background: var(--white);
    width: 90%;
    max-width: 700px;
    max-height: 85vh;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    transform: scale(0.8) translateY(30px);
    opacity: 0;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.modal-overlay.active .modal-box {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    background: none;
    border: none;
}

.modal-close:hover {
    color: #ff4757;
    transform: rotate(90deg);
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 15px;
}

.modal-header i {
    font-size: 2.5rem;
    color: var(--primary);
}

.modal-header h2 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin: 0;
}

.modal-body {
    overflow-y: auto;
    padding-right: 10px;
}

.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: #cccccc;
    border-radius: 10px;
}

.modal-details-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modal-details-list li {
    padding: 15px 20px;
    background: var(--bg-light);
    margin-bottom: 12px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1.05rem;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.modal-details-list li:hover {
    background: #e0f0ff;
    border-left: 3px solid var(--primary);
    transform: translateX(5px);
}

.modal-details-list li i {
    color: #10B981;
    font-size: 1.2rem;
}

/* Steps Section (How to Avail) */
.steps-section {
    background: var(--white);
    padding: 80px 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    position: relative;
    text-align: center;
    margin-top: 40px;
}

.step-card {
    position: relative;
    z-index: 1;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--white);
    color: var(--primary);
    border: 3px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: var(--shadow);
}

.step-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.step-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Responsive Adjustments for New Elements */
@media (max-width: 992px) {
    .modal-box {
        width: 95%;
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {
    .category-title {
        font-size: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        display: flex;
        gap: 15px;
    }
}

/* ==========================================================================
   CONTACT PAGE SPECIFIC CSS
   ========================================================================== */

/* Contact Info Cards (VLE / Centers) */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.contact-info-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 5px solid var(--primary);
    text-align: center;
    position: relative;
}

.contact-info-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.contact-avatar {
    width: 90px;
    height: 90px;
    background: #e0f0ff;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 20px;
    box-shadow: inset 0 0 10px rgba(0, 147, 246, 0.1);
}

.contact-info-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.vle-title {
    font-size: 0.95rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 25px;
    display: block;
}

.contact-details-list {
    text-align: left;
    list-style: none;
    margin-bottom: 30px;
}

.contact-details-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.contact-details-list li i {
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 4px;
    width: 20px;
    text-align: center;
}

.contact-socials {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid #eaeaea;
}

.contact-socials a {
    width: 35px;
    height: 35px;
    background: var(--bg-light);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.contact-socials a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

/* Split Section: Highlights & Form */
.contact-split-wrap {
    background: var(--bg-light);
    padding: 80px 0;
}

.contact-split-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: start;
}

/* Left Side: Highlights */
.contact-highlights {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.highlight-mini-card {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
    border-left: 4px solid transparent;
}

.highlight-mini-card:hover {
    transform: translateX(10px);
    border-left: 4px solid var(--primary);
}

.highlight-mini-icon {
    width: 60px;
    height: 60px;
    background: #e0f0ff;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.highlight-mini-text h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.highlight-mini-text p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Right Side: Contact Form */
.contact-form-box {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.contact-form-box h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.contact-form-box p {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    color: var(--text-dark);
    transition: var(--transition);
    background: var(--bg-light);
    font-family: 'Poppins', sans-serif;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(0, 147, 246, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Dynamic "Other" Field Transition */
#other-service-group {
    transition: all 0.4s ease;
    overflow: hidden;
}

#other-service-group.d-none {
    display: none;
}

/* Responsive Contact Page */
@media (max-width: 992px) {
    .contact-split-container {
        grid-template-columns: 1fr;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form-box {
        padding: 30px 20px;
    }
}

/* ==========================================================================
   ABOUT PAGE SPECIFIC CSS
   ========================================================================== */

/* 1. About Company Split Section */
.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-intro-text h2 {
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.about-intro-text p {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.about-intro-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.about-intro-image img {
    width: 100%;
    display: block;
    border-radius: 20px;
}

.about-intro-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 147, 246, 0.2), transparent);
}

/* 2. Mission, Vision, Values (MVV) Cards */
.mvv-section {
    background-color: var(--bg-light);
    padding: 80px 0;
}

.mvv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.mvv-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border-bottom: 4px solid var(--primary);
}

.mvv-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.mvv-icon {
    width: 80px;
    height: 80px;
    background: rgba(0, 147, 246, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.mvv-card:hover .mvv-icon {
    background: var(--primary);
    color: var(--white);
}

.mvv-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.mvv-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* 3. Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 60px 0;
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-text {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 500;
}

/* 4. How We Work (Process Timeline) */
.process-section {
    padding: 80px 0;
    background: var(--white);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    position: relative;
    margin-top: 50px;
}

.process-step {
    text-align: center;
    position: relative;
}

/* Connecting Line */
.process-step::after {
    content: '';
    position: absolute;
    top: 40px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: #e0f0ff;
    z-index: 1;
}

.process-step:last-child::after {
    display: none;
}

.process-icon {
    width: 80px;
    height: 80px;
    background: var(--white);
    color: var(--primary);
    border: 3px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.process-step:hover .process-icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.process-step h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.process-step p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* 5. Team / Owner Section */
.team-section {
    background: var(--bg-light);
    padding: 80px 0;
}

.team-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.team-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    width: 320px;
    text-align: center;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.team-img {
    width: 100%;
    height: 260px;
    background: #e0f0ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--primary);
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info {
    padding: 30px 20px;
}

.team-info h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.team-role {
    display: block;
    color: var(--primary);
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.team-info p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* Responsive Overrides for About Page */
@media (max-width: 992px) {
    .about-intro-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .process-step::after {
        display: none;
    }

    /* Hide timeline line on mobile/tablet */
}

/* ==========================================================================
   DARK MODE THEME
   ========================================================================== */

/* Dark Mode Variables - Yeh purane colors ko override karenge */
body.dark-theme {
    --white: #121212;         /* Pure white becomes dark grey/black */
    --bg-light: #1e1e1e;      /* Light blue backgrounds become dark grey */
    
    --text-dark: #f0f0f0;     /* Dark text becomes light/white text */
    --text-light: #aaaaaa;    /* Grey text becomes lighter grey */
    --shadow: 0 8px 20px rgba(0, 0, 0, 0.5); /* Stronger shadow for dark mode */
}

/* Theme Toggle Button Styling */
.theme-switch {
    font-size: 1.4rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
    margin-right: 20px;
    display: flex;
    align-items: center;
}

.theme-switch:hover {
    color: var(--primary);
    transform: scale(1.1) rotate(15deg);
}

/* Specific Fixes for Dark Mode */
body.dark-theme header {
    background: rgba(18, 18, 18, 0.95); /* Header becomes dark */
}

body.dark-theme .modal-box {
    box-shadow: 0 0 30px rgba(0,0,0,0.8);
    border: 1px solid #333;
}

body.dark-theme .team-img {
    background: #2a2a2a; /* Team image background fix */
}

/* Mobile responsive alignment for switch */
@media (max-width: 768px) {
    .theme-switch {
        margin-right: 15px;
    }
}

.sticky-contact-bar {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 1030; /* Ensure it's above other content */
    
    display: flex;
    flex-direction: column; /* Icons ko vertical stack karega */
    
    background-color: var(--primary); /* Image wala dark blue color */
    padding: 10px;
    border-radius: 10px 0 0 10px; /* Left side se rounded corners */
    box-shadow: -2px 2px 8px rgba(0, 0, 0, 0.15);
}

.sticky-contact-bar .contact-icon {
    color: var(--bg-light); /* Icon ka color white */
    font-size: 24px; /* Icon ka size */
    margin: 12px 5px; /* Icons ke beech mein vertical space */
    text-decoration: none;
    transition: all 0.3s ease;
}

.sticky-contact-bar .contact-icon:hover {
    color: var(--bg-light);
    transform: scale(1.15); /* Hover par thoda zoom effect */
    opacity: 0.9;
}

.phone{
    rotate: 95deg;
}
.fa-whatsapp{
    scale: 1.2;
}


