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

:root {
    --primary-color: #ee4a62;
    --primary-hover: #13a08a;
    --secondary-color: #ee4a62;
    --secondary-hover: #d83a50;
    --dark-color: #2c3e50;
    --light-color: #f5f5f7;
    --text-color: #37474f;
    --text-light: #666;
    --border-color: #eaeaea;
    --transition-speed: 0.3s;
    --border-radius: 8px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --header-height: 70px;
    --primary: #ee4a62;
    --primary-dark: #d73a50;
    --secondary: #1EB980;
    --secondary-dark: #18a26f;
    --dark: #333;
    --light: #f5f5f5;
    --white: #ffffff;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', Arial, sans-serif;
    background-color: #fff;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--primary-hover);
}

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

ul {
    list-style-type: none;
}

body {
    background: linear-gradient(135deg, #f5f7fa 100%, #c3cfe2 0%);
    color: var(--dark);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

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

/* ===== Navbar ===== */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--white);
    padding: 12px 20px;
    border-radius: 40px;
    box-shadow: var(--shadow);
    max-width: 1120px;
    width: 90%;
    margin: 20px auto;
    position: relative;
    z-index: 100;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-item {
    display: flex;
    align-items: center;
    color: var(--dark);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 50px;
    transition: var(--transition);
}

.nav-item i {
    margin-right: 6px;
    font-size: 1.1rem;
}

.nav-item:hover, .nav-item.active {
    background-color: #ffdddd;
    color: var(--primary);
}

.cta-button {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    font-size: 1rem;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
}

.cta-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    color: var(--white);
}

/* Mobile menu toggle button */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
}

/* Media queries for responsive navbar */
@media (max-width: 768px) {
    .navbar {
        padding: 15px;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        width: 100%;
        padding: 20px;
        border-radius: 0 0 20px 20px;
        box-shadow: var(--shadow);
        display: none;
        margin-top: 10px;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-item {
        width: 100%;
        padding: 12px;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .navbar {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .cta-button {
        margin-left: auto;
    }
}

/* Page Banner */
.page-banner {
    text-align: center;
    padding: 60px 0 80px;
    position: relative;
    background-color: #fff;
}

.page-title {
    font-size: 2.8rem;
    color: var(--dark-color);
    margin-bottom: 15px;
    animation: fadeInDown 0.8s forwards;
}

.teal-wave {
    max-width: 200px;
    margin: 0 auto;
    animation: fadeIn 1s ease 0.3s forwards;
    opacity: 0;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Registration Section */
.registration-section {
    padding: 0 0 60px;
}

.card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
    border-top: 4px solid var(--primary-color);
}

.card.registration-info {
    animation-delay: 0.2s;
}

.card.digital-materials {
    animation-delay: 0.4s;
    border-top-color: var(--secondary-color);
}

.card.payment-method {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-title i {
    margin-right: 10px;
    color: var(--primary-color);
}

.card.digital-materials .section-title i,
.card.digital-materials .section-title::after {
    color: var(--secondary-color);
    background-color: var(--secondary-color);
}

.card p {
    margin-bottom: 15px;
    font-size: 16px;
    color: var(--text-color);
}

/* Registration Button */
.button-container {
    margin: 25px 0;
    text-align: center;
}

.register-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    text-decoration: none;
    gap: 10px;
}

.register-btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(26, 182, 157, 0.3);
    color: white;
}

.register-btn i {
    transition: transform var(--transition-speed) ease;
}

.register-btn:hover i {
    transform: translateX(5px);
}

/* Tables */
.table-responsive {
    overflow-x: auto;
    margin: 20px 0;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.fees-container {
    margin-top: 30px;
}

.fees-table, .bank-details-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--border-color);
}

.fees-table th, .fees-table td,
.bank-details-table th, .bank-details-table td {
    padding: 15px;
    text-align: left;
    border: 1px solid var(--border-color);
}

.fees-table th, .bank-details-table th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
}

.fees-table tr:nth-child(even), 
.bank-details-table tr:nth-child(even) {
    background-color: rgba(249, 249, 249, 0.7);
}

.fees-table tr:hover, 
.bank-details-table tr:hover {
    background-color: rgba(26, 182, 157, 0.05);
}

.category-cell {
    font-weight: 600;
    background-color: rgba(26, 182, 157, 0.1);
    vertical-align: middle;
}

.fee-cell {
    font-weight: 600;
    text-align: center;
}

.highlight-row {
    background-color: rgba(238, 74, 98, 0.1) !important;
}

.highlight-cell {
    color: var(--secondary-color);
    font-weight: 600;
    text-align: center;
}

/* Materials Grid */
.materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.material-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: var(--border-radius);
    transition: all var(--transition-speed) ease;
}

.material-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.material-icon {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 10px;
    width: 60px;
    height: 60px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(26, 182, 157, 0.15);
}

.material-name {
    font-weight: 500;
}

/* Presentation Info */
.presentation-info {
    background-color: rgba(26, 182, 157, 0.1);
    padding: 20px;
    border-radius: var(--border-radius);
    margin: 25px 0;
}

.presentation-info h3 {
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.highlight {
    color: var(--secondary-color);
    font-weight: 600;
}

/* Guidelines */
.guidelines {
    margin: 25px 0;
}

.guidelines h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.guidelines-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.guidelines-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    position: relative;
}

