/* ================= Global Reset ================= */

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

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    color: #fff;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0f0a 25%, #2d1a0f 50%, #1a0f0a 75%, #0a0a0a 100%);
    scroll-behavior: smooth;
}

section {
    margin: 0;
    padding: 0;
}

/* ================= Typography ================= */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Sans Adlam', sans-serif;
    font-weight: 600;
    color: #FFA500;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

h2 {
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
}

h3 {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
}

.montserrat-text{
    font-family:'Montserrat', sans-serif;
    font-weight:300;
    color: #F5F5F5;
    font-size: clamp(0.9rem, 2vw, 1rem);
}
.home-content p .montserrat-text{
    color: #F5F5F5;
}
/* ================= Cursor-dot ============= */

.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 12px;
    height: 12px;
    background-color: #FF8C00;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: transform 0.03s linear;
    z-index: 3;
    opacity: 1;
    /* Start visible */
}

@media (max-width:768px) {
    .cursor-dot {
        display: none;
    }
}


/* ================= Header ================= */

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 5%;
    width: 100%;
    top: 0;
    z-index: 999;
    overflow: hidden;
}

.logo {
    height: auto;
    width: clamp(80px, 15vw, 100px);
    border-radius: 50%;
    transform: scale(1.6);
}

#menu-icon {
    font-size: 28px;
    color: #FF8C00; 
    cursor: pointer;
    display: none;
    /* Hidden on large screens */
}


/* Navbar for large screens */

.navbar {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 20px;
    animation: slideright 1s ease forwards;
    animation-iteration-count: 1;
}

@keyframes slideright {
    from {
        transform: translateX(100px);
    }
    to {
        transform: translateX(0px);
    }
}

.navbar a {
    font-family: 'Noto Sans Adlam', sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: #FF8C00;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 8px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    overflow-x: hidden;
}
.navbar a:hover {
    color: #000;
    background: linear-gradient(135deg, #FF8C00 0%, #FFA500 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.4);
    text-shadow: none;
}


/* Responsive Styles */

@media (max-width: 768px) {
    .header {
        justify-content: space-between;
        padding: 15px 20px;
    }
    #menu-icon {
        display: block;
        color: #FFDF00; /* Ensures dark color on mobile */
        z-index: 1000; /* Ensures it stays above other elements */
    }
    .navbar {
        position: absolute;
        top: 60px;
        right: 20px;
        background-color: #000;
        flex-direction: column;
        width: 180px;
        padding: 12px 0;
        border-radius: 8px;
        border: 2px solid #FFDF00;
        display: none; /* Hidden by default */
        z-index: 999;
    }
    .navbar.show {
        display: flex;
    }
    .navbar a {
        text-decoration: none;
        font-size: 18px;
        transition: all 0.3s;
    }
    .navbar a:hover {
        padding: 5px 10px;
        border-radius: 5px;
    }
    .navbar.show {
        display: flex;
    }
}

@media (min-width:768px) {
    .logo {
        padding-top: 10px;
    }
}

@media (max-width: 768px) {
    .logo {
        transform: scale(1.6);
        margin-left:14px;
        margin-top:0px;
    }
    .navbar {
        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;
        transition: all 0.3s ease;
    }
    .navbar.show {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
}


/* ================= Home 1 Section ================= */

.home {
    height: auto;
    min-height: 85vh;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 20px 5%;
    margin-bottom: 20px;
}
@media(max-width:768px){
    .home{
         margin-bottom:-90px;
    }
}
@media screen and (max-width: 1024px) and (max-height: 600px){
    .home{
        margin-bottom:-20px;
    }
}

/* ================= Video ================= */

.home-content {
    font-size: clamp(1rem, 3vw, 1.5rem);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    width: 100%;
    max-width: 1920px;
    gap: 20px;
}

@media (max-width: 992px) {
    .home-content {
        flex-direction: column;
        text-align: center;
    }
    
    #video-container {
        width: 100%;
        height: auto;
        max-height: 60vh;
        border-radius: 15px;
    }
    
    #video-container video {
        width: 100%;
        height: auto;
        max-height: 60vh;
    }
    
    .home-content p {
        width: 100%;
        margin-bottom: 20px;
    }
}

