/* public_html/css/style.css */

/********** Template CSS **********/
:root {
    --primary: #06A3DA;
    --secondary: #34AD54;
    --light: #EEF9FF;
    --dark: #091E3E;
}

/* General Body & Typography */
body {
    font-family: 'Nunito', sans-serif; /* Ensure consistent font */
    color: var(--dark); /* Default text color */
    overflow-x: hidden; /* Prevent horizontal scroll caused by overflowing elements */
}

/* Ensure all content within the main layout is responsive */
.container-fluid, .container {
    padding-left: 15px;
    padding-right: 15px;
}

/* Global rule for preventing long words/URLs from breaking layout */
p, li, h1, h2, h3, h4, h5, h6, .ck-content {
    word-wrap: break-word; /* Standard property */
    overflow-wrap: break-word; /* Modern alternative */
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
    position: fixed; /* Ensures it covers the whole screen */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.8); /* Semi-transparent background */
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.spinner {
    width: 40px;
    height: 40px;
    background: var(--primary);
    -webkit-animation: sk-rotateplane 1.2s infinite ease-in-out;
    animation: sk-rotateplane 1.2s infinite ease-in-out;
}

@-webkit-keyframes sk-rotateplane {
    0% { -webkit-transform: perspective(120px) }
    50% { -webkit-transform: perspective(120px) rotateY(180deg) }
    100% { -webkit-transform: perspective(120px) rotateY(180deg) rotateX(180deg) }
}

@keyframes sk-rotateplane {
    0% { transform: perspective(120px) rotateX(0deg) rotateY(0deg); }
    50% { transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg); }
    100% { transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg); }
}


/*** Headings ***/
h1,
h2,
.fw-bold {
    font-weight: 800 !important;
}

h3,
h4,
.fw-semi-bold {
    font-weight: 700 !important;
}

h5,
h6,
.fw-medium {
    font-weight: 600 !important;
}


/*** Buttons ***/
.btn {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    transition: .5s;
    border-radius: 8px; /* Apply rounded corners to all buttons */
}

.btn-primary,
.btn-secondary {
    color: #FFFFFF;
    box-shadow: inset 0 0 0 50px transparent;
}

.btn-primary:hover {
    box-shadow: inset 0 0 0 0 var(--primary);
}

.btn-secondary:hover {
    box-shadow: inset 0 0 0 0 var(--secondary);
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 30px;
    height: 30px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}


/*** Navbar ***/
.navbar-dark .navbar-nav .nav-link {
    font-family: 'Nunito', sans-serif;
    position: relative;
    margin-left: 25px;
    padding: 35px 0;
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 600;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-dark .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--dark);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar-dark .navbar-brand h1 {
    color: #FFFFFF;
}

.navbar-dark .navbar-toggler {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-dark {
        position: relative;
        background: #FFFFFF;
    }

    .navbar-dark .navbar-nav .nav-link,
    .navbar-dark .navbar-nav .nav-link.show,
    .sticky-top.navbar-dark .navbar-nav .nav-link {
        padding: 10px 0;
        color: var(--dark);
    }

    .navbar-dark .navbar-brand h1 {
        color: var(--primary);
    }
}

@media (min-width: 992px) {
    .navbar-dark {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(256, 256, 256, .1);
        z-index: 999;
    }
    
    .sticky-top.navbar-dark {
        position: fixed;
        background: #FFFFFF;
    }

    .navbar-dark .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 50%;
        background: var(--primary);
        transition: .5s;
    }

    .navbar-dark .navbar-nav .nav-link:hover::before,
    .navbar-dark .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }

    .navbar-dark .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }

    .sticky-top.navbar-dark .navbar-brand h1 {
        color: var(--primary);
    }
}


/*** Carousel ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(9, 30, 62, .7);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}


/*** Section Title ***/
.section-title::before {
    position: absolute;
    content: "";
    width: 150px;
    height: 5px;
    left: 0;
    bottom: 0;
    background: var(--primary);
    border-radius: 2px;
}

.section-title.text-center::before {
    left: 50%;
    margin-left: -75px;
}

.section-title.section-title-sm::before {
    width: 90px;
    height: 3px;
}

.section-title::after {
    position: absolute;
    content: "";
    width: 6px;
    height: 5px;
    bottom: 0px;
    background: #FFFFFF;
    -webkit-animation: section-title-run 5s infinite linear;
    animation: section-title-run 5s infinite linear;
}

.section-title.section-title-sm::after {
    width: 4px;
    height: 3px;
}

