* {
    margin: 0;
    padding: 0;
    font-family: 'poppins', sans-serif;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    margin: 20;
    padding: 20;
    background-color: #023847;
}

        p,
        ul,
        ol,
        li {
        font-size: 20px;
    }


h1 {
    font-size: 1.5em;
}
html{
    scroll-behavior: smooth;
}

/* Top Banner */
.top-banner {
    text-align: center;
    background-color: #004e92;
    padding: 10px 0;
}

.banner-image {
    max-width: 100%;
    height: auto;
}

/* Common Navbar */
.common-navbar {
    background-color: #f8f9fa;
    border-bottom: 1px solid #ddd;
}

.navbar-html {
    width: 100%;
    height: 50px;
    border: none;
}

.footer-image {
    max-width: 100%;
    height: 50px;
}

.clr {
        color: yellow;
    }

/*  ----------- TOP IMAGE Banner ----------------*/
.container {
    background: url('./images/2hdr.png') no-repeat center center/cover;
    max-width: 100%;
    padding-top: 70px;
    padding-bottom: 10px;
    padding-left: 10%;
    padding-right: 10%;
    margin: 0 auto;
    text-align: center;
}

header {
    text-align: center;
    padding: 15px 1px;
    background: #1a1a2e;
    color: #fff;
}

header h1 {
    font-size: 2em;
    margin: 0;
}

header h2 {
    font-size: 1.2em;
    font-weight: normal;
    color: #f0a500;
}

.banner-image {
    width: 100% !important;
}


/*--- navigator menu --*/
nav {
    margin-top: 10px;
    background: #333;
    text-align: center;
    padding: 5px 0;
}



nav ul li {
    display: inline-block;
    list-style: none;
    margin: 10px 20px;
}

nav ul li a::after{
    content: '';
    width: 0;
    height: 3px;
    background: #ff004f;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.5s;
}


.menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.menu li {
    display: inline;
    margin: 0 15px;
    transition: background 0.5s, transform 0.5s;
}

.menu a {
    text-decoration: none;
    color: #fff;
    font-weight: normal;
    text-shadow: 0px 0px 5px rgba(255, 255, 255, 0.8);
    transition: color 0.3s, font-size 0.3s;
}

.menu a:hover {
    color: #00ffff;
 /*   font-size: 1.1em; */
    text-decoration-line: underline;
    text-decoration-color: fuchsia; 
}

.fas.fa-times, .fas.fa-bars {
    display:none;
}


.clr{
    color: yellow;
}


.left-section, .right-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 2em;
}

.left-section {
    text-align: centre;
    padding-left: 175px; /* Adjust as needed for sufficient margin */
}

.left-section .glow {
    color: red;
   /* text-shadow: 0 0 10px red, 0 0 20px red, 0 0 30px red; */
}

.right-section img {
    max-width: 90%;
    height: auto;
    border-radius: 30%; /* Optional for rounded image corners */
}

/*  --- ABOUT SECTION------*/
#about{
    padding: 40px 0;
    color: white;
}

