
/* Variables */
:root {
    --primary: #BF1E22;
    --secondary: #2c3e50;
    --accent: #062d3e;
    --light: #ecf0f1;
    --dark: #062D3E;
    --text: #333;
    --border-radius: 8px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #ecf0f1;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: #062d3e;
    color: white;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    -ms-border-radius: 50px;
    -o-border-radius: 50px;
    border: 1px solid white;
}

.btn:hover {
    background-color: #c51c1f;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* .btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
} */

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 4px;
    background-color: var(--primary);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-title p {
    color: #777;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.section-padding {
    padding: 100px 0;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    transition: var(--transition);
    z-index: 1000;
    padding: 20px 0;
}

.header.scrolled {
    background-color: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    animation: fadeIn 1s ease forwards;
}

.logo img {
    height: 50px;
    margin-right: 10px;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
    transition: var(--transition);
}

.header.scrolled .logo h1 {
    color: var(--dark);
}

.nav-links {
    display: flex;
    gap: 30px;
    animation: fadeIn 1s ease forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

.nav-links li a {
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    left: 0;
    bottom: 0;
    transition: var(--transition);
}

.nav-links li a:hover::after {
    width: 100%;
}

.header.scrolled .nav-links li a {
    color: var(--dark);
}

.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-nav-toggle i {
    font-size: 1.8rem;
    color: #062d3e;
    transition: var(--transition);
}

.header.scrolled .mobile-nav-toggle i {
    color: #062d3e;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
        url('img/MG_0348-scaled.jpg') no-repeat center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left;
    color: white;
    position: relative;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeIn 1s ease forwards;
    animation-delay: 0.5s;
    opacity: 0;
    font-family: none ip !important;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    animation: fadeIn 1s ease forwards;
    animation-delay: 0.8s;
    opacity: 0;
}

.hero-btn {
    animation: fadeIn 1s ease forwards;
    animation-delay: 1.1s;
    opacity: 0;
}

.hero-book-btn{
    background-color: #062d3e;
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

/* Courses Section */
.courses {
    background-color: #ecf0f1;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.courses-container {
    position: relative;
}

.courses-swiper {
    padding: 20px 0 60px;
}

.course-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 450px;
    display: flex;
    flex-direction: column;
    transform: translateY(50px);
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.course-thumb {
    height: 200px;
    position: relative;
}

.course-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.course-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
}

.course-text {
    color: #777;
    margin-bottom: 20px;
    flex: 1;
}

.course-button {
    align-self: flex-start;
}

/* Books Section */
.books {
    background-color: white;
}

.books-swiper {
    padding: 20px 0 60px;
}

.book-card {
    background-color: #ecf0f1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 520px;
    display: flex;
    flex-direction: column;
    transform: translateY(50px);
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.book-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.book-thumb {
    height: 250px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--light);
}

.book-thumb img {
    height: 90%;
    width: auto;
    max-width: 80%;
    object-fit: contain;
    transition: var(--transition);
}

.book-card:hover .book-thumb img {
    transform: scale(1.05);
}

.book-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.book-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
}

.book-text {
    color: #777;
    margin-bottom: 20px;
    flex: 1;
}

.book-button {
    align-self: flex-start;
}

/* Video Blogs Section */
.video-blogs {
    background-color: #ecf0f1;
}

.video-blogs-swiper {
    padding: 20px 0 60px;
}

.video-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 400px;
    transform: translateY(50px);
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.video-thumb {
    height: 250px;
    position: relative;
    cursor: pointer;
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-thumb::after {
    content: '\f144';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 3rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    opacity: 0.8;
    transition: var(--transition);
}

.video-thumb:hover::after {
    opacity: 1;
    color: var(--primary);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-content {
    padding: 20px;
}

.video-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
}

.video-date {
    color: #777;
    font-size: 0.9rem;
}

/* Gallery Section */
.gallery {
    background-color: white;
}

.gallery-container {
    columns: 3;
    column-gap: 20px;
}

@media (max-width: 992px) {
    .gallery-container {
        columns: 2;
    }
}

@media (max-width: 576px) {
    .gallery-container {
        columns: 1;
    }
}

.gallery-item {
    margin-bottom: 20px;
    break-inside: avoid;
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    transform: translateY(50px);
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-zoom {
    width: 50px;
    height: 50px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--dark);
    transform: scale(0);
    transition: var(--transition);
}

.gallery-item:hover .gallery-zoom {
    transform: scale(1);
}

/* Reviews Section */
.reviews {
    background-color: #ecf0f1;
}

.reviews-swiper {
    padding: 20px 0 60px;
}

.review-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 300px;
    position: relative;
    transform: translateY(50px);
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.review-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.review-card::before {
    content: '\f10d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 2rem;
    color: #e1e1e1;
    z-index: 0;
}

.review-text {
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    margin-top: auto;
}

.review-author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.review-author-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-author-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--dark);
}

