:root {
    --primary-color: #006400;
    --secondary-color: #f8f9fa;
    --text-color: #333;
    --transition: all 0.3s ease;
}

/* Hero Section with Choices */
.hero-section-choices {
    min-height: 90vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 4rem 1rem;
}

.hero-section-choices .hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-section-choices .hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.3);
}

.hero-section-choices .container {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero-section-choices h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section-choices .hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

/* Timeline */
.timeline {
    max-width: 800px;
    margin: 3rem auto;
    position: relative;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

.timeline-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.timeline-list {
    list-style: none;
    margin-top: 1rem;
}

.timeline-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.timeline-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Requirements Section */
.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.requirement-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.requirement-card ul {
    list-style: none;
    margin-top: 1.5rem;
}

.requirement-card li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.requirement-card i {
    color: var(--primary-color);
}

/* Admission Buttons */
.admission-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.admission-btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.apply-now {
    background-color: white;
    color: var(--primary-color);
    border: none;
}

.learn-more {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.admission-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.apply-now:hover {
    background-color: #f8f9fa;
}

.learn-more:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-section-choices {
        padding: 3rem 1rem;
    }

    .hero-section-choices h1 {
        font-size: 3rem;
    }

    .hero-section-choices .hero-subtitle {
        font-size: 1.2rem;
        max-width: 600px;
    }

    .choice-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 1rem;
    }

    .admission-content {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 1rem;
    }
}

@media (max-width: 768px) {
    .hero-section-choices {
        min-height: 80vh;
        padding: 2.5rem 1rem;
    }

    .hero-section-choices h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .hero-section-choices .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
    }

    .hero-section-choices .container {
        padding: 0 0.5rem;
    }

    .choice-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 2rem auto;
    }

    .choice-card {
        padding: 1.5rem;
    }

    .choice-card i {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }

    .choice-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.6rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .section-description {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .admission-requirements, 
    .admission-process {
        padding: 20px;
    }

    .admission-requirements h3, 
    .admission-process h3 {
        font-size: 1.2rem;
    }

    .requirements-list li {
        font-size: 0.95rem;
        padding: 8px 0 8px 20px;
    }

    .process-step {
        gap: 10px;
    }

    .step-number {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }

    .step-content h4 {
        font-size: 1.1rem;
    }

    .step-content p {
        font-size: 0.95rem;
    }

    .timeline-item {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .timeline-number {
        margin: 0 auto;
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .timeline-list li {
        font-size: 0.95rem;
        text-align: left;
    }

    .admission-buttons {
        gap: 0.8rem;
        margin-top: 1.5rem;
    }

    .admission-btn {
        padding: 0.8rem 1.6rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-section-choices {
        min-height: 70vh;
        padding: 2rem 0.5rem;
    }

    .hero-section-choices h1 {
        font-size: 2rem;
        margin-bottom: 0.8rem;
        padding: 0 0.5rem;
    }

    .hero-section-choices .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.2rem;
        padding: 0 0.5rem;
        line-height: 1.5;
    }

    .hero-section-choices .container {
        width: 100%;
        padding: 0 0.5rem;
    }

    .hero-section-choices .hero-image img {
        filter: brightness(0.25);
    }

    .choice-card {
        padding: 1.2rem;
    }

    .choice-card i {
        font-size: 1.8rem;
    }

    .choice-card h3 {
        font-size: 1.1rem;
    }

    .choice-card p {
        font-size: 0.85rem;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .admission-requirements, 
    .admission-process {
        padding: 15px;
        border-radius: 8px;
    }

    .requirements-list li {
        font-size: 0.9rem;
        padding: 6px 0 6px 18px;
    }

    .requirements-list li::before {
        font-size: 0.9rem;
        top: 8px;
    }

    .process-step {
        gap: 8px;
    }

    .step-content h4 {
        font-size: 1rem;
    }

    .step-content p {
        font-size: 0.9rem;
    }

    .timeline-number {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .timeline-list {
        margin-top: 0.8rem;
    }

    .timeline-list li {
        font-size: 0.9rem;
        padding: 0.4rem 0 0.4rem 1.2rem;
    }

    .admission-buttons {
        flex-direction: column;
        gap: 0.6rem;
        margin-top: 1.2rem;
        padding: 0 2rem;
    }

    .admission-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
        width: 100%;
        text-align: center;
        border-radius: 6px;
    }

    .apply-now {
        margin-bottom: 0.3rem;
    }
}

/* Why Choose TUP Section */
.why-choose-section {
    padding: 4rem 1rem;
    background-color: #fff;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    overflow-x: hidden;
}

.why-choose-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    overflow: hidden;
}

.why-choose-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: 400px;
    position: relative;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-choose-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.why-choose-image:empty::before {
    content: "No image uploaded";
    color: #999;
    font-size: 1.1rem;
    text-align: center;
}

.why-choose-text h2 {
    color: #006400;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
}

.why-choose-text .subtitle {
    color: #555;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 1.1rem;
    color: #333;
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
    overflow: hidden;
}

.features-list li:hover {
    transform: translateX(5px);
}

.features-list li i {
    color: #006400;
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.features-list li span {
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
}

@media (max-width: 992px) {
    .why-choose-section {
        padding: 3rem 1rem;
    }

    .why-choose-content {
        gap: 3rem;
    }

    .why-choose-text h2 {
        font-size: 2.5rem;
    }

    .why-choose-image {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .why-choose-section {
        padding: 2rem 1rem;
    }

    .why-choose-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
        max-width: 100%;
        margin: 0 auto;
        padding: 0;
    }

    .why-choose-text h2 {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
        line-height: 1.3;
    }

    .why-choose-text .subtitle {
        font-size: 1rem;
        margin-bottom: 1.2rem;
        padding: 0 0.5rem;
    }

    .features-list {
        margin: 1.2rem 0;
        gap: 0.8rem;
        padding: 0 0.5rem;
    }

    .features-list li {
        font-size: 0.9rem;
        padding: 0.4rem 0.6rem;
        gap: 0.8rem;
    }

    .features-list li i {
        font-size: 1.1rem;
    }

    .why-choose-image {
        width: 100%;
        margin: 0;
        height: 220px;
        border-radius: 8px;
    }
}

@media (max-width: 480px) {
    .why-choose-section {
        padding: 1.5rem 1rem;
    }

    .why-choose-content {
        padding: 0;
        margin: 0;
        max-width: 100%;
    }

    .why-choose-text h2 {
        font-size: 1.5rem;
        padding: 0 1rem;
        line-height: 1.3;
        margin-bottom: 0.6rem;
    }

    .why-choose-text .subtitle {
        font-size: 0.9rem;
        padding: 0 1rem;
        margin-bottom: 1rem;
        line-height: 1.4;
    }

    .features-list {
        margin: 1rem 0;
        gap: 0.6rem;
        padding: 0 1rem;
    }

    .features-list li {
        font-size: 0.85rem;
        padding: 0.3rem 0.5rem;
        gap: 0.6rem;
        line-height: 1.4;
    }

    .features-list li i {
        font-size: 1rem;
        margin-top: 2px;
    }

    .features-list li:hover {
        transform: none;
    }

    .why-choose-image {
        border-radius: 8px;
        margin: 0;
        height: 180px;
        width: 100%;
    }
}

/* Extra small devices (320px and below) */
@media (max-width: 320px) {
    .why-choose-section {
        padding: 1rem 0.5rem;
    }

    .why-choose-content {
        padding: 0;
        margin: 0;
        max-width: 100%;
    }

    .why-choose-text h2 {
        font-size: 1.3rem;
        padding: 0 0.5rem;
        line-height: 1.3;
        margin-bottom: 0.5rem;
    }

    .why-choose-text .subtitle {
        font-size: 0.8rem;
        padding: 0 0.5rem;
        margin-bottom: 0.8rem;
        line-height: 1.4;
    }

    .features-list {
        margin: 0.8rem 0;
        gap: 0.5rem;
        padding: 0 0.5rem;
    }

    .features-list li {
        font-size: 0.8rem;
        padding: 0.25rem 0.4rem;
        gap: 0.5rem;
        line-height: 1.3;
    }

    .features-list li i {
        font-size: 0.9rem;
        margin-top: 1px;
    }

    .why-choose-image {
        height: 150px;
        margin: 0;
        width: 100%;
        border-radius: 6px;
    }
}

/* Additional safety rules for text overflow in why-choose section */
.why-choose-section * {
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    max-width: 100% !important;
}

.why-choose-section p,
.why-choose-section h1,
.why-choose-section h2,
.why-choose-section h3,
.why-choose-section h4,
.why-choose-section h5,
.why-choose-section h6,
.why-choose-section span,
.why-choose-section div {
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    white-space: normal !important;
    overflow: hidden !important;
} 