/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    background: #f8f9fa;
    color: #0f3b2e;
    line-height: 1.6;
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    background: linear-gradient(135deg, #055976 0%, #0a7a9e 100%);
    padding: 0;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    padding: 1% 6%;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.brand-container {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 5px;
}

.brand-container a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.brand-text {
    width: 200px !important;
    height: auto;
    filter: brightness(0) invert(1);
}

nav img {
    width: 60px;
    height: auto;
    transition: transform 0.3s;
}

nav img:hover {
    transform: scale(1.05);
}

.nav-links {
    flex: 1;
    text-align: right;
}

.nav-links ul li {
    list-style: none;
    display: inline-block;
    padding: 8px 16px;
    position: relative;
}

.nav-links ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.nav-links ul li::after {
    content: '';
    width: 0%;
    height: 3px;
    background: #ffd966;
    display: block;
    margin: auto;
    transition: 0.5s;
    border-radius: 2px;
}

.nav-links ul li:hover::after {
    width: 100%;
}

.nav-links ul li:hover a {
    color: #ffd966;
}

nav .fa-solid {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* ===== HERO SECTION - ENHANCED ===== */






















/* ===== HERO SECTION - PROFESSIONAL & BALANCED ===== */
.hero {
    min-height: 70vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #022c3a; /* Darker fallback color */
}

/* Single background image with darker overlay for text clarity */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background .bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}



.hero-background .bg-layer-1 {
    /* More transparent gradient to show background image */
    background-image: linear-gradient(135deg, rgba(2, 44, 58, 0.6) 0%, rgba(5, 89, 118, 0.5) 50%, rgba(1, 20, 27, 0.6) 100%), url('images/image5.jpg');
}

/* Subtle golden accent overlay */
.pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.08) 0%, transparent 60%), radial-gradient(circle at 90% 70%, rgba(255, 215, 0, 0.05) 0%, transparent 55%);
    z-index: 2;
    pointer-events: none;
}

/* Elegant Islamic pattern - very subtle */
.islamic-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.02) 0px, rgba(255, 255, 255, 0.02) 1px, transparent 1px, transparent 12px),
        repeating-linear-gradient(135deg, rgba(255, 215, 0, 0.01) 0px, rgba(255, 215, 0, 0.01) 1px, transparent 1px, transparent 12px);
    z-index: 3;
    pointer-events: none;
}

/* Decorative elements - more subtle */
.hero-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 4;
    pointer-events: none;
}

.deco-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.06) 0%, transparent 70%);
}

.deco-circle-1 {
    width: 500px;
    height: 500px;
    top: -200px;
    right: -150px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.05) 0%, transparent 70%);
}

.deco-circle-2 {
    width: 400px;
    height: 400px;
    bottom: -150px;
    left: -100px;
    background: radial-gradient(circle, rgba(19, 161, 208, 0.06) 0%, transparent 70%);
}

/* Arabic calligraphy - very faint */
.arabic-calligraphy {
    position: absolute;
    font-size: 14rem;
    font-family: 'Traditional Arabic', 'Scheherazade', serif;
    color: rgba(255, 255, 255, 0.02);
    white-space: nowrap;
    z-index: 1;
    user-select: none;
    pointer-events: none;
    font-weight: 700;
}

.calligraphy-1 {
    top: 5%;
    right: -20px;
    transform: rotate(5deg);
}

.calligraphy-2 {
    bottom: 0;
    left: -30px;
    transform: rotate(-8deg);
    font-size: 16rem;
    color: rgba(255, 215, 0, 0.02);
}

/* Main content box - elegant glass with better contrast */


