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

/* Fonts */
body {
    font-family: 'Oswald', sans-serif;
    background: radial-gradient(circle at top, #121826 0%, #0b0f1a 70%);
    color: #e0e0e0;
    line-height: 1.6;
}



h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif;
    color: #ffffff;
    letter-spacing: 2px;
    font-weight: 100;
}



/* Links */
a {
    color: #c0c0ff;
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

a:hover {
    color: #ffffff;
    text-shadow: 0 0 5px #c0c0ff;
}

/* Header & Navbar */
.site-header {
    background-image: url('city.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    color: white;
    padding: 5px 20px;
    padding-bottom: 0;
}

.logo-container {
    text-align: center;
    margin-bottom: 5px;
}

.logo-container img.logo {
    height: 250px;
}

.navbar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.575);
    padding: 10px 30px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(6px);
}

.navbar-logo-text {
   font-family: 'Oswald', sans-serif;
    color: #ffffff;/*#866b7a;*/
    font-weight: 100;
    font-size: 1.5rem;
}

.navbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 10px 20px;
    font-weight: 100;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
    font-weight: 100;
}

.nav-links li a {
    color: #ffffff;
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-size: 1.3rem;
    transition: color 0.3s ease;
    border-radius: 8px;
}

.nav-links li a:hover {
    color: #34d8eb;
}

/* Contact button */
.contact-button {
    background-color: #34d8eb;
    padding: 0 14px;
    display: flex;
    color: #ffffff !important;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.contact-button:hover {
    background-color: #1fa5ba;
    transform: scale(1.05);
}

/* Hero Section / Home Background */
/* Remove fixed margin-top */
.home-hero {
    position: relative;
    background: url('../enterprise_accounting/gotham3.svg') no-repeat center;
    background-size: cover;
    height: calc(100vh - 80px); /* 80px = approximate navbar height */
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 80px; /* space so logo isn't hidden behind fixed navbar */
    overflow: hidden;
}



.home-hero::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to bottom, rgba(11, 15, 26, 0) 0%, #0b0f1a 100%);
    pointer-events: none;
}

/* Logo fade-in */
.hero-logo {
    width: 300px;
    margin-top: 80px;
    opacity: 0;
    animation: fadeInLogo 3s ease-in forwards;
    filter: drop-shadow(0 0 12px rgba(52, 216, 235, 0.9))
            drop-shadow(0 0 22px rgba(52, 216, 235, 0.7));
}


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

.hero-image-wrapper {
    display: flex;
    justify-content: center;
    margin: 1.5rem 0;
}

.hero-cartoon {
    max-width: 1000px;
    width: 100%;
    height: auto;
}

