
/* CSS Reset & Base Styles */
* {
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

/* Smart Navbar (scrolls up with page) */
  /* Navbar Styles */
  

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Hero Section */
.hero {
    /* background: linear-gradient(90deg, red, #f84); */
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)),
                url("https://img.freepik.com/free-photo/branding-strategy-marketing-business-graphic-design_53876-125554.jpg?uid=R59051076&ga=GA1.1.1357435156.1749392137&semt=ais_hybrid&w=740") center/cover no-repeat;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 8rem 5% 6rem;
    text-align: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero h1 {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    animation: fadeInUp 1.2s ease 0.2s forwards;
    opacity: 0;
}


.cac {
    width: 300px; /* Fixed width */
    height: auto; /* Maintain aspect ratio */
}

.cta-button {
    display: inline-block;
    background: white;
    color: #f84;
    padding: 0.8rem 2rem;
    margin-top: 50px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.4s forwards;
    opacity: 0;
    box-shadow: 0 5px 15px rgba(76, 201, 240, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(76, 201, 240, 0.4);
    background: #3ab7dd;
}

/* Branding Packages Section */
.packages {
    padding: 6rem 5%;
    background: #fff;
    animation: fadeInUp 1.3s ease 0.2s forwards;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.5rem;
    color: #1a1a2e;
    position: relative;
    animation: fadeInUp 1s ease 0.4s forwards;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #f84;
    margin: 1rem auto 0;
    border-radius: 2px;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.package-card {
    background: white;
    border-radius: 10px;
    padding: 2.5rem 2rem;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #eee;
}

.package-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, red, #f84);
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.package-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: linear-gradient(90deg, red, #f84);
}

.package-card .price {
    font-size: 2rem;
    font-weight: 700;
    color: rgb(243, 119, 47);
    margin: 1.5rem 0;
    display: flex;
    align-items: center;
}

.package-card .price::before {
    content: '₦';
    font-size: 1.5rem;
    margin-right: 0.2rem;
}

.package-card ul {
    list-style: none;
    margin-bottom: 2rem;
}

.package-card ul li {
    padding: 0.7rem 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
}

.package-card ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #f84;
    margin-right: 0.7rem;
    font-size: 0.9rem;
}

.delivery {
    font-weight: 600;
    color: #1a1a2e;
    display: flex;
    align-items: center;
    margin-top: auto;
}

.delivery::before {
    content: '\f017';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 0.5rem;
    color: #f84;
}

/* Courses Section */
.courses {
    padding: 6rem 5%;
    background: #f5f7fa;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.course-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.course-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.course-item h4 {
    color: #0f3460;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background: #1a1a2e;
    color: white;
    padding: 5rem 5% 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #f84;
    position: relative;
    display: inline-block;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 2px;
    background: #f84;
    bottom: -5px;
    left: 0;
}

.footer-section p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: #ddd;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-section ul li a:hover {
    color: #f84;
    transform: translateX(5px);
}

.contact-info p {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    opacity: 0.9;
}

.contact-info i {
    margin-top: 0.2rem;
    color: #f84;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #f84;
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero h1 {
        margin-top: 90px;
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .nav-links {
        gap: 1.2rem;
    }
    
    .package-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 600px) {
        .hero {
        padding: 6rem 5% 4rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
}

 /* Responsive Styles */
 @media (max-width: 992px) {
    .nav-links {
        gap: 0.5rem;
    }
    
    .nav-links a {
        font-size: 0.8rem;
        padding: 0.3rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #1a1a2e;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 2rem 0;
        clip-path: circle(0px at 90% -10%);
        transition: all 0.5s ease-out;
        pointer-events: none;
    }
    
    .nav-links.open {
        clip-path: circle(1500px at 90% -10%);
        pointer-events: all;
    }
    
    .nav-links a {
        width: 80%;
        text-align: center;
        padding: 1.5rem;
        font-size: 1.2rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    /* Hide hamburger when menu is open */
    .fa-bars.open {
        display: none;
    }
    
    /* Show close icon when menu is open */
    .fa-times {
        display: none;
    }
    
    .fa-times.open {
        display: block;
    }
}