﻿@font-face{
    font-family:'Segoe UI';
    src:url('../Fonts/segoeui.ttf')format('truetype');
}
@font-face {
    font-family: 'sans-serif';
    src: url('../Fonts/SANSSERIFCOLLECTION.TTF')format('truetype');
}
body {
    font-family: 'Segoe UI',sans-serif;
}
*, *::before.*::after {
    box-sizing: border-box;
}

    @keyframes slide{
        0% {
            background-image: url('../Image/TeleIntelligenceHome.png');
        }
        50% {
            background-image: url('../Image/space.jpeg');
        }
        100% {
            background-image: url('../Image/TeleIntelligenceHome.png');
        }
    }
.home {
    overflow: hidden;
    width: 100%;
    height: 90vh;
    animation: slide 15s infinite ease;
    transition: transform 0s ease;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    align-items: center;
    display: flex;
}
.brochure{
    position:fixed;
    bottom:20px;
    right:5px;
    background-color:#ff6600;
    color:white;
    padding:12px 20px;
    border:none;
    border-radius:25px;
    font-size:16px;
    font-weight:bold;
    cursor:pointer;
    box-shadow:0 4px 8px rgba(0,0,0,0.2);
    z-index:9999;
    transition:background 0.3s ease;
}
.brochure:hover{
    background-color:darkred;
}
.fourtab {
    background: linear-gradient(to bottom right, #006666, #003366,#000000);
    padding:50px 2%;
    text-align:center;
}
.fourtabtitle{
    color:white;
    margin-bottom:20px;
    font-family:'Segoe UI',sans-serif;
    text-align:center;
}
.fourtabcontainer {
    display: flex;
    justify-content: center;
    gap:25px;
    flex-wrap: wrap;
}
.boxcell {
    height:320px;
    width:22%;
    flex:1;
    min-width:200px;
    padding:20px;
    background:white;
    text-align:center;
    box-shadow:0 4px 8px rgba(0,0,0,0.5);
}
.boxcell img{
      width: 120px;
      height:120px;
      margin-top:5px;
        margin-bottom: 10px;
        object-fit:contain;
}
    .boxcell h3 {
        font-size: 20px;
        font-weight: 600;
        margin-bottom:10px;
    }
    .boxcell p {
        font-size: 15px;
        margin-bottom: 10px;
        line-height: 1.5;
    }

    .boxcell:hover {
        transform:translateY(-8px);
    }
.learn-more {
    background: none;
    /*    font-family: Roboto;
*/
    font-family: 'Segoe UI',sans-serif;
    color: dodgerblue;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-size: 20px;
    margin-bottom: 10px;
    transition: background 0.3s ease;
}

    .learn-more:hover {
        text-decoration: underline;
    }

.girlimg {
    width: 60%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    background-size: cover;
    background-image:url('../Image/image3.jpg');
    box-shadow: 0 4px 8px rgba(0,0,0,0.5);
    transform:scale(0.9);
}
.videocontainer{
    background-color:black;
    padding:60px 0;
}
.media-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    margin: auto;
    flex-wrap: wrap; 
}

.video-wrapper {
    position: relative;
    aspect-ratio:16/9;
    width:100%;
    max-width:700px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    overflow: hidden;
}

.video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 70px;
    aspect-ratio: 1/1;
    background: rgba(0,0,0,0.6);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .play-button:hover {
        background: rgba(0,0,0,0.8);
    }

    .play-button:before {
        content: '';
        display: block;
        width: 0;
        height: 0;
        border-left: 20px solid white;
        border-top: 12px solid transparent;
        border-bottom: 12px solid transparent;
    }

.hidden {
    display: none;
}


.footer-section { 
    color:black;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 60px 60px;
    font-family: 'Segoe UI',sans-serif;
}
.footer-top{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:50px;
}
.footer-video video{
    width:600px;
    height:auto;
    border-radius:12px;
    object-fit:cover;
}
.footer-videoteam video {
    width:600px;
    height: 360px;
    border-radius: 12px;
    object-fit: cover;
}
.footer-message{
    margin-bottom:30px;
}
.footer-message h2{
    color:saddlebrown;
    margin-bottom:10px;
    text-decoration:underline;
}
.footer-message p{
    text-align:justify;
    font-size:18px;
    line-height:1.7;
    word-spacing:3px;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap:40px;
}
.footer-left{
    padding-left:25%;
}
.footer-right{
    padding-right:25%;
}

    .footer-left h3, .footer-right h3 {
        text-decoration: underline;
        text-decoration-color: yellow;
        text-decoration-thickness: 2px;
        text-underline-offset: 3px;
        font-size: 18px;
        margin-bottom: 10px;
        color: white;
    }
    .footer-left p, .footer-right p {
        font-size: 16px;
        margin: 5px 0;
        color:white;
    }

    .footer-right a {
        color: white;
        text-decoration: none;
    }

        .footer-right a:hover {
            text-decoration: underline;
            color: aqua;
        }