/* Hero Section Content */
.hero {
    position: relative;
    text-align: center;
    padding: 150px 300px 50px 300px; /*top right bottome left */
    background: linear-gradient(to bottom, rgba(21, 33, 62, 0) 0%, #15213e 30%, #4d5881 100%);
    border-bottom: 2px solid #34d8eb;
    margin-top: 40px;
    z-index: 2;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #34d8eb;
}

.hero p {
    font-size: 1.5rem;
    max-width: 900px; /* increase from 600px */
    margin: 0 auto;
    line-height: 1.8;
    text-align: center; /* keep it centered */
}

@media (max-width: 768px) {
    .hero p {
        max-width: 90%; /* keeps it narrower on tablets and phones */
        font-size: 1.3rem;
    }
}


/* About Page Layout */

.about-container {
    display: flex;
    flex-wrap: nowrap; /* keep items side by side */
    justify-content: space-between; /* space between text and image */
    align-items: center;
    gap: 2rem;
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.about-image {
    flex: 1; /* takes up remaining space on the right */
    text-align: right;
}

.about-image img {
    max-width: 500px; /* increase image size */
    width: 100%;
    box-shadow: 0 8px 20px rgba(0,0,0,0.8);

}

.about-text {
    flex: 1; /* takes up available space on the left */
    font-size: 1.2rem;
    line-height: 1.8;
    color: #d0d0d0;
    text-align: left; /* align text to the left now */
}

.about-text h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    color: #34d8eb;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 6px rgba(0,0,0,0.7);
}

/* About Page Hero Section */
.tagline-strip {
    background: #0b0f1a;
    text-align: center;
    padding: 1.5rem;
    font-size: 1.3rem;
    color: #34d8eb;
    text-shadow: 0 0 10px rgba(52, 216, 235, 0.6);
}

.section-divider {
    width: 100%;
    height: 130px;
    background: linear-gradient(to bottom, transparent, #0b0f1a);
}

.mission-panel {
    background: rgba(11, 15, 26, 0.65);
    text-align: center;
    border-radius: 12px;
    backdrop-filter: blur(4px);
    padding: -50px; /*top right bottom left */
    margin-left: 200px;
    margin-right: 200px;
    font-size: 1.2rem;
}

.section-title {
    border-bottom: 2px solid #34d8eb;
    display: inline-block;
    padding-bottom: 6px;
    font-size: 2rem;
    color: #fff;
    margin-bottom: 1.2rem;
}

.cta-blue {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.7rem 1.8rem;
    background: #34d8eb;
    color: #000;
    font-weight: bold;
    border-radius: 6px;
    transition: 0.3s ease;
    font-family: 'Oswald', sans-serif;
}

.cta-blue:hover {
    background: #2fb9c8;
    transform: translateY(-3px);
}

.themed-about {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    max-width: 900px;
    text-align: center;
}

/* Services Page */
.services-page {
    text-align: center;
    padding: 4rem 2rem;
    margin: 0 auto;
    background-image: url('services.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    background-attachment: fixed;
}

/* Our Services text */
.services-page h1 {
    color: #000000;
    font-size: 2.8rem;
    margin-bottom: 20px;
    margin-top: 50px;

    text-shadow:
        -1px -1px 0 #34d8eb,  
         1px -1px 0 #34d8eb,
        -1px  1px 0 #34d8eb,
         1px  3px 0 #7ee4f0;
}

/* Box with services on the services page below the header and subheader */
.service-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    text-align: left;
    max-width: 700px;
    background-color: rgba(93, 93, 94, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 10px;
    padding: 20px;
}


/* Descriptions under each service header */
.service-list li {
    background: none;
    margin-left: 30px;
    margin-bottom: 2rem;
    padding: 0;
}

.service-list li:hover {
    transform: translateY(0);
}

.service-list h2 {
    cursor: pointer;
    font-family: 'Oswald', sans-serif;
    font-size: 1.6rem;
    margin-bottom: 0.3rem;
    color: #ffffff;
    transition: color 0.3s;
}

.service-list h2:hover {
    color: #34d8eb;
}

.service-list h4,
.service-list p {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #cccccc;
    margin-bottom: .8rem;
}

.service-list h4 {
    margin-left: 20px;  /* increase this value to indent more */
}


.service-details {
    font-size: 1.3rem;
    list-style: disc;
    margin-left: 2rem;
    letter-spacing: 0.5px;
    color: #d0d0d0;
    font-family: 'Oswald', sans-serif;
    line-height: 1.8;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.5s ease;
}

.service-details.open {
    max-height: 2000px;
}

.service-toggle {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: 10px;
    font-family: 'Oswald', sans-serif;
}

.toggle-indicator {
    font-size: 1rem;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

/* Contact Form */
.contact-form {
    background-color: #12182b;
    padding: 2rem;
    margin: 3rem auto;
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.contact-form h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
}

.contact-form .form-row,
.contact-form .form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.contact-form .form-group.full-width {
    width: 100%;
}

.contact-form input,
.contact-form textarea {
    background-color: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    padding: 0.7rem;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    width: 100%;
    resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #ccc;
}

.contact-form form button {
    display: block;
    width: auto;
    padding: 0.8rem 2rem;
    margin: 1.5rem auto 0;
    border: none;
    background-color: #34d8eb;
    color: #0b0f1a;
    font-family: 'Oswald', sans-serif;
    font-size: 1.3rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.contact-form form button:hover {
    background-color: #1fa5ba;
    transform: scale(1.03);
}

.messages {
    text-align: center;
    margin-top: 1rem;
    color: #34d8eb;
    font-family: 'Oswald', sans-serif;
}

/* Footer */
footer {
    text-align: center;
    padding: 1.5rem;
    background-color: #12182b;
    border-top: 2px solid #2c3e50;
    margin-top: 3rem;
    font-size: 0.9rem;
    color: #999;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .site-header {
        align-items: center;
    }

    .navbar {
        justify-content: center;
        margin-top: 10px;
    }

    .nav-links {
        flex-direction: column;
        gap: 10px;
    }

    .themed-about,
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-text {
        max-width: 100%;
        font-size: 1rem;
    }

    .hero-logo {
        width: 200px;
        margin-top: 40px;
    }

    .about-text h2 {
        font-size: 2rem;
    }
}

@media (max-width: 600px) {
    .contact-form .form-row {
        flex-direction: column;
    }
}

/* CONTACT PAGE ENHANCEMENTS */

/* Background hero for contact page */
body.contact-page {
    background-image: url('contactback.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    overflow-x: hidden;
}


/* Add a dark overlay */
body.contact-page::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(11,15,26,0.6) 0%, rgba(11,15,26,0.9) 100%);
    z-index: -1;
}

/* Fade-in animation */
@keyframes fadeInContact {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contact Form styling updates */
.contact-form {
    position: relative;
    background-color: rgba(18, 24, 43, 0.9);
    padding: 3rem;
    border: 1px solid rgba(52, 216, 235, 0.4);
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(52, 216, 235, 0.1);
    backdrop-filter: blur(6px);
    animation: fadeInContact 1.2s ease-out both;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    margin-top: 120px;
}

.contact-form:hover {
    box-shadow: 0 0 40px rgba(52, 216, 235, 0.4);
    transform: scale(1.02);
}

/* Animated heading glow */
.contact-form h2 {
    position: relative;
    color: #34d8eb;
    text-shadow: 0 0 8px rgba(52, 216, 235, 0.8);
    animation: glowPulse 2.5s infinite ease-in-out;
}

@keyframes glowPulse {
    0%, 100% {
        text-shadow: 0 0 8px rgba(52, 216, 235, 0.8);
    }
    50% {
        text-shadow: 0 0 18px rgba(52, 216, 235, 1);
    }
}

/* Messages subtle pulse */
.messages p {
    color: #34d8eb;
    font-weight: 500;
    text-shadow: 0 0 6px rgba(52, 216, 235, 0.6);
    animation: fadeInContact 1s ease-out;
}

.hero-cartoon {
    max-width: 1000px;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease, box-shadow 0.4s ease;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(52, 216, 235, 0.15);
}

.hero-cartoon:hover {
    transform: scale(1.03);
    box-shadow: 0 0 35px rgba(52, 216, 235, 0.45),
                0 0 60px rgba(52, 216, 235, 0.25);
}

/* Modal background */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-inner {
    position: relative;
    display: inline-block;
}

.modal-content {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 10px;
}

/* X positioned inside the top-right corner of the image */
.close-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    z-index: 10000;
    background: rgba(0,0,0,0.4);
    padding: 5px 10px;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.close-modal:hover {
    background: rgba(0,0,0,0.7);
}


/* Animations */
@keyframes fadeInModal {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

@media (max-width: 768px) {
  .home-hero {
    background-position: center center; /* simpler, avoids weird offsets */
    background-size: cover;             /* ensures full coverage */
    min-height: 100vh;                  /* fills at least the viewport */
    padding-top: 70px;                  /* if you have a navbar */
    padding-bottom: 20px;               /* optional space before footer */
  }

  .hero-logo {
    margin-top: 40px;
  }
}

/* Fix navbar layout on small screens WITHOUT redesigning it */
@media (max-width: 480px) {

    .navbar-header {
        padding: 10px 12px;   /* slightly more padding for touch-friendly area */
        flex-wrap: wrap;
        text-align: center;
    }

    .navbar-logo-text {
        font-size: 1.3rem !important;  /* increased from 1rem */
        flex-basis: 100%;
        text-align: center;
        margin-bottom: 8px;
    }

    .navbar {
        padding: 0;
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .nav-links {
        flex-direction: row !important;   
        flex-wrap: wrap;                  
        gap: 12px 16px;                  /* slightly bigger gap for readability */
        justify-content: center;
    }

    .nav-links li a {
        font-size: 1.5rem !important;   /* increased from 1rem */
        padding: 6px 10px;              /* more tappable area */
    }
}


    /* Contact button mobile sizing */
    .contact-button {
        padding: 4px 10px !important;
        font-size: 1rem !important;
    }
}

/* --- ABOUT PAGE MOBILE FIXES --- */
@media (max-width: 480px) {

    /* Hero Section */
    .hero {
        padding: 100px 15px 40px 15px !important; /* reduce side padding */
        margin-top: -80px;                        /* reduce overlap with fixed header */
    }

    .hero h2,
    .hero p {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    line-height: 1.6;
    }


    /* Cartoon image wrapper */
    .hero-image-wrapper {
        padding: 0;
        display: flex;
        justify-content: center;
        margin: 1rem 0;
    }

    .hero-cartoon {
        max-width: 90%; /* fit inside small screens */
        height: auto;
    }


    /* Mission panel */
    .mission-panel {
        margin-left: 15px !important;
        margin-right: 15px !important;
        padding: 20px !important;
        font-size: 1rem !important;
    }

    /* Reduce section dividers */
    .section-divider {
        height: 80px !important;
    }

    /* Text alignment for small screens */
    .hero, .mission-panel, .tagline-strip {
        text-align: center;
    }
}

@media (max-width: 480px) {

    /* Force normal flow and full width */
    .hero, 
    .hero * {
        width: 100% !important;
        max-width: 100% !important;
        white-space: normal !important;
        word-break: normal !important;
    }

    /* Remove negative spacing that may collapse width */
    .hero {
        margin-top: 0 !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

@media (max-width: 480px) {

    /* Fix narrow text in the mission panel */
    .mission-panel,
    .mission-panel * {
        width: 100% !important;
        max-width: 100% !important;
        white-space: normal !important;
        word-break: normal !important;
    }

    .mission-panel {
        padding-left: 15px !important;
        padding-right: 15px !important;
        text-align: center !important;
    }
}

@media (max-width: 480px) {

    /* Center the entire mission panel */
    .mission-panel {
        margin: 0 auto !important;        /* center the block */
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;           /* take full width */
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}