.section-title.text-center::after {
    -webkit-animation: section-title-run-center 5s infinite linear;
    animation: section-title-run-center 5s infinite linear;
}

.section-title.section-title-sm::after {
    -webkit-animation: section-title-run-sm 5s infinite linear;
    animation: section-title-run-sm 5s infinite linear;
}

@-webkit-keyframes section-title-run {
    0% {left: 0; } 50% { left : 145px; } 100% { left: 0; }
}

@-webkit-keyframes section-title-run-center {
    0% { left: 50%; margin-left: -75px; } 50% { left : 50%; margin-left: 45px; } 100% { left: 50%; margin-left: -75px; }
}

@-webkit-keyframes section-title-run-sm {
    0% {left: 0; } 50% { left : 85px; } 100% { left: 0; }
}


/*** Services ***/
.service-item {
    position: relative;
    height: 300px;
    padding: 0 30px;
    transition: .5s;
}

.service-item .service-icon {
    margin-bottom: 30px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 2px;
    transform: rotate(-45deg);
}

.service-item .service-icon i {
    transform: rotate(45deg);
}

.service-item a.btn {
    position: absolute;
    width: 60px;
    bottom: -48px;
    left: 50%;
    margin-left: -30px;
    opacity: 0;
}

.service-item:hover a.btn {
    bottom: -24px;
    opacity: 1;
}


/*** Testimonial ***/
.testimonial-carousel .owl-dots {
    margin-top: 15px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: #DDDDDD;
    border-radius: 2px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--primary);
}

.testimonial-carousel .owl-item.center {
    position: relative;
    z-index: 1;
}

.testimonial-carousel .owl-item .testimonial-item {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: #FFFFFF !important;
    box-shadow: 0 0 30px #DDDDDD;
}


/*** Team & Blog Listing Images ***/
.team-item {
    transition: .5s;
}

.team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
}

.team-social a.btn {
    position: relative;
    margin: 0 3px;
    margin-top: 100px;
    opacity: 0;
}

.team-item:hover {
    box-shadow: 0 0 30px #DDDDDD;
}

.team-item:hover .team-social {
    background: rgba(9, 30, 62, .7);
}

.team-item:hover .team-social a.btn:first-child {
    opacity: 1;
    margin-top: 0;
    transition: .3s 0s;
}

.team-item:hover .team-social a.btn:nth-child(2) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .05s;
}

.team-item:hover .team-social a.btn:nth-child(3) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .1s;
}

.team-item:hover .team-social a.btn:nth-child(4) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .15s;
}

.team-item .team-img img,
.blog-item .blog-img img {
    transition: .5s;
    width: 100%; /* Ensure these images fill their container */
    height: auto; /* Maintain aspect ratio */
    object-fit: cover; /* Crop if necessary to fill space without distortion */
}

.team-item:hover .team-img img,
.blog-item:hover .blog-img img {
    transform: scale(1.15);
}


/*** Blog Post Content Images (for images inserted via CKEditor) ***/
/* These styles apply to images within the actual rich text content of a blog post */
.blog-content img,
.post-content img, /* Assuming a wrapper class for single post content, e.g., in post.php */
.ck-content img {   /* CKEditor's default content class */
    max-width: 100%; /* Ensures images don't exceed their container's width */
    height: auto;    /* Maintains aspect ratio when scaling */
    display: block;  /* Makes image a block-level element */
    margin: 1.5rem auto;  /* Adds vertical margin and centers the image */
    border-radius: 8px; /* Optional: Adds rounded corners for a softer look */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* Optional: Adds a more prominent shadow */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; /* Smooth transitions */
}

.blog-content img:hover,
.post-content img:hover,
.ck-content img:hover {
    transform: scale(1.01); /* Slightly enlarge on hover */
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25); /* Enhance shadow on hover */
}