.review-author-info p {
    color: #777;
    font-size: 0.9rem;
}

.review-stars {
    margin-top: 10px;
    color: #ffc107;
}

/* Footer */
.footer {
    background-color: var(--dark);
    color: white;
    padding: 80px 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 10px;
    background: white;
    border-radius: 6px;
}

.footer-logo img {
    height: 40px;
    margin-right: 10px;
}

.footer-logo h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-about p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--primary);
    transform: translateY(-5px);
}

.footer-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background-color: var(--primary);
    bottom: 0;
    left: 0;
}

.footer-links li {
    margin-bottom: 15px;
    transition: var(--transition);
}

.footer-links li:hover {
    transform: translateX(5px);
}

.footer-links li a {
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.footer-links li a:hover {
    color: var(--primary);
}

.footer-links li a i {
    margin-right: 10px;
    color: var(--primary);
}

.footer-payment {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.footer-payment img {
    height: 30px;
    background-color: white;
    padding: 5px;
    border-radius: 5px;
}

.footer-contact-item {
    display: flex;
    margin-bottom: 20px;
}

.footer-contact-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    color: var(--primary);
}

.footer-contact-info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.footer-contact-info p {
    color: #ccc;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    color: #ccc;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background-color: white;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: zoomIn 0.3s ease forwards;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 1;
}

.modal-close:hover {
    background-color: var(--accent);
    transform: rotate(90deg);
}

.modal-header {
    padding: 20px;
    background-color: var(--light);
    border-bottom: 1px solid #ddd;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
}

.modal-body {
    padding: 30px;
}

.modal-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 992px) {
    .modal-columns {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .modal-columns {
        grid-template-columns: 1fr;
    }
}

.modal-column {
    background-color: var(--light);
    padding: 20px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.modal-column:hover {
    background-color: white;
    box-shadow: var(--box-shadow);
}

.modal-column-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark);
    position: relative;
    padding-bottom: 10px;
}

.modal-column-title::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: var(--primary);
    bottom: 0;
    left: 0;
}

.modal-column-text {
    margin-bottom: 15px;
    line-height: 1.8;
}

.modal-column-list {
    margin-bottom: 20px;
}

.modal-column-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.modal-column-list li i {
    color: var(--primary);
    margin-right: 10px;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-img {
    max-width: 90%;
    max-height: 80vh;
    border-radius: var(--border-radius);
    animation: zoomIn 0.3s ease forwards;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.5rem;
}

.lightbox-close:hover {
    background-color: var(--accent);
    transform: rotate(90deg);
}

.swiper-wrapper {
    height: auto;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .mobile-nav-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        gap: 0;
        z-index: 1000;
        padding: 80px 30px 30px;
        transition: var(--transition);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links li a {
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid #eee;
        color: var(--dark);
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .section-padding {
        padding: 70px 0;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }
}

/* For smooth cursor effect */
.cursor-dot,
.cursor-outline {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  border-radius: 50%;
  z-index: 9999;
  transform: translate(-50%, -50%);
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background-color: #111;
}

.cursor-outline {
  width: 35px;
  height: 35px;
  border: 2px solid #111;
  transition: transform 0.15s ease-out, border-color 0.25s;
}






/* Cursor popup effect */
.course-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  pointer-events: none;
}

.course-modal[aria-hidden="false"] {
  pointer-events: all;
}

.course-modal-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.course-modal[aria-hidden="false"] .course-modal-overlay {
  opacity: 1;
}

.course-modal-content {
  position: relative;
  background: #fff;
  padding: 2rem;
  max-width: 900px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  z-index: 10;
  transform: scale(0.9);
  opacity: 0;
  transition: all 0.3s ease;
}

.course-modal[aria-hidden="false"] .course-modal-content {
  transform: scale(1);
  opacity: 1;
}

.course-modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #333;
}

.modal-course-title {
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  text-align: center;
}

.modal-columns {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: space-between;
}

.modal-column {
  flex: 1 1 28%;
  min-width: 250px;
}

.column-title {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: #222;
}

.column-list {
  list-style: none;
  padding: 0;
}

.column-list li {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  line-height: 1.4;
}

.column-list li strong {
  color: #BF1E22;
}