/* Main content box - more transparent glass */
.text-box {
    padding: 10px 20px; /* Slightly reduced padding */
    width: 90%;
    max-width: 1000px;
    color: #fff;
    text-align: center;
    position: relative;
    z-index: 10;
    background: rgba(2, 44, 58, 0.2); /* More transparent */
    backdrop-filter: blur(4px); /* Slightly less blur */
    -webkit-backdrop-filter: blur(4px);
    border-radius: 40px;
    border: 1px solid rgba(255, 215, 0, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
}

/* Inner glow */
.text-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 40px;
    background: radial-gradient(circle at 20% 20%, rgba(255, 215, 0, 0.1) 0%, transparent 80%);
    pointer-events: none;
    z-index: -1;
}

/* Headline styling - bold and clear */
.text-box h1 {
    font-size: 3rem;
    margin: 0 0 15px;
    line-height: 1.2;
    font-weight: 800;
    position: relative;
}

/* Gradient text - rich and visible */
.glitch-text {
    display: block;
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 70%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(160, 216, 227, 0.644);
    letter-spacing: 1px;
}

/* Arabic subhead - elegant */
.arabic-subhead {
    display: block;
    font-size: 2.4rem;
    font-family: 'Traditional Arabic', 'Scheherazade', serif;
    color: #FFD966;
    margin-top: 10px;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
    font-weight: 500;
    opacity: 0.95;
}

/* Paragraph styling - clear and readable */
.text-box p {
    margin: 20px auto 35px;
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 750px;
    line-height: 1.8;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    position: relative;
    padding: 15px 25px;
    font-weight: 400;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 60px;
    border-left: 3px solid #FFD966;
    border-right: 3px solid #FFD966;
}

/* Premium button - sophisticated */
/* Hero button - matching Register Now style */

.hero-btn {
    display: inline-block;
    text-decoration: none;
    color: #055976;
    margin: 5px;
    padding: 16px 45px;
    font-size: 1.2rem;
    border-radius: 50px;
    background: #fff;
    position: relative;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.4s;
    border: #FFff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    letter-spacing: 1px;
    overflow: hidden;
    z-index: 1;
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
    z-index: -1;
}

.hero-btn:hover::before {
    left: 100%;
}

.hero-btn:hover {
    background: transparent;
    color: #fff;
    border-color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.hero-btn:active {
    transform: translateY(-2px);
}

/* Button icons - matching the style */
.btn-icon {
    display: inline-block;
    margin: 0 8px;
    font-size: 1.3rem;
}



/* Button icons - matching the style */
.btn-icon {
    display: inline-block;
    margin: 0 8px;
    font-size: 1.3rem;
}

/* Button icons - matching the style */
.btn-icon {
    display: inline-block;
    margin: 0 5px;
    font-size: 1.2rem;
}

/* Responsive design */
@media (max-width: 992px) {
    .text-box {
        padding: 25px 25px;
    }
    
    .text-box h1 {
        font-size: 3.2rem;
    }
    
    .arabic-subhead {
        font-size: 2.1rem;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 40vh;
    }
    
    .text-box {
        padding: 20px 20px;
        border-radius: 30px;
    }
    
    .text-box h1 {
        font-size: 2.5rem;
    }
    
    .arabic-subhead {
        font-size: 1.9rem;
    }
    
    .text-box p {
        font-size: 1.1rem;
        padding: 12px 20px;
        border-left: 2px solid #FFD966;
        border-right: 2px solid #FFD966;
    }
    
    .hero-btn {
        padding: 15px 40px;
        font-size: 1.2rem;
    }
    
    .arabic-calligraphy {
        font-size: 10rem;
        opacity: 0.015;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 40vh;
    }
    
    .text-box {
        padding: 25px 15px;
        border-radius: 25px;
    }
    
    .text-box h1 {
        font-size: 1.9rem;
    }
    
    .arabic-subhead {
        font-size: 1.5rem;
    }
    
    .text-box p {
        font-size: 1rem;
        padding: 10px 15px;
        border-left: 1px solid #FFD966;
        border-right: 1px solid #FFD966;
        margin: 20px auto 25px;
    }
    
    .hero-btn {
        padding: 12px 30px;
        font-size: 1rem;
        gap: 8px;
    }
    
    .btn-icon {
        font-size: 1.1rem;
    }
    
    .deco-circle-1 {
        width: 300px;
        height: 300px;
    }
    
    .deco-circle-2 {
        width: 250px;
        height: 250px;
    }
}














/* ===== COURSES SECTION ===== */
.course, .course2 {
    width: 90%;
    max-width: 1200px;
    margin: 30px auto;
    text-align: center;
    padding: 10px 0;
}
.course h1, .course2 h1 {
    font-size: 2rem;
    color: #055976;
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
    margin-top: 10px;
}
.course h1 {
    font-size: 2rem;
    color: #055976;
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
    margin-top: 10px;
    background: linear-gradient(135deg, #055976, #13a1d0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    letter-spacing: 1px;
}

.course h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #13a1d0, #055976);
    border-radius: 3px;
}


.course h1::after, .course2 h1::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #13a1d0;
    border-radius: 2px;
}



