/* =========================
   THEME VARIABLES
========================= */

:root{
    --bg-color:#062f2a;
    --text-color:#e6fff7;
    --header-bg:#041f1c;
    --card-bg:#041f1c;
    --accent:#7fffd4;
    --hover:#5decc3;
    --footer-bg:#021514;
}

body.light-mode{
    --bg-color:#ffffff;
    --text-color:#1a1a1a;
    --header-bg:#f2f2f2;
    --card-bg:#ffffff;
    --accent:#009688;
    --hover:#00796b;
    --footer-bg:#e0e0e0;
}
.theme-btn{
    background:var(--accent);
    border:none;
    padding:8px 14px;
    border-radius:25px;
    cursor:pointer;
    transition:0.3s;
    display:flex;
    align-items:center;
    gap:6px;
    font-weight:500;
    color:#000;
}
.login-btn{
    background:var(--accent);
    padding:8px 16px;
    border-radius:25px;
    text-decoration:none;
    font-weight:500;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:0.3s;
    color:#000;
}

.login-btn:hover{
    background:var(--hover);
}
.theme-btn:hover{
    background:var(--hover);
}

.theme-icon{
    font-size:16px;
}

.theme-text{
    font-size:14px;
}
/* =========================
   GLOBAL SETTINGS
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

body{
    background:var(--bg-color);
    color:var(--text-color);
    display:flex;
    flex-direction:column;
    padding-top:80px;
}

/* =========================
   HEADER
========================= */

header{
    background:var(--header-bg);
    padding:15px 8%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:1000;
    height:80px;
}

.logo{
    display:flex;
    align-items:center;
    gap:10px;
}

.logo img{
    width:65px;
    height:65px;
    object-fit:contain;
}

header h2{
    color:var(--accent);
}

/* =========================
   NAVIGATION
========================= */

nav{
    display:flex;
    align-items:center;
    gap:20px;
}

nav a{
    color:var(--text-color);
    text-decoration:none;
    font-weight:500;
    transition:0.3s;
}

nav a:hover{
    color:var(--accent);
}

/* SEARCH */

.search-box{
    position:relative;
}

.search-box input{
    width:250px;
    height:34px;
    padding:6px 40px 6px 15px;
    border-radius:25px;
    border:none;
    outline:none;
    font-size:14px;
}

.search-btn{
    position:absolute;
    right:5px;
    top:50%;
    transform:translateY(-50%);
    border:none;
    background:var(--accent);
    color:#062f2a;
    width:28px;
    height:28px;
    border-radius:50%;
    cursor:pointer;
    font-size:14px;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:0.3s;
}

.search-btn:hover{
    background:var(--hover);
}

/* HAMBURGER */

.menu-toggle{
    display:none;
    font-size:28px;
    cursor:pointer;
    color:#7fffd4;
}

/* =========================
   HERO
========================= */

.hero{
    padding:100px 8%;
    text-align:center;
    background:linear-gradient(to right,var(--bg-color),var(--header-bg));
}

.hero h1{
    font-size:42px;
    margin-bottom:20px;
    color:var(--accent);
}

.hero p{
    font-size:18px;
    margin-bottom:30px;
}
/* =========================
   PAGE BANNER
========================= */

.page-banner{
    width:100%;
    padding:90px 8% 60px;
    background:linear-gradient(to right,var(--bg-color),var(--header-bg));
    text-align:center;
}

.banner-content h1{
    font-size:40px;
    color:var(--accent);
    margin-bottom:15px;
}

.banner-content p{
    font-size:18px;
    color:var(--accent);
    max-width:700px;
    margin:auto;
}
/* =========================
   BUTTON
========================= */

.btn{
    padding:12px 25px;
    background:var(--accent);
    color:#062f2a;
    border-radius:30px;
    margin:10px;
    font-weight:600;
    text-decoration:none;
    display:inline-block;
    transition:0.3s;
}

.btn:hover{
    background:var(--hover);
}

