/* ======================== */
/*       Global Styles      */
/* ======================== */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #000000;
    font-weight: 400;
    line-height: 1.6;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: #ffffff;
    border-bottom: 2px solid #e0e0e0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* ======================== */
/*       Logo Styling       */
/* ======================== */
.logo img {
    height: 86px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    display: block;
    opacity: 0.95;
    transition: opacity 0.3s ease;
}

.logo img:hover {
    opacity: 1;
}

/* ======================== */
/*       Navigation         */
/* ======================== */
nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav a {
    text-decoration: none;
    color: #000000;
    font-weight: 700;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

nav a:hover {
    background-color: #ff6600;
    color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* ======================== */
/*       Main / Hero        */
/* ======================== */
main {
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #007bff, #666);
    color: #ffffff;
    border-radius: 10px;
    margin-bottom: 40px;
}

.hero h1 {
    font-size: 3em;
    font-weight: 700;
}

.hero h2 {
    font-size: 1.5em;
    font-weight: 600;
}

.hero p {
    font-size: 1.1em;
}

.cta-button {
    display: inline-block;
    background-color: #ff6600;
    color: #ffffff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.cta-button:hover {
    background-color: #e55a00;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}

/* ======================== */
/*       Sections           */
/* ======================== */
section {
    margin-bottom: 40px;
    padding: 30px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

section:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border-color: #007bff;
}

/* ======================== */
/*       Fade Animations    */
/* ======================== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ======================== */
/*   Service / Portfolio    */
/* ======================== */
.service-box, .portfolio-item {
    margin-bottom: 20px;
    padding: 20px;
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.service-box:hover, .portfolio-item:hover {
    background-color: #e9ecef;
    border-color: #ff6600;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.portfolio-item img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

/* ======================== */
/*       Headings / Text    */
/* ======================== */
h1, h2, h3 {
    color: #003366;
    font-weight: 700;
}

h1 { font-size: 2.5em; }
h2 { font-size: 2em; }
h3 { font-size: 1.5em; }

p, li, ul, ol {
    color: #000000;
    font-weight: 400;
}

blockquote {
    font-style: italic;
    border-left: 5px solid #003a78f7;
    padding-left: 10px;
}

details { margin-bottom: 10px; }

/* ======================== */
/*       Footer             */
/* ======================== */
footer {
    background-color: #003366d8;
    color: #ffffff;
    padding: 40px;
    text-align: center;
    margin-top: 40px;
}

.footer-content .footer-logo img {
    height: 86px;
    width: 180px;
    max-width: 180px;
    object-fit: contain;
    display: block;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
}

.footer-links a:hover { color: #ff6600; }

.social-icons {
    margin: 20px 0;
}

.social-icons a {
    color: #ffffff;
    font-size: 1.5em;
    margin: 0 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    color: #ff6600;
    transform: scale(1.2);
}

.newsletter {
    margin-top: 20px;
}

.newsletter input {
    padding: 10px;
    border: none;
    border-radius: 5px;
    margin-right: 10px;
}

.newsletter button {
    background-color: #ff6600;
    color: #ffffff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s ease;
}

.newsletter button:hover { background-color: #e55a00; }

/* ======================== */
/*       Forms / Modal      */
/* ======================== */
form {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

form:hover { box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15); border-color: #007bff; }

label { display: block; margin-bottom: 8px; color: #000000; font-weight: 700; }

input, textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-weight: 400;
    font-size: 1em;
}

button[type="submit"] {
    background-color: #007bff;
    color: #ffffff;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1em;
    transition: all 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #0056b3;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0; top: 0;
    width: 100%; height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #ffffff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%; max-width: 600px;
    border-radius: 10px;
    text-align: center;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover { color: #000; }

/* ======================== */
/*       Back To Top        */
/* ======================== */
#backToTop {
    position: fixed;
    bottom: 20px; right: 20px;
    background-color: #007bff;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    width: 50px; height: 50px;
    font-size: 1.2em;
    cursor: pointer;
    display: none;
    transition: all 0.3s ease;
}

#backToTop:hover {
    background-color: #ff6600;
    transform: scale(1.1);
}

/* ======================== */
/*       Responsive         */
/* ======================== */
@media (max-width: 768px) {
    header { flex-direction: column; padding: 20px; }
    nav ul { flex-direction: column; gap: 10px; }
    main { padding: 20px; }
    .hero { padding: 40px 20px; }
    .hero h1 { font-size: 2em; }
    footer .footer-links { flex-direction: column; gap: 10px; }
    .social-icons a { margin: 5px; }
}