/*** Miscellaneous ***/
@media (min-width: 991.98px) {
    .facts {
        position: relative;
        margin-top: -75px;
        z-index: 1;
    }
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.bg-header {
    background: linear-gradient(rgba(9, 30, 62, .7), rgba(9, 30, 62, .7)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.link-animated a {
    transition: .5s;
}

.link-animated a:hover {
    padding-left: 10px;
}

@media (min-width: 767.98px) {
    .footer-about {
        margin-bottom: -75px;
    }
}


/*** Company Overview ***/
/* Main Container */
.collince-container {
    max-width: 800px;
    margin: auto;
    background-color: #ffffff;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    animation: fadeIn 1s ease-in-out;
}

/* Title Styling */
.collince-title {
    text-align: center;
    color: #2a3f54;
    margin-bottom: 20px;
    font-size: 2.5em;
    letter-spacing: 1px;
}

/* Section Styling */
.collince-section {
    margin: 20px 0;
    padding: 20px;
    background-color: #eafaf1;
    border-left: 5px solid #72e3f6;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover Effect */
.collince-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Heading Inside Section */
.collince-section h2 {
    color: #72e3f6;
    margin-bottom: 10px;
}

/* List Styling */
.collince-values ul {
    list-style-type: square;
    padding-left: 20px;
}

.collince-values li {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #333;
}


/*** Why Choose Us Section ***/
.collince-why-choose-us {
    max-width: 1000px;
    margin: auto;
    text-align: center;
    padding: 50px 20px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    animation: slideIn 1s ease-in-out;
}

/* Title Styling */
.collince-choose-title {
    font-size: 2.5em;
    color: #2a3f54;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.collince-choose-title::after {
    content: '';
    width: 50px;
    height: 4px;
    background-color: #1abc9c;
    display: block;
    margin: 8px auto 0;
    border-radius: 2px;
}

/* Cards Container */
.collince-choose-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* Individual Cards */
.collince-choose-card {
    background-color: #eafaf1;
    padding: 25px;
    width: 280px;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease forwards;
}

/* Hover Effect */
.collince-choose-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, var(--primary), var(--secondary)); /* Using variables */
    color: #fff;
}

/* Icon Styling */
.collince-icon {
    font-size: 3em;
    color: var(--primary); /* Using variable */
    margin-bottom: 15px;
    transition: transform 0.5s ease;
}

/* Icon Bounce on Hover */
.collince-choose-card:hover .collince-icon {
    transform: scale(1.2);
    color: #ffffff;
}

/* Responsive Design for Why Choose Us */
@media (max-width: 768px) {
    .collince-choose-container {
        flex-direction: column;
        align-items: center;
    }

    .collince-choose-card {
        width: 90%;
    }
}


/*** Student Centre ***/
.btn0 {
    padding: 15px 30px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease, transform 0.3s ease;
}

.btn0:hover {
    background: #2980b9;
    transform: translateY(-5px);
}

.courses-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.course-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.course-card h3 {
    margin: 0 0 10px;
    font-size: 1.5rem;
    color: #2c3e50;
}

.course-card p {
    margin: 0 0 15px;
    color: #7f8c8d;
}

.enroll-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.enroll-btn:hover {
    background: #219150;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.5s ease-in-out;
    z-index: 1050; /* Ensure modal is above other content */
}

.modal-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    width: 90%; /* Responsive width */
    max-width: 500px; /* Max width for larger screens */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    animation: slideIn 0.5s ease-in-out;
}

.modal-content h2 {
    margin: 0 0 20px;
    font-size: 1.5rem;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 25px;
}

.modal-content input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.modal-content .submit-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s ease;
}

.modal-content .submit-btn:hover {
    background: #2980b9;
}

.close-btn {
    float: right;
    font-size: 1.5rem;
    cursor: pointer;
    color: #2c3e50;
}


/*** Gallery ***/
.portfolio-container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

.gallery-section {
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
    animation: fadeIn 2s ease-in-out;
}

.gallery-slider {
    display: flex;
    overflow: hidden;
    position: relative;
    border-radius: 15px; /* Added for consistency */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1); /* Added for consistency */
}

.gallery-images {
    display: flex;
    animation: autoScroll 20s linear infinite;
}

.gallery-image {
    min-width: 300px;
    margin: 10px;
    position: relative;
    transition: transform 0.3s ease;
}

.gallery-image img {
    width: 100%;
    border-radius: 15px;
    height: 200px; /* Fixed height for gallery images */
    object-fit: cover; /* Ensures images cover the area without distortion */
}

.gallery-image:hover {
    transform: scale(1.05);
}

.description {
    position: absolute;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    width: 100%;
    padding: 10px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    border-bottom-left-radius: 15px; /* Match image border-radius */
    border-bottom-right-radius: 15px; /* Match image border-radius */
}

.gallery-image:hover .description {
    opacity: 1;
}

.nav-buttons {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.nav-button {
    background: rgba(255, 255, 255, 0.5);
    border: none;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: all;
    transition: background 0.3s;
}

.nav-button:hover {
    background: rgba(255, 255, 255, 0.8);
}


/*** CCTV & Cyber Security Systems ***/
#cyber-security-systems {
    padding: 60px 20px;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e); /* Adjusted gradient for consistency */
    color: #fff;
    text-align: center;
    font-family: 'Orbitron', sans-serif; /* Cyberpunk font */
}

