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

body {
    font-family: 'Poppins', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

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

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

button {
    cursor: pointer;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #1c2d41;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #ff5421;
}

/* Header Styles */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0px 0;
}

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

.logo img {
    height: 75px;
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav li {
    position: relative;
}

.main-nav a {
    color: #1c2d41;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: #ff5421;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-width: 220px;
    border-radius: 5px;
    padding: 20px;
    display: none;
    z-index: 10;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-section h3 {
    font-size: 18px;
    color: #1c2d41;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.dropdown-section ul li {
    margin-bottom: 12px;
}

.dropdown-section ul li a {
    font-size: 14px;
    font-weight: normal;
}

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

.login-btn, .signup-btn {
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s;
}

.login-btn {
    border: 1px solid #ff5421;
    color: #ff5421;
}

.signup-btn {
    background-color: #ff5421;
    color: #fff;
}

.login-btn:hover {
    background-color: rgba(255, 84, 33, 0.1);
}

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

/* Hero Section */
.hero {
    background-color: #f9f9f9;
    background-image: linear-gradient(135deg, #ffdcd1 0%, #eaf2ff 100%);
    padding: 80px 0;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 42px;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #1c2d41;
}

.hero-text p {
    font-size: 18px;
    color: #555;
    margin-bottom: 30px;
}

 /* Category cards styling */
 .category-cards {
    margin-top: 30px;
}

.cardrow {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.card {
    background: linear-gradient(135deg, #ff5421 0%, #e63900 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 250px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 215, 0, 0.2);
}

.card-text {
    font-size: 1.2rem;
    font-weight: 600;
    z-index: 1;
    transition: transform 0.3s ease;
}

.icon {
    z-index: 1;
    color: #fff;
    transition: all 0.3s ease;
}

/* Hover animation effects */
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 215, 0, 0.6);
    background: linear-gradient(135deg, #e63900 0%, #ff5421 100%);
}

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

.card:hover .icon {
    transform: rotate(15deg) scale(1.1);
}

.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,215,0,0.1) 0%, rgba(255,215,0,0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover::after {
    opacity: 1;
}
/* Form styling */
.hero-form {
    flex: 1;
    max-width: 450px;
}

.form-container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 25px;
}

.form-container h3 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
    font-size: 1.5rem;
}

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

.textinput, .selectinput {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.textinput:focus, .selectinput:focus {
    border-color: #E4C34E;
    outline: none;
}

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

.security-message {
    background-color: #E4C34E;
    text-align: center;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.security-message span {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.submit-btn {
    width: 100%;
    background-color: #ff5421;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #ff5421;
}

/* Programs Section Styles */
.programs {
    padding: 80px 0;
}



.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #1c2d41;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #ff5421;
}

/* Tab Functionality Styles */
.program-tabs {
    position: relative;
}

.tab-input {
    display: none; /* Hide the radio buttons */
}

.program-categories {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.category {
    padding: 10px 20px;
    background-color: #f5f5f5;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    display: inline-block;
}

.category:hover {
    background-color: rgba(255, 84, 33, 0.1);
    color: #ff5421;
}

/* Make the label appear active when corresponding radio is checked */
#tab-all:checked ~ .program-categories label[for="tab-all"],
#tab-datascience:checked ~ .program-categories label[for="tab-datascience"],
#tab-finance:checked ~ .program-categories label[for="tab-finance"],
#tab-management:checked ~ .program-categories label[for="tab-management"],
#tab-technology:checked ~ .program-categories label[for="tab-technology"] {
    background-color: #ff5421;
    color: white;
}

/* Hide all tab content by default */
.tab-content {
    display: none;
}

/* Show the content when corresponding radio is checked */
#tab-all:checked ~ .program-content #content-all,
#tab-datascience:checked ~ .program-content #content-datascience,
#tab-finance:checked ~ .program-content #content-finance,
#tab-management:checked ~ .program-content #content-management,
#tab-technology:checked ~ .program-content #content-technology {
    display: block;
}

/* Program Cards Styles */
.program-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.program-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.program-card:hover {
    transform: translateY(-10px);
}

.program-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.program-details {
    padding: 25px;
}

.program-tag {
    display: inline-block;
    background-color: #f0f7ff;
    color: #2c7be5;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    margin-bottom: 15px;
}

.program-details h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #1c2d41;
    line-height: 1.4;
}

.program-info {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    color: #666;
    font-size: 14px;
}

.program-info span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.program-details p {
    color: #555;
    margin-bottom: 20px;
    font-size: 15px;
}

.program-btn {
    display: inline-block;
    background-color: #ff5421;
    font-weight: 500;
    color:#fff;
    padding: 10px 12px;
    border-radius: 8px;
    transition: all 0.3s;
}

.program-btn:hover {
    color: #fff;
    border-color: #e63900;
}

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

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ff5421;
    font-weight: 500;
    transition: all 0.3s;
}

.view-all-btn:hover {
    color: #e63900;
}


/* Features Section */
.features {
    background-color: #fff5f1;
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

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

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    background-color: rgba(255, 84, 33, 0.1);
    color: #ff5421;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 20px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #1c2d41;
}

.feature-card p {
    color: #555;
    font-size: 15px;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: #fffdf7;
}

.testimonial-slider {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.testimonial-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    max-width: 500px;
}

.testimonial-content {
    color: #555;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
    position: relative;
}

.testimonial-content::before {
    content: '"';
    font-size: 80px;
    color: rgba(255, 84, 33, 0.1);
    position: absolute;
    top: -20px;
    left: -10px;
    font-family: serif;
}

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

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

.author-info h4 {
    font-size: 18px;
    color: #1c2d41;
}

.author-info p {
    font-size: 14px;
    color: #666;
}

/* Partners Section */
.partners {
    padding: 60px 0;
    background-color: #fff5f1; 
}

.partner-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
    align-items: center;
   
}

