/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
}

/* Header and Navigation */
.top-banner {
    background-color: #000000;
    color: white;
    text-align: center;
    padding: 8px 16px;
    font-size: 14px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    display: flex;
    align-items: center;
}

.logo-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #e65100;
    margin-right: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 18px;
}

.nav-menu {
    display: flex;
    gap: 25px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    position: relative;
}

.nav-menu a:hover {
    color: #000000;
}

.nav-menu a::after {
    
    font-size: 10px;
    margin-left: 5px;
    vertical-align: middle;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-icon {
    font-size: 20px;
    cursor: pointer;
}

.btn {
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
}

.btn-outline {
    border: 1px solid #000000;
    color: #000000;
    background: none;
}

.btn-primary {
    background-color: #000000;
    color: white;
    border: none;
}

/* Market Ticker */
.market-ticker {
    display: flex;
    padding: 12px 20px;
    background-color: #f9f9f9;
    overflow-x: auto;
    white-space: nowrap;
    border-bottom: 1px solid #e0e0e0;
}

.ticker-item {
    display: flex;
    align-items: center;
    margin-right: 30px;
    font-size: 14px;
}

.ticker-up {
    color: #4caf50;
    margin-right: 5px;
}

.ticker-value {
    font-weight: 500;
    margin-right: 5px;
}

.ticker-change {
    color: #4caf50;
}

/* Hero Section */
.hero-section {
    display: flex;
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-image {
    flex: 1;
    max-width: 40%;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.main-title {
    font-size: 42px;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
    margin-bottom: 20px;
}

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

.time-tag {
    font-size: 14px;
    color: #777;
    margin-top: 15px;
    display: block;
}

.cta-button {
    display: inline-block;
    background-color: #000000;
    color: white;
    padding: 14px 24px;
    border-radius: 4px;
    font-weight: 500;
    margin-top: 20px;
    text-decoration: none;
    font-size: 16px;
}

.cta-button:hover {
    background-color: #0a3d8f;
}

/* Stats Section */
.stats-container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background-color: #f5f5f5;
    border-radius: 4px;
}

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

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: #000000;
}

.stat-label {
    font-size: 16px;
    color: #555;
}

/* Colleges Section */
.colleges-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #333;
    text-align: center;
}

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

.college-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
    padding: 20px;
}

.college-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.college-content {
    display: flex;
    gap: 20px;
}

.college-image {
    width: 150px;
    display: inline-block;
}

.college-image img {
    width: 100%;
    height: auto;
    border-radius: 6px;
}

.college-info {
    flex: 1;
}

.college-header {
    margin-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
}

.college-name {
    font-size: 20px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 5px;
}

.accreditation {
    display: inline-block;
    background-color: #e3f2fd;
    color: #000000;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.college-highlights, .college-courses, .college-fee {
    margin-bottom: 15px;
}

.college-highlights h4, .college-courses h4, .college-fee h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #444;
}

.college-highlights ul {
    list-style-type: none;
    padding-left: 0;
}

.college-highlights li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 5px;
    font-size: 14px;
    color: #555;
}

.college-highlights li:before {
    content: "•";
    color: #000000;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.course-bubbles {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.course-bubble {
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 12px;
    color: #555;
    display: inline-block;
}

.college-fee p {
    font-size: 16px;
    font-weight: 600;
    color: #e65100;
}

.college-buttons {
    display: flex;
    flex:1;
    margin-top: 20px;
    gap: 15px;
}

.enquire-button {
    display: block;
    width: 100%;
    background-color: #800000;
    color: white;
    text-align: center;
    padding: 12px;
    border-radius: 4px;
    font-weight: 500;
    text-decoration: none;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}

.enquire-button:hover {
        background-color: #f72d2d;
}


.brochure-button {
    display: block;
    width: 100%;
    background-color: #000000;
    color: white;
    text-align: center;
    padding: 12px;
    border-radius: 4px;
    font-weight: 500;
    text-decoration: none;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}

.brochure-button:hover {
    background-color: grey;

}

