/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #CED6D8;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    color: #146067;
}

h2 {
    font-size: 2rem;
    color: #146067;
}

h3 {
    font-size: 1.5rem;
    color: #146067;
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.header {
    background-color: #146067;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 35px;
}

.logo img {
    height: 100%;
    width: auto;
}

/* Navigation */
.nav {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #2badbb;
}

.nav a.active {
    color: #2badbb;
    font-weight: 700;
    position: relative;
}

.nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #2badbb;
    border-radius: 1px;
}

/* Header Buttons */
.header-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-primary {
    background-color: #f94847;
    color: #fff;
}

.btn-primary:hover {
    background-color: #e63939;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(249, 72, 71, 0.3);
}

.btn-secondary {
    background-color: #2badbb;
    color: #fff;
}

.btn-secondary:hover {
    background-color: #2599a6;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(43, 173, 187, 0.3);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #146067;
    padding: 1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.mobile-menu.active {
    display: block;
}

.mobile-menu .nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-menu .header-buttons {
    flex-direction: column;
    margin-top: 1rem;
}

.mobile-menu a {
    text-align: center;
} 

/* Slider Section */
.slider-section {
    width: 100%;
    position: relative;
    overflow: hidden;
    max-width: 1200px;
    margin: 4rem auto;
}

.banner-swiper {
    width: 100%;
    height: 100%;
    min-height: 300px;
    overflow: hidden;
    position: relative;
}

.banner-swiper .swiper-slide {
    position: relative;
    display: block;
    overflow: hidden;
}

.banner-swiper .swiper-slide img {
    width: 100%;
    height: auto;
    min-height: 200px;
    object-fit: cover;
    display: block;
}

/* Swiper Navigation Buttons */
.banner-swiper .swiper-button-next,
.banner-swiper .swiper-button-prev {
    color: #fff;
    background: rgba(20, 96, 103, 0.8);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-top: -25px;
    transition: all 0.3s ease;
}

.banner-swiper .swiper-button-next:hover,
.banner-swiper .swiper-button-prev:hover {
    background: rgba(20, 96, 103, 1);
    transform: scale(1.1);
}

.banner-swiper .swiper-button-next:after,
.banner-swiper .swiper-button-prev:after {
    font-size: 20px;
    font-weight: bold;
}

/* Swiper Pagination */
.banner-swiper .swiper-pagination {
    bottom: 20px;
}

.banner-swiper .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    width: 12px;
    height: 12px;
    margin: 0 6px;
    transition: all 0.3s ease;
}

.banner-swiper .swiper-pagination-bullet-active {
    background: #2badbb;
    transform: scale(1.2);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #146067 0%, #2badbb 100%);
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Sections */
.section {
    padding: 3rem 0;
}

.section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.section h3 {
    margin-bottom: 1rem;
}

/* Cards */
.card {
    background: #fff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Tables */
.table-responsive {
    overflow-x: auto;
    margin: 2rem 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

th {
    background-color: #146067;
    color: #fff;
    font-weight: 600;
}

tr:hover {
    background-color: #f8f9fa;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.section-image {
    margin: 2rem 0;
    text-align: center;
}

.section-image img {
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.section-image img:hover {
    transform: scale(1.02);
}

/* Footer */
.footer {
    background-color: #146067;
    color: #fff;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #fff;
    margin-bottom: 1rem;
}

.footer-section a {
    color: #4ed5e4;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #2badbb;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 1200px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
}

@media (max-width: 768px) {
    
    .mobile-menu .header-buttons {
        display: flex;
    }
    
    /* Slider responsive styles */
    .banner-swiper {
        min-height: 200px;
    }
    
    .banner-swiper .swiper-slide img {
        min-height: 200px;
    }
    
    .banner-swiper .swiper-button-next,
    .banner-swiper .swiper-button-prev {
        width: 40px;
        height: 40px;
        margin-top: -20px;
    }
    
    .banner-swiper .swiper-button-next:after,
    .banner-swiper .swiper-button-prev:after {
        font-size: 16px;
    }
    
    .banner-swiper .swiper-pagination {
        bottom: 15px;
    }
    
    .banner-swiper .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        margin: 0 4px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    section .btn {
        width: 100%;
        max-width: 300px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {

    .header-buttons {
        width: 100%;
        justify-content: center;
        order: 3;
        margin-top: 15px;
    }

    .header-content {
        flex-wrap: wrap;
    }

    .header-buttons .btn {
        width: 100%;
    }

    .container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero h1 {
        font-size: 1.6rem;
    }
    
    .card {
        padding: 1rem;
    }
    
    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading states */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Focus states for accessibility */
.btn:focus,
a:focus {
    outline: 2px solid #2badbb;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary {
        background-color: #000;
        color: #fff;
    }
    
    .btn-secondary {
        background-color: #000;
        color: #fff;
    }
}