.row, .row2 {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    padding: 10px 20px;
}

.course-col, .course-col2 {
    background: #fff;
    border-radius: 15px;
    padding: 35px 25px;
    box-sizing: border-box;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border: 1px solid rgba(5, 89, 118, 0.1);
}

.course-col:hover, .course-col2:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(5, 89, 118, 0.2);
    border-color: #13a1d0;
}

.course-col h3, .course-col2 h3 {
    color: #055976;
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.course-col p, .course-col2 p {
    color: #666;
    line-height: 1.8;
}

.course2-btn {
    display: inline-block;
    text-decoration: none;
    color: #055976;
    margin: 20px 0;
    padding: 15px 40px;
    border: 2px solid #055976;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    background: transparent;
}

.course2-btn:hover {
    background: #13a1d0;
    color: #fff;
    border-color: #13a1d0;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(19, 161, 208, 0.3);
}

/* ===== CTA SECTION ===== */

.cta {
    width: 100%;
    text-align: center;
    padding: 70px 20px;
    background: linear-gradient(135deg, #0a5c7a 0%, #0f8bb9 50%, #055976 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '●';
    position: absolute;
    top: -50px;
    right: -50px;
    font-size: 300px;
    opacity: 0.1;
    color: #ffd966;
    transform: rotate(15deg);
}

.cta::after {
    content: '●';
    position: absolute;
    bottom: -80px;
    left: -50px;
    font-size: 350px;
    opacity: 0.1;
    color: #fff;
    transform: rotate(-10deg);
}

.cta h2 {
    font-size: 2.8rem;
    margin-bottom: 30px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
    animation: fadeInDown 1s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.cta-btn {
    display: inline-block;
    text-decoration: none;
    color: #055976;
    margin: 5px;
    padding: 16px 45px;
    font-size: 1.2rem;
    border-radius: 50px;
    background: #fff;
    position: relative;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.4s;
    border: 2px solid transparent;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    letter-spacing: 1px;
    overflow: hidden;
    z-index: 1;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
    z-index: -1;
}

.cta-btn:hover::before {
    left: 100%;
}

.cta-btn:hover {
    background: transparent;
    color: #fff;
    border-color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.cta-btn:first-child {
    background: #ffd966;
    color: #055976;
}

.cta-btn:first-child:hover {
    background: transparent;
    color: #ffd966;
    border-color: #ffd966;
}

/* ===== FOOTER ===== */
.footer {
    background: #055976;
    color: #fff;
    padding: 60px 20px 20px;
}

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

.foot h4 {
    color: #ffd966;
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.foot h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #13a1d0;
}

.foot ul {
    list-style: none;
}

.foot ul li {
    margin-bottom: 12px;
}

.foot ul li a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
    opacity: 0.9;
}

.foot ul li a:hover {
    color: #ffd966;
    padding-left: 8px;
    opacity: 1;
}

.copyright {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid rgba(255,255,255,0.1);
    width: 100%;
    font-size: 0.95rem;
    opacity: 0.9;
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: linear-gradient(135deg, #055976 0%, #13a1d0 100%);
    color: #fff;
    text-align: center;
    padding: 80px 20px;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.page-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
}
/* Additional mobile spacing fixes */
@media (max-width: 768px) {
    .hero {
        min-height: 40vh;
    }
    
    .text-box h1 {
        font-size: 1.4rem;
        margin-top: 0;
    }
    
    .course h1, .course2 h1 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .row, .row2 {
        gap: 15px;
        padding: 5px 15px;
    }
    
    .cta h2 {
        font-size: 1.5rem;
    }
    
    .cta-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

/* Mobile responsive for enhanced hero */
@media (max-width: 992px) {
    .text-box h1 {
        font-size: 2rem;
    }
    
    .text-box h1 span {
        font-size: 1.4rem;
    }
    
    .hero::before {
        font-size: 4rem;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 50vh;
        background-attachment: scroll; /* Disable parallax on mobile */
    }
    
    .text-box {
        padding: 15px 10px;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
    
    .text-box h1 {
        font-size: 2.2rem;
    }
    
    .text-box h1 span {
        font-size: 1.4rem;
    }
    
    .text-box p {
        font-size: 1.1rem;
        padding: 10 10px;
    }
    
    .text-box p::before,
    .text-box p::after {
        font-size: 1.5rem;
    }
    
    .hero-btn {
        padding: 14px 35px;
        font-size: 1.1rem;
    }
    
    .floating-shape-1,
    .floating-shape-2,
    .floating-shape-3 {
        width: 50px;
        height: 50px;
    }
    
    .hero::before {
        font-size: 3rem;
        top: 10px;
        right: 15px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 50vh;
    }
    
    .text-box {
        padding: 20px 12px;
        border-radius: 20px;
    }
    
    .text-box h1 {
        font-size: 1.8rem;
        margin: 10px 0 15px;
    }
    
    .text-box h1 span {
        font-size: 1.2rem;
        margin-top: 5px;
    }
    
    .text-box p {
        font-size: 1rem;
        margin-bottom: 25px;
        line-height: 1.6;
    }
    
    .hero-btn {
        padding: 12px 28px;
        font-size: 1rem;
        letter-spacing: 1px;
    }
    
    .hero::before {
        font-size: 2.5rem;
        top: 5px;
        right: 10px;
    }
    
    .floating-shape-1,
    .floating-shape-2,
    .floating-shape-3 {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 360px) {
    .text-box h1 {
        font-size: 1.5rem;
    }
    
    .text-box h1 span {
        font-size: 1rem;
    }
    
    .text-box p {
        font-size: 0.9rem;
    }
    
    .hero-btn {
        padding: 10px 22px;
        font-size: 0.9rem;
    }
}
@media (max-width: 480px) {
    .hero {
        min-height: 45vh;
    }
    
    .text-box h1 {
        font-size: 1rem;
    }
    
    .text-box p {
        font-size: 0.9rem;
    }
    
    .course h1, .course2 h1 {
        font-size: 1rem;
    }
}
/* Hide Quick Links on mobile */
@media (max-width: 768px) {
    /* Your existing mobile styles... */
    
    /* Hide the first footer column (Quick Links) */
    .foot:first-child {
        display: none;
    }
    
    /* Adjust remaining footer columns to take full width */
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    /* Make Connect With Us column full width on very small screens */
    .foot:last-child {
        grid-column: span 2;
        text-align: center;
        margin-top: 10px;
    }
    
    .foot:last-child h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 480px) {
    /* On very small screens, stack all footer columns */
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .foot:last-child {
        grid-column: span 1;
    }
    
    /* Keep Quick Links hidden */
    .foot:first-child {
        display: none;
    }
}
/* Add/modify these styles in your media queries section */

@media (max-width: 768px) {
    /* Reduce logo and brand size */
    nav img {
        width: 45px; /* Reduced from 60px */
    }
    
    .brand-text {
        width: 180px !important; /* Reduced from 200px */
    }
    
    .brand-container a {
        gap: 5px; /* Reduce gap between logo and text */
    }
    
    /* Adjust nav padding */
    nav {
        padding: 2% 4%;
    }
}

@media (max-width: 480px) {
    /* Further reduce for very small screens */
    nav img {
        width: 40px;
    }
    
    .brand-text {
        width: 150px !important;
    }
    
    /* Make header more compact */
    .header {
        height: auto;
        min-height: 80px;
    }
}

/* ===== ABOUT PAGE STYLES ===== */
/* ===== ABOUT PAGE HERO SECTION ===== */
.about-hero {
    min-height: 40vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #022c3a;
}

.about-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.about-hero-background .bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.about-hero-background .bg-layer-1 {
    background-image: linear-gradient(135deg, rgba(2, 44, 58, 0.8) 0%, rgba(5, 89, 118, 0.7) 100%), url('images/image7.jpg');
}

.about-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: #fff;
    padding: 20px 10px;
    max-width: 900px;
    margin: 0 auto;
}

.about-hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    background: linear-gradient(135deg, #ffffff, #FFD966);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-hero-content p {
    font-size: 1.4rem;
    opacity: 0.95;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.3);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===== OUR STORY SECTION - ENHANCED ===== */
.about-story {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.about-story::before {
    content: '﷽';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 8rem;
    font-family: 'Traditional Arabic', 'Scheherazade', serif;
    color: rgba(5, 89, 118, 0.05);
    z-index: 1;
}

.about-story::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.story-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.story-header {
    text-align: center;
    margin-bottom: 60px;
}

.story-header h2 {
    font-size: 3rem;
    color: #055976;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.story-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #13a1d0, #FFD966);
    border-radius: 2px;
}

.story-header .subtitle {
    font-size: 1.3rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    font-style: italic;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.story-content {
    padding-right: 30px;
}

.story-content p {
    color: #444;
    line-height: 1.9;
    font-size: 1.1rem;
    margin-bottom: 25px;
    position: relative;
    padding-left: 20px;
    border-left: 3px solid #13a1d0;
}

.story-content p:first-of-type {
    border-left-color: #FFD966;
}

.story-content p strong {
    color: #055976;
    font-size: 1.2rem;
}

.story-quote {
    background: linear-gradient(135deg, #055976, #13a1d0);
    color: #fff;
    padding: 40px;
    border-radius: 30px;
    position: relative;
    box-shadow: 0 20px 40px rgba(5, 89, 118, 0.2);
}

.story-quote i {
    font-size: 3rem;
    color: rgba(255, 215, 0, 0.3);
    position: absolute;
    top: 20px;
    left: 20px;
}

.story-quote p {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    font-style: italic;
}

.story-quote .quote-author {
    text-align: right;
    font-weight: 600;
    color: #FFD966;
    font-size: 1.1rem;
}

.stats-container-modern {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.stat-item-modern {
    background: #fff;
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s;
    border: 1px solid rgba(5, 89, 118, 0.1);
}

.stat-item-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(5, 89, 118, 0.15);
    border-color: #13a1d0;
}

.stat-number-modern {
    font-size: 2.8rem;
    font-weight: 800;
    color: #13a1d0;
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label-modern {
    color: #055976;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== TEAM SECTION - ENHANCED ===== */
.team-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f0f7fa 0%, #ffffff 100%);
    position: relative;
}

.team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(135deg, #055976, #13a1d0);
    clip-path: polygon(0 0, 100% 0, 100% 60%, 0 100%);
    opacity: 0.05;
}

.team-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.team-header h2 {
    font-size: 3rem;
    color: #055976;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.team-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #13a1d0, #FFD966);
    border-radius: 2px;
}

.team-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.team-grid-enhanced {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.team-card-enhanced {
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.4s;
    position: relative;
}

.team-card-enhanced:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 50px rgba(5, 89, 118, 0.2);
}

.card-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.team-card-enhanced:hover .card-image img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(5, 89, 118, 0.9), transparent);
    opacity: 0;
    transition: opacity 0.4s;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.team-card-enhanced:hover .card-overlay {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

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

.card-content {
    padding: 25px;
    text-align: center;
    position: relative;
}

.card-content h3 {
    color: #055976;
    font-size: 1.4rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.card-content .position {
    color: #13a1d0;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-content p {
    color: #666;
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.card-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: #FFD966;
    color: #055976;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

/* Responsive for about page */
@media (max-width: 992px) {
    .about-hero-content h1 {
        font-size: 3.2rem;
    }
    
    .story-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .story-content {
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .about-hero {
        min-height: 40vh;
    }
    
    .about-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .about-hero-content p {
        font-size: 1.2rem;
    }
    
    .story-header h2,
    .team-header h2 {
        font-size: 2.5rem;
    }
    
    .stats-container-modern {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .about-hero-content h1 {
        font-size: 2rem;
    }
    
    .about-hero-content p {
        font-size: 1rem;
    }
    
    .story-header h2,
    .team-header h2 {
        font-size: 2rem;
    }
    
    .story-quote {
        padding: 30px 20px;
    }
    
    .story-quote p {
        font-size: 1.1rem;
    }
}
.about-intro {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    text-align: center;
}

.about-intro h2 {
    color: #055976;
    font-size: 2.2rem;
    margin-bottom: 30px;
}

.about-intro p {
    color: #666;
    line-height: 1.8;
    font-size: 1.1rem;
    max-width: 900px;
    margin: 0 auto 30px;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #13a1d0;
    margin-bottom: 10px;
}

.stat-label {
    color: #666;
    font-size: 1.1rem;
}

.team-section {
    background: #f0f7fa;
    padding: 80px 20px;
}

.team-section h2 {
    text-align: center;
    color: #055976;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-bottom: 3px solid #13a1d0;
}

.team-info {
    padding: 25px;
}

.team-info h3 {
    color: #055976;
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.team-info .position {
    color: #13a1d0;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.team-info p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ===== COURSES PAGE STYLES ===== */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.course-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(5, 89, 118, 0.2);
}

.course-header {
    background: linear-gradient(135deg, #055976, #13a1d0);
    color: #fff;
    padding: 25px;
}

.course-header h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.course-badge {
    display: inline-block;
    background: #ffd966;
    color: #055976;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.course-body {
    padding: 25px;
}

.course-body p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.course-details {
    list-style: none;
    margin-bottom: 20px;
}

.course-details li {
    margin-bottom: 10px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 10px;
}

.course-details i {
    color: #13a1d0;
    width: 20px;
}

.register-btn {
    display: inline-block;
    text-decoration: none;
    background: #13a1d0;
    color: #fff;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: center;
}

.register-btn:hover {
    background: #055976;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(19, 161, 208, 0.3);
}

.upcoming-section {
    background: #f0f7fa;
    padding: 60px 20px;
    margin-top: 40px;
}

.upcoming-section h2 {
    text-align: center;
    color: #055976;
    font-size: 2.2rem;
    margin-bottom: 40px;
}

.upcoming-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.upcoming-item {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.upcoming-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(5, 89, 118, 0.15);
}

.upcoming-item i {
    font-size: 2.5rem;
    color: #13a1d0;
    margin-bottom: 15px;
}

.upcoming-item h4 {
    color: #055976;
    margin-bottom: 10px;
}
/* ===== COURSES PAGE HERO ===== */
.courses-hero {
    min-height: 40vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #022c3a;
}

.courses-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.courses-hero-background .bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.courses-hero-background .bg-layer-1 {
    background-image: linear-gradient(135deg, rgba(2, 44, 58, 0.85) 0%, rgba(5, 89, 118, 0.75) 100%), url('images/image3.jpg');
    animation: slowZoom 20s ease-in-out infinite alternate;
}

@keyframes slowZoom {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.courses-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: #fff;
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.courses-hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 2px 2px 15px rgba(0,0,0,0.5);
    background: linear-gradient(135deg, #ffffff, #FFD966);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease;
}

.courses-hero-content p {
    font-size: 1.6rem;
    opacity: 0.95;
    text-shadow: 1px 1px 8px rgba(0,0,0,0.5);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    animation: fadeInUp 1s ease 0.2s both;
}

.courses-hero-badge {
    display: inline-block;
    background: rgba(255, 215, 0, 0.2);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 215, 0, 0.3);
    padding: 8px 25px;
    border-radius: 50px;
    margin-bottom: 20px;
    font-size: 1rem;
    letter-spacing: 2px;
    animation: fadeInUp 1s ease;
}

/* ===== ENHANCED COURSE CARDS WITH BACKGROUND IMAGES ===== */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1300px;
    margin: 50px auto;
    padding: 0 20px;
}

.course-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s;
    position: relative;
}

.course-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(5, 89, 118, 0.2);
}

/* Course Header with Background Image */
.course-header {
    position: relative;
    padding: 40px 25px 25px;
    color: #fff;
    overflow: hidden;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* Individual background images for each course */
.course-card:nth-child(1) .course-header {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4)), url('images/quran-recit.jpg');
    background-size: cover;
    background-position: center;
}

.course-card:nth-child(2) .course-header {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4)), url('images/primary-school.jpg');
    background-size: cover;
    background-position: center;
}

.course-card:nth-child(3) .course-header {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4)), url('images/tahfiz.jpg');
    background-size: cover;
    background-position: center;
}

.course-card:nth-child(4) .course-header {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4)), url('images/adkar.jpg');
    background-size: cover;
    background-position: center;
}

.course-card:nth-child(5) .course-header {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4)), url('images/hajj.jpg');
    background-size: cover;
    background-position: center;
}

.course-card:nth-child(6) .course-header {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4)), url('images/faith-defense.jpg');
    background-size: cover;
    background-position: center;
}

.course-card:nth-child(7) .course-header {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4)), url('images/inheritance.jpg');
    background-size: cover;
    background-position: center;
}

