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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* Header Styles */
.header {
    background-color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

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

.logo-box {
    background: linear-gradient(135deg, #00B5C4, #0099A8);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.logo-text {
    color: white;
    font-weight: bold;
    font-size: 20px;
}

.logo-title h1 {
    font-size: 24px;
    color: #2c3e50;
    line-height: 1.2;
}

.logo-title span {
    font-size: 18px;
    color: #5A4FCF;
    font-weight: normal;
}

.search-container {
    display: flex;
    align-items: center;
}

.search-input {
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
    width: 300px;
    outline: none;
}

.search-input:focus {
    border-color: #00B5C4;
}

.search-btn {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 12px 15px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-btn:hover {
    background-color: #c82333;
}

/* Navigation Styles */
.navigation {
    background-color: #5A4FCF;
    position: relative;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-item > a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    transition: background-color 0.3s;
    font-weight: 500;
}

.nav-item:hover > a,
.nav-item.active > a {
    background-color: #4a3fb8;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #4a3fb8;
    min-width: 200px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    color: white;
    padding: 12px 20px;
    text-decoration: none;
    transition: background-color 0.3s;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

.dropdown-menu li a:hover {
    background-color: #3d2f9f;
}

/* Hero Carousel */
.hero-carousel {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

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

.carousel-content {
    position: absolute;
    top: 50%;
    left: 50px;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.carousel-content h2 {
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.carousel-content p {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.carousel-btn {
    background: rgba(90, 79, 207, 0.8);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: rgba(90, 79, 207, 1);
    transform: scale(1.1);
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}

.indicator.active {
    background: white;
}

/* Main Content */
.main-content {
    padding: 60px 0;
}

.main-content section {
    margin-bottom: 60px;
}

.main-content h2 {
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 30px;
    text-align: center;
}

/* Latest News */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.news-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.news-card h3 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.news-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.news-card .date {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #00B5C4;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

/* Research Themes */
.themes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.theme-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.theme-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.theme-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.theme-content {
    padding: 25px;
}

.theme-content h3 {
    font-size: 22px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.theme-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.theme-btn {
    background: #5A4FCF;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s;
}

.theme-btn:hover {
    background: #4a3fb8;
}

/* Featured Software */
.software-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.software-item {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.software-item h3 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.software-item p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Buttons */
.btn-primary, .btn-secondary {
    padding: 12px 25px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.btn-primary {
    background: #5A4FCF;
    color: white;
}

.btn-primary:hover {
    background: #4a3fb8;
}

.btn-secondary {
    background: #00B5C4;
    color: white;
}

.btn-secondary:hover {
    background: #0099A8;
}

.section-footer {
    text-align: center;
    margin-top: 40px;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 40px 0 20px;
}

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

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #00B5C4;
}

.contact-info p {
    margin-bottom: 5px;
    color: #bbb;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #00B5C4;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
    color: #bbb;
    font-size: 14px;
}

.footer-bottom a {
    color: #00B5C4;
    text-decoration: none;
    margin: 0 5px;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .search-input {
        width: 250px;
    }
    
    .nav-menu {
        flex-direction: column;
    }
    
    .nav-item {
        width: 100%;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #4a3fb8;
    }
    
    .carousel-content {
        left: 20px;
        right: 20px;
        max-width: none;
        padding: 20px;
    }
    
    .carousel-content h2 {
        font-size: 28px;
    }
    
    .carousel-content p {
        font-size: 16px;
    }
    
    .news-grid,
    .themes-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo-title h1 {
        font-size: 20px;
    }
    
    .logo-title span {
        font-size: 16px;
    }
    
    .search-input {
        width: 200px;
    }
    
    .carousel-content h2 {
        font-size: 24px;
    }
    
    .main-content h2 {
        font-size: 28px;
    }
}



/* Page Header Styles */
.page-header {
    background: linear-gradient(135deg, #5A4FCF, #00B5C4);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 20px;
    opacity: 0.9;
}

/* Content Sections */
.content-section {
    margin-bottom: 80px;
}

.content-section h2 {
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 40px;
    text-align: center;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
}

.content-text p {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.content-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #00B5C4;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-year {
    background: #5A4FCF;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 18px;
    min-width: 80px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.timeline-content {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin: 0 30px;
    flex: 1;
}

.timeline-content h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 22px;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-photo {
    font-size: 80px;
    color: #00B5C4;
    margin-bottom: 20px;
}

.team-member h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 22px;
}

.member-title {
    color: #5A4FCF;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 16px;
}

.team-member p:last-child {
    color: #666;
    line-height: 1.6;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-item {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.value-item:hover {
    transform: translateY(-5px);
}

.value-icon {
    font-size: 50px;
    color: #00B5C4;
    margin-bottom: 20px;
}

.value-item h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 22px;
}

.value-item p {
    color: #666;
    line-height: 1.6;
}

/* Responsive Design for Content Pages */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 32px;
    }
    
    .page-header p {
        font-size: 18px;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        padding-left: 70px;
    }
    
    .timeline-year {
        position: absolute;
        left: 0;
        min-width: 60px;
        font-size: 14px;
        padding: 8px 12px;
    }
    
    .timeline-content {
        margin: 0;
    }
    
    .team-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }
}



/* Software Page Styles */
.software-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.software-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

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

.software-icon {
    font-size: 50px;
    color: #00B5C4;
    margin-bottom: 20px;
}

.software-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 22px;
}

.software-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}




/* Resources Page Styles */
.resource-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.resource-item {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.resource-item:hover {
    transform: translateY(-5px);
}

.resource-item h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 22px;
}

.resource-item p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.resource-link {
    color: #00B5C4;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.resource-link:hover {
    color: #0099A8;
}




/* Contact Page Styles */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form-container h2,
.contact-info-container h2 {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 30px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

.contact-form textarea {
    resize: vertical;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-item i {
    font-size: 24px;
    color: #00B5C4;
    margin-top: 5px;
}

.contact-item h3 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 5px;
}

.contact-item p {
    color: #666;
    line-height: 1.6;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}


