* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}
/* p{
    text-align: justify;
} */


.top-title{
    margin-top: 40px;
    text-align: center;
}
.top-title h1{
    font-size: 1.5rem;
    font-size: play-ball;
    color:#d96e09;
}
.home-service {
    padding: 40px 20px;

    max-width: 1200px;
    margin: auto;
}

.inner-content {

    /* text-align: center; */
}

.review-title {
    font-size: 2.2rem;
    color: #2c3e50;
    font-weight: bold;
    margin-bottom: 20px;
}

.review-title .first {
    color: #0b92ec;
}

.review-title span:last-child {
    color: #e74c3c;
}


/* .intro-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 30px;
} */


.image-container {
    text-align: center;
    margin-bottom: 30px;
}

.image-container img {
    width: 100%;
    max-width: 800px;
    border-radius: 10px;

}


.core-message {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}


.quote {
    background: #f9f9f9;
    border-left: 5px solid #3498db;
    padding: 15px 20px;
    font-style: italic;
    color: #555;
    margin: 30px auto;
    max-width: 700px;
}

.cta-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 30px;
  
}

/* .cta-button {
    display: inline-block;
    padding: 20px 40px;
    background-color: #2C3E50;
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 1.2rem;
    border-radius: 30px;
    text-decoration: none;
    text-align: center;
    position: relative;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    max-width: 100%;
}

.cta-button:hover {
    background-color: #34495E;
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
} */

.button-img{
    position: relative;
}
.border-class{
    position: relative;
}

.join {
    display: inline-block;
    margin-left: 15px;
    padding: 10px 18px;
    background-color: #d96e09;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: transform 0.3s ease, background-color 0.3s ease;
    /* animation: blink 1s ease-out infinite; */
    position: absolute !important;
    left: 66%;
    top:40px;
    z-index: 1001;


}

.join:hover  {
    transform: translateX(8px);
    background-color: #b8712f;
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: -1;
    }

    100% {
        opacity: 1;
    }
}

.handwriting-course {
    /* background-color: #f7f7f7; */
    padding: 40px 20px;
    border-radius: 10px;
    max-width: 1200px;
    margin: auto;
    /* box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1); */

}

.course-title {
    font-size: 2rem;
    color: #2c3e50;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
}

.course-title-sub {
    font-size: 1.6rem;
    color: #2c3e50;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
}

.intro-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 30px;
    text-align: justify;
}


.course-tip {
    background-color: #f0f8ff;
    padding: 20px;
    border-left: 6px solid #3498db;
    margin-top: 30px;
    border-radius: 8px;
}

.tip-title {
    font-size: 1.5rem;
    color: #3498db;
    font-weight: bold;
    margin-bottom: 15px;
}

.tip-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    text-align: justify;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #3498db;
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.1rem;
    border-radius: 30px;
    text-decoration: none;
    text-align: center;
    margin-top: 30px;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.cta-button:hover {
    background-color: #2980b9;
    transform: translateY(-5px);
}

.interactive-image {
    text-align: center;
    margin: 30px 0;
    position: relative;
}

.story-image {
    width: 100%;
    max-width: 400px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
}

.story-image:hover {
    transform: scale(1.05);

}

.image-caption {
    font-size: 1rem;
    color: #555;
    margin-top: 10px;
    font-style: italic;
}

.story-section {


    border-radius: 10px;
    /* box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1); */
    max-width: 1200px;
    margin: auto;


}

.story-title {
    font-size: 2.2rem;
    font-weight: bold;
    text-align: center;
    color: #5a3e36;
    margin-bottom: 20px;
    text-transform: capitalize;
}

.story-content,
.story-highlight,
.story-ending {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    text-align: justify;
    /* margin-bottom: 20px; */
    padding: 20px;


}

.story-highlight {
    background: #f7f4eb;
    border-left: 5px solid #3498db;
    font-style: italic;
}

.story-ending strong {
    color: #e74c3c;
}

.drop-cap {
    float: left;
    font-size: 3rem;
    line-height: 1;
    margin-right: 10px;
    color: #e74c3c;
    font-weight: bold;
}

.pen-img {
    width: 40px !important;

}




/* Intro Section */
.iih-intro-section {


    padding: 40px 20px;

    max-width: 1200px;
    margin: auto;
}

/* Header Section */
.intro-header {
    text-align: center;
    margin-bottom: 40px;

}


