/* Color Variables */
:root {
    /* Primary Colors */
    --primary-color: #3E63ED; /* Main brand color */
    --primary-dark: #2a4cd0; /* Darker shade of primary */
    --primary-light: #e6ebff; /* Lighter shade of primary */
    
    /* Secondary Colors */
    --secondary-color: #17c1ce; /* Secondary brand color */
    --accent-color: #8fd3e8; /* Accent highlight */
    --tertiary-color: #7F42EE; /* Purple accent */
    
    /* Action Colors */
    --success-color: #1ab148; /* Success actions */
    --success-hover: #159c3d; /* Success hover */
    --danger-color: #ff5252; /* Error/danger actions */
    
    /* Text Colors */
    --text-dark: #333; /* Primary text */
    --text-medium: #555; /* Secondary text */
    --text-light: #777; /* Lighter text */
    --text-muted: #999; /* Muted text */
    
    /* Background Colors */
    --bg-primary: #f8f9fa; /* Primary background */
    --bg-secondary: #f5f5f5; /* Secondary background */
    --bg-white: #ffffff; /* White background */
    
    /* Border Colors */
    --border-light: #eee; /* Light borders */
    --border-medium: #e0e0e0; /* Medium borders */
    
    /* Footer Colors */
    --footer-bg: #1a222b; /* Footer background */
    --footer-text: rgba(255, 255, 255, 0.7); /* Footer text */
    
    /* Other Colors */
    --dark-overlay: rgba(0, 0, 0, 0.75); /* Dark overlay */
    --shadow-color: rgba(0, 0, 0, 0.1); /* Shadow color */
    --dark-purple: #3d1d69; /* Dark purple text in hero */
}

/* Reset and global styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
a{
    text-decoration: none;
}

body {
    background-color: var(--bg-primary);
}

/* Navigation styles */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 50px;
    background-color: var(--bg-white);
    box-shadow: 0 2px 10px var(--shadow-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo img {
    height: 60px;
    width: auto;
}

.menu ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.menu ul li a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1.2em;
    transition: color 0.3s ease;
}

.menu ul li a:hover {
    color: var(--primary-color);
}

nav div:last-child {
    display: flex;
    gap: 15px;
}

nav button {
    padding: 8px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
}

nav button:first-child {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

nav button:last-child {
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: var(--bg-white);
}

nav button:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 5px var(--shadow-color);
}