.cyber-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #00ffcc;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 0 0 10px #00ffcc, 0 0 20px #00ffcc;
}

.cyber-section-subtitle {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 40px;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.neon-text {
    color: #00ffcc;
    text-shadow: 0 0 5px #00ffcc, 0 0 10px #00ffcc;
}

.cyber-security-item {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 15px;
    border: 1px solid #00ffcc;
    box-shadow: 0 0 10px rgba(0, 255, 204, 0.5), 0 0 20px rgba(0, 255, 204, 0.3);
    padding: 20px;
    margin-bottom: 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cyber-security-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.8), 0 0 40px rgba(0, 255, 204, 0.5);
}

.cyber-security-content {
    text-align: left;
}

.cyber-security-title {
    font-size: 2rem;
    font-weight: 600;
    color: #00ffcc;
    margin-bottom: 15px;
    text-shadow: 0 0 5px #00ffcc, 0 0 10px #00ffcc;
}

.cyber-security-description {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.6;
}

.cyber-security-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
}

.cyber-security-features li {
    font-size: 0.9rem;
    color: #fff;
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
    background: rgba(0, 0, 0, 0.3);
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #00ffcc;
    box-shadow: 0 0 5px rgba(0, 255, 204, 0.3);
}

.cyber-security-features li::before {
    content: "✔";
    position: absolute;
    left: 5px;
    color: #00ffcc;
    text-shadow: 0 0 5px #00ffcc, 0 0 10px #00ffcc;
}

/* Responsive Design for CCTV */
@media (max-width: 768px) {
    .cyber-section-title {
        font-size: 2rem;
    }

    .cyber-section-subtitle {
        font-size: 1rem;
    }

    .cyber-security-title {
        font-size: 1.5rem;
    }

    .cyber-security-features {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    .cyber-security-features {
        grid-template-columns: 1fr;
    }
}


/*** AI / Futuristic Page Styles ***/
.futuristic-page {
    font-family: 'Roboto', sans-serif;
    background: radial-gradient(circle, #0f0c29, #302b63, #24243e);
    color: #fff;
    padding: 20px;
}

/* Header Section */
.futuristic-header {
    text-align: center;
    padding: 50px 0;
}

#ai-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem; /* Adjusted for consistency, responsive media queries handle larger */
    margin-bottom: 10px;
}

#ai-subtitle {
    font-size: 1.2rem;
    color: #bbb;
}

/* Glow Button */
.glow-button {
    background: #00c6ff;
    border: none;
    padding: 10px 20px;
    color: #fff;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.glow-button:hover {
    background: #0072ff;
    box-shadow: 0 0 10px #00c6ff;
}

/* Split Section */
.split-section {
    display: flex;
    flex-direction: column; /* Default to column for mobile-first */
    align-items: center;
    gap: 20px;
    margin: 50px 0;
}

#ai-intro-image img {
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 198, 255, 0.5);
    max-width: 100%;
    height: auto;
}

#ai-intro-text {
    flex: 1;
    text-align: center;
}

/* Content Cards */
.content-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    transition: transform 0.3s ease;
}

.content-card:hover {
    transform: translateY(-10px);
}

.icon-container {
    text-align: center;
    margin-bottom: 10px;
}

.futuristic-icon {
    color: #00c6ff;
}

/* Call-to-Action Section */
.cta-section {
    text-align: center;
    padding: 50px 0;
    background: rgba(255, 255, 255, 0.05);
    margin: 50px 0;
}

/* Responsive Design for AI / Futuristic Page */
@media (min-width: 768px) {
    /* Split Section for Tablets and Desktops */
    .split-section {
      flex-direction: row;
      text-align: left;
    }

    #ai-intro-text {
      text-align: left;
    }

    /* Adjust Font Sizes for Larger Screens */
    #ai-title {
      font-size: 3rem;
    }

    #ai-subtitle {
      font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    /* Adjust Font Sizes for Mobile */
    #ai-title {
      font-size: 2rem;
    }

    #ai-subtitle {
      font-size: 1rem;
    }

    .content-card h2 {
      font-size: 1.5rem;
    }

    .content-card p {
      font-size: 0.9rem;
    }
}