.home-content p {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0f0a 50%, #0a0a0a 100%);
    box-shadow: 0 8px 32px rgba(255, 140, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 140, 0, 0.2);
    color: #fff;
    font-size: 35px;
    font-weight: 300;
    border-radius: 20px;
    padding: 20px 25px;
    margin: 0 15px 0 2px;
    animation: slideright 1s ease forwards;
    animation-iteration-count: 1;
    backdrop-filter: blur(10px);
}
@media(max-width:600px){
    .home-content p{
         box-shadow: 0 0 5px #FFDF00;
    }
}
@keyframes slideright {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.home-content p span {
    color: #FF8C00;
    font-size: 36px;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}
.home-content .home-content-question-span{
    font-family: 'Noto Sans Adlam', sans-serif;
    font-size: 44px;
    font-weight: 700;
    color: #FFA500;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9);
}

#video-container {
    position: relative;
    width: 150%;
    height: calc(85vh);
    /* FULL viewport height minus header */
    overflow: hidden;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000;
    /* fills behind video if needed */
}

#video-container video {
    width: 100%;
    height: calc(85vh);
    object-fit: fill;
    /* covers fully (cropping might occur) */
}
@media (max-width: 768px) {
    .navbar a {
        font-size: clamp(1rem, 4vw, 1.5rem);
        padding: 6px 12px;
    }
    
    .home-content .home-content-question-span {
        font-size: clamp(1.2rem, 5vw, 2rem);
    }
    
    .home-content p span {
        font-size: clamp(1rem, 4vw, 1.5rem);
    }
}

@media (max-width: 480px) {
    .header {
        padding: 10px 15px;
    }
    
    .logo {
        transform: scale(1.4);
    }
    
    .home-content p {
        padding: 15px;
        font-size: clamp(0.9rem, 4vw, 1.2rem);
    }
}
@media (max-width: 600px) {
    #video-container {
        padding: 0;
        border-radius: 15px;
    }
}
@media(max-width:600px){
    #video-container{
        height: calc(66vh);
        width:100%;
    }
    #video-container video{
        height: calc(66vh);
        object-fit:fill;
    }
    .home-content .home-content-question-span {
        font-size:18px;
    }
    .home-content p span{
        font-size:16px;
    }
    .home-content p{
        margin: 0 0px 30px 0px;
        
    }

}
@media (max-width: 600px) {
    #video-container {
        padding: 0;
        border-radius: 15px;
    }
}


/* ================= Home 2 Section =============== */

.home2 {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    min-height: 60vh;
    opacity: 0;
    transform: translateY(100px);
    transition: opacity .4s ease, transform .4s ease;
}

.home2.active {
    opacity: 1;
    transform: translateY(0);
}

.home-content2 {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    overflow: hidden;
    width: 100%;
    max-width: 1920px;
    /* optional: to limit large screens */
}


/* Video Container */

#video-container2 {
    flex: 1 1 60%;
    min-width: 300px;
    height: 50vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: #000;
    border-radius: 15px;
}

#video-container2 video {
    width: 100% !important;
    height: 50vh !important;
    aspect-ratio: 16/9;
    /* Maintain good ratio */
    object-fit: fill;
}


/* Text and Button */

.p2-btn {
    flex: 1 1 35%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 20px;
    box-sizing: border-box;
}

.p2-btn p {
    color: #B19FD2;
    font-size: 34px;
    margin: 0;
}

