:root {
    --primary-color: #00648f;
    --primary-hover: #46c1f6;
    --secondary-color: #013850;
    --text-color: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.8);
    --bg-dark: #013850;
    --bg-light: #f8f9fa;
    --font-main: 'Raleway', sans-serif;
    --transition: all 0.3s ease;
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background-color: var(--primary-color);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--text-color);
    transition: var(--transition);
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    font-weight: 600;
    font-size: 16px;
    padding: 5px 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--text-color);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 60px 0;
    text-align: center;
    background-color: #2d2c58;
}

.logo-container {
    margin-bottom: 30px;
}

.logo-container img {
    margin: 0 auto;
    max-width: 400px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

/* Grid Sections */
.grid-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    min-height: 400px;
}

.grid-item {
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.grid-item.bg-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.grid-item.bg-blue {
    background-color: var(--primary-color);
}

.grid-item h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

/* Welcome Section */
.welcome-section {
    padding: 80px 0;
    text-align: center;
}

.welcome-section h1 {
    font-size: 36px;
    margin-bottom: 30px;
}

.welcome-section p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
}

/* Gallery Section */
.gallery-section {
    padding: 60px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 8px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Page Header */
.page-header {
    padding: 60px 0;
    text-align: center;
    background-color: var(--primary-color);
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.page-header p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
    color: var(--text-muted);
}

/* Services List */
.services-section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.service-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    text-align: center;
    padding-bottom: 30px;
}

.service-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.1);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 22px;
    margin: 0 20px 15px;
}

.service-card p {
    font-size: 16px;
    padding: 0 20px;
    color: var(--text-muted);
}

/* Alternating Sections */
.alt-section {
    display: flex;
    align-items: center;
    min-height: 400px;
}

.alt-section:nth-child(even) {
    flex-direction: row-reverse;
}

.alt-content {
    flex: 1;
    padding: 60px;
}

.alt-image {
    flex: 1;
    height: 400px;
    background-size: cover;
    background-position: center;
}

.alt-content h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #4b6487;
}

.alt-content ul {
    list-style: none;
}

.alt-content li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 25px;
}

.alt-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-hover);
    font-weight: bold;
}

/* Testimonials */
.testimonial-section {
    padding: 80px 0;
    background-color: rgba(255, 255, 255, 0.02);
}

.testimonial-card {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 12px;
    align-items: flex-start;
}

.testimonial-image {
    flex: 0 0 200px;
}

.testimonial-image img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--primary-color);
}

.testimonial-content {
    flex: 1;
}

.testimonial-content blockquote {
    font-style: italic;
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
}

.testimonial-content blockquote::before {
    content: '"';
    font-size: 60px;
    position: absolute;
    top: -30px;
    left: -30px;
    opacity: 0.2;
    font-family: serif;
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary-hover);
}

/* Footer */
footer {
    padding: 80px 0 40px;
    background-color: var(--secondary-color);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
}

.footer-item {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-item img {
    max-width: 300px;
}

.footer-info {
    font-size: 16px;
}

.footer-info p {
    margin-bottom: 10px;
}

.copyright {
    text-align: center;
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: var(--text-muted);
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .grid-section {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-container {
        justify-content: flex-end;
        padding: 0 20px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--primary-color);
        flex-direction: column;
        padding: 80px 40px;
        gap: 20px;
        transition: var(--transition);
        z-index: 1000;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu a {
        font-size: 18px;
        display: block;
    }

    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .nav-overlay.active {
        display: block;
    }

    .hero h1 {
        font-size: 32px;
    }

    .grid-section {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .alt-section {
        flex-direction: column !important;
    }

    .alt-image {
        width: 100%;
        height: 300px;
    }

    .testimonial-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .testimonial-image {
        flex: 0 0 auto;
        margin-bottom: 20px;
    }
}