/*** Blog Post Specific Styles (AI Blog as an example) ***/
.ai-container {
    max-width: 1000px;
    margin: 50px auto;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.ai-heading, .ai-subheading {
    color: #00c6ff;
}
.ai-image { /* This likely targets a main/hero image for the blog post */
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 15px;
    margin: 20px 0;
    transition: transform 0.3s ease-in-out;
}
.ai-image:hover {
    transform: scale(1.05);
}
.ai-content { /* This targets the actual content area of the AI blog post */
    margin-top: 20px;
    line-height: 1.8;
    color: #eee; /* Ensure text is visible on dark background */
}
/* Specific styling for images *within* the .ai-content area */
.ai-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1.5rem auto; /* Added margin for spacing */
    border-radius: 10px; /* Slightly less rounded than hero image */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.ai-content img:hover {
    transform: scale(1.01);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}


.ai-section {
    margin-bottom: 40px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
}
.ai-section:hover {
    background: rgba(255, 255, 255, 0.3);
}
.ai-back-button {
    margin-top: 30px;
}
.ai-back-button a {
    background: #00c6ff;
    color: #333;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}
.ai-back-button a:hover {
    background: #99d8e9;
}
@media screen and (max-width: 768px) {
    .ai-container {
        padding: 20px;
    }
    .ai-section {
        padding: 15px;
    }
    .ai-image {
        max-height: 250px;
    }
}


/* NEW: Styles for the modern registration form (merged from previous inline styles) */
/* Ensure body font is Inter for the form if you want it different from Nunito */
/* This is an important override for form pages to use Inter if desired */
body {
    font-family: 'Inter', sans-serif; /* This will override the Nunito from the template for the form pages */
    background-color: #f4f7f6; /* Keep consistent with the light background */
}

.form-container {
    max-width: 500px;
    margin: 3rem auto;
    padding: 2rem;
    background-color: #ffffff;
    border-radius: 0.75rem; /* More rounded corners */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); /* Stronger, softer shadow */
    transition: all 0.3s ease-in-out; /* Smooth transitions for hover/focus */
}

.form-container:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15); /* Slightly more pronounced shadow on hover */
}

.input-field {
    width: 100%;
    padding: 0.75rem 1rem; /* Increased padding for better touch targets */
    border-radius: 0.5rem;
    border: 1px solid #d1d5db; /* Light gray border */
    font-size: 1rem;
    line-height: 1.5;
    transition: all 0.2s ease-in-out;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05); /* Subtle inner shadow */
}

.input-field:focus {
    outline: none;
    border-color: #3b82f6; /* Blue border on focus */
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3); /* Blue ring on focus */
}

.submit-btn {
    width: 100%;
    background-color: #2563eb; /* Stronger blue */
    color: white;
    font-weight: 700; /* Bold */
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease-in-out, transform 0.1s ease-in-out, box-shadow 0.3s ease-in-out;
    cursor: pointer;
    border: none; /* Remove default button border */
    display: flex; /* For centering text and spinner */
    align-items: center;
    justify-content: center;
}

.submit-btn:hover {
    background-color: #1d4ed8; /* Darker blue on hover */
    transform: translateY(-1px); /* Slight lift effect */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Shadow on hover */
}

.submit-btn:active {
    transform: translateY(0); /* Press down effect */
    box-shadow: none;
}

.submit-btn:disabled {
    background-color: #93c5fd; /* Lighter blue when disabled */
    cursor: not-allowed;
    box-shadow: none;
}

.message-box {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem; /* Increased margin */
    text-align: center;
    font-weight: 500; /* Medium weight */
}

.message-box.success {
    background-color: #d1fae5; /* Light green */
    color: #065f46; /* Dark green text */
    border: 1px solid #34d399; /* Green border */
}

.message-box.error {
    background-color: #fee2e2; /* Light red */
    color: #991b1b; /* Dark red text */
    border: 1px solid #ef4444; /* Red border */
}

.message-box.info {
    background-color: #dbeafe; /* Light blue */
    color: #1e40af; /* Dark blue text */
    border: 1px solid #60a5fa; /* Blue border */
}

/* Spinner for loading state */
.animate-spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Page Header background for LMS pages, using a generic image */
/* This will override the general .bg-header for LMS pages specifically */
.lms-bg-header {
    background: linear-gradient(rgba(9, 30, 62, .7), rgba(9, 30, 62, .7)), url(https://placehold.co/1920x400/091E3E/FFFFFF?text=LMS+Page+Header) center center no-repeat;
    background-size: cover;
}

/* Styles for course cards on dashboard */
body {
    font-family: 'Inter', sans-serif; /* Keep this for consistency with form */
    background-color: #f4f7f6;
}
.course-card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}
.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}