@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&family=Merriweather:wght@400;700&family=Arial:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=League+Gothic&display=swap');

:root {
    --primary-color: #0066b2; /* Deep blue from the logo */
    --secondary-color: #00a86b; /* Green from the logo */
    --accent-color: #f7941d; /* Orange accent from the logo */
    --text-color: #333333; /* Dark gray for text */
    --white: #ffffff;
    --light-blue: #e6f3ff; /* Light blue for backgrounds */
    --gradient-start: #0066b2;
    --gradient-end: #00a86b;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--white);
    color: var(--text-color);
    line-height: 1.6;
}

header {
    background: #001F3D; /* Changed from gradient to solid color */
    padding: 0.5rem 2%; /* Reduced padding to account for smaller logo */
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(0, 31, 61, 0.95); /* Changed to match new color with transparency */
    padding: 0.1rem 2%; /* Reduced padding for scrolled state */
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
    padding: 0.5rem 1rem;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-bottom: 0.5rem;
}

.logo-image {
    max-height: 200px; /* Increased from 80px */
    width: auto;
    margin-right: 10px; /* Reduced from 20px for better spacing */
}

.logo-text {
    font-family: 'League Gothic', sans-serif;
    font-size: 2rem; /* Adjust size as needed */
    font-weight: normal;
    color: var(--white);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.logo-placeholder {
    width: 40px;
    height: 40px;
    background-color: #ffffff; /* White color */
    margin-right: 10px;
    border: 2px solid #000000; /* Add a black border */
    box-shadow: 0 0 5px rgba(0,0,0,0.5); /* Add a shadow */
}

nav {
    width: 100%;
    display: flex;
    justify-content: center;
}

nav ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    margin: 0;
    justify-content: center;
}

nav ul li {
    margin: 0 0.75rem;
}

nav ul li a {
    font-family: 'Arial', sans-serif; /* Added this line */
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

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

nav ul li a:hover {
    color: var(--accent-color);
}

main {
    margin-top: 80px;
}

.hero {
    background-image: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1472&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 52, 89, 0.7);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 2rem;
}

.hero h1 {
    font-family: 'Merriweather', serif;
    font-size: 4rem;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.3rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.cta-button {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: var(--primary-color);
}

.section {
    padding: 6rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    font-family: 'Merriweather', serif;
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
    margin: 1rem auto 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
    margin-top: 2rem;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--accent-color);
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.service-card i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-card h3 {
    font-family: 'Merriweather', serif;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    font-size: 1rem;
    color: var(--text-color);
}

form {
    display: grid;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

label {
    font-weight: 600;
    color: var(--primary-color);
}

input, textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--accent-color);
    background-color: var(--white);
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s ease;
}

input:focus, textarea:focus {
    border-color: var(--accent-color);
    outline: none;
}

button {
    background: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

button:hover {
    background: var(--primary-color);
}

footer {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 3rem 5%;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
    margin-left: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
}

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

.fade-in {
    animation: fadeIn 1s ease-out;
}

.bg-element {
    position: fixed;
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.1;
    z-index: -1;
    animation: float 15s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(50px, 50px); }
    50% { transform: translate(100px, -50px); }
    75% { transform: translate(-50px, 50px); }
}

.fade-in-section {
    opacity: 0;
    transform: translateY(20vh);
    visibility: hidden;
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
    will-change: opacity, visibility;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: none;
    visibility: visible;
}

.asymmetrical-element {
    position: absolute;
    width: 150px;
    height: 150px;
    background: var(--accent-color);
    clip-path: polygon(0% 0%, 100% 0%, 100% 75%, 75% 75%, 75% 100%, 50% 75%, 0% 75%);
    opacity: 0.1;
    z-index: -1;
}

.service-card i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover i {
    color: var(--primary-color);
    transform: scale(1.1);
}

/* Add these styles at the end of your style.css file */

.contact-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.contact-header h2 {
    margin-bottom: 1rem;
}

.contact-header p {
    font-size: 1.1rem;
    color: var(--text-color);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.page-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-family: 'Merriweather', serif;
    font-size: 1.2rem; /* Reduced from 1.5rem */
    margin: 0;
}

/* Mobile-friendly styles */
@media screen and (max-width: 768px) {
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .logo {
        margin-bottom: 0;
    }

    .menu-toggle {
        order: 3;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
    }

    .nav-menu {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 0.5rem 0;
    }

    .page-title {
        font-size: 1rem;
        margin: 0;
        position: static;
        transform: none;
    }

    .main-content {
        margin-top: 100px; /* Adjusted to account for smaller header */
    }

    .hero h1 {
        font-size: 2.5rem; /* Reduced from 4rem */
    }

    .hero p {
        font-size: 1rem; /* Reduced from 1.3rem */
    }

    .section {
        padding: 3rem 2%; /* Reduced padding */
    }

    h2 {
        font-size: 2rem; /* Reduced from 2.5rem */
    }
}

@media screen and (max-width: 480px) {
    .logo-image {
        height: 60px; /* Even smaller for very small screens */
    }

    .page-title {
        font-size: 0.9rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    h2 {
        font-size: 1.8rem;
    }
}