:root {
  --background-color: #fff;
  --text-color: rgb(43, 42, 42);
}

:root.dark-theme {
  --background-color: #000;
  --text-color: rgb(255, 250, 250);
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  padding: 0;
  margin: 0;
}
p{
  font-size: 1rem !important;
}
a:link,
a:visited,
a:hover,
a:active {
    text-decoration: none;
    color: var(--link-color);
}

h1 , h2 , h3 , h4 , h5 , h6{
  color: #6A72C4;
}
.margin-set{
  padding: 50px 0;
}
h1{
  font-size: 50px !important;
}
h2{
  font-size: 40px !important;
}
h3{
  font-size: 30px !important;
}
h4{
  font-size: 20px !important;
}
.dark-theme {
  background-color: #000000;
  color: #ffffff;
}

/* Navbar Base */
.navbar {
  position: relative;
  width: 100%;
  padding: 10px 20px;
  
}

.nav-container {
  width: 100%;
  justify-content: space-between !important;
  display: flex !important;
  align-items: center !important;
}
/* Default Menu */
.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 15px;
}


/* Hide menu icon on large screens */
.menu-icon {
  display: none;
  font-size: 26px;
  cursor: pointer;
}
#site-theme{
  cursor: pointer;
}
/* ===== Responsive (Mobile View) ===== */
@media (max-width: 768px) {
  .menu-icon {
    display: block;
  }


  .nav-links.show {
    display: flex;
  }
}


  /* Sticky Navbar */
  nav {
    background: transparent !important ;
    color: #fff;
    padding: 15px 20px;
    font-size: 22px;
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  /* Top textarea section */
  .top-section {
    background: transparent;
    /* color: white; */
    text-align: center;
    padding: 0px 0;
  }

  textarea {
    width: 63% !important;
    height: 300px !important;
    background: #111;
    color: #fff;
    border: 1px solid #333;
    border-radius: 10px;
    font-size: 16px;
    padding: 15px;
    outline: none;
  }
.box-icon{
  background-color: #6A72C4;
  padding: 10px 15px;
}
  .prompt-btn {
    margin-top: 15px;
    background-color: #6A72C4 !important;
    color: white;
    border: none;
    padding: 10px 30px;
    text-decoration: none;
    font-size: 16px;
    border-radius: 23px !important;
    transition: 0.3s;
  }

  .prompt-btn:hover {
    background-color: #0056b3;
    transform: scale(1.05);
  }

  /* Feature section */
  .feature {
    display: flex;
    align-items: center;
    justify-content: center;
    /* margin: 40px auto; */
    /* gap: 40px; */
    /* flex-wrap: wrap; */
  }

  .feature-icon {
    font-size: 50px;
    color: #007bff;
  }

  .feature-text {
    max-width: 600px;
  }

  .feature-text h2 {
    font-size: 25px;
    font-weight: 600;
    color: #333;
  }

  .feature-text p {
    color: #555;
    font-size: 16px;
    margin-top: 8px;
  }

  /* Display screen styling */
  #displayScreen {
    display: none;
    background: #000;
    color: white;
    height: 100vh;
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    padding-top: 60px; /* space for controls */
  }

  /* Controls fixed */
  .controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;
  }

  .controls button {
    background: #111;
    color: white;
    border: none;
    font-size: 18px;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s;
  }

  .controls button:hover {
    background: #007bff;
  }

  #displayText {
    overflow-y: hidden !important;
      scroll-behavior: auto !important; /* disable smooth behavior */
  will-change: scroll-position;
 
    flex: 1;
    width: 80%;
    margin-top: 20px;
    padding: 780px  0;
    font-size: 40px;
    line-height: 1.8;
    border-radius: 10px;
    text-align: left;
    scroll-behavior: smooth;
  }

  /* Footer */
  footer {
    text-align: center;
    padding: 15px;
    background: #f5f7fa;
    color: #555;
    font-size: 14px;
  }


 /* ===== Overlay Style ===== */
 #modeOverlay {
   position: fixed;
   top: 0; left: 0;
   width: 100%; height: 100%;
   background: rgba(0,0,0,0.6);
   z-index: 9999;
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   color: #fff;
 }
 #modeOverlay button {
   margin: 10px;
   padding: 12px 24px;
   font-size: 18px;
   border: none;
   border-radius: 8px;
   cursor: pointer;
   background: #007bff;
   color: #fff;
 }
 #modeOverlay button:hover {
   background: #0056b3;
 }

 /* ===== AI Mode Section ===== */
 #aiSection {
   display: none;
   text-align: center;
   padding: 20px;
 }
 #aiInput {
   width: 80%;
   margin: 10px auto;
   padding: 15px;
   font-size: 18px;
   border-radius: 10px;
   border: 1px solid #ccc;
   resize: none;
   min-height: 150px;
 }
 #aiResponse {
   white-space: pre-wrap;
   background: #f4f4f4;
   border-radius: 10px;
   padding: 15px;
   margin-top: 20px;
   width: 80%;
   margin-left: auto;
   margin-right: auto;
   text-align: left;
 }
 #aiBackBtn {
   display: none;
   margin-bottom: 20px;
   background: #6c757d;
   color: white;
   border: none;
   padding: 10px 20px;
   border-radius: 5px;
   cursor: pointer;
 }

 /* ===== Loading Animations ===== */
 .loading-circle {
   border: 6px solid #f3f3f3;
   border-top: 6px solid #007bff;
   border-radius: 50%;
   width: 60px;
   height: 60px;
   margin: 20px auto;
   animation: spin 1s linear infinite;
 }
 @keyframes spin {
   0% { transform: rotate(0deg); }
   100% { transform: rotate(360deg); }
 }

 .progress-bar-container {
   width: 80%;
   height: 12px;
   background: #ddd;
   border-radius: 6px;
   margin: 20px auto;
   overflow: hidden;
 }
 .progress-bar-fill {
   width: 0%;
   height: 100%;
   background: #007bff;
   transition: width 4s linear;
 }

 .countdown {
   font-size: 28px;
   font-weight: bold;
   color: #007bff;
   margin-top: 20px;
 }

 /* ===== General Styles ===== */

 
 nav {
   background-color:white;
   color: black;
   padding: 15px;
   text-align: center;
   font-size: 24px;
   font-weight: bold;
   display: flex;
   justify-content: space-between;
   align-items: center;
 }
 nav ul{
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center;
 }
 
 .top-section {
   text-align: center;
   padding: 0px;
 }
 
 textarea {
   width: 80%;
   height: 150px;
   padding: 12px;
   font-size: 16px;
   border-radius: 8px;
   border: 1px solid #ccc;
   resize: vertical;
 }
 
 
 .feature {
   display: flex;
   align-items: center;
   margin-bottom: 20px;
   padding: 15px;
   background-color: white;
   border-radius: 8px;
   box-shadow: 0 2px 5px rgba(0,0,0,0.1);
 }
 
 .feature-icon {
   font-size: 30px;
   margin-right: 15px;
   color: #007bff;
 }
 
 .feature-text h3 {
   margin: 0 0 5px 0;
 }
 
 .feature-text p {
   margin: 0;
   color: #666;
 }
 
 #displayScreen {
   display: none;
   flex-direction: column;
   height: 100vh;
   background-color: #000;
   color: white;
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   z-index: 1000;
 }
 
 .controls {
   display: flex;
   flex-wrap: wrap;
   justify-content: center;
   padding: 15px;
   background-color: #222;
   gap: 10px;
 }
 
 .controls button {
   background-color: #111;
   color: white;
   border: none;
   padding: 8px 15px;
   border-radius: 5px;
   cursor: pointer;
 }
 
 .controls button:hover {
   background-color: #333;
 }
 
 /* #displayText {
   flex-grow: 1;
   padding: 20px;
   font-size: 22px;
   line-height: 1.5;
   overflow-y: auto;
   text-align: center;
   transition: all 0.3s;
 } */
 
 footer {
   background-color: #333;
   color: white;
   text-align: center;
   padding: 15px;
   margin-top: 30px;
 }

 /* ===== AI Response Box ===== */
 .response-box {
   background: white;
   border-radius: 10px;
   padding: 20px;
   margin: 20px auto;
   width: 80%;
   box-shadow: 0 4px 8px rgba(0,0,0,0.1);
   border-left: 5px solid #007bff;
 }

 .response-actions {
   display: flex;
   justify-content: center;
   gap: 15px;
   margin-top: 15px;
 }

 .response-actions button {
   padding: 8px 16px;
   border: none;
   border-radius: 5px;
   cursor: pointer;
   display: flex;
   align-items: center;
   gap: 5px;
 }

 .copy-btn {
   background-color: #28a745;
   color: white;
 }

 .prompter-btn {
   background-color: #007bff;
   color: white;
 }

 .regenerate-btn {
   background-color: #ffc107;
   color: #212529;
 }

 .regenerate-section {
   display: none;
   margin-top: 30px;
   padding-top: 20px;
   border-top: 1px dashed #ccc;
 }

 /* Feature icon positioning */
 .feature-left .feature-icon {
   order: 1;
   margin-right: 15px;
   margin-left: 0;
 }

 .feature-left .feature-text {
   order: 2;
 }

 .feature-right {
   flex-direction: row-reverse;
 }

 .feature-right .feature-icon {
   order: 2;
   margin-left: 15px;
   margin-right: 0;
 }

 .feature-right .feature-text {
   order: 1;
   text-align: right;
 }

 /* AI Button in Prompter Screen */
 #aiPromptBtn {
   position: absolute;
   top: 15px;
   right: 20px;
   background-color: #17a2b8;
   color: white;
   border: none;
   padding: 8px 15px;
   border-radius: 5px;
   cursor: pointer;
   z-index: 1001;
   display: none;
 }

 #aiPromptBtn:hover {
   background-color: #138496;
 }

 /* AI Button in Top Section */
 .ai-mode-btn {
   background-color: #6A72C4;
   color: white;
   border: none;
   padding: 10px 20px;
   border-radius: 23px !important;
   cursor: pointer;
   margin-bottom: 15px;
 }

 .ai-mode-btn:hover {
   background-color: #138496;
 }

 /* Quick Loading Styles */
 .quick-loading {
   text-align: center;
   padding: 20px;
   color: white;
 }

 .quick-loader {
   border: 3px solid #f3f3f3;
   border-top: 3px solid #007bff;
   border-radius: 50%;
   width: 30px;
   height: 30px;
   margin: 10px auto;
   animation: spin 1s linear infinite;
 }

 /* Text Generation Loading */
 .text-generation-loading {
   text-align: center;
   padding: 20px;
   margin: 20px auto;
   width: 80%;
 }

 .text-generation-fill {
   background: linear-gradient(90deg, #007bff, #0056b3);
   height: 8px;
   border-radius: 4px;
   margin: 10px 0;
   animation: textFill 2s ease-in-out infinite;
 }

 @keyframes textFill {
   0% { width: 0%; }
   50% { width: 100%; }
   100% { width: 0%; }
 }

.img{
  width: 100%;
  height: 250px;

}
.img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.logo a img{
  width: 168px;
}
.footer{
  background-color: #9DC7E2;
  padding: 40px 50px;
}
.footer-logo{
display: flex;
justify-content: center;
}
.footer-logo img{
  width: 350px;
}
.img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
} 

