/* header secton started  */

/* Variables */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #f1c40f;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --text-color: #333;
    --white: #fff;
    --transition: all 0.3s ease;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color:#EEEEEE;
}

/* Header Styles */
.header {
background-color: #041C32;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Styles */
.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
}

.logo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-color);
    transition: var(--transition);
    background-color: whitesmoke;
}

.logo:hover {
    transform: rotate(15deg) scale(1.1);
    box-shadow: 0 0 15px rgba(241, 196, 15, 0.3);
}

.logo-text h1 {
    font-size: 1.3rem;
    font-weight: 700;
    color: whitesmoke;
    line-height: 1.2;
}

.logo-text p {
    font-size: 0.9rem;
    color: whitesmoke;
    font-weight: 400;
}

/* Navigation Styles */
.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: whitesmoke;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
  background-color: #182848;
    transition: var(--transition);
}

.nav-link:hover {
    color:rgb(164, 164, 164);
}

.nav-link:hover::after {
    width: 100%;
}

.contact-btn {
    background-color: var(--secondary-color);
    color: var(--white) !important;
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    transition: var(--transition);
}

.contact-btn:hover {
    background-color: darkkhaki;
    color: black !important;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(241, 196, 15, 0.3);
}

.contact-btn::after {
    display: none;
}

/* Mobile Menu Styles */
.menu-toggle {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    position: relative;
    transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

/* Mobile Menu Active State */
.menu-toggle.active .hamburger {
    background-color: transparent;
}

.menu-toggle.active .hamburger::before {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active .hamburger::after {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Responsive Design */
@media (max-width: 992px) {
    .nav-links {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .navbar {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        /* color: #041C32; */
        height: calc(100vh - 80px);
        background-color: #0a3d62;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 2rem;
        padding-top: 3rem;
        transition: 0.3s;
    }

    .navbar.active {
        left: 0;
    }

    .nav-links {
        flex-direction: column;
        gap: 2rem;
    }

    .contact-btn {
        margin-top: 1rem;
    }
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header {
    animation: fadeInDown 0.5s ease forwards;
}

/* Header Scroll Effect */
.header.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}











/* header section ended  */



.kids-banner {
    margin-top: 100px;;
  height: 60vh;
  min-height: 400px;
  background-image: url('/images/p1.jpg'); /* Replace with your image path */
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  /* width: 100vw; */
  justify-content: center;
}

/* Dark Overlay */
.kids-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.7);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 40px;
}

/* Text Content */
.kids-content {
  max-width: 1200px;
  color: white;
  animation: fadeInUp 1.2s ease-out forwards;
}

.kids-content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.kids-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  font-weight: 400;
  max-width: 850px;
  margin-bottom: 30px;
}

.kids-content strong {
  font-weight: 600;
}

/* Button */
.btn-apply {
  display: inline-block;
  background: #041C32;
  color: white;
  padding: 14px 32px;
  border-radius: 40px;
  font-weight: bold;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  /* border: 2px solid white; */
}

.btn-apply:hover {
  background: transparent;
  color: white;
}

/* Animation */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .kids-content h2 {
    font-size: 1.5rem;
  }
  .kids-content p {
    font-size: 1rem;
  }
  .btn-apply {
    padding: 12px 24px;
    font-size: 0.95rem;
  }
}


/* second section ended */



/* 3rd section  started */
/* Reset */

/* Section Container */
.essential-section {
  padding: 80px 20px;
  background-color: #fff;
  display: flex;
  justify-content: center;
}

.essential-content {
  max-width: 1100px;
  text-align: center;
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
}

/* Heading */
.essential-content h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #0e2a3b; /* deep blue */
  margin-bottom: 30px;
}

/* Paragraph */
.essential-content p {
  font-size: 1.1rem;
  line-height: 1.9;
  color: #666;
  font-weight: 400;
  max-width: 1000px;
  margin: 0 auto;
}

/* Animation */
@keyframes fadeInUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0px);
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .essential-content h2 {
    font-size: 1.5rem;
  }

  .essential-content p {
    font-size: 1rem;
  }
}

/* 3rd section  ended */




/* 4th section */

/* Section container */
.studies-section {
  padding: 80px 20px;
  background-color: #fff;
}

.studies-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  flex-wrap: wrap;
  gap: 40px;
}

/* Left Text Content */
.studies-text {
  flex: 1 1 60%;
  animation: fadeInLeft 1s ease-in-out;
}

.studies-text h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #0e2a3b;
  margin-bottom: 25px;
}

.studies-text ul {
  list-style-type: disc;
  padding-left: 20px;
}

.studies-text li {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 12px;
  color: #555;
}

.studies-text strong {
  color: #222;
}

/* Right Image */
.studies-image {
  flex: 1 1 35%;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 1s ease-in-out;
}

.studies-image img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* Animations */
.fade-in {
  opacity: 0;
  animation: fadeIn 1.2s forwards ease-in;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .studies-container {
    flex-direction: column;
    text-align: center;
  }

  .studies-text, .studies-image {
    flex: 1 1 100%;
  }

  .studies-text h2 {
    font-size: 1.5rem;
  }

  .studies-text li {
    font-size: 1rem;
  }
}

/* 4th section */




/* 5th section started */


.course-structure-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0;
  color: #555;
}