/* Responsive Design */
@media (max-width: 1024px) {
    .colleges-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    
    .hero-section {
        padding: 30px 15px;
    }
    
    .main-title {
        font-size: 36px;
    }
    
    .hero-text {
        font-size: 16px;
    }
    
    .stats-container {
        flex-wrap: wrap;
    }
    
    .stat-item {
        flex: 1 0 50%;
        margin-bottom: 20px;
    }
}

@media (max-width: 850px) {
    .college-content {
        flex-direction: column;
    }
    
    .college-image {
        width: 100%;
        margin-bottom: 15px;
    }
    
    .college-image img {
        max-width: 150px;
        margin: 0 auto;
        display: block;
    }
}

@media (max-width: 768px) {
    .compare{
        display: none;
    }
    .nav-menu {
        display: none;
    }
    
    .hero-section {
        flex-direction: column;
    }
    
    .hero-image {
        max-width: 100%;
        order: -1;
        margin-bottom: 20px;
    }
    
    .main-title {
        font-size: 30px;
    }
    
    .colleges-grid {
        grid-template-columns: 1fr;
    }

    .college-buttons {
        flex-direction: column;
        gap:5px
    }
    
    .stats-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .stat-item {
        margin-bottom: 0;
    }
    
    .course-bubbles {
        gap: 6px;
    }
    
    .course-bubble {
        font-size: 11px;
        padding: 4px 10px;
    }
}

@media (max-width: 480px) {
    .nav-right .btn-outline {
        display: none;
    }
    
    .nav-container {
        padding: 10px 15px;
    }
    
    .logo {
        font-size: 20px;
    }
    
    .logo-circle {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
    
    .main-title {
        font-size: 24px;
    }
    
    .hero-text {
        font-size: 14px;
    }
    
    .cta-button {
        width: 100%;
        text-align: center;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .college-card {
        padding: 15px;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .market-ticker {
        padding: 10px;
    }
    
    .ticker-item {
        margin-right: 20px;
        font-size: 12px;
    }
    
    .college-content {
        flex-direction: column;
    }
    
    .college-image {
        width: 100%;
        margin-bottom: 15px;
    }
    
    .college-image img {
        max-width: 180px;
        margin: 0 auto;
        display: block;
    }
    
    .college-header {
        text-align: center;
    }
    
    .course-bubbles {
        justify-content: center;
    }
    
    .college-fee {
        text-align: center;
    }
    
    .college-name {
        font-size: 18px;
    }
}


 /* College Rankings Section */
 .rankings-section {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.section-title {
    font-size: 1.75rem;
    color: #333;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 600;
}

.rankings-container {
    display: grid;
    grid-template-columns:  repeat(2, 1fr);
    gap: 1.5rem;
}

.ranking-card {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.ranking-header {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.rank-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    background-color: #FFD700;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 1rem;
}

.silver {
    background-color: #C0C0C0;
}

.bronze {
    background-color: #CD7F32;
}

.standard {
    background-color: #eaeaea;
    color: #555;
}

.college-name {
    font-size: 1.25rem;
    font-weight: 600;
}

.ranking-body {
    padding: 1rem;
}

.ranking-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

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

.info-label {
    font-size: 0.8rem;
    color: #777;
}

.info-value {
    font-size: 1rem;
    font-weight: 500;
}

.college-description {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #555;
}

.ranking-footer {
    padding: 1rem;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accreditation {
    font-size: 0.8rem;
    color: #777;
}

.view-more {
    background-color: #333;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.view-more:hover {
    background-color: #555;
}

/* Benefits Icons Section */
.benefits-section {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 1rem;
}

.benefits-container {
    display: grid;
    grid-template-columns:  repeat(3, 1fr);
    gap: 1.5rem;
}

.benefit-card {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.icon-container {
    width: 70px;
    height: 70px;
    background-color: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.icon-container svg {
    width: 35px;
    height: 35px;
    color: #333;
}

.benefit-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.benefit-description {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
}

/* Media Queries */
@media (max-width: 768px) {
    .ranking-info {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ranking-footer {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    .rankings-container {
        grid-template-columns:  repeat(1, 1fr);
    }
    
    .benefits-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        margin-bottom: 20px;
    }
    .hero-image{
        margin: auto;
    }
}

@media (max-width: 480px) {
    .ranking-info {
        grid-template-columns: 1fr;
    }
}