/*
 * TABLE OF CONTENTS
 * -----------------
 * 1. Global Imports
 * 2. Root Variables
 * 3. Global Styles
 * 4. Body Section
 * 5. Hero Section
 * 6. Products Section
 * 7. Publicity Section
 * 8. Video Section
 * 9. Services Section
 * 10. Footer Section
 * 11. Media Queries
 */


/* 1. Global Imports */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
/* 2. Root Variables */
:root{
--main-color:#191970;
--secondary-color-1:#E5E7EB;
--secondary-color-2:#FFFFFF;
--secondary-color-3:#800020;
--light-color-1:rgb(25,25,112, .4);
--lighter-color-1:rgb(65,105,225, .07);
--border-radius:12px
}


/* 3. Global Styles */
*{
box-sizing: border-box;
padding: 0;
margin: 0;
}
/* Chrome, Safari, Edge */
::-webkit-scrollbar {
width: 10px;
height: 10px;
}

::-webkit-scrollbar-track {
background: var(--lighter-color-1);
border-radius: 10px;
}

::-webkit-scrollbar-thumb {
background-color: var(--secondary-color-3);
border-radius: 10px;
border: 2px solid #f0f0f0;
}


html {
scroll-behavior: smooth;
scrollbar-color: var(--secondary-color-3) var(--lighter-color-1);
scrollbar-width: thin;
overflow-x: hidden;

}

.elements_width{
width: 1140px;
}

.subtitle {
color: var(--light-color-1);
}

.btn{
display: flex;
align-items: center;
justify-content: center;
background-color: var(--main-color);
padding: 10px 20px;
border-radius: 50px;
height: 38px;
outline: 0;
border: 0;
color: var(--secondary-color-2);
font-weight: 500;
font-size: 16px;
transition: all 0.3s ease;
}

.btn:hover {
transform: scale(1.05);
}

.added-color {
  color: var(--secondary-color-3);
}
.added-color-bg {
  background-color: var(--secondary-color-3);
}
section {
padding: 60px 0;
}


/* 4. Body Section */
body{
font-family: 'Poppins', sans-serif;
min-height: 100vh;
width: 100%;
}

/* 5. Hero Section */
header{
height: 70px;
padding: 12px 0;
transition: height 0.3s ease-in-out;
}

/* Style for menu links */


#menu ul li a {
  transition: all 0.3s ease; 
  padding: 4px 8px;        
  display: inline-block;     
}

/* Hover effect for menu links */
#menu ul li a:hover {
  color: var(--secondary-color-3);    
  border-radius: 0;      
}
.hero_section{
  background-image: url('../images/hero-bg.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 100vh;
  padding-bottom: 0px;
}


.hero_section .reverse_face{
  background-image: url('../images/reverse-face.png');
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
}


/* 6. Products Section */

.products_section{
  background-color: var(--secondary-color-2);
  }

 .product_box{
  position: relative;
  background-color: var(--lighter-color-1);
  border-radius: var(--border-radius);
  padding: 18px 12px;
  border: 1px solid var(--secondary-color-1);
}
 .product_box .circle{
  width: 40px;
  height: 40px;
  background-color: var(--secondary-color-3);
  color: var(--secondary-color-2);
  font-size: 14px;
  font-weight: 500;
  top: 10px;
  right: 10px;
  border-radius: 50px;
}
 .product_box img{
  object-fit: cover;
  width: 150px;
}


/* 7. Publicity Section */
.publicity_section{
background-color: var(--main-color)
}

/* 8. Video Section */
.video_section .content{
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) !important;
}
.video_section .overlay{
  background-color: #191970;
  opacity: .6;
}

/* 9. Services Section */
.services_section{
  background-color: var(--secondary-color-2);
}

.services_section .services_box .icon_circle{
  width: 100px;
  height: 100px;
  background-color: transparent;
  border-radius: 50%;
  border: 1px solid var(--secondary-color-3);
  color: var(--secondary-color-3);
  font-size: 45px;
}

/* 10. Footer Section */
.footer {
  padding: 60px 20px 20px 20px;
  background-color: var(--secondary-color-3)
}

.footer p, footer li {
  color: var(--secondary-color-1);
}

/* Go to the top button */
#goUpBtn{
display: none;
background-color: var(--main-color);
width: 50px;
height: 50px;
bottom: 20px;
right: 20px;
cursor: pointer;
z-index: 1000;
}

/* Loading State */
.loading-overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;  
    position: fixed;  
    width: 100%; 
    background-color: var(--secondary-color-2);
    top: 0;
    left: 0;
    z-index: 9999; 
}
 
.spinner {
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top: 8px solid var(--main-color);
  width: 80px;
  height: 70px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}



/* 11. Media Queries */
@media (max-width: 1240px) {

html, body {
width: 100%;
overflow-x: hidden;
}
.header, .elements_width {
width: 90%;
}

}
@media (max-width: 768px) {
.header, .elements_width {
width: 100%;
}
section{
padding: 60px 16px;
}
.hero_section {
  padding-top: 0px;
}

}

@media (min-width: 768px) {
.header, .elements_width {
width: 90%;
}
}