.partner-logos img {
    filter: grayscale(100%);
    opacity: 0.8;
    transition: all 0.3s;
    max-width: 130px;
    
}

.partner-logos img:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* Triangle Info */
.triangle-info{
    background-color: #fff5f1;
    padding: 60px;
}
.edu-container {
    display: flex;
    
    max-width: 1200px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
    gap: 40px;
  }
  
  .edu-gradient-heading {
    text-align: center;
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 50px;
    background: linear-gradient(90deg, #b94e4e 0%, #d78d66 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 20px 0;
  }
  
  .edu-visual-column {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .edu-triangle-diagram {
    max-width: 100%;
    height: auto;
  }
  
  .edu-feature-column {
    flex: 1;
    background-color: #fffdf7;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  .edu-benefit-list {
    list-style-type: none;
    padding: 0;
  }
  
  .edu-benefit-item {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
  }
  
  .edu-gold-star {
    color: #d8a95d;
    margin-right: 15px;
    font-size: 24px;
  }
  
  .edu-benefit-description {
    font-size: 18px;
    color: #555;
  }

/* CTA Section */
.cta {
    background-color: #1c2d41;
    color: white;
    padding: 80px 0;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.cta-btn {
    display: inline-block;
    background-color: #ff5421;
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 18px;
    transition: all 0.3s;
}

.cta-btn:hover {
    background-color: #e63900;
    transform: translateY(-3px);
}

/* Footer */
footer {
    background-color: #172333;
    color: rgba(255, 255, 255, 0.8);
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

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

.footer-col p {
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.7;
}

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

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s;
}

.social-icons a:hover {
    background-color: #ff5421;
}

.footer-col h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 18px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #ff5421;
}

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

.footer-col ul li a {
    font-size: 14px;
    transition: all 0.3s;
}

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

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

/* Company Logos */

.companylogos-section {
    max-width: 100%;
    padding: 40px 20px 20px;
    overflow: hidden;
  }
  
  
  /* Logo slider container */
  .companylogos-slider {
    width: 80%;
    margin: auto;
    position: relative;
    overflow: hidden;
    margin-bottom: 50px;
  }
  
  /* Logo track - the sliding component */
  .companylogos-track {
    display: flex;
    animation-duration: 30s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    width: max-content; /* Allow it to expand as needed */
  }
  
  /* Animation for first row - left to right */
  .companylogos-track.left-to-right {
    animation-name: slideLeftToRight;
  }
  
  /* Animation for second row - right to left */
  .companylogos-track.right-to-left {
    animation-name: slideRightToLeft;
  }
  
  /* Individual logo item */
  .companylogos-item {
    flex-shrink: 0;
    width: 200px;
    height: 80px;
    margin: 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Logo image */
  .companylogos-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }

   /* Animation keyframes */
   @keyframes slideLeftToRight {
    0% {
      transform: translateX(-100%);
    }
    100% {
      transform: translateX(0%);
    }
  }
  
  @keyframes slideRightToLeft {
    0% {
      transform: translateX(0%);
    }
    100% {
      transform: translateX(-100%);
    }
  }

/* Responsive adjustments */
@media (max-width: 1100px) {
    .card {
        min-width: 170px;
        padding: 15px 25px;
    }
    
    .card-text {
        font-size: 1.1rem;
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
    }
    .hero-text, .hero-form {
        max-width: 100%;
    }
    .rowcard {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .main-nav {
        display: none;
    }
    
    .header-content {
        justify-content: space-between;
    }
    
    .testimonial-slider {
        flex-direction: column;
        align-items: center;
    }
    .program-categories {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .program-cards {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-text h1 {
        font-size: 32px;
    }
    .program-cards {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 28px;
    }
    .edu-container {
        flex-direction: column;
        padding: 20px;
      }
      
      .edu-gradient-heading {
        font-size: 32px;
        margin-bottom: 20px;
      }
      
      .edu-visual-column {
        margin-bottom: 20px;
      }
      
      .edu-triangle-diagram {
        max-width: 90%;
      }
      
      .edu-feature-column {
        padding: 20px;
      }
      
      .edu-benefit-item {
        margin-bottom: 14px;
      }
      
      .edu-gold-star {
        font-size: 20px;
      }
      
      .edu-benefit-description {
        font-size: 15px;
      }
      .triangle-info{
       
        padding: 20px;
    }
    .companylogos-heading {
        font-size: 36px;
        margin-bottom: 40px;
      }
      
      .companylogos-item {
        width: 150px;
        height: 60px;
        margin: 0 20px;
      }
    
}

@media (max-width: 576px) {

    .logo img {
        height: 45px;
    }

    .signup-btn{
        font-size: 14px;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .category {
        font-size: 14px;
        padding: 8px 15px;
    }
    
    .program-categories {
        gap: 10px;
    }
    
    .section-title {
        font-size: 28px;
    }

    .rowcard {
        flex-direction: column;
        align-items: center;
    }
    
    .card {
        width: 100%;
        max-width: 200px;
    }
    .card-text {
        font-size: 1rem;
    
    }
    .edu-container {
        padding: 15px;
        gap: 20px;
      }
      
      .edu-gradient-heading {
        font-size: 28px;
        padding: 15px 5px;
      }
      
      .edu-feature-column {
        padding: 15px;
      }
      
      .edu-gold-star {
        font-size: 18px;
        margin-right: 10px;
      }
      
      .edu-benefit-description {
        font-size: 14px;
      }
      .companylogos-heading {
        font-size: 28px;
        margin-bottom: 30px;
      }
      
      .companylogos-item {
        width: 120px;
        height: 50px;
        margin: 0 15px;
      }
}