/* Heading */
.course-container h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #e84300; /* Bright orange */
  margin-bottom: 25px;
}

/* Course Details List */
.course-details {
  list-style: none;
  padding-left: 0;
  margin: 0 0 35px 0;
}

.course-details li {
  margin-bottom: 14px;
  font-size: 1.1rem;
  color: #6c6c6c;
}

.course-details li strong {
  color: #444;
}

/* Enroll Section */
.enroll-section {
  background: #f9f9f9;
  padding: 25px 30px;
  border-radius: 8px;
  box-shadow: 0 0 15px rgb(232 67 0 / 0.15);
}

.enroll-section h3 {
  font-size: 1.8rem;
  color: #0e2a3b;
  font-weight: 700;
  margin-bottom: 18px;
}

.enroll-section p {
  font-size: 1.15rem;
  color: #555;
  margin-bottom: 30px;
}

/* Apply Now Button */
.apply-btn {
  background-color: #041C32;
  border: none;
  color: white;
  font-weight: 700;
  font-size: 1.3rem;
  padding: 16px 36px;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: inline-block;
  user-select: none;
}

.apply-btn:hover,
.apply-btn:focus {
  background-color: #041C32;
  outline: none;
}

/* Animations */
.fade-in {
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: 0.3s;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 1200px) {
  .course-structure-section {
    max-width: 100%;
    margin: 40px 20px;
  }
}

@media (max-width: 480px) {
  .course-container h2 {
    font-size: 1.8rem;
  }

  .enroll-section p {
    font-size: 1rem;
  }

  .apply-btn {
    width: 100%;
    padding: 14px 0;
    font-size: 1.1rem;
  }
}
 





/* Footer Styles */
.fajar-footer {
    background: #15212d;
    color: #fff;
    padding: 50px 0 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Section */
.footer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 40px;
}

.logo-section {
    display: flex;
    align-items: center;
}

.academy-logo {
    font-size: 2.5rem;
    font-weight: 700;
    color: #f5f6f8;
    margin-right: 15px;
}

.academy-tagline {
    font-size: 1.2rem;
    color: #fff;
    opacity: 0.9;
}

.footer-buttons {
    display: flex;
    gap: 15px;
}

.footer-btn {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer-btn:hover {
    background: #9AA6B2;
    color: #0a3d62;
    transform: translateY(-3px);
}

/* Main Footer Content */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section {
    margin-bottom: 30px;
}

.section-title {
    font-size: 1.3rem;
    color: #EEEEEE;
    margin-bottom: 20px;
    padding-bottom: 10px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #fad390;
}

/* Quick Links */
.links-list {
    list-style: none;
}

.links-list li {
    margin-bottom: 12px;
}

.links-list a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    opacity: 0.8;
}

.links-list a:hover {
    opacity: 1;
    color: #fad390;
    transform: translateX(5px);
}

.links-list i {
    margin-right: 10px;
    font-size: 0.8rem;
}

/* Social Links */
.social-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: #fad390;
    color: #0a3d62;
    transform: translateY(-5px);
}

.contact-info p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    opacity: 0.8;
    color: white;
}

.contact-info i {
    margin-right: 10px;
    color: #fad390;
    width: 20px;
}

/* Demo Form */

.fdemo-request-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ffooter-section demo-form h3{
    color: #d24e4e;
}

.fform-group input,
.fform-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.fform-group input::placeholder,
.fform-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.fform-group input:focus,
.fform-group textarea:focus {
    outline: none;
    border-color: #fad390;
    background: rgba(255, 255, 255, 0.15);
}

.fform-group textarea {
    min-height: 100px;
    resize: vertical;
}

.fsubmit-btn {
    padding: 12px;
    background: #F1F1F1;
    text-decoration: none;
    color: black;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.fsubmit-btn:hover {
    background: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(125, 122, 117, 0.4);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 10px;
    opacity: 0.7;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    opacity: 0.7;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: #fad390;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .footer-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .academy-logo {
        font-size: 2rem;
    }
    
    .academy-tagline {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.1rem;
    }
    
    .footer-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
}


/* whats app */

/* Font Awesome for the Icon */
    @import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

    .whatsapp-container {
        position: fixed;
        bottom: 30px;
        right: 30px;
        z-index: 1000;
    }

    .whatsapp-btn {
        background-color: #25d366;
        color: white;
        width: 65px;
        height: 65px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 35px;
        box-shadow: 2px 5px 15px rgba(0, 0, 0, 0.3);
        text-decoration: none;
        position: relative;
        transition: transform 0.3s ease;
        /* Attention grabbing animation */
        animation: pulse-animation 2s infinite;
    }

    .whatsapp-btn:hover {
        transform: scale(1.1);
        color: white;
    }

    /* Pulse Effect */
    @keyframes pulse-animation {
        0% {
            box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
        }
        70% {
            box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
        }
        100% {
            box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
        }
    }

    /* Tooltip styling */
    .tooltip-text {
        visibility: hidden;
        width: 120px;
        background-color: #333;
        color: #fff;
        text-align: center;
        border-radius: 6px;
        padding: 5px;
        position: absolute;
        right: 80px;
        font-family: sans-serif;
        font-size: 14px;
        opacity: 0;
        transition: opacity 0.3s;
    }

    .whatsapp-btn:hover .tooltip-text {
        visibility: visible;
        opacity: 1;
    }












