@import 'https://fonts.googleapis.com/css?family=Lily+Script+One';
@import 'https://fonts.googleapis.com/css2?family=Permanent+Marker&family=Patrick+Hand&display=swap';

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f6eee5;
  color: #fff;
}

/* Header*/
header {
  position: sticky;
  top: 0;
  width: 85.3vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 4.7vw;
  padding: 1vw 2vw 1vw 2vw;
  background-color: #f6eee5;
  z-index: 5;
  box-shadow:  3px 4px 5px #000;
}

.logo img{
  width: 5vw;
}

.navbar {
  display: flex;
  gap: 3vw;
  margin: 0;
  padding: 0;
  position: relative;
}


nav a {
  color: #3a0580;
  text-decoration: none;
  font-size: 18px;
  display: block;
  font-weight:bold;
  
}

.has-submenu{

    position: relative;
    display: inline-block; 
}

.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #f6eee5;
  padding: 10px 0;
  min-width: 160px;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  z-index: 1000;
  border-bottom: 1px solid grey;
}

.submenu a {
  display: block;
  padding: 10px 20px;
  color: #3a0580;
  white-space: nowrap;
}

.has-submenu:hover .submenu {
    display: block;
}

.submenu a:hover {
  border-bottom: 2px solid blue;
}

.login {
  background-color: #c7940a;
  color: #3a0580;
  padding: 0.5vw 1vw;
  border: none;
  border-radius: 0.5vw;
  cursor: pointer;
  font-weight: bold;
  margin: 0 0 0 15vw;
}

/* Main */
main {
  display: flex;
  flex-direction: column;
  margin: 1vw 4.7vw;
  width: 89.2vw;
  padding-bottom: 1vw;
  border-bottom: 2px solid purple;
  
}

.content-area {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1vw;
    width: 100%;
}

.service-box-left{
	height: 36vw;
	width: 24vw;

}
.whiteboard{
	height: 37vw;
	margin-left: 9vw;
}
.teacher{
	position: absolute;
	top: 9vw;
	left: 5vw;
	z-index: 2;
	height: 36vw;
	width: auto;
}
.content{
    position:absolute;
    top: 8.5vw;
	left: 16vw;
	font-family: 'Patrick Hand', sans-serif;
	width: 13vw;
		}
.content h1{
    font-size: 1.6vw;
    color: #1a1a1a;
    line-height:0.8;
    	}
.content h2{
    font-size: 1.4vw;
    color: #1a1a1a;
    line-height:0.8;
    	}
.content p{
    font-size: 1.2vw;
    color: #1a1a1a;
    line-height:0.8;
    	}
.content a{
    text-decoration: none;
    color: #1a1a1a;
}


.main-screen{
    height: 36vw;
    width: 64vw;
    /*width: 64vw;*/
    
}
#myVideo {
      width: 100%;
      height:100%;
      object-fit: cover;
      display: block;
}

.space {
   height: 0.5vw;

}
footer {
  background-color: #1b003d;
  color: #a7a7a7;
  font-size: 16px;
  margin: 1vw 5vw 2vw 5vw;
  border-radius: 0.5vw;
}
footer * {
  box-sizing: border-box;
  border: none;
  outline: none;
  
}

.row {
  padding: 1em 1em;
}
.row.primary {
  display: grid;
  grid-template-columns: 3fr 1fr 2fr;
  align-items: stretch;
}
.column {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 0 2em;
  min-height: 15em;
}

footer h3 {
  width: 100%;
  text-align: left;
  color: white;
  font-size: 1.4em;
  white-space: nowrap;
}
footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0;
}

footer li:not(:first-child) {
  margin-top: 0.8em;
}
 footer ul li a {
  color: #a7a7a7;
  text-decoration: none;
}
footer ul li a:hover {
  color: #2a8ded;
}
.about p {
  text-align: justify;
  line-height: 2;
  margin: 0;
}
footer input,
footer button {
  font-size: 1em;
  padding: 1em;
  width: 100%;
  border-radius: 5px;
  margin-bottom: 5px;
}
footer button {
  background-color: #c7940a;
  color: #ffffff;
}

div.social {
  display: flex;
  justify-content: space-around;
  font-size: 2.4em;
  flex-direction: row;
  margin-top: 0.5em;
}
.social i {
  color: #bac6d9;
}

.copyright {
  padding: 0.3em 1em;
  background-color: #1b003d;
  opacity: 0.8;
}
.footer-menu{
  float: left;
    margin-top: 10px;
}

.footer-menu a{
  color: #cfd2d6;
  padding: 6px;

  text-decoration: none;
}
.footer-menu a:hover{
  color: #27bcda;
}
.copyright p {
  font-size: 0.9em;
  text-align: right;
}
.openbtn {
    display:none;
}
.sidebar {
    display: none;
}
.buttons{
  display: none;  
}
.close{
  display: none;
}

.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.2vw;
  margin-top: 2vw;
}

.product-card {
  width: 21.5vw;
  border-radius: 0.5vw;
  -webkit-box-shadow:  0px 0px 47px -20px rgba(0,0,0,1);
  -moz-box-shadow:  0px 0px 47px -20px rgba(0,0,0,1);
  box-shadow:  0px 0px 47px -20px rgba(0,0,0,1);
  background-color: #fff;
}

.product-image {
  height: 20vw;
  overflow: hidden;
  position: relative;
  top:0;
  padding: 1vw;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
  border-radius: 10px;
}

.product-image:hover img {
  transform: scale(1.1);
}