.p2-btn a input[type="button"] {
    font-size: 30px;
    padding: 10px 20px;
    background-color: #000000;
    color: #ffffff;
    border: 2px solid #FFA500;
    border-radius: 15px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.p2-btn a input[type="button"]:hover {
    background-color:#FFA500;
    color: #000000;
}


/* Responsive layout on mobile */

@media (max-width: 768px) {
    .home-content2 {
        flex-direction: row;
        margin:0;
    }
    #video-container2 {
        width: 100% !important;
        height: 30vh !important;
        border-radius: 15px;
    }
    #video-container2 video {
        width: 50% !important;
        height: 100% !important; 
    }
    .p2-btn {
        width: 100%;
    }
    .p2-btn p {
        font-size: 1rem;
        margin-bottom: 5px;
    }
    .p2-btn a input[type="button"] {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}


/* Fully responsive fix for mobile */

@media (max-width: 768px) {
    .home2 {
        min-height: auto;
    }
    .home-content2 {
        flex-direction: row;
        margin: 0;
    }
    #video-container2 {
        width: 100%;
        height: 40vh;
        /* Adjustable smaller video height for mobile */
        border-radius: 0;
    }
    #video-container2 video {
        width: 50%;
        height: 100%;
    }
    .p2-btn {
        width: 100%;
        padding: 15px 10px;
    }
}


/* ================= Responsive Styles ================= */

@media (min-width: 900px) {
    .home {
        padding: 20px;
    }
}

@media (max-width: 900px) {
    .home {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding-right: 20px;
    }
    .home-content h1 {
        font-size: 30px;
    }
    .home-content h3 {
        font-size: 20px;
    }
    .slide {
        width: 180px;
        height: auto;
        aspect-ratio: 4 / 3;
    }
    .slide img {
        object-fit: contain;
    }
}


/* ================= FAQs ================ */

.section-FAQs {

    min-height: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Center vertically */
    align-items: center;
    /* Center horizontally */
    padding: 0 16px;
    /* Padding for smaller screens */
    box-sizing: border-box;
}

#FAQs-h2 {
    font-family: 'Noto Sans Adlam', sans-serif;
    font-size: 44px;
    font-weight: 700;
    margin: 50px 0 30px 0;
    text-align: center;
    color: #FFD700;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
}
@media(max-width:600px){
    #FAQs-h2{
        margin:50px 0 0 0;
    }
}

.faq {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0f0a 50%, #0a0a0a 100%);
    color: #fff;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(255, 140, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 140, 0, 0.3);
    max-width: 1500px;
    width: 80%;
    margin-top: 40px;
    cursor: pointer;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
    backdrop-filter: blur(10px);
}