/* Decorative pattern overlay on header */
.course-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: repeating-linear-gradient(25deg, transparent, transparent);
    pointer-events: none;
}

.course-header h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    color: #fff;
    font-weight: 700;
}

.course-badge {
    display: inline-block;
    background: #FFD966;
    color: #055976;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
    align-self: flex-start;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.3);
}

/* Course Body */
.course-body {
    padding: 25px;
}

.course-body p {
    color: #444;
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 0.95rem;
}

.course-details {
    list-style: none;
    margin-bottom: 25px;
}

.course-details li {
    margin-bottom: 12px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.course-details i {
    color: #13a1d0;
    width: 20px;
    font-size: 1rem;
}

/* Enhanced Register Button */
.register-btn {
    display: inline-block;
    text-decoration: none;
    background: linear-gradient(135deg, #13a1d0, #055976);
    color: #fff;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.4s;
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-size: 1rem;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(19, 161, 208, 0.3);
}

.register-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
    z-index: -1;
}

.register-btn:hover::before {
    left: 100%;
}

.register-btn:hover {
    background: linear-gradient(135deg, #055976, #13a1d0);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(19, 161, 208, 0.4);
}

.register-btn:active {
    transform: translateY(-1px);
}

/* Upcoming Programs Section Enhancement */
.upcoming-section {
    background: linear-gradient(135deg, #f0f7fa, #ffffff);
    padding: 70px 20px;
    margin-top: 40px;
    position: relative;
    overflow: hidden;
}

.upcoming-section::before {
    content: '﷽';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 8rem;
    font-family: 'Traditional Arabic', 'Scheherazade', serif;
    color: rgba(5, 89, 118, 0.05);
    z-index: 1;
}

.upcoming-section h2 {
    text-align: center;
    color: #055976;
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.upcoming-section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #13a1d0, #FFD966);
    border-radius: 2px;
}

.upcoming-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.upcoming-item {
    background: #fff;
    padding: 35px 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s;
    border: 1px solid rgba(5, 89, 118, 0.1);
    position: relative;
    overflow: hidden;
}

.upcoming-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #13a1d0, #FFD966);
    transform: scaleX(0);
    transition: transform 0.4s;
}

.upcoming-item:hover::before {
    transform: scaleX(1);
}

.upcoming-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(5, 89, 118, 0.15);
    border-color: transparent;
}

.upcoming-item i {
    font-size: 3rem;
    color: #13a1d0;
    margin-bottom: 20px;
    transition: transform 0.4s;
}

.upcoming-item:hover i {
    transform: scale(1.1) rotate(5deg);
    color: #055976;
}

.upcoming-item h4 {
    color: #055976;
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 700;
}

.upcoming-item p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .courses-hero-content h1 {
        font-size: 3.5rem;
    }
    
    .courses-hero-content p {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .courses-hero {
        min-height: 30vh;
    }
    
    .courses-hero-content h1 {
        font-size: 2.8rem;
    }
    
    .courses-hero-content p {
        font-size: 1.2rem;
    }
    
    .courses-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }
    
    .course-header h3 {
        font-size: 1.4rem;
    }
    
    .upcoming-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .courses-hero-content h1 {
        font-size: 2.2rem;
    }
    
    .courses-hero-content p {
        font-size: 1rem;
    }
    
    .courses-hero-badge {
        font-size: 0.8rem;
        padding: 5px 15px;
    }
    
    .course-header {
        padding: 30px 20px 20px;
        min-height: 140px;
    }
    
    .course-header h3 {
        font-size: 1.3rem;
    }
    
    .course-badge {
        font-size: 0.8rem;
        padding: 4px 12px;
    }
    
    .course-body {
        padding: 20px;
    }
    
    .register-btn {
        padding: 12px 25px;
        font-size: 0.95rem;
    }
    
    .upcoming-item {
        padding: 25px 20px;
    }
    
    .upcoming-item i {
        font-size: 2.5rem;
    }
    
    .upcoming-item h4 {
        font-size: 1.2rem;
    }
}
/* ===== CONTACT PAGE STYLES ===== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 50px auto;
    padding: 0 20px;
}

.contact-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(5, 89, 118, 0.1);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: #13a1d0;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 28px;
    transition: all 0.3s;
}

.contact-card:hover .contact-icon {
    background: #055976;
    transform: rotate(360deg);
}

.contact-card h3 {
    color: #055976;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.contact-card p {
    color: #666;
    margin: 10px 0;
    line-height: 1.8;
}

.contact-card a {
    color: #13a1d0;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-card a:hover {
    color: #055976;
}

/* ===== REGISTER PAGE STYLES ===== */
.register-instruction {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin: 30px 0;
}

.register-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.register-card {
    background: #fff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    border: 1px solid #eee;
}

.register-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(5, 89, 118, 0.1);
    border-color: #13a1d0;
}

.register-card h3 {
    color: #055976;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.register-card .course-meta {
    color: #13a1d0;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.register-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.register-card .register-btn {
    background: #13a1d0;
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    display: inline-block;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-weight: 500;
}

.register-card .register-btn:hover {
    background: #055976;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(19, 161, 208, 0.3);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .text-box h1 {
        font-size: 2.2rem;
    }
    
    .text-box p {
        font-size: 1rem;
    }
    
    .nav-links {
        position: fixed;
        background: #055976;
        height: 100vh;
        width: 250px;
        top: 0;
        right: -250px;
        text-align: left;
        z-index: 1001;
        padding: 80px 20px 20px;
        transition: 0.3s;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }
    
    .nav-links ul li {
        display: block;
        margin: 20px 0;
    }
    
    nav .fa-solid {
        display: block;
    }
    
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .team-card img {
        height: 220px;
    }
}

@media (max-width: 480px) {
    .text-box h1 {
        font-size: 1.8rem;
    }
    
    .hero-btn, .cta-btn, .course2-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .course h1, .course2 h1, .team-section h2 {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .foot h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}