/* Mobile menu icon */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--text-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hero Section Styles */
.hero {
    background-color: var(--accent-color);
    padding: 60px 20px 120px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    color: var(--dark-purple);
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.hero p {
    color: var(--dark-purple);
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Search Container Styles */
.search-container {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--bg-white);
    border-radius: 5px;
    overflow: visible;
    box-shadow: 0 5px 15px var(--shadow-color);
    position: relative;
    z-index: 20;
}

.dropdown {
    position: relative;
}

.dropdown-btn {
    background-color: var(--bg-white);
    border: none;
    padding: 14px 20px;
    text-align: left;
    min-width: 170px;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-right: 1px solid var(--border-medium);
    white-space: nowrap;
    position: relative;
    z-index: 21;
}

.dropdown-btn i {
    margin-left: 10px;
    font-size: 0.8rem;
    color: var(--text-light);
    transition: transform 0.3s ease;
}

.dropdown.active .dropdown-btn i {
    transform: rotate(180deg);
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    min-width: 170px;
    box-shadow: 0px 8px 16px 0px var(--shadow-color);
    z-index: 25;
    border-radius: 0 0 5px 5px;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    overflow: hidden;
}

.dropdown.active .dropdown-content {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-content a {
    color: var(--text-dark);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    font-size: 1rem;
    border-bottom: 1px solid var(--bg-secondary);
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: var(--bg-secondary);
    color: var(--primary-color);
}

.search-input {
    flex-grow: 1;
}

.search-input input {
    width: 100%;
    padding: 14px 20px;
    border: none;
    outline: none;
    font-size: 1rem;
}

.search-btn {
    background-color: var(--success-color);
    color: var(--bg-white);
    border: none;
    padding: 0 20px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.search-btn:hover {
    background-color: var(--success-hover);
}

/* Frameworks Section Styles */
.frameworks {
    margin-top: -50px;
    padding: 0 50px;
    position: relative;
    z-index: 1;
}

.frameworks .container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.framework-card {
    flex: 1;
    background-color: var(--bg-white);
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.framework-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--shadow-color);
}

.framework-logo {
    margin-bottom: 15px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.framework-logo img {
    min-width: 100px;
    max-width: 100px;
}

.framework-card h3 {
    color: var(--text-dark);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.framework-card p {
    color: var(--text-light);
    font-size: 14px;
    font-weight: 400;
}

/* Framework specific styling */
.magento img {
    width: 60px;
}

.prestashop img {
    width: 70px;
}

.wordpress img {
    width: 70px;
}

.shopify img {
    width: 50px;
}

/* Latest Templates Section Styles */
.latest-templates {
    padding: 70px 50px;
}

.latest-templates .container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.section-header p {
    font-size: 1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Template Tabs */
.template-tabs {
    margin-bottom: 35px;
}

.template-tabs ul {
    display: flex;
    justify-content: center;
    list-style: none;
    flex-wrap: wrap;
    gap: 10px;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 10px;
}

.template-tabs button {
    background: none;
    border: none;
    padding: 10px 15px;
    font-size: 0.9rem;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 5px;
    font-weight: 500;
}

.template-tabs button:hover {
    color: var(--primary-color);
}

.template-tabs button.active {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

/* Templates Grid */
.templates-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* Template Card */
.template-card {
    background-color: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 15px var(--shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.template-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow-color);
}

.template-badge {
    position: absolute;
    top: 15px;
    left: 0;
    background-color: var(--tertiary-color);
    color: var(--bg-white);
    font-size: 0.75rem;
    padding: 5px 12px;
    border-radius: 0 3px 3px 0;
    font-weight: 500;
    z-index: 1;
}

.template-image {
    height: 200px;
    overflow: hidden;
}

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

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

.template-info {
    padding: 20px;
}

.template-info h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.template-author {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.template-author a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.template-author span {
    color: var(--text-muted);
}

.template-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--border-light);
}

.price-info {
    display: flex;
    flex-direction: column;
}

.template-sales {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.template-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.template-buttons {
    display: flex;
    gap: 8px;
}

.preview-btn {
    background-color: var(--bg-secondary);
    color: var(--text-dark);
    font-size: 0.85rem;
    padding: 8px 15px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
    font-weight: 500;
}

.preview-btn:hover {
    background-color: #e9e9e9;
}

.cart-btn, .wishlist-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 5px;
    background-color: var(--bg-secondary);
    color: var(--text-medium);
    cursor: pointer;
    transition: all 0.3s;
}

.cart-btn:hover {
    background-color: var(--success-color);
    color: var(--bg-white);
}

.wishlist-btn:hover {
    background-color: var(--danger-color);
    color: var(--bg-white);
}

/* Free Templates Section */
.free-templates {
    padding: 50px 0;
    position: relative;
    background: linear-gradient(var(--dark-overlay), var(--dark-overlay)), url('../images/background.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    color: var(--bg-white);
}

/* About Page Title Section */
.title-page {
    background: linear-gradient(120deg, var(--primary-light), var(--accent-color));
    padding: 80px 0;
    text-align: center;
    position: relative;
    color: var(--dark-purple);
    margin-bottom: 60px;
}

.title-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.2);
    z-index: 1;
}

.free-templates h2,
.free-templates h4,
.free-templates p,
.free-templates button {
    position: relative;
    z-index: 2;
}

.title-page p {
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
    color: var(--text-dark);
}

.free-templates h4 {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 30px;
    color: var(--accent-color);
}

.free-templates p {
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.8;
    font-size: 1rem;
    opacity: 0.9;
}

.free-templates button {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border: none;
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(62, 99, 237, 0.3);
}

.free-templates button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(62, 99, 237, 0.4);
}

/* Blog Section Styles */
.blog {
    padding: 80px 0;
    background-color: var(--bg-primary);
}

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

.blog .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.blog .section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.blog .section-header p {
    font-size: 1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background-color: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px var(--shadow-color);
}

.blog-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

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

.blog-date {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: var(--secondary-color);
    color: var(--bg-white);
    width: 55px;
    height: 55px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.1;
    font-weight: 600;
}

.blog-date span:first-child {
    font-size: 1.4rem;
}

.blog-date span:last-child {
    font-size: 0.85rem;
    text-transform: uppercase;
}

.blog-content {
    padding: 25px;
}

.blog-category {
    display: inline-block;
    padding: 6px 15px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--bg-white);
    margin-bottom: 15px;
    text-transform: capitalize;
}

.blog-category.business {
    background-color: #7bbe41;
}

.blog-category.banking {
    background-color: #f38d34;
}

.blog-category.fitness {
    background-color: #4db8c2;
}

.blog-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.blog-author {
    display: flex;
    align-items: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

.blog-author img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 12px;
}

.blog-author span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-medium);
    flex-grow: 1;
}