.feature{
  transition: 1s;
}


.card{
  transition: 1s;
}
.card:hover{
  transform: scale(0.9) rotate(-1deg);
  box-shadow: 10px 5px 15px 4px rgba(0, 0, 0, 0.418);
}
.hero-panel{
  background-image: url('/asset/img/hero-img.jpeg');
  width: 100%;
  height: 100vh;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
i{
  color: white !important;
  font-size: 30px;
}
.img-bock{
  width: 100%;
  height: 100%;
}
.img-bock img{
  width: 100%;
  height: 100%;
  border-radius: 30px !important; 
}

.img-contain{
  width: 100%;
  height: 100%;
}
.img-contain img{
  width: 100%;
  height: 100%;
  border-radius: 30px !important; 
}
.icon-circle {
  display: inline-flex;           /* allow width + height + center content */
  align-items: center;            /* vertically center icon */
  justify-content: center;        /* horizontally center icon */
  width: 40px;                    /* circle width */
  height: 40px;                   /* circle height */
  border-radius: 50%;             /* make it perfectly round */
  color: #fff;                    /* icon color */
  margin: 5px;                    /* spacing between icons */
  font-size: 20px;                /* icon size */
}

    /* Mobile Responsive Styles */
    @media (max-width: 767px) {
        .row.mt-5 {
            display: block;
            /* flex-direction: column-reverse; */
        }

        


        .img {
            text-align: center;
        }

        .img img {
            max-width: 100%;
            height: auto;
        }

            .prompt-btn {
        padding: 13px 19px;
        background-color: #007bff;
        color: white;
        border: none;
        border-radius: 5px;
        font-size: 14px;
        font-weight: bold;
        cursor: pointer;
        transition: background-color 0.3s 
ease;
    }

        .prompt-btn:hover {
            background-color: #0056b3;
        }
    }

    @media (max-width: 768px) {
        textarea {
            width: 90% !important;
        }
        .navbar {
  position: relative;
  width: 100%;
  padding: 10px 10px;
  
}
.logo a img{
  width: 130px;
}
    }

    /* Desktop Styles */
    @media (min-width: 768px) {
        textarea {
            width: 100%;
        }

        .row.mt-5 {
            display: flex;
            align-items: center;
        }

      

        .prompt-btn {
            padding: 12px 30px;
            background-color: #007bff;
            color: white;
            border: none;
            border-radius: 5px;
            font-size: 16px;
            font-weight: bold;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

        .prompt-btn:hover {
            background-color: #0056b3;
        }
    }
   
    /* Teleprompter Display Screen Styles */
    #displayScreen {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #000;
        color: #fff;
        flex-direction: column;
        z-index: 1000;
        overflow: hidden;
    }
    
    /* Fixed controls at the top */
    .controls {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.8);
        padding: 10px;
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
        z-index: 1001;
    }
    
    .btn-control {
        background-color: #333;
        color: white;
        border: none;
        border-radius: 5px;
        padding: 10px 15px;
        cursor: pointer;
        font-size: 16px;
        transition: background-color 0.3s;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .btn-control:hover {
        background-color: #555;
    }
    
    .btn-control.recording {
        background-color: red;
    }
    
    .btn-control.active {
        background-color: #007bff;
    }
    
    /* Teleprompter content area */
    .teleprompter-content {
        position: absolute;
        top: 60px; /* Space for controls */
        left: 0;
        width: 100%;
        height: calc(100% - 60px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        overflow: hidden;
    }
    
    /* #displayText {
        width: 80%;
        height: 100%;
        overflow: hidden;
        text-align: center;
        font-size: 36px; 
        line-height: 1.8;
        position: relative;
        padding: 210px 0;
        transition: all 0.3s ease;
        white-space: pre-wrap;
        overflow-y: auto;
    } */
    
    /* Highlight area in the center */
    .highlight-area {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        height: 150px;
        background-color: rgba(255, 255, 255, 0.1);
        border: 2px solid rgba(255, 255, 255, 0.3);
        border-radius: 10px;
        pointer-events: none;
        z-index: 100;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
     .highlight-area i{
      font-size: 40px;
     }
    /* Font size indicator */
    .font-size-indicator {
        position: fixed;
        top: 70px;
        right: 20px;
        background-color: rgba(0, 0, 0, 0.7);
        color: white;
        padding: 5px 10px;
        border-radius: 5px;
        font-size: 14px;
        z-index: 1002;
    }
    
    /* Speed indicator */
    .speed-indicator {
        position: fixed;
        top: 70px;
        left: 20px;
        background-color: rgba(0, 0, 0, 0.7);
        color: white;
        padding: 5px 10px;
        border-radius: 5px;
        font-size: 14px;
        z-index: 1002;
    }
    
    /* Mobile Responsive Styles for Teleprompter */
    @media (max-width: 767px) {
        #displayText {
            font-size: 55 px;
        }
        
        .controls {
            padding: 5px;
        }
        
        .btn-control {
            padding: 8px 12px;
            font-size: 14px;
        }
        
        .teleprompter-content {
            top: 50px;
            height: calc(100% - 50px);
        }
        
        .font-size-indicator {
            top: 60px;
            right: 10px;
        }
        
        .speed-indicator {
            top: 60px;
            left: 10px;
        }
        
        .highlight-area {
            height: 80px;
        }
    }

    .language-selector {
        position: relative;
    }

    .custom-select {
        position: relative;
        display: inline-block;
    }

    .styled-select {
        appearance: none;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border: none;
        border-radius: 25px;
        padding: 5px 21px 5px 13px;
        color: white;
        font-weight: 500;
        cursor: pointer;
        min-width: 140px;
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
        transition: all 0.3s ease;
    }

    .styled-select:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    }

    .styled-select:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.3);
    }

    .select-arrow {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        pointer-events: none;
        color: white;
    }

    dl,
    ol,
    ul {
        margin-top: 0;
        margin-bottom: 0;
    }

    .styled-select option {
        background: white;
        color: #333;
        padding: 10px;
    }

    .hero-button {
        background-color: #737BC8;
        padding: 18px 38px 18px 38px;
        font-family: "Fira Sans", Sans-serif;
        font-size: 14px;
        text-transform: uppercase;
        letter-spacing: 1.4px;
        border-style: none;
        border-radius: 25px 25px 25px 25px;
        color: white;
        text-decoration: none;
    }

    .hero-button:hover {
        background: #959ffc;
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }
    
    /* Navbar styles */
    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 20px;
        width: 100%;
    }
    
    .logo {
        display: flex;
        align-items: center;
    }
    
    .nav-links {
        display: flex;
        list-style: none;
        align-items: center;
        gap: 15px;
        margin: 0;
        padding: 0;
    }
    
    .menu-icon {
        display: none;
        cursor: pointer;
    }
    
    /* Top section styling */
    .top-section {
        text-align: center;
        padding: 40px 20px;
    }
    
    .top-section textarea {
        height: 200px;
        padding: 15px;
        border-radius: 10px;
        border: 1px solid #ddd;
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    /* AI section styling */
    #aiSection {
        display: none;
        padding: 20px;
    }
    
    #aiSection textarea {
        height: 150px;
        padding: 15px;
        border-radius: 10px;
        border: 1px solid #ddd;
        font-size: 16px;
        margin-bottom: 20px;
        width: 100%;
    }
    
    /* Feature section styling - FIXED */
    .feature {
        display: flex;
        margin-bottom: 30px;
        align-items: flex-start;
    }
    
    .box-icon {
        width: 60px;
        height: 60px;
        background-color: #6A72C4;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 24px;
        margin-right: 15px;
        flex-shrink: 0;
    }
    
    .feature-text {
        flex: 1;
    }
    
    /* Footer styling */
    .footer {
        background-color: #f8f9fa;
        padding: 40px 20px;
        text-align: center;
    }
    
    .footer-logo {
        margin-bottom: 20px;
    }
    
    .icon-circle {
        display: inline-flex;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        margin: 0 5px;
        color: white;
    }
    
    /* Dark theme */
    .dark-theme {
        background-color: #121212;
        color: #ffffff;
    }
    
    .dark-theme .navbar {
        background-color: #1e1e1e !important;
    }
    
    .dark-theme .card {
        background-color: #1e1e1e;
        color: #ffffff;
    }
    
    .dark-theme .footer {
        background-color: #1e1e1e;
        color: #ffffff;
    }
    
    /* Mobile menu */
    @media (max-width: 768px) {
        .menu-icon {
            display: block;
        }
      .styled-select {
    appearance: none;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 25px;
    padding: 5px 5px 5px 4px;
    color: white;
    font-weight: 500;
    cursor: pointer;
    min-width: 140px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s 
ease;
}
.styled-select option {
    background: white;
    color: #333;
    padding: 7px;
    font-size: 10px;
}
        .nav-container{
          padding: 0;
        }
        .nav-links.show {
            display: flex;
        }
        
        .dark-theme .nav-links {
            background-color: #1e1e1e;
        }
        
        /* Mobile feature adjustments */
        .feature {
            flex-direction: column;
            text-align: center;
        }
        
        .box-icon {
            margin-right: 0;
            margin-bottom: 15px;
            align-self: center;
        }
    }
    
    /* First block styling */
    .first-block {
        margin-bottom: 30px;
    }
    
    /* Image styling */
    .img-contain img, .img-bock img {
        max-width: 100%;
        height: auto;
        border-radius: 10px;
    }
    
    /* Card styling */
    .card {
        transition: transform 0.3s ease;
    }
    
    .card:hover {
        transform: translateY(-5px);
    }
    
    /* Accordion styling */
    .accordion-button:not(.collapsed) {
        background-color: #6A72C4;
        color: white;
    }
    
    /* Response box styling */
    .response-box {
        border: 1px solid #ddd;
        border-radius: 10px;
        padding: 20px;
        margin-top: 20px;
        background-color: #f8f9fa;
    }
    
    .dark-theme .response-box {
        background-color: #1e1e1e;
        border-color: #1a1818;
    }

    .img-box{
      width: 100%;
      height: 100%;
      border-radius: 30px !important;
      overflow: hidden;
      object-fit: contain;
    }
    .img-box img{
      width: 100%;
      height: 100%;
      
    }

        :root {
            --primary-color: #6A72C4;
            --secondary-color: #f0f8ff;
            --accent-color: #6A72C4;
            --text-color: #333;
            --light-gray: #f9f9f9;
            --shadow: 0 3px 10px rgba(0,0,0,0.1);
        }
        
     
        
        .timeline-container {
            max-width: 1200px;
            margin: 0 auto;
            position: relative;
        }
        
        .timeline-container::before {
            content: '';
            position: absolute;
            top: 0;
            bottom: 0;
            left: 50%;
            width: 4px;
            background: var(--primary-color);
            transform: translateX(-50%);
            border-radius: 2px;
        }
        
        .timeline-item {
            display: flex;
            justify-content: flex-end;
            padding-right: 54%;
            position: relative;
            margin-bottom: 80px;
        }
        
        .timeline-item:nth-child(even) {
            justify-content: flex-start;
            padding-right: 0;
            padding-left: 54%;
        }
        
        .timeline-content {
            background-color: var(--light-gray);
            border-radius: 10px;
            padding: 25px;
            box-shadow: var(--shadow);
            width: 85%;
            position: relative;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .timeline-content:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.15);
        }
        
        .timeline-item:nth-child(odd) .timeline-content::after {
            content: '';
            position: absolute;
            top: 30px;
            right: -15px;
            width: 0;
            height: 0;
            border-top: 15px solid transparent;
            border-bottom: 15px solid transparent;
            border-left: 15px solid var(--light-gray);
        }
        
        .timeline-item:nth-child(even) .timeline-content::after {
            content: '';
            position: absolute;
            top: 30px;
            left: -15px;
            width: 0;
            height: 0;
            border-top: 15px solid transparent;
            border-bottom: 15px solid transparent;
            border-right: 15px solid var(--light-gray);
        }
        
        .step-number {
            position: absolute;
            top: -20px;
            left: 50%;
            transform: translateX(-50%);
            width: 40px;
            height: 40px;
            background-color: var(--primary-color);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 18px;
            box-shadow: 0 0 0 4px white, 0 3px 6px rgba(0,0,0,0.2);
            z-index: 2;
        }
        
        .step-icon {
            width: 60px;
            height: 60px;
            background-color: var(--primary-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 24px;
            margin-bottom: 15px;
            box-shadow: 0 4px 8px rgba(0,0,0,0.15);
        }
        
        .step-title {
            font-size: 22px;
            font-weight: bold;
            color: var(--primary-color);
            margin-bottom: 15px;
            display: flex;
            align-items: center;
        }
        
        .step-title i {
            margin-right: 10px;
            font-size: 20px;
        }
        
        .step-description {
            line-height: 1.7;
            color: var(--text-color);
        }
        
        .step-image {
            margin: 15px 0;
            text-align: center;
        }
        
        .step-image img {
            max-width: 100%;
            height: auto;
            border-radius: 8px;
            /* box-shadow: 0 3px 8px rgba(0,0,0,0.1); */
        }
           .text-1{
            display: block;

          }
          .text-2{
            display: none;
          }
        /* Responsive Design */
        @media (max-width: 768px) {
            .timeline-container::before {
                left: 30px;
            }
            
            .timeline-item {
                justify-content: flex-start;
                padding-right: 0;
                padding-left: 80px;
            }
            
            .timeline-item:nth-child(even) {
                padding-left: 80px;
            }
            
            .timeline-content {
                width: 100%;
            }
            
            .timeline-item:nth-child(odd) .timeline-content::after,
            .timeline-item:nth-child(even) .timeline-content::after {
                left: -15px;
                right: auto;
                border-right: 15px solid var(--light-gray);
                border-left: none;
            }
            
            .step-number {
                left: 30px;
                transform: translateX(-50%);
            }
        }
        
        @media (max-width: 480px) {
            .timeline-container::before {
                left: 20px;
            }
            
            .timeline-item {
                padding-left: 60px;
            }
            
            .timeline-item:nth-child(even) {
                padding-left: 60px;
            }
            
            .step-number {
                left: 20px;
                width: 35px;
                height: 35px;
                font-size: 16px;
            }
            
            .step-title {
                font-size: 20px;
            }
            
            .timeline-content {
                padding: 20px;
            }
        }
        
        .section-header {
            text-align: center;
            margin-bottom: 50px;
        }
        
        .section-header h1 {
            color: var(--primary-color);
            font-size: 36px;
            margin-bottom: 15px;
        }
        
        .section-header p {
            font-size: 18px;
            max-width: 700px;
            margin: 0 auto;
            color: #666;
        }
        .img-last-sectio{
          width: 100%;
          height: 100%;
        }
        .img-last-sectio img{
          width: 100%;
          height: 100%;
          border-radius: 30px !important;
        }

        @media (max-width:568px){
          .img-box{
            width: 100%;
          }
          .top-section p{
            display: none;
          }
          .text-1{
            display: none;

          }
          .text-2{
            display: block !important;
          }
        }





        /* Default styles (for desktop) */
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* For screens 768px and below */
@media (max-width: 768px) {
  .nav-links {
    gap: 10px;
    font-size: 0.85rem; /* smaller text */
  }

  .nav-links li span {
    padding: 4px 6px !important; /* smaller padding for icons */
  }

  .language-selector select {
    font-size: 0.8rem;
    padding: 4px 6px;
  }

  .language-selector .custom-select {
    transform: scale(0.9); /* slightly smaller dropdown */
  }

  .nav-links i {
    font-size: 0.9rem; /* smaller moon icon */
  }
  .margin-set{
  padding: 25px 0;
}
h1{
  font-size: 33px !important;
}
h2{
  font-size: 28px !important;
}
h3{
  font-size: 22px !important;
}
h4{
  font-size: 20px !important;
}
}
@media (max-width:375px){
    .prompt-btn {
        padding: 8px 12px;
        background-color: #007bff;
        color: white;
        border: none;
        border-radius: 5px;
        font-size: 14px;
        font-weight: bold;
        cursor: pointer;
        transition: background-color 0.3s 
ease;
    }
}

@media (min-width:1398px) {
  .lead br{
    display: none !important;
  }
}