/* 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  */





/* courses section started  */

/* Base Styles */



.courses-container {
    max-width: 1400px;
    margin: 20px auto;
    padding: 60px 20px;
}


.courses-container h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
    color:  #424244;
    margin-top: 30px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* Courses Grid */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.course-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.course-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.card-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    transition: all 0.5s ease;
}

.course-card:hover .card-image {
    transform: scale(1.05);
}

.card-content {
    padding: 25px;
}

.card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.card-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.learn-more-btn {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.learn-more-btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.learn-more-btn:hover {
    color: var(--secondary-color);
}

.learn-more-btn:hover i {
    transform: translateX(5px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .courses-container {
        padding: 40px 15px;
    }
    
    .card-content {
        padding: 20px;
    }
    
    .card-content h3 {
        font-size: 1.2rem;
    }
}



/* courses section ended */



/* footer section started */


/* Footer Styles */
.fajar-footer {
    /* background: #15212d; */
      background: linear-gradient(41deg, #242424, #001b3a);
    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;
}

.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;
    }
}

/* footer section ended */


/* 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;
    }