.product-details {
  padding: 0 1vw 1vw 1vw;
  margin-top:-5vw;
  z-index: 2;
  position: relative; 
}

.product-title {
  font-size: 2vw;
  margin-bottom: 0.1vw;
  color: #c7940a;
  text-shadow: -1px -1px 0 black;
     ; 

}


.product-description {
  font-size: 1.5vw;
  line-height: 1.5;
  margin-bottom: 10px;
  color: #666;
}

.product-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  background-color: #190533;
  color: #fff;
  font-size: 1.5vw;
  font-weight: bold;
  font-weight: 500;
  border-radius: 0.5vw;
  padding: 0.5vw 1vw 0.5vw 2.5vw; 
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative; 
  font-weight: bold;
  
}

.whatsapp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.25);
}

.whatsapp-btn i {
  position: absolute;
  left: 0px; 
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem; 
  border-radius: 50%;
  color: white;
  padding: 0.2vw;
  line-height: 1;
}


.more {
  padding: 0.5vw 1vw;
  border: none;
  border-radius: 0.5vw;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  font-size: 1.5vw;
  font-weight: bold;
  cursor: pointer;
  background-color: #c7940a;
  color:#fff;
}

.more:hover, .buttons i:hover, .login:hover {
  opacity: 0.4;
}


@media (max-width: 768px) {
    .container {
        width: 100%;
        margin-top: 0.3vw;
        gap: 0.5vw;
   }
    .product-card{
        width: 90%;
        margin-left: 5%;
        height: 50vw;
        margin: 5vw 0px 3vw 0px;
        
    }
    .product-image {
        height: 49vw;
        overflow: hidden;
        position: relative;
        top:0vw;
        padding: 0.5vw;
        width: 50vw;
        
    }
    .product-details {
        position: relative;
        top:-50vw;
        margin-left: 52vw;
        height: 30vw;
    }
    .product-title { 
        text-align: left;
        font-size: 8vw;
    }
    
    .product-description, .product-buttons {
        font-size: 4vw;
        text-align: left;
    }
    .product-buttons {
        position: absolute;
        width: 33vw;
        margin-bottom:1vw;
    }
    .whatsapp-btn, .more{
        font-size: 3.5vw;
        font-weight: bold;
        border-radius: 0.5vw;
        padding: 1vw; 
    }
    .whatsapp-btn i {
        display:none;
    }

    header {
      position: fixed;
      top: 0;
      margin: 0 1vw;
      width: 94vw;
      height:10vw;
    }
    .logo img{
        width: 10vw;
    }
    .openbtn {
        display:block;
        font-size: 4vw;
        cursor: pointer;
        color: #100124;
        border: none;
        position: fixed;
        right: 5vw;
        z-index: 7; 
    }
    #mySidebar.active {
        display: block;
    }
    nav {
        display: none;
        z-index: 6;  
        height: 100vh;
        background-color: #f6eee5;
        position: fixed;
        top: 46vh;
        right: -2vw;
        width: 50vw;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
        transition: 0.5s;
        
    }
    
    .navbar{
         display: none;
         
    }
    nav a {
        margin: 2vw;
        padding-top: 2vh;
  
    }
 
    .submenu {
        position: static;   
        box-shadow: none;
        min-width: 100%;
        background-color: #f6eee5;

        padding-left: 2vw;
    }
    
    .login {
        margin-left: 2vw;
        padding: 2vw 4vw;
        border: none;
        border-radius: 0.5vw;
        cursor: pointer;
        font-weight: bold;
    }
    
   
    
    main {
      margin: 10vw 1vw 0 1vw;
      width: 98vw;
    }
    
    .content-area {
        display: flex;
        flex-direction: column;
    }
    
   .service-box-left{
       display: none;
    }
    
    #mobile{
        display: none;
    }
    
  
    
    .main-screen {
        order: -1;
        width: 100%;
        max-width: 100%;
        height: auto;
    }
    
    video{
        width:100vw; 
        height: 56.25vw;
        border-radius: 1vw;
        overflow: hidden; 
    }

    

    
    .menu-icon{
        display:block;
    }
  
    

    .footer-container {
        flex-direction: column;
        align-items: center;
        margin: 0 4.7vw;
        width: 85.3vw;
    }

    .footer-section {
        margin-bottom: 30px;
    }
    .row.primary {
       grid-template-columns: 1fr; /* Single column layout */
       grid-auto-rows: auto; /* Adjust row heights automatically */
     }

    .newreview{
        display: none;
    }
    .buttons{
        display: flex;
        justify-content: space-between;
        gap: 10px;
    }
    
   
    
    .footer-menu a {
        font-size: 0.6em;
    }
    .copyright p {
        font-size: 0.5em;
        text-align: right;
    }
    .about p, .links a, .subscribe input, .subscribe button{
        line-height: 1;
        margin: 0;
        font-size: 0.9em;
    }
    .column {
        padding: 0 0.1em;
        min-height: 15em;
    }
    div.social {
        font-size: 1.5em;
 
    }
    .row.primary {
      display: grid;
      grid-template-columns: 1fr;
      grid-template-areas:
      "about"
      "links subscribe"; /* 3 in one row */
    }

    .column.about {
      grid-area: about;
      width: 100%;
    }

    /* target first links */
    .row.primary .column.links {
      grid-area: links;
    }

     

    .row.primary .column.subscribe {
      grid-area: subscribe;
    }

    /* make the bottom row 3 equal columns */
    .row.primary {
      grid-template-columns: repeat(2, 1fr);
      grid-template-rows: auto auto;
      grid-template-areas:
        "about about"
        "links subscribe";
    }
   
}