.icon {
    width: 25px;
    height: 25px;
    vertical-align: middle;
    margin-right: 10px;
}
.footer-bottomsection {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px 50px;
    font-family: 'Segoe UI',sans-serif;
}
.footer-bottom {
    text-align: center;
    font-size: 13px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 15px;
    color:white;
}
.contrast {
    filter: brightness(0%);
}
@media(max-width:768px) {
    .home{
        height:75vh;
        background-size:cover;
        background-position:center;
    }
    .media-section {
        flex-direction: column;
    }

    .video-wrapper {
        width: 90%;
        height: auto;
        aspect-ratio: 16 / 9; 
    }
    .fourtab{
        display:block;
        width:100%;
    }
    .fourtabcontainer{
        flex-wrap:wrap;
        justify-content:center;
        gap:20px;
    }
    .boxcell{
        height:auto;
        width:45%;
        margin-bottom:20px;
    }
    .boxcell img{
        width:80px;
        height:auto;
    }
    .boxcell h3{
        font-size:18px;
    }
    .boxcell p{
        font-size:14px;
    }
    .boxcell:hover{
        transform:scale(1.05);
    }
    .learn-more{
        font-size:18px;
    }
    .footer-section{
        padding:40px 20px;
    }
    .footer-top{
        flex-direction:column;
        text-align:center;
        gap:30px;
    }
    .footer-top img{
        width:80%;
        height:auto;
    }
    .footer-videoteam video{
        width:100%;
        max-width:450px;
        height:auto;
    }
    .footer-message h2{
        font-size:20px;
    }
    .footer-message p{
        font-size:16px;
    }
    .footer-content{
        flex-direction:column;
        align-items:center;
        text-align:center;
        gap:25px;
    }
    .footer-left{
        padding:0;
    }
    .footer-right {
        padding: 0;
    }
    .footer-left h3,.footer-right h3{
        font-size:17px;
    }
    .footer-left p,.footer-right p{
        font-size:15px;
    }
    .footer-bottomsection{
        padding:10px 30px;
    }
}
@media(max-width:480px){
    .home {
        height: 35vh;
        background-size: cover;
        background-position: center top;
    }
    .media-section {
        flex-direction: column;
    }

    .video-wrapper {
        width: 90%;
        height: auto;
        aspect-ratio: 16 / 9;
    }
    .fourtab {
        padding:10px 0;
    }

    .fourtabtitle {
        font-size:28px;
        padding-top:20px;
      margin:15px 0 10px 0;
    }
    .fourtabcontainer {
        padding-bottom:20px;
        display:flex;
        align-items:center;
        flex-direction:column;
    }
    .boxcell {
        width: 85%;
        max-width: 260px;
        min-width: unset;
        height: auto;
        padding: 15px;
        aspect-ratio: 1/1;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        gap:8px;
    }

        .boxcell img {
            width: 65px;
            height:65px;
            margin:0;
        }

        .boxcell h3 {
            font-size: 18px;
            margin: 0;            
        }

        .boxcell p {
            font-size: 16px;
        }

        .boxcell:hover {
            transform:none;
        }

    .learn-more {
        font-size: 17px;
        margin:0;
    }
    .footer-section{
        padding:25px 15px;
    }
    .footer-top img{
        width:100%;
    }
    .footer-videoteam video{
        height:auto;
        width:40%;
    }
    .footer-message h2{
        font-size:18px;
    }
    .footer-message p{
        font-size:14px;
        line-height:1.5;
    }
    .footer-content {
        flex-direction:column;
        align-items:center;
        text-align:center;
        gap: 20px;
    }

    .footer-left,.footer-right {
        padding: 0;
        width:100%;
    }
        .footer-left h3, .footer-right h3 {
            font-size: 16px;
        }

        .footer-left p, .footer-right p {
            font-size: 14px;
        }

    .footer-bottomsection {
        padding: 10px 20px;
    }
    .footer-bottom{
        font-size:12px;
    }
    .icon{
        width:20px;
        height:20px;
    }
    .brochure{
        bottom:35px;
        right:10px;
        padding:10px 16px;
        font-size:13px;
        border-radius:18px;
    }
}
