/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: #333;
    background-color: #021419;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

h1 {
    font-weight: bold;
}

/* Hero Section */
.hero {
    background: url('../images/hero_background.png') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    color: white;
    margin-top: 70px; /* Account for fixed header */
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding-top: 10%;
}

.hero-image {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 20px auto 0 auto;
    padding: 0 20px;
}

.hero-text {
    text-align: center;
}

.hero-headline {
    font-size: 68px;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-caption {
    font-size: 1.25rem;
    font-weight: 300;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.hero-excel-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: bottom;
    margin-bottom: 0;
    padding-bottom: 0;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 24px 24px 0 0;
    border: 5px solid white;
}

/* Hero Buttons */
.hero-buttons {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
}

/* Button Base Styles */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    text-decoration: none;
    font-weight: 500;
    border-radius: 32px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
}

/* Primary Button */
.btn-primary {
    background-color: #03EF62;
    color: #14241F;
    border: 2px solid #03EF62;
}

.btn-primary:hover {
    background-color: #02d155;
    border-color: #02d155;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(3, 239, 98, 0.3);
}

/* Secondary Button */
.btn-secondary {
    background-color: transparent;
    color: #03EF62;
    border: 2px solid #03EF62;
}

.btn-secondary:hover {
    background-color: #03EF62;
    color: #14241F;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(3, 239, 98, 0.3);
}

/* Responsive Hero Section */
@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        margin: 2rem 20px;
        width: calc(100% - 40px);
    }
    
    .btn {
        width: 50%;
        margin: 0 auto;

    }
    
    .hero-headline {
        padding: 20px;
        font-size: 3rem;
        margin-bottom: 1rem;
    }
    
    .hero-caption {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 2rem;
    }
    
    .hero-caption {
        font-size: 1rem;
    }
}

/* Navigation Bar */
header {
    background-color: #021419;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: all 0.4s ease;
    height: 70px; /* Fixed height for header */
    border-bottom: 1px solid #062730;
}

/* Dark mode navigation - applied when scrolled to dark section */
header.dark-mode {
    background-color: rgba(15, 22, 35, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1000px;
    margin: 0 auto;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 40px;
    width: 40px;
    margin-right: 10px;
    border-radius: 50%;
    object-fit: cover;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #3366cc;
    transition: color 0.4s ease;
}

header.dark-mode .logo h1 {
    color: #ffffff;
    text-shadow: 0 0 15px rgba(51, 102, 204, 0.5);
}

.logo h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #03EF62;
    transition: color 0.4s ease;
}

