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

body {
    font-family: "Inter", Arial, sans-serif;
    background: #f5f5f5;
    color: #222;
    line-height: 1.6;
}

/* -------------------- */
/*  GLOBAL              */
/* -------------------- */
.container_header {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

section {
    padding: 80px 0;
}

h1, h2, h3 {
    font-weight: 700;
}

img {
    max-width: 100%;
    display: block;
}

/* -------------------- */
/* HEADER               */
/* -------------------- */
header {
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    padding: 25px 0;
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 4px 20px rgba(0, 102, 204, 0.2);
}

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

header h1 {
    font-size: 32px;
    color: white;
    font-weight: 800;
    letter-spacing: -0.5px;
}

nav {
    margin-left: auto;
}

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

nav a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

nav a:hover {
    color: #e0f0ff;
}

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

/* -------------------- */
/* MAIN CONTENT         */
/* -------------------- */
.content {
    background: white;
    padding: 60px 0;
    text-align: center;
}

.content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #0066cc;
}

.content p {
    font-size: 18px;
    color: #0a0a0a;
    margin-bottom: 30px;
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.content p1 {
    font-size: 20px;
    color: #333;
    margin-bottom: 30px;
    line-height: 1.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-family: "Georgia", "Times New Roman", serif;
    font-weight: 500;
    font-style: italic;
}

/* -------------------- */
/* BUTTON STYLING       */
/* -------------------- */
button, .button {
    background: #0066cc;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

button:hover, .button:hover {
    background: #0052a3;
}

/* -------------------- */
/* GALLERY SECTION      */
/* -------------------- */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 50px 30px;
    max-width: 1200px;
    width: 90%;
    margin: 0 auto 40px auto;
    background: white;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.08);
    transition: all 0.3s ease;
    background: #f8f9ff;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    cursor: pointer;
}

/* -------------------- */
/* MODAL STYLING        */
/* -------------------- */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    margin: auto;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translate(-50%, -55%);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%);
        opacity: 1;
    }
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #0066cc;
}

/* -------------------- */
/* PROJECTS SECTION     */
/* -------------------- */
.projects-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 50px 30px;
    max-width: 1200px;
    width: 90%;
    margin: 5px auto;
    background: white;
}

.project-card {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    border: 2px solid #e0e8ff;
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.08);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.15);
    border-color: #0066cc;
}

.project-card h3 {
    color: #0066cc;
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 700;
    text-align: center;
}

.project-card p {
    color: #555;
    font-size: 16px;
    line-height: 1.7;
    text-align: center;
}

/* -------------------- */
/* FOOTER               */
/* -------------------- */
footer {
    background: #222;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    font-size: 14px;
}

/* -------------------- */
/* RESPONSIVE           */
/* -------------------- */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 15px;
    }

    header .container {
        flex-direction: column;
        gap: 20px;
    }

    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 28px;
    }

    section {
        padding: 40px 0;
    }
}