.guideline-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background-color: rgba(26, 182, 157, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.guideline-text {
    flex: 1;
    font-size: 15px;
}

/* Important Dates */
.important-dates {
    background-color: var(--secondary-color);
    color: white;
    padding: 20px;
    border-radius: var(--border-radius);
    text-align: center;
    margin: 30px 0 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: pulse 2s infinite;
}

.important-dates i {
    font-size: 32px;
    margin-bottom: 10px;
}

.important-dates h3 {
    color: white;
    font-size: 18px;
    margin: 0;
}

.important-dates span {
    font-weight: 700;
    font-size: 20px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(238, 74, 98, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(238, 74, 98, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(238, 74, 98, 0);
    }
}

/* Payment Options */
.payment-options {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 25px 0;
    justify-content: center;
}

.payment-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: var(--border-radius);
    flex: 1;
    min-width: 150px;
    transition: all var(--transition-speed) ease;
}

.payment-option:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.payment-icon {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.payment-name {
    font-weight: 500;
}

.payment-note {
    background-color: rgba(26, 182, 157, 0.1);
    padding: 20px;
    border-radius: var(--border-radius);
    margin: 25px 0 10px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.payment-note i {
    color: var(--primary-color);
    font-size: 24px;
    flex-shrink: 0;
}

/* Footer Styles */
.footer {
    background: #222;
    color: #f5f5f5;
    padding: 3rem 0 1.5rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color), #f1c40f, #e74c3c);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.footer-info {
    flex: 1.5;
    min-width: 250px;
}

.footer-logo h2 {
    color: #fff;
    font-weight: 700;
    margin: 0 0 1.2rem 0;
    font-size: 1.8rem;
    position: relative;
    display: inline-block;
}

.footer-logo h2 span {
    color: var(--secondary-color);
}

.footer-logo h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #ffffff;
    margin-top: 5px;
}

.footer-contact {
    flex: 1;
    min-width: 250px;
}

.footer-social {
    flex: 1;
    min-width: 250px;
}

.footer h3 {
    color: #ffffff;
    margin-bottom: 1.2rem;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
    font-weight: 600;
}

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

.footer p {
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-icon {
    margin-right: 0.8rem;
    background: rgba(52, 152, 219, 0.2);
    color: #e7e1e2;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-text {
    font-size: 14px;
}

.contact-text a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-speed);
}

.contact-text a:hover {
    color: var(--secondary-color);
}

.social-icons {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1rem;
    transition: all var(--transition-speed) ease;
    text-decoration: none;
}

.social-icons a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    color: white;
}

.newsletter {
    width: 100%;
    margin-top: 1.5rem;
}

.newsletter form {
    display: flex;
    max-width: 100%;
}

.newsletter input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 4px 0 0 4px;
    outline: none;
}

.newsletter input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter button {
    background: white;
    color: var(--secondary-color);
    border: none;
    padding: 0 1.2rem;
    font-weight: 600;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background var(--transition-speed);
}

.newsletter button:hover {
    background: #e3e3e3;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color var(--transition-speed);
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    width: 100%;
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-speed) ease;
    z-index: 999;
}

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

.back-to-top:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
}

/* Media Queries for Responsiveness */

/* Large devices (desktops) */
@media (max-width: 1200px) {
    .container {
        max-width: 992px;
    }
}

/* Medium devices (tablets) */
@media (max-width: 992px) {
    .container {
        max-width: 768px;
    }

    .navbar {
        width: 95%;
        padding: 10px 15px;
    }
    
    .nav-links {
        gap: 5px;
    }
    
    .nav-item {
        font-size: 14px;
        padding: 8px 10px;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .card {
        padding: 25px;
    }
    
    .materials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .payment-options {
        flex-wrap: wrap;
    }
    
    .payment-option {
        min-width: 180px;
    }
}

/* Small devices (landscape phones) */
@media (max-width: 768px) {
    .container {
        max-width: 576px;
    }
    
    .mobile-menu-icon {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: white;
        flex-direction: column;
        justify-content: flex-start;
        padding: 20px;
        transition: left var(--transition-speed) ease;
        z-index: 999;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-item {
        width: 100%;
        padding: 12px 15px;
        border-radius: 8px;
    }
    
    .page-title {
        font-size: 2.2rem;
    }
    
    .card {
        padding: 20px;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .materials-grid {
        grid-template-columns: 1fr;
    }
    
    .guideline-icon {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .navbar {
        flex-direction: column;
        padding: 15px 10px;
        height: auto;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        margin: 15px 0;
    }
    
    .nav-item {
        font-size: 0.9rem;
        padding: 6px 10px;
    }
    
    .cta-button {
        margin: 10px 0;
    }
    
    .important-dates h3 {
        font-size: 16px;
    }
    
    .important-dates span {
        font-size: 18px;
    }
}

/* Extra small devices (portrait phones) */
@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }

    .navbar {
        border-radius: 20px;
        width: 95%;
        margin: 15px auto;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .page-banner {
        padding: 40px 0 60px;
    }
    
    .register-btn {
        padding: 12px 20px;
        font-size: 15px;
    }
    
    .category-cell, .fees-table th, .fees-table td {
        padding: 10px;
        font-size: 14px;
    }
    
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-container {
        flex-direction: column;
    }
    
    .footer-info, 
    .footer-contact, 
    .footer-social {
        width: 100%;
        min-width: 100%;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}