/* EnglishNow - Custom Styles (Based on Skill Capital Design) */

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

body {
    margin: 0;
    font-family: 'Poppins', ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    overflow-x: hidden;
    background: #fff;
}

.container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 576px) { .container { max-width: 576px; } }
@media (min-width: 720px) { .container { max-width: 720px; } }
@media (min-width: 960px) { .container { max-width: 960px; } }
@media (min-width: 1240px) { .container { max-width: 1240px; } }

/* Row and Column System */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.row.align-items-center {
    align-items: center;
}

.col-md-4,
.col-md-5,
.col-md-7,
.col-md-8 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 768px) {
    .col-md-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
    
    .col-md-5 {
        flex: 0 0 41.666667%;
        max-width: 41.666667%;
    }
    
    .col-md-7 {
        flex: 0 0 58.333333%;
        max-width: 58.333333%;
    }
    
    .col-md-8 {
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }
}

div, a, i, p, svg, button {
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===========================
   HEADER & NAVIGATION
=========================== */
.header {
    background: #fff;
    box-shadow: 0 15px 50px rgba(221, 221, 221, 0.62);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 10px 0;
}

.header.sticky {
    box-shadow: 0 15px 50px rgba(221, 221, 221, 0.8);
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    width: 260px;
    cursor: pointer;
    display: inline-block;
    margin: 10px 0;
}

.logo img {
    height: auto !important;
    max-width: 100%;
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    color: #e4244b;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 28px 0;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    color: #333;
    cursor: pointer;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #e4244b;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: -10px;
    width: 215px;
    background: #fafafa;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 8px 8px;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 99;
}

.nav-item:hover .dropdown-menu,
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown-menu ul li {
    padding: 8px 0;
}

.dropdown-menu ul li a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
    position: relative;
    left: 0;
}

.dropdown-menu ul li a:hover {
    color: #e4244b;
    padding-left: 5px;
}

.dropdown-menu ul li a i {
    color: #e4244b;
    font-size: 12px;
}

.btn-view-all {
    width: 100%;
    margin-top: 15px;
    padding: 10px;
    background: #e4244b;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-view-all:hover {
    background: #c01d3f;
    transform: translateY(-2px);
}

.search-box {
    position: relative;
    margin-right: 20px;
}

.tsearch {
    position: relative;
}

.tsearch input {
    min-width: 300px;
    padding: 10px 40px 10px 25px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(204, 204, 204, 0.49);
    font-size: 14px;
    outline: none;
}

.tsearch input:focus {
    border-color: #e4244b;
    box-shadow: 0 2px 8px rgba(228, 36, 75, 0.2);
}

.tsearch i {
    position: absolute;
    right: 20px;
    top: 15px;
    color: #ccc;
    cursor: pointer;
    width: 20px;
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-top: 5px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 100;
}

.auth-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.hbtns {
    display: flex;
    gap: 15px;
}

.btn-signup {
    padding: 10px 28px;
    background: #e4244b;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-signup:hover {
    background: #c01d3f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(228, 36, 75, 0.3);
}

.btn-login {
    padding: 10px 28px;
    background: #fff;
    color: #e4244b;
    border: 1px solid #e4244b;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: #e4244b;
    color: #fff;
    transform: translateY(-2px);
}

/* ===========================
   HERO SECTION
=========================== */
.hero-section {
    position: relative;
    padding: 150px 20px 80px;
    text-align: center;
    overflow: hidden;
}

.circlebg,
.circlebgvoilet,
.circlebgvoilet1 {
    position: absolute;
    width: 600px;
    height: 500px;
    border-radius: 50%;
    z-index: -1;
    opacity: 0.8;
}

.circlebg {
    top: 0;
    right: 0;
    background-color: #eff7ff;
    box-shadow: 0 0 200px #d9efff;
}

.circlebgvoilet {
    top: 10%;
    right: 40%;
    background-color: rgba(255, 41, 41, 0.059);
    box-shadow: 0 0 200px rgba(255, 41, 41, 0.141);
}

.circlebgvoilet1 {
    top: 10%;
    left: 10%;
    background-color: rgba(255, 41, 41, 0.059);
    box-shadow: 0 0 200px rgba(255, 41, 41, 0.141);
}

.hero-subtitle {
    font-size: 28px;
    font-weight: 500;
    color: #343433;
    margin-bottom: 20px;
}

.hero-title h1 {
    font-size: 80px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 30px;
}

.gradient-text {
    background: linear-gradient(135deg, #006dbd 0%, #ac008e 50%, #cd0064 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero-description {
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 18px;
    line-height: 1.6;
    color: #555;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 80px;
}

.btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 40px;
    background: #e4244b;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #c01d3f;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(228, 36, 75, 0.3);
}

.btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 40px;
    background: #fff;
    color: #e4244b;
    border: 2px solid #e4244b;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #e4244b;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(228, 36, 75, 0.2);
}

.stats-section {
    margin-top: 60px;
}

.stats-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
    letter-spacing: 0.5px;
}

.stats-subtitle {
    font-size: 16px;
    color: #666;
}

/* ===========================
   SERVICES SECTION (Digital Edify Style)
=========================== */
.service-page-wrapper {
    padding-top: 80px;
    min-height: 100vh;
    background: #f9f9f9;
}

.services-overview-section {
    padding: 80px 0;
    background: #f9f9f9;
}

.subtitle-text {
    font-size: 18px;
    color: #666;
    margin-bottom: 50px;
}

.service-detail-block {
    background: #fff;
    margin-bottom: 60px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
}

.service-detail-block.alternate-bg {
    background: linear-gradient(135deg, #fff5f8 0%, #ffffff 100%);
}

.service-banner {
    padding: 60px 40px;
}

.service-title {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.service-banner p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.service-banner p strong {
    color: #e4244b;
    font-weight: 600;
}

.tickmarklist {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.tickmarklist li {
    padding: 8px 0;
    font-size: 15px;
    color: #444;
    position: relative;
    padding-left: 30px;
}

.tickmarklist li:before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #049e96;
    font-size: 14px;
}

.service-image-box {
    width: 280px;
    height: 280px;
    margin: 0 auto;
    background: linear-gradient(135deg, #e4244b 0%, #c01d3f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(228, 36, 75, 0.3);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.service-icon-large {
    font-size: 120px;
    color: #fff;
}

.why-choose-section {
    padding: 60px 40px;
    background: #fafafa;
}

.section-subtitle {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.why-choose-section > p {
    font-size: 16px;
    color: #666;
    margin-bottom: 50px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.benefit-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.benefit-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e4244b, #c01d3f);
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(228, 36, 75, 0.3);
}

.benefit-content {
    flex: 1;
}

.benefit-content h5 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.benefit-content p {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

.services-cta-section {
    background: linear-gradient(135deg, #e4244b 0%, #c01d3f 100%);
    padding: 60px 50px;
    border-radius: 15px;
    margin-top: 40px;
    color: #fff;
    box-shadow: 0 10px 40px rgba(228, 36, 75, 0.3);
}

.services-cta-section h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.services-cta-section p {
    font-size: 18px;
    margin: 0;
    opacity: 0.95;
}

.btn-primary-large {
    padding: 18px 35px;
    background: #fff;
    color: #e4244b;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 10px 5px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.btn-primary-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.btn-secondary-large {
    padding: 18px 35px;
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 10px 5px;
}

.btn-secondary-large:hover {
    background: #fff;
    color: #e4244b;
    transform: translateY(-3px);
}

.service-cta-section {
    background: linear-gradient(135deg, #e4244b 0%, #c01d3f 100%);
    padding: 60px 50px;
    border-radius: 15px;
    margin: 40px 0;
    color: #fff;
    box-shadow: 0 10px 40px rgba(228, 36, 75, 0.3);
}

.service-cta-section h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.service-cta-section p {
    font-size: 18px;
    margin: 0;
    opacity: 0.95;
}

/* Test Scores Section */
.test-scores-section {
    padding: 60px 0;
    background: #fff;
}

.test-scores-section h3 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 40px;
}

.mb-20 {
    margin-bottom: 20px;
}

.scores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.score-card {
    background: linear-gradient(135deg, #fff 0%, #f9f9f9 100%);
    padding: 40px 20px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid #e4244b;
    transition: all 0.3s ease;
}

.score-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(228, 36, 75, 0.2);
}

.score-card i {
    font-size: 48px;
    color: #e4244b;
    margin-bottom: 15px;
}

.score-card h4 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.score-card p {
    font-size: 18px;
    color: #666;
    margin: 0;
    font-weight: 500;
}

/* ===========================
   STATS/COMPANIES SECTION
=========================== */
.companies-section {
    padding: 60px 0;
    background: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-card {
    padding: 30px 20px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(228, 36, 75, 0.15);
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #e4244b;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: #666;
    font-weight: 500;
}

/* ===========================
   TRENDING/CATEGORY SECTION
=========================== */
.trendingcol {
    background-color: #f5f5f5;
    padding: 80px 20px;
}

.titleone {
    margin: 0 0 15px;
    text-align: center;
    font-size: 40px;
    font-weight: 600;
    color: #333;
}

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

.mb-10 {
    margin-bottom: 40px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.category-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(228, 36, 75, 0.15);
}

.category-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #e4244b, #c01d3f);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #fff;
}

.category-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.category-card p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

.category-meta {
    display: flex;
    justify-content: space-around;
    gap: 15px;
    font-size: 12px;
    color: #888;
}

.category-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.category-meta i {
    color: #e4244b;
}

/* ===========================
   COURSE CARDS SECTION
=========================== */
.courselistcards {
    padding: 80px 0;
}

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

.courseCard {
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(221, 221, 221, 0.8);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
    cursor: pointer;
}

.courseCard:hover {
    transform: scale(1.04);
    box-shadow: 0 10px 40px rgba(228, 36, 75, 0.2);
}

.cardimg {
    position: relative;
    overflow: hidden;
}

.videobox {
    position: relative;
}

.videobox::after {
    content: "";
    position: absolute;
    left: 0;
    width: 70%;
    top: 0;
    bottom: 0;
    border-radius: 20px 0 0 0;
    background: linear-gradient(90deg, rgba(24, 25, 25, 0.9), rgba(150, 0, 178, 0));
}

.cardimg img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.courseCard:hover .cardimg img {
    transform: scale(1.1);
}

.videotitle {
    text-align: left;
    color: #fff;
    z-index: 6;
    font-size: 32px;
    font-weight: 600;
    position: absolute;
    top: 20px;
    right: 30px;
    left: 25px;
    line-height: 40px;
}

.videotitle span {
    font-size: 16px;
    font-weight: 400;
    display: block;
    opacity: 0.9;
    margin-bottom: 5px;
}

.cardcnt {
    padding: 30px;
}

.cardcnt h5 {
    font-size: 14px;
    color: #e4244b;
    padding: 0 0 10px;
    text-transform: uppercase;
    font-weight: 600;
}

.cardcnt h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 20px;
    color: #333;
    line-height: 1.4;
}

.enrollrating {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.enrollrating div {
    display: flex;
    gap: 8px;
    font-size: 13px;
    align-items: center;
    color: #666;
}

.enrollrating div:first-child span {
    font-size: 16px;
    font-weight: 600;
    color: #049e96;
}

.enrollrating div:first-child i {
    color: #049e96;
}

.enrollrating div:nth-child(2) i {
    color: #ffd900;
}

.enrollrating div:nth-child(2) span {
    font-weight: 600;
    color: #333;
}

.cduration {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 0;
    font-size: 13px;
    color: #666;
}

.cduration i {
    color: #e4244b;
}

.cduration span {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.cardlist {
    list-style: none;
    padding: 15px 0;
    margin: 0;
}

.cardlist li {
    padding: 8px 0;
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.cardlist li i {
    color: #049e96;
    margin-top: 3px;
    flex-shrink: 0;
}

.price {
    padding: 20px 0 0;
    font-weight: 600;
    font-size: 22px;
    color: #e4244b;
}

.price span {
    padding-left: 10px;
    color: #999;
    font-size: 16px;
    text-decoration: line-through;
}

.vcourse {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 0;
    border: none;
    border-top: 1px solid #eee;
    font-weight: 600;
    width: 100%;
    margin-top: 20px;
    background: transparent;
    color: #e4244b;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.vcourse:hover {
    color: #c01d3f;
    gap: 15px;
}

/* ===========================
   FEATURES SECTION
=========================== */
.featruesrow {
    padding: 80px 50px;
}

.featuresbox {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 60px;
    margin-bottom: 80px;
}

.featuresbox:last-child {
    margin-bottom: 0;
}

.featuresbox:nth-of-type(even) .featurescnt {
    order: 2;
}

.featuresbox:nth-of-type(even) .featureimg {
    order: 1;
}

.featurescnt {
    width: 48%;
}

.featureimg {
    width: 50%;
}

.featureimg img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.featuresbox h4 {
    font-size: 28px;
    margin: 0 0 30px;
    font-weight: 600;
    color: #333;
}

.featuresbox ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.featuresbox ul li {
    padding: 0 0 25px;
    position: relative;
    display: flex;
    gap: 20px;
    font-weight: 400;
    align-items: flex-start;
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

.featuresbox ul li img {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

/* ===========================
   START & GROW SECTION
=========================== */
.startgrow {
    background-color: #f5f5f5;
    padding: 80px 0;
}

.growcol {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.textmid {
    margin: 0 0 15px;
    font-size: 36px;
    font-weight: 600;
    color: #333;
}

.textbtm {
    margin: 0;
    font-weight: 400;
    font-size: 18px;
    color: #666;
}

/* ===========================
   TESTIMONIALS SECTION
=========================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.testimonial-card {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(228, 36, 75, 0.15);
}

.testimonial-rating {
    margin-bottom: 20px;
    color: #ffd900;
    font-size: 18px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.testimonial-author h4 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.testimonial-author p {
    font-size: 14px;
    color: #888;
}

/* ===========================
   CONTACT SECTION
=========================== */
.contact-section {
    padding: 80px 0;
    background: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    margin-top: 40px;
}

.contact-form-container {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e4244b;
    box-shadow: 0 0 0 3px rgba(228, 36, 75, 0.1);
}

.btn-full {
    width: 100%;
}

.contact-info-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-info-card {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.contact-info-card i {
    font-size: 36px;
    color: #e4244b;
    margin-bottom: 15px;
}

.contact-info-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.contact-info-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.contact-info-card a {
    color: #e4244b;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* ===========================
   FOOTER
=========================== */
.footer {
    padding: 60px 0 0;
    background-color: #fff;
    border-top: 1px solid #eee;
}

.ftrmcol,
.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-col p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

.ftrtitle {
    margin: 0 0 20px;
    font-weight: 600;
    font-size: 18px;
    color: #333;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    padding: 0 0 12px;
}

.footer-col ul li a {
    display: flex;
    gap: 10px;
    align-items: center;
    color: #e4244b;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    padding-left: 5px;
    color: #c01d3f;
}

.footer-col ul li a i {
    color: #e4244b !important;
    font-size: 12px;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 50%;
    color: #e4244b;
    font-size: 18px;
    transition: all 0.3s ease;
}

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

.ftrbtm {
    text-align: center;
    padding: 20px 0;
    background-color: #fafafa;
    border-top: 1px solid #eee;
    margin: 40px 0 0;
    font-size: 14px;
    color: #666;
}

.ftrbtm a {
    color: #e4244b !important;
    text-decoration: none;
}

.ftrbtm a:hover {
    text-decoration: underline;
}

/* ===========================
   SCROLL TO TOP BUTTON
=========================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #e4244b;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: #c01d3f;
    transform: translateY(-5px);
}

/* ===========================
   MODAL
=========================== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: #fff;
    margin: auto;
    padding: 0;
    border-radius: 15px;
    max-width: 600px;
    width: 90%;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

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

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    z-index: 10;
}

.modal-close:hover {
    color: #000;
}

.modalpop {
    border-radius: 15px;
    padding: 40px;
}

/* ===========================
   RESPONSIVE STYLES
=========================== */
@media (max-width: 1024px) {
    .featuresbox {
        gap: 40px;
    }
    
    .hero-title h1 {
        font-size: 60px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .service-page-wrapper {
        padding-top: 70px;
    }
    
    .service-banner {
        padding: 40px 20px;
    }
    
    .service-title {
        font-size: 28px;
    }
    
    .service-image-box {
        width: 200px;
        height: 200px;
        margin-top: 30px;
    }
    
    .service-icon-large {
        font-size: 80px;
    }
    
    .why-choose-section {
        padding: 40px 20px;
    }
    
    .section-subtitle {
        font-size: 24px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .services-cta-section,
    .service-cta-section {
        padding: 40px 25px;
        text-align: center;
    }
    
    .services-cta-section h3,
    .service-cta-section h3 {
        font-size: 24px;
    }
    
    .services-cta-section p,
    .service-cta-section p {
        font-size: 16px;
    }
    
    .btn-primary-large,
    .btn-secondary-large {
        width: 100%;
        justify-content: center;
        margin: 10px 0;
    }
    
    .test-scores-section h3 {
        font-size: 24px;
    }
    
    .scores-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fafafa;
        flex-direction: column;
        padding: 20px;
        gap: 0;
        display: none;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-item {
        width: 100%;
        border-bottom: 1px solid #eee;
    }
    
    .nav-link {
        padding: 15px 0;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        margin-top: 10px;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    
    .tsearch {
        width: 100%;
        margin: 20px 0;
    }
    
    .tsearch input {
        min-width: 100%;
    }
    
    .auth-buttons {
        width: 100%;
        justify-content: center;
        margin-top: 20px;
    }
    
    .hero-title h1 {
        font-size: 40px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .titleone {
        font-size: 30px;
    }
    
    .category-grid,
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .featuresbox {
        flex-direction: column;
        gap: 30px;
    }
    
    .featurescnt,
    .featureimg {
        width: 100%;
    }
    
    .featruesrow {
        padding: 60px 20px;
    }
    
    .growcol {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .textmid {
        font-size: 28px;
    }
    
    .textbtm {
        font-size: 16px;
    }
    
    .ftrmcol {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .footer-col {
        width: 100%;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .circlebg,
    .circlebgvoilet,
    .circlebgvoilet1 {
        width: 300px;
        height: 250px;
    }
}

@media (max-width: 480px) {
    .hero-title h1 {
        font-size: 32px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .logo {
        width: 200px;
    }
    
    .videotitle {
        font-size: 24px;
        line-height: 30px;
    }
    
    .videotitle span {
        font-size: 14px;
    }
}