/* =========================
   SECTION
========================= */

.section{
    padding:50px 8%;
    text-align:center;
}

.section h2{
    color:var(--accent);
    margin-bottom:35px;
    font-size:32px;
}
/* =========================
   SERVICES CARDS
========================= */

.services-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(280px,1fr));
    gap:30px;
    margin-top:40px;
}

.service-card{
    background:var(--card-bg);
    padding:30px;
    border-radius:15px;
    transition:0.3s;
    text-align:left;
}

.service-card h3{
    color:#7fffd4;
    margin-bottom:15px;
}
.service-card p{
    line-height:1.6;
}

.service-card:hover{
    transform:translateY(-8px);
    box-shadow:0 10px 25px rgba(127,255,212,0.2);
}
/* =========================
   CONTACT FORM
========================= */

.contact-form{
    max-width:600px;
    margin:40px auto 0;
}

.form-group{
    margin-bottom:20px;
}

.contact-form input,
.contact-form textarea{
    width:100%;
    padding:12px 15px;
    border-radius:8px;
    border:1px solid var(--accent);
    outline:none;
    font-size:14px;
}

.contact-form textarea{
    resize:none;
}


/* =========================
   CONTACT INFO GRID
========================= */

.contact-info-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
    margin-top:40px;
}

.contact-details{
    background:var(--card-bg);
    padding:30px;
    border-radius:15px;
	border:1px solid var(--accent);
}

.contact-details h3{
    color:#7fffd4;
    margin-bottom:20px;
}

.contact-details p{
    margin-bottom:12px;
    line-height:1.6;
}

.contact-map iframe{
    border-radius:15px;
}
/* =========================
   ABOUT FLEX
========================= */

.about{
    background:var(--card-bg);
    border-radius:20px;
    padding:40px;
    max-width:900px;
    margin:auto;
}

.about-flex{
    display:flex;
    gap:40px;
    align-items:center;
    justify-content:space-between;
    flex-wrap:wrap;
}

.about-text{
    flex:1;
    text-align:left;
}

.about-text h2{
    margin-bottom:20px;
}

.about-text p{
    line-height:1.7;
}

.about-image{
    flex:1;
    text-align:center;
}

.about-image img{
    width:250px;
    max-width:100%;
    transition:0.4s;
}

.about-image img:hover{
    transform:scale(1.05);
}

.reverse{
    flex-direction:row-reverse;
}

/* =========================
   FAQ
========================= */

.faq-section{
    text-align:left;
    /* max-width:1000px; */
    /* margin:auto; */
}

.faq-container{
    margin-top:30px;
}

.faq-item{
    background:var(--card-bg);
    border-radius:12px;
    margin-bottom:15px;
    overflow:hidden;
    transition:0.3s;
}

.faq-item:hover{
    box-shadow:0 5px 20px rgba(127,255,212,0.2);
}

.faq-question{
    padding:18px 20px;
    cursor:pointer;
    display:flex;
    justify-content:space-between;
    align-items:center;
    font-weight:600;
    font-size:18px;
    color:var(--accent);
}

.faq-answer{
    max-height:0;
    overflow:hidden;
    padding:0 20px;
    background:var(--bg-color);
    transition:max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer p{
    margin:10px 0;
    line-height:1.7;
}

.faq-list{
    padding-left:20px;
    margin:10px 0;
}

.faq-item.active .faq-answer{
    max-height:500px;
    padding:15px 20px 20px;
}

.faq-icon{
    width:14px;
    height:14px;
    border-right:3px solid #7fffd4;
    border-bottom:3px solid #7fffd4;
    transform:rotate(45deg);
    transition:0.3s;
}

.faq-item.active .faq-icon{
    transform:rotate(-135deg);
}
/* =========================
   CHATBOT
========================= */

.chatbot-icon{
    position:fixed;
    bottom:25px;
    right:25px;
    background:var(--accent);
    color:#062f2a;
    width:60px;
    height:60px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:24px;
    cursor:pointer;
    box-shadow:0 5px 20px rgba(0,0,0,0.3);
    z-index:2000;
}

.chatbot-box{
    position:fixed;
    bottom:100px;
    right:25px;
    width:320px;
    background:var(--card-bg);
    border-radius:15px;
    display:none;
    flex-direction:column;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,0.4);
    z-index:2000;
}

