/* 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  */



/* 2nd section */
/* Reset & base */


/* Hero Banner */
.hero-banner {
  width: 100%;
  margin-top: 100px;
  height: 400px;
  background-image: url('/images/p3.jpg')  ;
  display: flex;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 1.1;
  align-items: center;
  justify-content: flex-start;
  padding: 0 40px;
  color: #fff;
}

/* Banner Content */
.banner-content {
  max-width: 800px;
}

.banner-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #fff;
}

.banner-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #e0e0e0;
  margin-bottom: 25px;
}

/* CTA Button */
.cta-button {
  background-color: #004080;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  border: none;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.cta-button:hover {
  background-color: #002d5f;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease-out forwards;
}

.delay-1 {
  animation-delay: 0.3s;
}

.delay-2 {
  animation-delay: 0.6s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-banner {
    height: auto;
    padding: 40px 20px;
  }

  .banner-content h1 {
    font-size: 2rem;
  }

  .banner-content p {
    font-size: 1rem;
  }
}

/* 2nd section ended */


/* 3rd section started */
.history-section {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 60px 20px;
  background: #f9f9f9;
  box-sizing: border-box;
  overflow: hidden;
}

/* Layout */
.history-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

/* Left Text */
.history-text {
  flex: 1;
  min-width: 300px;
  max-width: 50%;
  padding: 20px;
}

.history-text h2 {
  font-size: 28px;
  color: #0f2137;
  margin-bottom: 20px;
}

.history-text ul {
  list-style: none;
  padding: 0;
}

.history-text ul li {
  font-size: 18px;
  margin-bottom: 12px;
  padding-left: 25px;
  position: relative;
  color: #444;
}

.history-text ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #2c7a7b;
  font-weight: bold;
}

/* Right Image */
.history-image {
  flex: 1;
  min-width: 300px;
  max-width: 45%;
  padding: 20px;
  /* height: ; */
}

.history-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.4s ease;
}

.history-image:hover img {
  transform: scale(1.03);
}

/* Animations */
.fade-in-up {
  animation: fadeInUp 1s ease-in forwards;
  opacity: 0;
}

.fade-in-left {
  animation: fadeInLeft 1.2s ease-in forwards;
  opacity: 0;
}

.fade-in-right {
  animation: fadeInRight 1.2s ease-in forwards;
  opacity: 0;
}

@keyframes fadeInUp {
  0% { transform: translateY(20px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

@keyframes fadeInLeft {
  0% { transform: translateX(-30px); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

@keyframes fadeInRight {
  0% { transform: translateX(30px); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
  .history-content {
    flex-direction: column;
  }
  .history-text, .history-image {
    max-width: 100%;
    text-align: center;
  }
  .history-text ul li {
    padding-left: 20px;
  }
}

/* 3rd section ended */


/* 4th section started */

/* SECTION STYLES */
.islam-intro-section {
  width: 100%;
  display: flex;
  margin-top: -130px;
  justify-content: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #fdfcfb, #e2d1c3);
  font-family: 'Segoe UI', sans-serif;
  overflow: hidden;
}

.islam-intro-container {
  width: 100%;
  max-width: 1200px;
  background: white;
  padding: 50px 40px;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  animation: fadeScale 1s ease forwards;
  opacity: 0;
}

/* HEADINGS */
.islam-intro-container h2 {
  font-size: 34px;
  color: #17494d;
  margin-bottom: 24px;
  text-align: center;
}

/* PARAGRAPHS */
.islam-intro-container p {
  font-size: 18px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 20px;
}

/* PILLARS LIST */
.pillars-list {
  list-style-type: none;
  padding: 0;
  margin-top: 10px;
}

.pillars-list li {
  margin-bottom: 12px;
  padding-left: 28px;
  position: relative;
  color: #333;
  font-size: 17px;
}

.pillars-list li::before {
  content: "🕋";
  position: absolute;
  left: 0;
}

/* CONTACT BUTTON */
.contact-button-container {
  margin-top: 35px;
  text-align: center;
}

.contact-btn {
  background-color: #17494d;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  padding: 12px 28px;
  border-radius: 30px;
  display: inline-block;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.contact-btn:hover {
  background-color: #0c3134;
  transform: scale(1.05);
}

/* ANIMATIONS */
@keyframes fadeScale {
  0% { transform: scale(0.95); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 1s ease forwards;
  opacity: 0;
}

.fade-in-down {
  animation: fadeIn 1s ease forwards;
  opacity: 0;
  transform: translateY(-20px);
}

.fade-in-scale {
  animation: fadeScale 1s ease forwards;
}

.delay-1 {
  animation-delay: 0.5s;
}

.delay-2 {
  animation-delay: 0.8s;
}

.delay-3 {
  animation-delay: 1.1s;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .islam-intro-container {
    padding: 30px 20px;
  }

  .islam-intro-container h2 {
    font-size: 26px;
  }

  .islam-intro-container p,
  .pillars-list li {
    font-size: 16px;
  }
}


/* 4th section ended */





/* 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;
    }
}



/* whatsapp  */
/* 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;
    }



