/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a3a52;
    --secondary-color: #2c5aa0;
    --accent-color: #f39c12;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --border-radius: 8px;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header/Navigation */
.navbar {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--box-shadow);
}

.navbar nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: white;
}

.logo-text h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.logo-text .tagline {
    font-size: 0.8rem;
    opacity: 0.9;
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--accent-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 28%),
        radial-gradient(circle at 88% 82%, rgba(147, 211, 255, 0.35) 0%, rgba(147, 211, 255, 0) 34%),
        linear-gradient(140deg, #dff4ff 0%, #c9eaff 45%, #b2ddff 100%);
    color: #123049;
    text-align: center;
    min-height: 560px;
    padding: 110px 20px 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hero::before {
    width: 420px;
    height: 420px;
    top: -180px;
    left: -120px;
    background: rgba(255, 255, 255, 0.55);
    animation: floatOrb 10s ease-in-out infinite;
}

.hero::after {
    width: 360px;
    height: 360px;
    bottom: -170px;
    right: -120px;
    background: rgba(38, 126, 195, 0.16);
    animation: floatOrb 12s ease-in-out infinite reverse;
}

.hero-content {
    max-width: 1040px;
    position: relative;
    z-index: 1;
    animation: heroReveal 0.75s ease-out both;
}

.hero-kicker {
    display: inline-block;
    background: rgba(44, 90, 160, 0.14);
    color: #17466a;
    border: 1px solid rgba(44, 90, 160, 0.24);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    margin-bottom: 1.05rem;
}

.hero-content h2 {
    font-size: clamp(2rem, 4.6vw, 3.35rem);
    line-height: 1.18;
    margin-bottom: 1.1rem;
    color: #0f2f4a;
    text-shadow: 0 6px 28px rgba(255, 255, 255, 0.45);
}

.hero-subtitle {
    max-width: 760px;
    margin: 0 auto;
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #2b5878;
}

.hero-highlights {
    margin: 1.7rem auto 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.7rem;
}

.hero-highlights span {
    padding: 0.52rem 0.92rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(18, 78, 121, 0.2);
    color: #1e5074;
    font-size: 0.88rem;
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(32, 101, 149, 0.11);
    backdrop-filter: blur(2px);
}

.hero-actions {
    margin-top: 1.9rem;
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
    padding: 0.72rem 1.25rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.hero-btn:hover {
    transform: translateY(-2px);
}

.hero-btn-primary {
    background: #1f5781;
    color: #fff;
    box-shadow: 0 8px 24px rgba(20, 69, 104, 0.34);
}

.hero-btn-primary:hover {
    background: #184a6f;
}

.hero-btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: #1b4f73;
    border: 1px solid rgba(23, 74, 109, 0.28);
}

.hero-btn-secondary:hover {
    box-shadow: 0 8px 20px rgba(30, 92, 134, 0.22);
}

@keyframes heroReveal {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatOrb {
    0%,
    100% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(14px) translateX(10px);
    }
}

.cta-button {
    background-color: var(--accent-color);
    color: white;
    padding: 12px 30px;
    font-size: 1rem;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-weight: 600;
}

.cta-button:hover {
    background-color: #e67e22;
    transform: translateY(-2px);
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 1rem auto 0;
}

/* Services Section */
.services {
    padding: 80px 20px;
    background-color: var(--light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 80px 20px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.about-text p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
}

.stat h4 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.stat p {
    color: #666;
    margin: 0;
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* Team Section */
.team {
    padding: 80px 20px;
    background-color: var(--light-gray);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.team-member {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-member img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.team-member h3 {
    color: var(--primary-color);
    margin: 1rem 1rem 0 1rem;
}

.team-member .role {
    color: var(--secondary-color);
    font-weight: 600;
    margin: 0.5rem 1rem;
}

.team-member .credentials {
    color: #999;
    font-size: 0.9rem;
    margin: 0.5rem 1rem;
}

.team-member .bio {
    color: #666;
    padding: 0 1rem 1rem 1rem;
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    padding: 80px 20px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 5px rgba(44, 90, 160, 0.2);
}

.submit-btn {
    background-color: var(--secondary-color);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: var(--primary-color);
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    width: 30px;
    text-align: center;
}

.info-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.info-item p {
    color: #666;
    margin: 0;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 2rem;
    text-align: center;
}

.footer p {
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
}

/* Blog Section */
.blog {
    padding: 80px 20px;
    background-color: white;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.blog-card {
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.blog-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-header {
    background-color: var(--secondary-color);
    color: white;
    padding: 1.5rem;
}

.blog-card-header h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.3rem;
}

.blog-card-date {
    font-size: 0.85rem;
    opacity: 0.9;
}

.blog-card-body {
    padding: 1.5rem;
}

.blog-card-body p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.3rem;
    background-color: var(--secondary-color);
    color: white;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.25s ease;
}

.btn:hover {
    background-color: var(--primary-color);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.pagination button {
    padding: 0.6rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: white;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.pagination button:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.pagination button.active {
    background-color: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

.blog-detail {
    max-width: 800px;
    margin: 0 auto;
}

.blog-detail-image {
    width: 100%;
    aspect-ratio: unset;
    margin-bottom: 2rem;
    border-radius: var(--border-radius);
    overflow: visible;
    background: transparent;
}

.blog-detail-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: unset;
    border-radius: var(--border-radius);
}

.blog-detail h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.blog-detail-meta {
    color: #666;
    font-size: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.blog-detail-content {
    line-height: 1.8;
    color: #333;
    margin-bottom: 2rem;
}
/* Rich-text (Quill) content styling inside blog detail */
.blog-detail-content h1,
.blog-detail-content h2,
.blog-detail-content h3 { color: #1a3a52; margin: 1.4rem 0 0.6rem; }
.blog-detail-content h1 { font-size: 1.6rem; }
.blog-detail-content h2 { font-size: 1.3rem; }
.blog-detail-content h3 { font-size: 1.1rem; }
.blog-detail-content ul,
.blog-detail-content ol { padding-left: 1.6rem; margin: 0.8rem 0; }
.blog-detail-content li { margin-bottom: 0.4rem; }
.blog-detail-content blockquote {
    border-left: 4px solid #2c5aa0;
    margin: 1rem 0;
    padding: 0.6rem 1rem;
    background: #f0f4fb;
    color: #555;
    font-style: italic;
}
.blog-detail-content strong { color: #1a3a52; }
.blog-detail-content a { color: #2c5aa0; text-decoration: underline; }

.blog-nav {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.blog-nav .btn {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.blog-nav span {
    flex: 1;
    min-width: 200px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        padding: 1rem;
        gap: 1rem;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-highlights {
        justify-content: flex-start;
    }

    .hero-actions {
        justify-content: flex-start;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.2rem;
    }

    .hero {
        padding: 50px 20px;
        min-height: 420px;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .services-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
}