.highlight {
    color: #3498db;
}

/* Content Section */
.intro-content {
    display: flex;
   
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 40px;
}

.content-left {
    flex: 2;
    min-width: 300px;

}

.content-left p {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.content-right {
    flex: 1/2;
    min-width: 250px;
    text-align: center;
}

.content-right img {
    width: 100%;
    max-width: 200px;
    border-radius: 10px;

}

.language-buttons {
    text-align: center;
    margin-bottom: 20px;
}

.language-buttons p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 15px;
}

.button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 15px 25px;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
    color: #fff;
    width: 200px;
}

.btn-english {
    background: #3498db;
}

.btn-malayalam {
    background: #e74c3c;
}

.btn-hindi {
    background: #2ecc71;
}

.btn:hover {
    transform: scale(1.05);
    opacity: 0.9;
}




.why-choose-iih {

    max-width: 1200px;
    
  
}

.section-title {
    font-size: 2.2rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.8;
    /* max-width: 800px; */
   
    margin-bottom: 40px;
   
}

.features {
    display: flex;
   flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
   
}

/* Feature Card */
.feature {
    background: #3498db;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  
    /* text-align: center; */
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
   
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}


.feature .icon img {

   width: 267px;
    margin-bottom: 15px;
 
   
}

.feature h4 {
    font-size: 1.3rem;
    color: #3498db;
    margin-bottom: 10px;
    background-color: #f5f5f5;
   text-align: center;
  
}

.feature p {
    font-size: 1rem;
    color: #f5f5f5;
    line-height: 1.6;
    margin-left: 10px;
    margin-right: 3px;
   
}
/* Overall section style */
.final-section {
    /* background-color: #f4f6f9;   */
    background-image: url('../images/bg-write.jpg');
    padding: 60px 0;
    max-width: 1200px;
    text-align: center;
    position: relative;
    margin: auto;
   
}

.content-wrapper {

    margin:  auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.text-content {
    flex: 0 0 55%; /* Takes up most of the space */
    color: #2c3e50;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 30px;
    letter-spacing: 1px;
   
    padding-bottom: 10px;
    border-bottom: 3px solid #3498db;
}

.section-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #34495e;
    text-align: justify;
    /* margin-bottom: 25px;
    max-width: 700px;
   
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out; */
}

.highlighted-text {
    margin-top: 30px;
    font-size: 1.4rem;
    font-weight: bold;
    color: #e74c3c;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.border-class{
    display: flex;
    align-items: center;
    justify-content: center;
}


  @keyframes starGlow {
    0% {
      text-shadow: 0 0 5px #ffcc00, 0 0 10px #ffcc00, 0 0 15px #ffcc00;
    }
    100% {
      text-shadow: 0 0 15px #ffcc00, 0 0 20px #ffcc00, 0 0 25px #ffcc00;
    }
  }
.image-wrapper {
    flex: 0 0 40%;  /* Takes up a smaller portion */
    padding-left: 30px;
}

.image-wrapper img {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
}

.image-wrapper img:hover {
    transform: scale(1.05);
}

.final-button-container {
    margin-top: 40px;
    position: relative;
}

.start-button {
    background-color: #3498db;
    color: white;
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    position: relative;
    left: -20%;
    
}

.start-button:hover {
    background-color: #2980b9;
    transform: translateY(-5px);
}

.final-section .section-description,
.final-section .highlighted-text {
    opacity: 1;
    transform: translateY(0);
}


.title-container {
    position: relative;
    display: inline-block;
    text-align: center;
}


.offer-badge {
    position: absolute;
    top: -35px;
    left: 0;
    transform: translateX(-50%);
    background: #ff6600;
    border: 2px dotted white;
    color: white;
    font-weight: bold;
    padding: 8px 25px;
    border-radius: 10px;
    font-size: 1.3em;
    text-transform: uppercase;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    animation: pendulum 2s infinite ease-in-out;

    
}


@keyframes pendulum {
    0% { transform: translateX(-50%) rotate(-10deg); }
    50% { transform: translateX(-50%) rotate(10deg); }
    100% { transform: translateX(-50%) rotate(-10deg); }
}

