/* ========================================
   GLOBAL STYLES & CSS VARIABLES
   ======================================== */
:root {
    --primary-color: #00a8e8;
    --secondary-color: #0077b6;
    --accent-color: #ff006e;
    --success-color: #06ffa5;
    --warning-color: #ffc300;
    --danger-color: #ff6b6b;
    --light-bg: #f0f9ff;
    --dark-bg: #001d3d;
    --text-dark: #1a1a2e;
    --text-light: #ffffff;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.8;
    color: var(--text-dark);
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f7ff 100%);
    min-height: 100vh;
}

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

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--text-light);
    padding: 25px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
    border-bottom: 3px solid var(--accent-color);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo-section h1 {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--success-color), var(--warning-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
    letter-spacing: -1px;
}

.tagline {
    font-size: 0.95rem;
    opacity: 0.95;
    font-weight: 300;
    letter-spacing: 0.5px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

nav ul li a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    transition: var(--transition);
    padding: 8px 12px;
    border-radius: 5px;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--success-color), var(--warning-color));
    transition: width 0.3s ease;
    border-radius: 2px;
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

nav ul li a:hover::after {
    width: 100%;
}

/* ========================================
   MAIN CONTENT & BLOG POST
   ======================================== */
main {
    padding: 50px 0;
}

.blog-post {
    background: var(--text-light);
    padding: 50px;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 40px;
    border-left: 5px solid var(--primary-color);
    animation: slideInUp 0.6s ease;
}

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

.article-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--light-bg);
}

.blog-post h2 {
    font-size: 2.8rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.article-meta {
    font-size: 0.95rem;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-post h3 {
    font-size: 1.9rem;
    color: var(--primary-color);
    margin-top: 35px;
    margin-bottom: 18px;
    font-weight: 700;
    position: relative;
    padding-left: 15px;
}

.blog-post h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.blog-post h4 {
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-top: 25px;
    margin-bottom: 12px;
    font-weight: 700;
}

.blog-post p {
    margin-bottom: 18px;
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-dark);
}

.blog-post ul {
    margin-bottom: 22px;
    padding-left: 30px;
}

.blog-post ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 10px;
}

.blog-post ul li::marker {
    color: var(--primary-color);
    font-weight: bold;
}

.blog-post a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    position: relative;
    transition: var(--transition);
    padding-bottom: 2px;
    border-bottom: 2px solid var(--primary-color);
}

.blog-post a:hover {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
    transform: translateX(2px);
}

/* ========================================
   TABLE STYLES
   ======================================== */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    font-size: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--text-light);
}

table thead tr {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    text-align: left;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

table th {
    padding: 18px 15px;
    font-size: 0.95rem;
}

table td {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
}

table tbody tr {
    transition: var(--transition);
}

table tbody tr:nth-of-type(even) {
    background-color: rgba(0, 168, 232, 0.05);
}

table tbody tr:hover {
    background-color: rgba(0, 168, 232, 0.1);
    transform: scale(1.01);
    box-shadow: inset 0 0 10px rgba(0, 168, 232, 0.1);
}

table tbody tr:last-of-type td {
    border-bottom: 2px solid var(--primary-color);
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-section {
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    padding: 60px 0;
    margin-bottom: 40px;
}

.about-section h2 {
    font-size: 2.8rem;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 50px;
    font-weight: 800;
    position: relative;
    padding-bottom: 20px;
}

.about-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

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

.about-card {
    background: var(--text-light);
    padding: 35px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 168, 232, 0.05), rgba(255, 0, 110, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--accent-color);
}

.about-card:hover::before {
    opacity: 1;
}

.card-icon {
    font-size: 3.5rem;
    margin-bottom: 15px;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.about-card h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 12px;
    font-weight: 700;
}

.about-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
}

.mission-statement {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.mission-statement h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--text-light);
}

.mission-statement p {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.95;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f7ff 100%);
    padding: 60px 0;
    margin-bottom: 40px;
}

.contact-section h2 {
    font-size: 2.8rem;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 50px;
    font-weight: 800;
    position: relative;
    padding-bottom: 20px;
}

.contact-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    border-radius: 2px;
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-card {
    background: var(--text-light);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--accent-color);
}

.info-card h3 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.info-card p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 8px;
    line-height: 1.6;
}

.contact-form-wrapper {
    background: var(--text-light);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.contact-form-wrapper h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
    font-weight: 700;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background-color: #f9f9f9;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--text-light);
    box-shadow: 0 0 0 3px rgba(0, 168, 232, 0.1);
}

.submit-btn {
    padding: 14px 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow-md);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.submit-btn:active {
    transform: translateY(-1px);
}

/* ========================================
   FOOTER
   ======================================== */
footer {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--secondary-color) 100%);
    color: var(--text-light);
    padding: 50px 0 20px;
    margin-top: 40px;
    border-top: 3px solid var(--accent-color);
}

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

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--success-color);
}

.footer-section p {
    font-size: 0.95rem;
    line-height: 1.7;
    opacity: 0.9;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
    font-size: 0.95rem;
    opacity: 0.85;
    transition: var(--transition);
    padding-left: 10px;
}

.footer-section ul li:hover {
    opacity: 1;
    transform: translateX(5px);
    color: var(--success-color);
}

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--success-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul {
        gap: 15px;
        width: 100%;
    }

    nav ul li a {
        font-size: 0.9rem;
    }

    .blog-post {
        padding: 30px 20px;
    }

    .blog-post h2 {
        font-size: 2rem;
    }

    .blog-post h3 {
        font-size: 1.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    table {
        font-size: 0.9rem;
    }

    table th,
    table td {
        padding: 12px 10px;
    }

    .logo-section h1 {
        font-size: 1.8rem;
    }

    .tagline {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    header .container {
        padding: 15px 0;
    }

    .logo-section h1 {
        font-size: 1.5rem;
    }

    .blog-post {
        padding: 20px 15px;
        border-left-width: 3px;
    }

    .blog-post h2 {
        font-size: 1.6rem;
    }

    .blog-post h3 {
        font-size: 1.3rem;
        padding-left: 12px;
    }

    .blog-post h3::before {
        width: 3px;
    }

    nav ul {
        gap: 10px;
        font-size: 0.85rem;
    }

    table {
        font-size: 0.8rem;
    }

    table th,
    table td {
        padding: 10px 8px;
    }

    .contact-form-wrapper {
        padding: 25px 15px;
    }

    .about-card {
        padding: 25px 15px;
    }

    .card-icon {
        font-size: 2.5rem;
    }
}