.row{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.container1{
    background: linear-gradient(to bottom, #000, #004e92);
}


.about-col-2{
    margin-left: 100px; 
    margin-top: 20px;
 /*   flex-basis: 60%;  */
    margin-right: 20px;
}

.about-col-2 .sub-title{
    font-size: 3em;
    font-weight: 600;
    
}

.tab-titles{
    display: flex;
    margin: 20px 0 40px;
    color: #defc33e1;
}

.tab-links:hover{
    color: #00ffff;
}

.tab-links{
    margin-right: 50px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}

.tab-links::after{        /* ----HOVER UNDERLINE --*/
    content: '';
    width: 0;             /* --- UNDERLINE is 0 ---*/
    height: 3px;
    background: #ff004f;
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: 0.5s;
}

.tab-links.active-link::after{  
    width: 100%;              /* --- UNDERLINE is EXTENDED ---*/
}



/*-----------CONTACT FORM ------------*/
#contact{
    margin-right: 15px;
    margin-left: 1px;
  
    
}
.container4 .sub-title{
    font-size: 3em;
    margin-left: 20px;
    
}

.contact-left{
    flex-basis: 35%;
    margin-left: 40px;
    padding-left: 20px;
    color: #fff;
}

.contact-right{
    flex-basis: 60%;
}

.contact-left p{
    margin-top: 30px;
}



.contact-left p i{
    color: #ff004f;
    margin-right: 15px;
    font-size: 25px;
}

.social-icons{
    margin-top: 30px;
}

.social-icons a{
    text-decoration: none;
    font-size: 30px;
    margin-right: 15px;
    color: #ababab;
    display: inline-block;
    transition: transform 0.5s;
}

.social-icons a:hover{
    color: #ff004f;
    transform: translateY(-5px);
}

.btn.btn2{
    background: #067b73;
}

.contact-right form{
    width: 90%;
    padding-right: 40px;
}

 table tr{
    font-size: 20px;
 }

 table td {
    font-size: 20px;
 }


form input, form textarea{
    width: 90%;
    border: 0;
    outline: none;
    background: #e1cfe8;
    padding: 15px; 
   
    margin: 15px 30px;
    color: #000;
    font-size: 18px;
    border-radius: 6px;
}

form .btn2{
    padding: 14px, 60px; 
    font-size: 16px;
    margin-top: 20px;
    cursor: pointer;
    background: #00ffff;
}


/*----------SUBMIT BUTTON ------------ */
.submit-btn {
  
    display:block;
    padding-left: 200px;
    margin: 30px auto; /* center and add spacing */
    width: 2.5cm;
    height: 1cm;
    background: linear-gradient(to right, blue, red);
 /*   background-color: rgb(90, 82, 243);  */
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    cursor: pointer;
    padding: 6px 0;
    transition: background-color 0.3s ease;
    text-align: center;
    color: #fff;
  }

  .submit-btn:hover {
    background: linear-gradient(to right, red, yellow);
    font-weight: bold;
    color: black;
  }


/* ------BUTTONS NAVIGATION ABOVE FOOTER ---------*/
.button-container {
    display: flex;
    justify-content: center;
    gap: 100px;
    margin-bottom: 20px; /* space above footer */
  }

  .custom-button {
    display: block; 
    height: 1.3cm;
    background: linear-gradient(to right, blue, red); 
/*    background-color: blue;  */
    color: white;
    border:rgb(241, 224, 233);
    border-radius: 12px;
    font-size: 1rem;
    cursor: pointer;
    align-self: center;
    transition: all 0.3s ease;
    margin: 25px auto;
    width: fit-content;
    padding: 14px 40px;
    text-decoration: none;
    }

    /*
  .custom-button {
    width: 2.5cm;
    height: 1cm;
    background-color: blue;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
  }
*/
  .custom-button:hover {
    background: linear-gradient(to right, red, yellow);
    font-weight: bold;
    color: black;
  }

  .custom-button:focus {
    outline: none;
  }

  a {
    text-decoration: none;
  }




#msg{
    color: #dfed0f;
    margin-top: -60px;
    display: block;
}

.h1-color{
    color: #40E0D0;
}


/* ---------FOOTER ------------*/

.copyright{
    width: 100%;
    text-align: center;
    padding: 25px 0;
    background-color: #262626;
    font-weight: 300;
    margin-top: 20px;
    margin-bottom: 20px;
    color: #ddd;
}

.clr{
    color: yellow;
}

/*--------------MORE SPECIALIZATION FEATURES ------------------*/

  
  
  .text-section {
    flex: 1;
    margin-right: 20px;
    text-align: left; /* Ensure text aligns properly */
  }
  
  .text-section h2 {
    font-size: 24px;
    color: #000;
    margin-bottom: 40px;
    margin-top: 40px;
  }
  
  .text-section p {
    font-size: 16px;
    color: #000;
 /*   line-height: 1.0; */
  }
  