.faq:hover {
    box-shadow: 0 12px 40px rgba(255, 140, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.faq.show {
    opacity: 1;
    transform: translateY(0);
}

.question {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq .question h3 {
    font-family: 'Noto Sans Adlam', sans-serif;
    color: #FFD700;
    font-size: 34px;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.answer p {
    font-family: 'Montserrat', sans-serif;
    color: #E0E0E0;
    font-size: 34px;
    font-weight: 300;
    padding-top: 16px;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}


/* Active FAQ expands answer */

.faq.active .answer {
    max-height: 300px;
    animation: answeranime 2s ease-in-out;
}

@keyframes answeranime {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq.active svg {
    transform: rotate(180deg)
}

svg {
    transition: transform .5s ease-in;
}

.question svg path {
    stroke: #FFDF00;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* Media Query for smaller screens */

@media (max-width: 768px) {
    .question svg {
        width: 20px;
        height: 20px;
    }
    .section-FAQs {
        min-height: auto;
        justify-content: center;
        /* Keep vertical centering */
        align-items: center;
        /* Keep horizontal centering */
    }
}


/* ============ Contact Us ============== */

.contactus .content>*,
.contactus .contactInfo .box,
.contactus .contactForm>* {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.contactus .content>*.show,
.contactus .contactInfo .box.show,
.contactus .contactForm>*.show {
    opacity: 1;
    transform: translateY(0);
}

.contactus {
    position: relative;
    min-height: 100vh;
    padding: 5px 100px 50px 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.contactus .content {
    max-width: 800px;
    text-align: center;
}

.contactus .content h2 {
    font-family: 'Noto Sans Adlam', sans-serif;
    font-size: 44px;
    color: #FFD700;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
}

.contactus .content p {
    font-family: 'Montserrat', sans-serif;
    color: #E0E0E0;
    font-size: 34px;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

.container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}
@media (max-width:600px){
    .container{
       margin-top:-20px;
    }
}
.container .contactInfo {
    width: 50%;
    display: flex;
    flex-direction: column;
}

.container .contactInfo .box {
    position: relative;
    padding: 35px 0;
    display: flex;
}

.container .contactInfo .box .icon a {
    min-width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 0 20px #FF8C00; /* Changed from #fff */
    background: #FF8C00; /* Changed from #B19FD2 */
    color: #000;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
}
@media (max-width:600px){
    .container .contactInfo .box .icon a {
        min-width:45px;
        height:45px;
    }
}
.container .contactInfo .box .icon a:hover {
    color: #FF8C00;
    background: #000;
}

.container .contactInfo .box .text {
    display: flex;
    margin-left: 20px;
    font-size: 16px;
    color: #fff;
    flex-direction: column;
    font-weight: 300;
    animation: icontextanime 2s ease-in-out 1;
}

@keyframes icontextanime {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.container .contactInfo .box .text h3 {
    font-size: 34px;
    font-weight: 500;
    color: #FF8C00;
}
@media (max-width:600px){
    .container .contactInfo .box .text h3{
        font-size:24px;
    }
}

.container .contactInfo .box .text p {
    font-size: 30px;
    font-weight: 500;
    color: #FF8C00;
}
@media (max-width:600px){
    .container .contactInfo .box .text p{
        font-size:16px;
    }
}


/* ======= Contact Us(Contact-form) ====== */

.contactForm {
    width: 40%;
    padding: 40px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0f0a 50%, #0a0a0a 100%);
    color: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(255, 140, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 140, 0, 0.3);
    z-index: 5;
    backdrop-filter: blur(10px);
}

.contactForm h3 {
    font-family: 'Noto Sans Adlam', sans-serif;
    font-size: 34px;
    font-weight: 600;
    color: #FF8C00;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.contactForm .inputBox {
    position: relative;
    width: 100%;
    margin-top: 10px;
}

.contactForm .inputBox input,
.contactForm .inputBox textarea {
    width: 100%;
    padding: 5px 0;
    font-size: 30px;
    margin: 20px 0;
    border: none;
    border-radius: 5px;
    border-bottom: 2px solid #333;
    outline: none;
    resize: none;
}

.contactForm .inputBox span {
    position: absolute;
    left: 0;
    padding: 10px 0;
    font-size: 30px;
    margin: 10px 0;
    pointer-events: none;
    transition: .5s;
    color: #666;
}

.contactForm .inputBox input:focus~span,
.contactForm .inputBox input:valid~span,
.contactForm .inputBox textarea:focus~span,
.contactForm .inputBox textarea:valid~span {
    color: #FF8C00;
    font-size: 24px;
    transform: translateY(-40px);
}

.contactForm .inputBox input[type="submit"] {
    width: 100px;
    background: #000000;
    color: #FF8C00;
    border: 2px solid #FF8C00;
    border-radius: 15px;
    cursor: pointer;
    padding: 10px;
    font-size: 30px;
}

.contactForm .inputBox input[type="submit"]:hover {
    background: #FF8C00;
    color: #000000;
}

.contactForm .inputBox input:focus,
.contactForm .inputBox textarea:focus {
    box-shadow: 0 0 10px #B19FD2;
    outline: none;
    /* optional: removes default blue outline */
}

@media (max-width:991px) {
    .contactForm .inputBox span {
        font-size: 16px;
        padding: 10px 0;
    }
    .contactForm .inputBox input,
    .contactForm .inputBox textarea {
        font-size: 16px;
    }
    .contactus {
        padding: 0px 50px 40px 50px;
    }
    .container {
        flex-direction: column;
    }
    .container .contactInfo {
        margin-bottom: 40px;
    }
    .container .contactInfo,
    .contactForm {
        width: 100%;
    }
    .contactForm {
        padding: 20px;
    }
}


/* =============== Footer ================ */

.site-footer {
    background-color: #111;
    color: #eee;
    padding: 40px 20px 20px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.site-footer h3 {
    color: #FFDF00;
    font-size: 44px;
    margin-bottom: 10px;
}

.site-footer p {
    font-size: 24px;
    line-height: 1.5;
    margin: 0 auto 20px;
    max-width: 600px;
}

.footer-bottom {
    margin-top: 20px;
    font-size: 14px;
    color: #FFDF00;
    border-top: 1px solid #FFDF00;
    padding-top: 10px;
    position: relative;
}


/* ====== Back to Top Button ====== */

.back-to-top {
    display: inline-block;
    padding: 12px 52px;
    background-color: #000000;
    color: #FF8C00;
    border: 2px solid #FF8C00;
    text-decoration: none;
    font-weight: bold;
    font-size: 24px;
    border-radius: 30px;
    transition: all 0.3s ease;
    margin: 8px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.back-to-top:hover {
    background-color: #FFA500;
    color:#000000;
    transform: translateY(-3px);
    opacity: 1;
}


/* Responsive Adjustments */

@media (max-width: 768px) {
    .site-footer {
        padding: 30px 15px 15px;
    }
    .site-footer h3 {
        font-size: 28px;
    }
    .site-footer p {
        font-size: 16px;
        margin-bottom: 15px;
    }
    .back-to-top,
    .connect-developer {
        padding: 10px 20px;
        font-size: 18px;
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    /* ABOVE the Back to Top button */
    right: 20px;
    width: 50px;
    height: 50px;
    text-decoration: none;
    background-color: #25D366;
    /* WhatsApp green */
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    z-index: 999;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.9;
    margin-right: 20px;
    animation: fadewhatsapplogo 3s ease forwards;
    animation-iteration-count: 1;
}

@keyframes fadewhatsapplogo {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media (max-width:1280px) {
    .whatsapp-float {
        margin-right: 0px;
    }
}

.whatsapp-float:hover {
    transform: scale(1.1);
    opacity: 1;
}


/* ========== Video Grid Section ========== */

.video-grid-section {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    padding: 0px 15px;
    color: #fff;
}


/* Left Text Block */

.text-content {
    flex: 1 1 35%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    padding: 20px;
}

.text-content h2 {
    font-family: 'Noto Sans Adlam', sans-serif;
    font-size: 44px;
    font-weight: 700;
    color: #FFA500;
    margin-bottom: 15px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
}

.text-content p {
    font-family: 'Montserrat', sans-serif;
    font-size: 34px;
    font-weight: 300;
    color: #F5F5F5;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}


/* ========== Right 2×2 Video Grid ========== */

.video-grid {
    flex: 1 1 60%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 9px;
    border-radius: 15px;
    gap: 15px;
}


/* Video Container with Curved Corners and Fixed Height for Portrait Videos */

.video-box {
    position: relative;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0f0a 100%);
    border: 2px solid #FF8C00;
    border-radius: 20px;
    overflow: hidden;
    height: 350px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
    z-index: 1;
    box-shadow: 0 8px 32px rgba(255, 140, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.video-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(255, 140, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: #FFA500;
}

.video-box.show {
    opacity: 1;
    transform: translateY(0);
}

.video-box.expanded {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 1000;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none !important;
    border-radius: 0 !important;
}

.video-box.expanded video {
    width: 100% !important;
    height: auto;
    max-height: 100vh;
    object-fit: contain;
}

body.video-expanded {
    overflow: hidden;
}

.back-button {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.5);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    z-index: 1001;
     border: none;
}

.back-button:hover {
    background: rgba(255,255,255,0.2);
}

/* Update video grid for mobile */
@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .video-box {
        height: 250px; /* Adjust height for mobile */
    }
    
    /* Make sure videos take full width on mobile */
    .video-box video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    /* Adjust play button size for mobile */
    .grid-play-button {
        transform: translate(-50%, -50%) scale(2.5);
    }
}
/* Hide controls by default 
video::-webkit-media-controls {
    display: none !important;
}
 */

/* Show controls when video is playing or expanded */
video[controls]::-webkit-media-controls {
    display: flex !important;
}
/* Style for expanded video */
video:-webkit-full-screen {
    width: 100% !important;
    height: 100% !important;
    background: #000;
}

video:-moz-full-screen {
    width: 100% !important;
    height: 100% !important;
    background: #000;
}

video:-ms-fullscreen {
    width: 100% !important;
    height: 100% !important;
    background: #000;
}

video:fullscreen {
    width: 100% !important;
    height: 100% !important;
    background: #000;
}
/* Mobile-specific styles */
@media (max-width: 768px) {
    .video-box {
        height: 200px;
    }
    
    .video-box.expanded {
        padding: 0;
        margin: 0;
    }
    
    .video-box.expanded video {
        width: 100% !important;
        height: auto !important;
    }
    
    .grid-play-button {
        transform: translate(-50%, -50%) scale(1.5);
    }
}

/* Video Styling for Portrait or Mixed Orientation */

.video-box video {
    width: 100%;
    height: 100%;
    object-fit: fill;
    /* 'cover' → fills area, may crop (best visually) */
    border-radius: 15px;
    cursor: pointer;
}


/*  grid-play Button Overlay */

.grid-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(3);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
}

.grid-play-button i {
    color: #FF8C00;
    font-size: 24px;
}

.grid-play-button.hide {
    opacity: 0;
    pointer-events: none;
}

.grid-play-button i:hover {
    color: #777777;
}

@media (max-width: 768px) {
    .grid-play-button {
        width: 40px;
        height: 40px;
        transform: translate(-50%, -50%) scale(2);
    }
    .grid-play-button i {
        color: #FF8C00;
        font-size: 20px;
    }
    .grid-play-button i:hover {
    color: #FFDF00;
}
}


/* ========== Responsive Styles ========== */

@media (max-width: 900px) {
    .video-grid-section {
        flex-direction: column;
        text-align: center;
        padding: 0px 10px;
        gap: 0px;
    }
    .text-content {
        align-items: center;
        text-align: center;
        padding: 10px;
    }
    .text-content h2 {
        font-size: 44px;
    }
    .text-content p {
        font-size: 34px;
    }
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        /* Retain 2x2 Grid on Mobile */
        gap: 10px;
    }
    .video-box {
        height: 200px;
        /* Smaller height for smaller screens */
        border: 2px solid #FF8C00;
    }
}


/* ========== Portfolio-Section ========== */

.portfolio-section .content>* {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.portfolio-section .content>*.show {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-section {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
}

.content {
    text-align: center;
    padding: 50px 20px 30px 20px;
    color: #fff;
}

.content h1 {
    font-family: 'Noto Sans Adlam', sans-serif;
    font-size: 44px;
    font-weight: 700;
    color: #FFA500;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    margin-bottom: 10px;
}

.content p {
    font-family: 'Montserrat', sans-serif;
    font-size: 34px;
    color: #F5F5F5;
    margin-bottom: 25px;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}


/* Button centered horizontally */

.portfolio-btn {
    display: inline-block;
    padding: 15px 35px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0f0a 100%);
    color: #FF8C00;
    border: 2px solid #FF8C00;
    border-radius: 20px;
    text-decoration: none;
    font-family: 'Noto Sans Adlam', sans-serif;
    font-weight: 600;
    font-size: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(255, 140, 0, 0.3);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.portfolio-btn:hover {
    color: #000;
    background: linear-gradient(135deg, #FF8C00 0%, #FFA500 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(255, 140, 0, 0.5);
    text-shadow: none;
}


/* Video container now fixed at ~60vh */

.video-container {
    width: 100%;
    height: 80vh;
    /* Adjusted height */
    overflow: hidden;
}

.video-container video {
    width: 100%;
    height: 80vh;
    object-fit: cover;
}


/* Responsive for smaller screens */

@media (max-width: 768px) {
    .portfolio-btn {
        padding: 10px 20px;
        font-size: 18px;
    }
    .video-container {
        height: 70vh;
        /* Smaller height for mobile if needed (adjustable) */
    }
}


/* ====== About Developer Button ====== */

.connect-developer {
    display: inline-block;
    padding: 12px 24px;
    background-color: #000;
    color: #FF8C00;
    border: 2px solid #FF8C00;
    text-decoration: none;
    font-weight: bold;
    font-size: 24px;
    border-radius: 30px;
    transition: all 0.3s ease;
    margin: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);   
}

.connect-developer:hover {
    background-color: #FF8C00;
    color: #000;
    transform: translateY(-3px);
}

@media (max-width: 600px) {
    .connect-developer {
        padding: 10px 20px;
        font-size: 16px;
        margin: 8px 0;
    }
}

/* ================= Responsive Text Adjustments ================= */

/* Adjustments for small screens (mobile) */
@media (max-width: 768px) {
  h1, h2 {
    font-size: 1.5rem;
    line-height: 1.3;
  }
  h3 {
    font-size: 1.25rem;
  }
  p, span, a {
    font-size: 0.85rem;
    line-height: 1.4;
  }
  
  /* Specific component adjustments */
  .navbar a {
    font-size: 1rem;
  }
  
  .home-content p {
    font-size: 1rem;
  }
  
  .overlay-text h1 {
    font-size: 1.5rem;
  }
  
  .overlay-text p {
    font-size: 0.9rem;
  }
  
  .p2-btn p {
    font-size: 1rem;
  }
  
  .p2-btn a input[type="button"] {
    font-size: 0.9rem;
  }
  
  .faq .question h3 {
    font-size: 1.1rem;
  }
  
  .answer p {
    font-size: 0.9rem;
  }
  
  .contactus .content h2 {
    font-size: 1.5rem;
  }
  
  .contactus .content p {
    font-size: 1rem;
  }
  
  .contactForm h3 {
    font-size: 1.25rem;
  }
  
  .contactForm .inputBox input,
  .contactForm .inputBox textarea {
    font-size: 1rem;
  }
  
  .site-footer h3 {
    font-size: 1.5rem;
  }
  
  .site-footer p {
    font-size: 0.9rem;
  }
  
  .text-content h2 {
    font-size: 1.5rem;
  }
  
  .text-content p {
    font-size: 1rem;
  }
  
  .content h1 {
    font-size: 1.5rem;
  }
  
  .content p {
    font-size: 1rem;
  }
}

/* Extra small screens */
@media (max-width: 480px) {
  h1, h2,#FAQs-h2,h3 {
    font-size: 1.25rem;
  }
  
  .navbar a {
    font-size: 0.9rem;
  }
  
  .contactForm .inputBox input[type="submit"] {
    font-size: 0.9rem;
    padding: 8px 16px;
  }
  
  .back-to-top {
    font-size: 0.9rem;
    padding: 8px 16px;
  }
  
  .portfolio-btn {
    font-size: 1rem;
    padding: 10px 20px;
  }
  
  .connect-developer {
    font-size: 1rem;
  }
}
/* ====== Button Container ====== */
.button-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
    flex-wrap: wrap;
}
@media (max-width: 480px) {
    .back-to-top,
    .connect-developer {
        font-size: 16px;
        padding: 8px 16px;
    }
}
/* Responsive adjustments */
@media (max-width: 768px) {
    .button-container {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}  
/*== about us hidden for mobiles ===*/
@media (max-width: 768px) {
  .hide-on-mobile {
    display: none;
  }
}  
/* ================= End ======================== */