.chatbot-header{
    background:var(--accent);
    color:#062f2a;
    padding:12px;
    font-weight:600;
    text-align:center;
}

.chatbot-messages{
    height:260px;
    padding:15px;
    overflow-y:auto;
    font-size:14px;
}

.chatbot-input{
    display:flex;
    border-top:1px solid rgba(255,255,255,0.1);
}

.chatbot-input input{
    flex:1;
    padding:10px;
    border:none;
    outline:none;
    background:transparent;
    color:var(--text-color);
}

.chatbot-input button{
    background:var(--accent);
    border:none;
    padding:10px 15px;
    cursor:pointer;
}

/* =========================
   FOOTER
========================= */

footer{
    text-align:center;
    padding:20px;
    background:var(--footer-bg);
    color:var(--accent);
    margin-top:auto;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:992px){
    .search-box input{
        width:180px;
    }
}

@media(max-width:768px){

    body{
        padding-top:70px;
    }

    header{
        height:70px;
        padding:10px 5%;
    }

    .logo img{
        width:50px;
        height:50px;
    }

    header h2{
        font-size:18px;
    }

    .menu-toggle{
        display:block;
    }

    nav{
        position:absolute;
        top:70px;
        left:0;
        width:100%;
        background:var(--footer-bg);
        flex-direction:column;
        display:none;
        padding:20px 0;
		gap: 0px;
    }

    nav a{
        margin:12px 0;
    }

    nav.active{
        display:flex;
    }

    .search-box{
        display:none;
    }

    .hero h1{
        font-size:26px;
    }

    .about-flex{
        flex-direction:column;
        text-align:center;
    }

    .about-text{
        text-align:center;
    }
	.page-banner{
    padding:80px 5% 50px;
    }

    .banner-content h1{
        font-size:26px;
    }
    
    .banner-content p{
        font-size:15px;
    }
	 .contact-info-grid{
        grid-template-columns:1fr;
    }
}
/* =========================================
   MOBILE MENU SCROLL FIX (Portrait + Landscape)
========================================= */

@media(max-width:768px){

    nav{
        position:fixed;
        top:70px;
        left:0;
        width:100%;
        background:var(--footer-bg);
        flex-direction:column;
        padding:20px 0;
        gap:0;

        height:calc(100vh - 70px);
        overflow-y:auto;
        -webkit-overflow-scrolling:touch;
    }

    nav.active{
        display:flex;
    }

}


/* =========================================
   CHATBOT RESPONSIVE FIX
========================================= */

/* Default Mobile (Portrait) */
@media(max-width:768px){

    .chatbot-box{
        width:90%;
        max-width:350px;
        height:70vh;
        max-height:500px;
        bottom:80px;
        right:5%;
    }

    .chatbot-messages{
        flex:1;
        overflow-y:auto;
    }

}


/* Landscape Mode Special Layout */
@media (max-width:768px) and (orientation:landscape){

    .chatbot-box{
        width:95%;       /* width badhegi */
        max-width:none;
        height:55vh;     /* height kam hogi */
        bottom:10px;
        right:2.5%;
    }
    .search-box{
        display:block;
    }

    .search-box input{
        width:200px;   /* landscape me thoda chhota */
    }
}
@media (max-width:768px) and (orientation:portrait){

    nav{
        position:fixed;
        top:70px;
        left:0;
        width:100%;
        background:var(--footer-bg);
        flex-direction:column;

        height:calc(100vh - 70px); 
        overflow-y:auto;
        -webkit-overflow-scrolling:touch;
    }

    nav.active{
        display:flex;
    }

}