.sub-title{
    font-size: 1.5em;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
    text-align: center;
}

.sub-title2{
    font-size: 1.5em;
    font-weight:bold;
    color: #5db9dd;
}


.img-container {
    width: 50%;
    text-align: center;
    position: relative;
    margin: 2px auto;
}

/* Container for the scrolling text */
.scroll-container {
    width: 50%; /* Adjust width as needed */
    overflow: hidden; /* Hide overflow to ensure smooth scrolling */
    white-space: nowrap; /* Prevent text wrapping */
    position: relative; /* Position for the text inside */
}



/* Keyframes for blipping (fade in and out) */
@keyframes blip {
    0%, 10% {
        opacity: 1; /* Fully visible at start and end */
    }
    10% {
        opacity: 0; /* Invisible at midpoint */
    }
}


/* Scrolling text */
.moredet {
    display: inline-block; /* Keep the text inline for smooth scrolling */
    animation: scroll-right 5s linear infinite; /* Scrolling animation */
    font-size: 18px; /* Adjust font size */
    color: yellow; /* Text color */
}

/* Keyframes for left-to-right scrolling */
@keyframes scroll-right {
    0% {
        transform: translateX(-100%); /* Start from the left outside the container */
    }
    100% {
        transform: translateX(100%); /* Move to the right outside the container */
    }
}

/* Hover styles for interaction */
.message:hover {
    background-color: rgba(0, 255, 0, 0.2); /* Indicate hover */
    cursor: pointer; /* Show pointer icon */
}

.work-list{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(46%, 1fr));
    grid-gap: 40px;
    margin-top: 50px;    
}

.work-list a i {      /* -----fas link button ----*/
    margin-left: 21px;
}


.work1{
    border-radius: 20px;
    position: relative;
    overflow: hidden;
   /* margin-right: 10px; */
}

.work1 img{
    width: 100%;
    border-radius: 10px;
    display: block;
    transition: transform 0.5s; 
}

.work1:hover img{
    transform: scale(1.1);
}

.work1:hover .layer1{
    height: 100%;
}


.work:hover img{
    transform: scale(1.1);
}

.work:hover .layer{
    height: 100%;
}

.lefta{
    text-align: left;
}


.footer-banner {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* optional but nice */
}



/* -- WEBSITE -- */
.website-link {
    display: flex;
    align-items: center;
    gap: 8px; /* space between image and text */
    font-size: 20px;
    text-decoration: none;
    color: #2b14dc;
    margin-top: 20px;
    font-family: Arial, sans-serif;
    width: 250px;
  }

  .website-link img {
    width: 24px; /* adjust size as needed */
    height: auto;
  }

  .website-link:hover {
    text-decoration: underline;
    background: linear-gradient(to right, red, yellow);
    color: #060e0a;
    font-weight: bold;
  }

/*---------SMALL SCREEN ------------*/

nav .fa-circle-xmark{
    display: none;
}

nav .fa-bars{
    display: none;
}

.show-menu-img,
.hide-menu-img {
    display: none;
}

/* Prevent abnormal size on large screens */
.hide-menu-img img {
    width: 1px;
    height: auto;
}