.read-more {
    font-size: 0.9rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.read-more:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Footer Styles */
footer {
    background-color: var(--footer-bg);
    color: var(--bg-white);
    padding: 70px 0 0;
}

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

.footer-section {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-card h3 {
    color: var(--bg-white);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-card:first-child img {
    height: 45px;
    margin-bottom: 25px;
}

.footer-card p {
    color: var(--footer-text);
    line-height: 1.8;
    font-size: 0.9rem;
    margin-bottom: 25px;
}

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

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

.footer-card ul li a {
    color: var(--footer-text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-card ul li a:hover {
    color: var(--accent-color);
}

.footer-card:first-child div:last-child {
    display: flex;
    gap: 12px;
}

.footer-card:first-child div:last-child a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--bg-white);
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.footer-card:first-child div:last-child a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    padding: 25px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

/* Responsive styles */
@media screen and (max-width: 992px) {
    .frameworks .container {
        flex-wrap: wrap;
    }
    
    .framework-card {
        flex: 1 1 45%;
    }
    
    .templates-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .free-templates h2 {
        font-size: 2.5rem;
    }
    
    .free-templates h4 {
        font-size: 1.2rem;
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-section {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-card:first-child {
        grid-column: span 3;
    }
}

@media screen and (max-width: 768px) {
    nav {
        padding: 15px 20px;
    }
    
    .menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--bg-white);
        transition: all 0.3s ease;
        box-shadow: 0 5px 10px var(--shadow-color);
    }
    
    .menu.active {
        left: 0;
    }
    
    .menu ul {
        flex-direction: column;
        align-items: center;
        padding: 30px 0;
        gap: 20px;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    nav div:last-child {
        display: none;
    }

    /* Responsive Hero Section */
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    /* Modified search container to stay horizontal on mobile */
    .search-container {
        width: 95%;
        max-width: 500px;
    }
    
    .dropdown-btn {
        padding: 14px 15px;
        min-width: auto;
        width: 130px;
        font-size: 0.9rem;
    }
    
    .search-input input {
        padding: 14px 15px;
        font-size: 0.9rem;
    }

    .search-btn {
        padding: 0 15px;
    }
    
    .frameworks {
        padding: 0 20px;
        margin-top: -30px;
    }
    
    .framework-card {
        flex: 1 1 100%;
        margin-bottom: 15px;
    }
    
    .latest-templates {
        padding: 50px 20px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .templates-grid {
        grid-template-columns: 1fr;
    }
    
    .free-templates {
        padding: 80px 20px;
    }
    
    .free-templates h2 {
        font-size: 2rem;
    }
    
    .free-templates h4 {
        font-size: 1.1rem;
    }
    
    .free-templates p {
        font-size: 0.9rem;
    }
    
    .free-templates button {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .blog {
        padding: 60px 0;
    }
    
    .blog .section-header h2 {
        font-size: 2rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .footer-section {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-card:first-child {
        grid-column: span 2;
    }
}

/* For smaller mobile devices */
@media screen and (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .frameworks .container {
        flex-direction: column;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .template-tabs ul {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 15px;
    }
    
    .free-templates h2 {
        font-size: 1.6rem;
    }
    
    .free-templates h4 {
        font-size: 1rem;
    }
    
    .free-templates p {
        font-size: 0.85rem;
        padding: 0 15px;
    }
    
    .blog .section-header h2 {
        font-size: 1.7rem;
    }
    
    .blog .section-header p {
        font-size: 0.9rem;
    }
    
    .blog-card h3 {
        font-size: 1rem;
    }
    
    .blog-author {
        flex-wrap: wrap;
    }
    
    .read-more {
        margin-top: 10px;
        width: 100%;
    }
    
    .footer-section {
        grid-template-columns: 1fr;
    }
    
    .footer-card:first-child {
        grid-column: span 1;
    }
}

/* About Page Styles */
.about-content {
    padding: 0 50px 80px;
}

.about-content .container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 25px var(--shadow-color);
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 25px;
}

.about-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-light);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-text {
    font-size: 1rem;
    color: var(--text-medium);
    font-weight: 500;
}

/* Add active nav state */
.menu ul li a.active {
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
}

.menu ul li a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

/* Responsive styles for About page */
@media screen and (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image {
        order: 1;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .about-text {
        order: 2;
    }
}

@media screen and (max-width: 768px) {
    .about-content {
        padding: 0 20px 60px;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
    
    .about-text p {
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media screen and (max-width: 480px) {
    .about-stats {
        flex-direction: column;
        gap: 25px;
    }
    
    .about-text h2 {
        font-size: 1.8rem;
    }
}
