
:root {
    --primary-red: #e6323a;
    --primary-white: #ffffff;
    --onyx-black: #121212;
    --primary-light-blue: #d8e5f4;
    --smoke-white: #f6f6f6;
    --secondary-black-2: #1e1e1e;
    --primary-black: #1a1a1a;
}

body {
    font-family: 'Sora', sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
}

.gradient-text {
    background: linear-gradient(96.97deg, #8FC3FF 7.84%, #A984FF 31.07%, #E6323A 58.17%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
}

.section-tag {
    font-family: "Sora", sans-serif;
    font-weight: 400;
    color: #9d9d9d;
    font-size: 14px;
    letter-spacing: 1.26px;
    line-height: normal;
    text-transform: uppercase;
}

/* Hero Section */
.hero {
    position: relative;
    height: 867px;
    background: url('https://s3.us-east-1.amazonaws.com/cdn.codeblu.io/website/arconnect/new_ui/rectangle-746.png') no-repeat center center;
    background-size: cover;
    /* padding-top: 72px; */
}

.hero-content-col {
    z-index: 2;
    padding-left: 80px;
}

.hero-content {
    max-width: 534px;
}

.hero-content p {
    font-family: "Sora", sans-serif;
    font-weight: 400;
    color: #ffffff;
    font-size: 24px;
    line-height: 39px;
    margin-bottom: 30px;
}

.hero-graphics-col {
    position: relative;
    height: 100%;
    z-index: 1;
}

.hero-stats {
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    border-radius: 20px;
    background: linear-gradient(0deg, rgba(228, 241, 255, 0) 0%, rgba(228, 241, 255, 1) 100%), 
                linear-gradient(180deg, rgba(245, 250, 255, 1) 0%, rgba(255, 255, 255, 1) 100%);
    height: 145px;
    width: 95%;
    display: flex;
    align-items: center;
}

.stat-number {
    font-family: "Sora", sans-serif;
    font-weight: 400;
    color: #1e1e1e;
    font-size: 44px;
    line-height: 54px;
}

.stat-label {
    font-family: "Sora", sans-serif;
    font-weight: 400;
    color: #1e1e1e;
    font-size: 16px;
    white-space: nowrap;
}

/* Hero Graphics */
.hero-graphics {
    position: relative;
    height: 100%;
}

.decorative-icons {
    position: absolute;
    top: 141px;
    left: 50%;
    transform: translateX(-50%);
    width: 503px;
    height: 289px;
}

.icon {
    width: 40px;
    height: auto;
    opacity: 0.8;
    transition: transform 0.3s ease;
}

.ellipse-bg {
    position: absolute;
    width: 636px;
    height: 636px;
    top: 108px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(50% 50% at 50% 50%, #5e5e5e 0%, #1a1a1a 100%);
}

.hero-image {
    position: absolute;
    width: 880px;
    height: 603px;
    top: 140px;
    left: 52%;
    transform: translateX(-50%);
    object-fit: cover;
    z-index: 1;
}

/* Responsive adjustments */
@media (max-width: 1199.98px) {
    .hero-content-col {
        padding-left: 40px;
    }
    
    .hero-image {
        width: 700px;
        height: 480px;
    }
    
    .ellipse-bg {
        width: 500px;
        height: 500px;
    }
}

@media (max-width: 991.98px) {
    .hero {
        height: auto;
        padding-bottom: 200px;
    }
    
    .hero-content-col {
        padding: 60px 20px;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .hero-graphics-col {
        height: 500px;
    }
    
    .hero-image {
        width: 100%;
        height: auto;
        max-width: 500px;
    }
    
    .ellipse-bg {
        width: 400px;
        height: 400px;
    }
    
    .hero-stats {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        width: 100%;
        margin-top: 30px;
    }
}

@media (max-width: 767.98px) {
    .hero {
        padding-bottom: 150px;
    }
    
    .hero-graphics-col {
        height: 400px;
    }
    
    .hero-image {
        max-width: 400px;
    }
    
    .ellipse-bg {
        width: 300px;
        height: 300px;
    }
    
    .decorative-icons {
        width: 300px;
        height: 200px;
    }
    
    .icon {
        width: 30px;
    }
}

@media (max-width: 575.98px) {
    .hero-content p {
        font-size: 18px;
        line-height: 28px;
    }
    
    .hero-stats {
        height: auto;
        padding: 20px 0;
    }
    
    .stat-number {
        font-size: 32px;
        line-height: 40px;
    }
    
    .stat-label {
        font-size: 14px;
    }
}

/* About Section */
.about-content p {
    font-family: "Sora", sans-serif;
    font-weight: 300;
    color: rgba(47, 47, 47, 0.95);
    font-size: 16px;
    line-height: 180%;
}

.play-circle {
    width: 95px;
    height: 95px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    border: 2px solid white;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Features Section */
.features-title h2 {
    font-family: "Sora", sans-serif;
    font-weight: 600;
    color: #252525;
    font-size: 32px;
    line-height: 1.3;
    margin-bottom: 20px;
}

.feature h3 {
    font-family: "Sora", sans-serif;
    font-weight: 400;
    color: #252525;
    font-size: 24px;
    line-height: 43.2px;
}

.feature p {
    font-family: "Sora", sans-serif;
    font-weight: 400;
    color: #252525;
    font-size: 16px;
    line-height: 180%;
}

/* Courses Section */
.courses-section {
    background-color: #272727;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.courses-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('https://s3.us-east-1.amazonaws.com/cdn.codeblu.io/website/arconnect/new_ui/mask-group-2.png') no-repeat center center;
    background-size: cover;
    opacity: 0.5;
}

.course-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    height: 129px;
}

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

/* Target the columns containing cards 5-8 */
  .course-grid .col-md-3:nth-child(n+5):nth-child(-n+8) .course-card {
    position: relative;
    left: 58%;
    margin-left: -10px;
    z-index: 1;
  }

  /* Target the columns containing cards 9+ */
  .course-grid .col-md-3:nth-child(n+9) .course-card {
    z-index: 0;
  }

/* Certification Section */
.certification-section {
    background-color: #191919;
}

.certification-content p {
    font-family: "Sora", sans-serif;
    font-weight: 400;
    color: #ffffff;
    font-size: 16px;
    line-height: 180%;
}

/* Cyber Journey Section */
.cyber-journey-section {
    background-color: #f6f6f6;
}

.cyber-journey-card {
    width: 244px;
    height: 220px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(245, 250, 255, 1) 100%);
    border-radius: 12px;
    border: 1px solid #d8e5f4;
    padding: 30px 23px;
    text-align: left;
}

.cyber-journey-card p {
    font-family: "Sora", sans-serif;
    font-weight: 300;
    color: #1e1e1e;
    font-size: 14px;
    line-height: 22px;
}

.profile-card {
    width: 245px;
    height: 355px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

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

.profile-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(180deg, rgba(196, 196, 196, 0) 10%, rgba(0, 0, 0, 0.68) 100%);
    color: white;
}

/* Testimonials Section */
.testimonial-card {
    width: 732px;
    height: 350px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(245, 250, 255, 1) 100%);
    border-radius: 12px;
    border: 1px solid #d8e5f4;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-card.active {
    border: 1px solid var(--primary-red);
    box-shadow: 0 10px 30px rgba(230, 50, 58, 0.1);
    z-index: 2;
}

.testimonial-card p {
    font-family: "Sora", sans-serif;
    font-weight: 300;
    color: #1e1e1e;
    font-size: 16px;
    line-height: 26px;
    text-align: center;
}

.testimonial-avatar {
    width: 112px;
    height: 112px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-red);
    margin: 0 auto 20px;
}