.show-menu-img img {
    width: 1px;
    height: auto;
}


  .math-formula {
    font-size: 1.2rem;
  }


  @media screen and (max-width: 768px) {

    .math-formula {
        font-size: 1rem;
      }
  
    .show-menu-img {
        display: inline-block;
        cursor: pointer;
    }

    .show-menu-img img:hover {
        background-image: linear-gradient(to right, cyan, blue);
        background-size: 100% 100%;
        background-repeat: no-repeat;
        border-radius: 8px;
        opacity: 0.95;
    }

    .hide-menu-img img:hover {
        background-image: linear-gradient(to right, cyan, blue);
        background-size: 100% 100%;
        background-repeat: no-repeat;
        border-radius: 8px;
        opacity: 0.95;
    }


    .show-menu-img {
        list-style-type: none;
        text-align: center;
        margin-top: 10px;
        padding-right: 10px;
        align-items: center;
    }


    .show-menu-img img {
        width: 140px; /* Adjust to fit your layout */
        cursor: pointer;
        transition: opacity 0.3s ease;
       align-self: start;
    }

    .hide-menu-img {
        list-style-type: none;
        text-align: right;
        margin-top: 10px;
        padding-right: 10px;
    }


    .hide-menu-img img {
        width: 140px; /* Adjust to fit your layout */
        cursor: pointer;
        transition: opacity 0.3s ease;
    }

    /* Apply hover effect to all list items in the menu, excluding image buttons */
    ul.menu li:not(.hide-menu-img):not(.show-menu-img) a {
        display: block;
        padding: 10px 15px;
        color: #fff; /* Customize as needed */
        text-decoration: none;
        transition: background 0.3s ease;
    }
    
    /* Gradient hover effect */
    ul.menu li:not(.hide-menu-img):not(.show-menu-img) a:hover {
        background: linear-gradient(to right, blue, yellow);
        color: #00ffff; font-weight: bold; /* Optional: adjust text color on hover */
    }


    nav .fa-circle-xmark{
        display: block;
        font-size: 25px;
        color: white;
/*        color: white;
        margin: 10px;
        z-index: 2;
        position: relative;
*/
      }
      
    nav .fa-bars{
        display: block;
        font-size: 25px;
        color: white;
    }

    
    .left-section {
        margin-top: 10%;
        font-size: 16px;
    }
    
    .left-section h2{
        font-size: 20px;
    }
   

    nav ul {
        flex-direction: column;
        background: #ff004f;
        position: fixed;
        top: 0;
        right: -220px;
        width: 220px;
        height: 100vh;
        padding-top: 30px;
        z-index: 2;
        transition: right 0.5s;
      }
  

    nav ul li {
        display: block;
        margin: 25px;
    }

    nav ul .fa-solid, .fa-regular{
        position: absolute;
        top: 25px;
        left: 25px;
        cursor: pointer;
    }

    .sub-title{
        font-size: 20px;
    }

    
    .tab-links{
        font-size: 16px;
        margin-right: 20px;
    }
    
    
      h1.common-heading {
        order: -2; /* Ensure h1 appears first */
        font-size: 24px; /* Adjust font size for small screens */
        margin: 20px 0 10px;
      }
    
      .text-section h2 {
        order: -1; /* Ensure h2 appears right after h1 */
        font-size: 20px;
        margin-bottom: 15px;
      }
    
    
      .text-section p {
        margin-top: 20px;
        font-size: 14px;
        padding: 10px 10px;
      }

      .sub-title p{
        padding: 0 10px;
      }



      /*---------ABOUT SECTION _------------------*/
      .about-col-2 {
        margin-left: 20px; /* Creates space from the left */
        margin-right: 10px; /* (optional) small right margin */
        padding-left: 40px;
      /*  padding: 10px; /* (optional) internal padding */
        }
    
        .about-col-2 h1 .sub-title {
        font-size: 28px;
        margin-bottom: 15px;
        }
    
        .about-col-2 h2 {
        font-size: 22px;
        margin-bottom: 10px;
        }
    
    .about-col-2 p {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 20px;
    }
    
/*---CONTACT IN SMALL SCREENS --- */
        .contact-left, .contact-right{
        flex-basis: 100%;
    }


/* --- TABLE FONTS --*/
        table tr, 
        table td {
        font-size: 12px;
    }

        p,
        ul,
        ol,
        li {
        font-size: 14x;
    }

    h1 {
        font-size: 24px;
    }
     
    h2 {
            font-size: 22px;
        }

        h3 {
            font-size: 20px;
    }

    .accordion-content ol {
        font-size: 14px;
    }

    .accordion-content ol li {
        font-size: 14px;
    }


    .container p{
        font-size: 14px;
    }

}

@media (max-width: 480px) {
    .math-formula {
      font-size: 0.85rem;
    }
  }




    
  