.section-title {
    font-size: 1.8em;
    font-weight: bold;
    color: #333;
}
@media (max-width: 768px) {  
    .sticky-banner {
        position: relative;
        width: 100%;
        transition: all 0.3s ease-in-out;
    }

    .sticky {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        
    }

    .footer-bottom-container{
        min-height: 20vh;
    }

    .content-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .text-content {
        flex: 0 0 100%;
        margin-bottom: 20px;
    }

    .image-wrapper {
        flex: 0 0 100%;
        margin-top: 20px;
    }

    .cta-button {
        width: 100%;
        padding: 16px;
        font-size: 1rem;
    }
   



    .content-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .text-content {
        flex: 0 0 100%;
        margin-bottom: 20px;
    }

    .image-wrapper {
        flex: 0 0 100%;
        margin-top: 20px;
    }

    .cta-button {
        width: 100%;
        padding: 16px;
        font-size: 1rem;
    }
    .start-button{
        left: 0;
    }
  

.intro-content{
    flex-direction:column-reverse ;
}
.btn{
    width: 350px;
}
.features{
    justify-content: center;
    gap: 20;
}
.content-left p{
    text-align: justify;
}






    .story-title {
        font-size: 2rem;
    }

    .story-content,
    .story-highlight,
    .story-ending {
        font-size: 1rem;
    }

    .story-image {
        max-width: 100%;
    }

    .story-title {
        font-size: 2rem;
    }

    .story-container {
        font-size: 1rem;
    }

    .drop-cap {
        font-size: 2.5rem;
    }


    .course-title {
        font-size: 2rem;
    }

    .intro-text,
    .tip-text {
        font-size: 1rem;
    }

    .cta-button {
        font-size: 1rem;
        padding: 12px 25px;
        width: 100%;
        text-align: center;
    }

    .cta-button {
        padding: 18px 30px;
        font-size: 1rem;
        width: 100%;
    }

    .cta-button span {
        padding: 6px 15px;
        font-size: 0.9rem;
    }
    .why-choose-iih{
        margin-left: 20px;
        margin-right: 20px;
    }
    .final-section{
        margin-left: 20px;
        margin-right: 20px;
    }

    .content-left p{
        font-size: 1rem;
    }
    .language-buttons p{
        font-size: 1rem;
    }
    .section-subtitle{
        font-size: 1rem;
    }
    .section-description {
        font-size: 1rem;
    }
    .cta-text{
        font-size: 1rem;
    }
    .first{
        font-size: 1.2rem;
        width: 100px;
    }
    .second{
        font-size: 1.2rem;
    }
    .first-letter{
        font-size: 1.5rem;
    }
    .join{
        position: absolute;
        left: 35%;
        top: 65%;
        padding: 8px;
      }
    .wh{
        width: 15px;
        height: 15px;
    }

}


@media (min-width: 1200px) {
    .cta-button {
        padding: 25px 50px;
        font-size: 1.3rem;
    }

    .cta-button span {
        padding: 10px 25px;
        font-size: 1.1rem;
    }
   
}
@media (max-width: 853px) {
.features{
    justify-content: center;
  
}

}
@media (max-width: 912px) {

    .offer-badge{
        left: 15%;
        top:-43%;
    }
    .cta-text{
        margin-bottom: 0;
    }

}

@media (max-width: 1024px) {
    .icon img{
      width: 100% !important;

    }
 

    }


    @media (max-width: 1024px) and (min-width: 1024px)  {
        .features {
            justify-content: center; 
        }
    
        .feature {
            flex: 1 1 calc(50% - 15px);
            max-width: calc(50% - 15px); 
        }
    }    

    @media (max-width: 450px) {
    .feature{
      
        min-width: 100% !important;
    }
    .top-title h1{
        font-size: 1.3rem;
    }
    .review-title .third{
        font-size:1.3rem ;
    }
    .review-title {
        font-size: 1rem;
    }
    .course-title{
        font-size: 1.2rem;
        text-align: center;
    }
    .section-title{
      font-size: 1.2rem;  
    }
    .highlighted-text p .highlight-star{
        font-size:0.8rem;
    }

}
    @media (max-width: 540px) {
        .offer-badge{
            left: 15%;
            top:-45%;
        }
    }

    @media (max-width: 540px) and (min-width: 540px)  {
        .features {
            justify-content: center; 
        }
    
        .feature {
            flex: 1 1 1 calc(50% - 10px);
            max-width: calc(20% - 15px); 
        }
      
    }  

    @media (max-width: 1023px) and (min-width: 600px)  {
    .final-section{
        background-image: url('../images/bg-write-mob.jpg');
    }
    } 