/* Global Presence Section */
.global-presence {
    background-color: #191919;
}

.industries-served {
    display: grid;
    /* grid-template-columns: repeat(3, 1fr); */
    gap: 40px;
    width: 625px;
    margin: 60px auto 0;
    position: relative;
}

.industries-served::before,
.industries-served::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: white;
}

.industries-served::before {
    left: 33%;
}

.industries-served::after {
    left: 66%;
}

.industry p {
    font-family: "Sora", sans-serif;
    font-weight: 400;
    color: #cdcdcd;
    font-size: 14px;
}

/* Gallery Section */
.gallery-section {
    background-color: #f6f6f6;
}

.gallery-item {
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Knowledge Center Card Fixes */
.knowledge-center {
    background-color: var(--smoke-white);
}

.knowledge-tabs .tab {
    background: none;
    border: none;
    padding: 10px 20px;
    font-family: "Sora", sans-serif;
    font-weight: 400;
    color: #9f9f9f;
    font-size: 18px;
    line-height: 28px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.knowledge-tabs .tab.active {
    background: linear-gradient(134deg, rgba(92, 156, 230, 1) 0%, rgba(169, 132, 255, 1) 40%, rgba(230, 50, 58, 1) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
}

.tabs-indicator {
    height: 2px;
    background: linear-gradient(96.97deg, #8FC3FF 7.84%, #A984FF 31.07%, #E6323A 58.17%);
    width: 100px;
    position: relative;
    transition: all 0.3s ease;
}

.knowledge-card {
    display: flex;
    flex-direction: column;
    height: 100%; /* Let the height be determined by content */
    min-height: 330px; /* Set minimum height */
}

.knowledge-card img {
    height: 174px;
    object-fit: cover;
}

.knowledge-card h3 {
    flex-grow: 1; /* Allow text to take available space */
    padding: 7px;
    margin: 0;
    font-size: 14px;
}

.knowledge-card a {
    display: inline-block;
    padding: 0 7px 20px;
    color: #000 !important; /* Black color */
    text-decoration: none !important; /* Remove underline */
    transition: color 0.3s ease;
}

.knowledge-card a:hover {
    color: var(--primary-red) !important; /* Change color on hover */
}

/* Responsive adjustments for Knowledge Center */
@media (max-width: 1199.98px) {
    .knowledge-card {
        min-height: 400px; /* Slightly taller on medium screens */
    }
}

@media (max-width: 991.98px) {
    .knowledge-card {
        min-height: auto; /* Let content determine height */
    }
    
    .knowledge-card img {
        height: 180px; /* Smaller image on tablets */
    }
}

@media (max-width: 767.98px) {
    .knowledge-grid {
        grid-template-columns: 1fr 1fr; /* 2 columns on mobile */
    }
    
    .knowledge-card img {
        height: 150px; /* Smaller image on mobile */
    }
}

@media (max-width: 575.98px) {
    .knowledge-grid {
        grid-template-columns: 1fr; /* Single column on small mobile */
    }
    
    .tabs-header {
        flex-wrap: wrap; /* Allow tabs to wrap on small screens */
        gap: 10px;
    }
    
    .tab {
        font-size: 16px; /* Smaller font for tabs */
    }
}

.tab {
    all: unset;
    font-family: "Sora", sans-serif;
    font-weight: 400;
    color: #9f9f9f;
    font-size: 18px;
    line-height: 28px;
    cursor: pointer;
}

.tab.active {
    background: linear-gradient(134deg, rgba(92, 156, 230, 1) 0%, rgba(169, 132, 255, 1) 40%, rgba(230, 50, 58, 1) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
}

/* Custom Button Styles */
.btn-custom {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    border: none;
    background: none;
    cursor: pointer;
}

.btn-custom span {
    position: relative;
    z-index: 1;
}

/* Scroll indicators */
.scroll-indicator {
    position: relative;
    width: 100px;
    height: 4px;
    background: rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    border-radius: 2px;
}

.scroll-indicator::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 33%;
    background: var(--primary-red);
    border-radius: 2px;
    /* animation: scrollHint 2s infinite ease-in-out; */
}

@keyframes scrollHint {
    0% { transform: translateX(0); }
    50% { transform: translateX(200%); }
    100% { transform: translateX(0); }
}

.scroll-text {
    font-family: "Sora", sans-serif;
    font-size: 12px;
    color: #7f7f7f;
    margin-top: 8px;
}

/* Responsive adjustments */
@media (max-width: 1199.98px) {
    .hero-content {
        left: 50px;
    }
    
    .hero-stats {
        left: 50px;
        gap: 30px;
    }
    
    .course-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 991.98px) {
    .hero {
        height: auto;
        padding-bottom: 400px;
    }
    
    .hero-content {
        position: static;
        padding: 60px 20px;
    }
    
    .hero-content p {
        width: 100%;
    }
    
    .hero-stats {
        position: static;
        width: 100%;
        height: auto;
        padding: 30px;
        margin-top: 30px;
    }
    
    .features-container {
        flex-direction: column;
    }
    
    .course-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .testimonial-card {
        width: 500px;
    }
    
    .industries-served {
        grid-template-columns: 1fr 1fr;
        width: 100%;
    }
    
    .industries-served::before,
    .industries-served::after {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .hero-content h1 img {
        width: 100%;
    }
    
    .course-grid {
        grid-template-columns: 1fr !important;
    }
    
    .testimonial-card {
        width: 300px;
        height: auto;
        padding: 20px;
    }
    
    .industries-served {
        grid-template-columns: 1fr;
    }
    
    .footer-columns {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 575.98px) {
    .main-nav {
        display: none;
    }
    
    .hero {
        padding-bottom: 300px;
    }
    
    .hero-content {
        padding: 40px 15px;
    }
    
    .hero-stats {
        padding: 20px;
    }
}