header.dark-mode .logo h3 {
    color: #03EF62;
    text-shadow: 0 0 15px rgba(3, 239, 98, 0.5);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links li a {
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    color: #ffffff;
}

header.dark-mode .nav-links li a {
    color: rgba(255, 255, 255, 0.85);
}

header.dark-mode .nav-links li a:hover {
    color: #ffffff;
}

.nav-links li a:hover {
    color: #03ef62;
}

.nav-links li a.active {
    color: #03ef62;
}

header.dark-mode .nav-links li a.active {
    color: #a0b4ff;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
}

.login-btn, .signup-btn {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.login-btn {
    color: #3366cc;
    border: 1px solid #3366cc;
    transition: all 0.3s ease;
}

.login-btn:hover {
    background-color: #f0f5ff;
}

header.dark-mode .login-btn {
    color: #a0b4ff;
    border: 1px solid rgba(160, 180, 255, 0.6);
}

header.dark-mode .login-btn:hover {
    background-color: rgba(160, 180, 255, 0.1);
}

.signup-btn {
    background-color: #3366cc;
    color: white;
    transition: all 0.3s ease;
}

.signup-btn:hover {
    background-color: #2a52a3;
}

header.dark-mode .signup-btn {
    background-color: rgba(51, 102, 204, 0.9);
    box-shadow: 0 0 15px rgba(51, 102, 204, 0.3);
}

header.dark-mode .signup-btn:hover {
    background-color: rgba(51, 102, 204, 1);
    box-shadow: 0 0 20px rgba(51, 102, 204, 0.5);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease;
    background-color: #ffffff;
}

header.dark-mode .bar {
    background-color: #fff;
}

/* Responsive Mobile Menu Styles */
@media (max-width: 768px) {
    .hamburger {
        display: block;
        z-index: 101;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: #fff;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.4s ease;
        z-index: 100;
    }
    
    .nav-links.active {
        right: 0;
        background: #001a25;
    }
    
    header.dark-mode .nav-links {
        background: rgba(15, 22, 35, 0.95);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
        border-left: 1px solid rgba(255, 255, 255, 0.08);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    
    /* Hamburger animation */
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* Footer Bottom Section */
.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.footer-social a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(51, 102, 204, 0.8), rgba(85, 136, 238, 0.8));
    opacity: 0;
    transform: scale(0);
    transition: all 0.4s ease;
    border-radius: 50%;
}

.footer-social a i {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.footer-social a:hover::before {
    opacity: 1;
    transform: scale(1);
}

.footer-social a:hover i {
    color: #fff;
    transform: scale(1.2);
}

.social-link.linkedin:hover::before {
    background: linear-gradient(45deg, #0077b5, #00a0dc);
}

.social-link.youtube:hover::before {
    background: linear-gradient(45deg, #ff0000, #ff5e5e);
}

.social-link.tiktok:hover::before {
    background: linear-gradient(45deg, #010101, #69C9D0, #EE1D52);
}

.social-link.telegram:hover::before {
    background: linear-gradient(45deg, #0088cc, #33a3f4);
}

.social-link.twitter:hover::before {
    background: linear-gradient(45deg, #1DA1F2, #6FC2FF);
}

.footer-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

.separator {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.85rem;
}

.footer-address {
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-address i {
    margin-right: 0.5rem;
    color: rgba(51, 102, 204, 0.8);
}

/* Responsive footer styles */
@media (max-width: 992px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-brand {
        text-align: center;
    }
    
    .footer-tagline {
        max-width: 100%;
    }
    
    .footer-nav {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .footer {
        padding-top: 3rem;
    }
    
    .footer-nav {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 1rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form button {
        padding: 0.8rem;
    }
}

@media (max-width: 576px) {
    .footer {
        padding-top: 2.5rem;
    }
    
    .footer-nav {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-nav-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-social {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .separator {
        display: none;
    }
}

/* Course Listing Page Styles */
.course-listing-section {
    padding: 8rem 0 5rem;
    background-color: #f9f9f9;
}

.course-listing-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.page-title {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 1rem;
    color: #333;
    font-weight: 700;
}

.page-description {
    font-size: 1.2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: #666;
}

/* Filter Buttons */
.course-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.7rem 1.5rem;
    background-color: transparent;
    border: 1px solid #ddd;
    border-radius: 30px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background-color: rgba(51, 102, 204, 0.08);
    border-color: #3366cc;
    color: #3366cc;
}

.filter-btn.active {
    background-color: #3366cc;
    border-color: #3366cc;
    color: #fff;
}

/* Course Grid */
.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

/* Course Card */
.course-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

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

.course-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(90deg, #3366cc, #5588ee);
    color: #fff;
    padding: 0.3rem 1rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.course-card .course-badge:nth-of-type(1) {
    background: linear-gradient(90deg, #3366cc, #5588ee);
}

/* Hot badge - special styling */
.course-card-image:has(.course-badge:contains("Hot")) .course-badge {
    background: linear-gradient(90deg, #ff6b6b, #ff9f9f);
}

/* New badge - special styling */
.course-card-image:has(.course-badge:contains("New")) .course-badge {
    background: linear-gradient(90deg, #ff922b, #ffc078);
}

.course-card-body {
    padding: 1.5rem;
}

.course-category {
    display: inline-flex;
    align-items: center;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.8rem;
}

.course-category i {
    margin-right: 0.5rem;
    color: #3366cc;
}

.course-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    font-weight: 600;
    color: #333;
    min-height: 2.8rem;
}

.course-description {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
    line-height: 1.6;
    min-height: 4.6rem;
}

.course-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.2rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid #f0f0f0;
}

.course-duration, .course-level {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    color: #666;
}

.course-duration i, .course-level i {
    margin-right: 0.5rem;
    color: #3366cc;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
}

.course-rating {
    display: flex;
    align-items: center;
}

.course-rating i {
    color: #ffb200;
    font-size: 0.9rem;
    margin-right: 0.1rem;
}

.course-rating span {
    color: #666;
    font-size: 0.85rem;
    margin-left: 0.5rem;
}

.course-price {
    font-weight: 700;
    font-size: 1.1rem;
    color: #3366cc;
}

.course-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.8rem;
    background-color: #3366cc;
    color: #fff;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.course-btn:hover {
    background-color: #2a52a3;
}

/* Responsive Styles for Course Cards */
@media (max-width: 992px) {
    .course-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .course-listing-section {
        padding: 6rem 0 3rem;
    }
    
    .page-title {
        font-size: 2.2rem;
    }
    
    .page-description {
        font-size: 1.1rem;
    }
    
    .course-filters {
        flex-wrap: wrap;
    }
}

@media (max-width: 576px) {
    .course-grid {
        grid-template-columns: 1fr;
    }
    
    .course-card {
        max-width: 100%;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .page-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
}

/* Admin Page Styles */
.admin-layout {
    display: flex;
    min-height: calc(100vh - 80px); /* Adjust based on navbar height */
    background-color: #f9f9f9;
    margin-top: 80px; /* Add top margin to clear the fixed navbar */
}

.admin-sidebar {
    width: 260px;
    background-color: #fff;
    border-right: 1px solid #e0e0e0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    min-height: calc(100vh - 80px);
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    padding: 0 1.5rem 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.sidebar-header h3 {
    font-size: 1.2rem;
    color: #333;
    margin: 0;
    font-weight: 600;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: block;
    width: 100%;
}

.sidebar-item {
    margin-bottom: 0.5rem;
}

.sidebar-item.active .sidebar-link {
    background-color: rgba(51, 102, 204, 0.1);
    border-left: 4px solid #3366cc;
    color: #3366cc;
}

.sidebar-item.active .sidebar-link i {
    color: #3366cc;
}

.sidebar-link {
    display: flex;
    align-items: center;
    padding: 0.8rem 1.5rem;
    color: #333;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.sidebar-link:hover {
    background-color: rgba(51, 102, 204, 0.05);
    color: #3366cc;
}

.sidebar-link i {
    margin-right: 1rem;
    font-size: 1.2rem;
    color: #888;
    width: 20px;
    text-align: center;
}

.admin-content {
    flex: 1;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.admin-content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.add-course-btn {
    background-color: #3366cc;
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    font-weight: 500;
    transition: all 0.3s ease;
}

.add-course-btn i {
    margin-right: 0.5rem;
}

.add-course-btn:hover {
    background-color: #2a52a3;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.admin-content-body {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    min-height: 400px;
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    text-align: center;
}

.empty-icon {
    font-size: 5rem;
    color: #e0e0e0;
    margin-bottom: 1.5rem;
}

.empty-state h3 {
    font-size: 1.4rem;
    color: #666;
    margin-bottom: 0.8rem;
}

.empty-state p {
    color: #888;
    font-size: 1rem;
}

.admin-title {
    font-size: 2rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 600;
}

.admin-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

/* Admin Responsive Styles */
@media (max-width: 992px) {
    .admin-layout {
        flex-direction: column;
    }
    
    .admin-sidebar {
        width: 100%;
        min-height: auto;
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
    }
}

/* Course Management Styles */
.admin-courses {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.courses-grid {
    width: 100%;
}

.course-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.course-thumbnail {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.course-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-actions {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
    gap: 10px;
}

.course-thumbnail:hover .course-actions {
    opacity: 1;
}

.edit-btn, .delete-btn {
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: background 0.3s;
}

.edit-btn {
    background: #3f51b5;
    color: white;
}

.edit-btn:hover {
    background: #303f9f;
}

.delete-btn {
    background: #ff5252;
    color: white;
}

.delete-btn:hover {
    background: #d32f2f;
}

.course-info {
    padding: 15px;
}

.course-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.course-difficulty, .course-duration, .course-modules, .course-videos {
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Excel Formula Section */
.excel-formula-section {
    padding: 80px 0;
    background: #fffbf3;
    text-align: center;
}

.excel-formula-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-headline {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    position: relative;
}

.section-headline::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #0056b3);
    border-radius: 2px;
}

/* Word Cloud Styles */
.word-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px 12px;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.formula-word {
    display: inline-block;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    margin: 4px;
    font-size: 14px;
    user-select: none;
    padding: 4px 8px;
}

/* Active/Selected state */
.formula-word.active {
    background-color: #ffc107;
    color: #212529;
    border-color: #ffc107;
    font-weight: 600;
}

/* Random font sizes for word cloud variety */
.formula-word:nth-child(1) { font-size: 24px; }
.formula-word:nth-child(2) { font-size: 36px; }
.formula-word:nth-child(3) { font-size: 12px; }
.formula-word:nth-child(4) { font-size: 48px; }
.formula-word:nth-child(5) { font-size: 32px; }
.formula-word:nth-child(6) { font-size: 24px; }
.formula-word:nth-child(7) { font-size: 12px; }
.formula-word:nth-child(8) { font-size: 36px; }
.formula-word:nth-child(9) { font-size: 48px; }
.formula-word:nth-child(10) { font-size: 24px; }
.formula-word:nth-child(11) { font-size: 32px; }
.formula-word:nth-child(12) { font-size: 12px; }
.formula-word:nth-child(13) { font-size: 36px; }
.formula-word:nth-child(14) { font-size: 24px; }
.formula-word:nth-child(15) { font-size: 48px; }
.formula-word:nth-child(16) { font-size: 32px; }
.formula-word:nth-child(17) { font-size: 12px; }
.formula-word:nth-child(18) { font-size: 36px; }
.formula-word:nth-child(19) { font-size: 24px; }
.formula-word:nth-child(20) { font-size: 48px; }

/* Hover Effects */
.formula-word:hover {
    background-color: #03EF62;
    border-color: #021419;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Click/Active state */
.formula-word:active,
.formula-word.selected {
    background-color: #ffc107;
    color: #212529;
    border-color: #ffc107;
    font-weight: 600;
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Power Query Section */
.power-query-section {
    background-color: #021419;
    padding: 80px 0;
    min-height: 500px;
}

.power-query-content {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.power-query-text {
    flex: 1;
}

.power-query-headline {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.2;
}

.power-query-caption {
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 0;
    opacity: 0.9;
}

.power-query-image {
    flex: 1;
    text-align: center;
}

.power-query-excel-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Responsive Design for Power Query */
@media (max-width: 768px) {
    .power-query-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .power-query-headline {
        font-size: 2.5rem;
    }
    
    .power-query-caption {
        font-size: 1rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-headline {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .word-cloud {
        gap: 6px 10px;
        padding: 20px 10px;
    }
    
    /* Scale down font sizes for mobile */
    .formula-word:nth-child(1) { font-size: 18px; }
    .formula-word:nth-child(2) { font-size: 28px; }
    .formula-word:nth-child(3) { font-size: 10px; }
    .formula-word:nth-child(4) { font-size: 36px; }
    .formula-word:nth-child(5) { font-size: 24px; }
    .formula-word:nth-child(6) { font-size: 18px; }
    .formula-word:nth-child(7) { font-size: 10px; }
    .formula-word:nth-child(8) { font-size: 28px; }
    .formula-word:nth-child(9) { font-size: 36px; }
    .formula-word:nth-child(10) { font-size: 18px; }
    .formula-word:nth-child(11) { font-size: 24px; }
    .formula-word:nth-child(12) { font-size: 10px; }
    .formula-word:nth-child(13) { font-size: 28px; }
    .formula-word:nth-child(14) { font-size: 18px; }
    .formula-word:nth-child(15) { font-size: 36px; }
    .formula-word:nth-child(16) { font-size: 24px; }
    .formula-word:nth-child(17) { font-size: 10px; }
    .formula-word:nth-child(18) { font-size: 28px; }
    .formula-word:nth-child(19) { font-size: 18px; }
    .formula-word:nth-child(20) { font-size: 36px; }
}

@media (max-width: 480px) {
    .excel-formula-section {
        padding: 60px 0;
    }
    
    .section-headline {
        font-size: 1.8rem;
    }
    
    .word-cloud {
        gap: 4px 8px;
    }
    
    /* Further scale down for small mobile */
    .formula-word:nth-child(1) { font-size: 14px; }
    .formula-word:nth-child(2) { font-size: 22px; }
    .formula-word:nth-child(3) { font-size: 8px; }
    .formula-word:nth-child(4) { font-size: 28px; }
    .formula-word:nth-child(5) { font-size: 18px; }
    .formula-word:nth-child(6) { font-size: 14px; }
    .formula-word:nth-child(7) { font-size: 8px; }
    .formula-word:nth-child(8) { font-size: 22px; }
    .formula-word:nth-child(9) { font-size: 28px; }
    .formula-word:nth-child(10) { font-size: 14px; }
    .formula-word:nth-child(11) { font-size: 18px; }
    .formula-word:nth-child(12) { font-size: 8px; }
    .formula-word:nth-child(13) { font-size: 22px; }
    .formula-word:nth-child(14) { font-size: 14px; }
    .formula-word:nth-child(15) { font-size: 28px; }
    .formula-word:nth-child(16) { font-size: 18px; }
    .formula-word:nth-child(17) { font-size: 8px; }
    .formula-word:nth-child(18) { font-size: 22px; }
    .formula-word:nth-child(19) { font-size: 14px; }
    .formula-word:nth-child(20) { font-size: 28px; }
}

/* Footer Styles */
.footer {
    background-color: #021419;
    color: #ffffff;
    padding: 60px 0 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-middle {
    text-align: center;
    margin-bottom: 40px;
}

.footer-newsletter h4 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 10px;
}

.footer-newsletter p {
    font-size: 1rem;
    color: #b8c5d1;
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #34495e;
    border-radius: 6px;
    background-color: #1a252f;
    color: #ffffff;
    font-size: 14px;
}

.newsletter-form input::placeholder {
    color: #7f8c8d;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.newsletter-form button {
    padding: 12px 24px;
    background-color: #03EF62;
    color: #021419;
    border: none;
    border-radius: 32px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #0056b3;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 30px;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #1a252f;
    color: #b8c5d1;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.social-link.linkedin:hover {
    background-color: #0077b5;
    color: #ffffff;
}

.social-link.youtube:hover {
    background-color: #ff0000;
    color: #ffffff;
}

.social-link.tiktok:hover {
    background-color: #000000;
    color: #ffffff;
}

.social-link.telegram:hover {
    background-color: #0088cc;
    color: #ffffff;
}

.footer-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright p {
    color: #7f8c8d;
    font-size: 14px;
    margin: 0;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-links a {
    color: #b8c5d1;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-links .separator {
    color: #34495e;
    font-size: 12px;
}

/* Footer Responsive Design */
@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
    }
    
    .newsletter-form {
        flex-direction: column;
        max-width: 300px;
    }
    
    .newsletter-form input {
        width: 100%;
    }
    
    .footer-meta {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-newsletter h4 {
        font-size: 1.5rem;
    }
    
    .footer-social {
        gap: 15px;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
}

/* Deep Feature Section */
.deep-feature-section {
    padding: 80px 0;
    background-color: #fffbf3;
    position: relative;
}

.deep-feature-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.deep-feature-section .section-headline {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: #333;
    position: relative;
}

.deep-feature-section .section-headline::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #3366cc, #5588ee);
    border-radius: 2px;
}

.deep-feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-card {
    background: #021419;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.card-image {
    width: 80px;
    height: 80px;
    margin: 30px auto 20px auto;
    overflow: hidden;
    position: relative;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-image {
    transform: scale(1.05);
}

.card-content {
    padding: 30px 25px;
}

.card-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #ffffff;
    margin-bottom: 20px;
    text-align: left;
}

.card-caption {
    font-size: 1.1rem;
    font-weight: 600;
    color: #03EF62;
    text-align: left;
    margin: 0;
    text-transform: capitalize;
}

/* Responsive Design */
@media (max-width: 992px) {
    .deep-feature-section {
        padding: 60px 0;
    }
    
    .deep-feature-section .section-headline {
        font-size: 2.2rem;
        margin-bottom: 50px;
    }
    
    .deep-feature-cards {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
        margin-top: 50px;
    }
}

@media (max-width: 768px) {
    .deep-feature-section {
        padding: 50px 0;
    }
    
    .deep-feature-section .section-headline {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .deep-feature-cards {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 40px;
    }
    
    .card-content {
        padding: 25px 20px;
    }
}

@media (max-width: 576px) {
    .deep-feature-section {
        padding: 40px 0;
    }
    
    .deep-feature-section .container {
        padding: 0 15px;
    }
    
    .deep-feature-section .section-headline {
        font-size: 1.8rem;
        margin-bottom: 35px;
    }
    
    .card-content {
        padding: 20px 18px;
    }
    
    .card-text {
        font-size: 0.95rem;
    }
    
    .card-caption {
        font-size: 1rem;
    }
}

/* Button Styles */
.primary_button_black {
    background-color: #03EF62;
    color: #021419;
}

.primary_button_black:hover {
    background-color: #02d155;
}

.secondary_button_black {
    border-color: #03EF62;
    color: #03EF62;
}

.secondary_button_black:hover {
    background-color: #03EF62;
    color: #021419;
}