/* * Corgi Couriers Custom Stylesheet
 * Version: 3.0.0 (Merged Quote Styles)
*/

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    line-height: 1.8;
    font-size: 1.1rem;
    font-weight: normal;
}

a {
    color: #333333;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
    line-height: 1.8;
    font-size: 1.1rem;
    font-weight: normal;
}

a:hover,
a:focus {
    color: #FF8C00;
    line-height: 1.8;
    font-size: 1.1rem;
    font-weight: normal;
}

.section-heading {
    text-align: center;
    margin-bottom: 24px;
    color: #1A3E72;
    font-size: 2.5rem;
    font-weight: 800;
}

.section-heading:not(.services-heading) {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.standard-service-section.visible .section-heading,
.aboutSection.visible .section-heading,
.contactSection.visible .section-heading {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.dedication {
    font-size: 0.8rem;
}

/* --- Hero Section Styles --- */
.heroSection {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    box-sizing: border-box;
    background-color: transparent;
    transition: opacity 0.5s ease-out;
    background-repeat: no-repeat;
    position: relative;
}

.heroSection::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-image: linear-gradient(rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.4)), var(--hero-background-image);
    background-repeat: repeat;
    background-position: center;
    background-size: auto;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 25%, black 75%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 25%, black 75%, transparent 100%);
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

.heroSection.background-ready::before {
    opacity: 1;
    transform: scale(1);
}

.heroSection.faded-out {
    opacity: 0;
}

/* --- Hero Video Styles --- */
.heroVideo {
    padding-top: 25%;
    transform-origin: top;
    transform: scale(0.75);
}

.heroVideo.shrunk {
    transform: scale(0.00);
    padding-top: 0%;
}

.heroMediaWrapper.shrunk {
    transform: scale(0.00);
    max-height: 0px;
    opacity: 0;
    overflow: hidden;
}

/* --- Media Wrapper and Logo Styles --- */
.heroMediaWrapper {
    position: relative;
    line-height: 0;
    z-index: 2;
    transform-origin: top;
    transition: transform 2s ease-in-out 1s,
    max-height 2s ease-in-out 1s,
    opacity 1s ease-in-out 1s;
    max-height: 100vh;
    transform: scale(1);
    opacity: 1;
}

.heroLogo {
    display: block;
    margin: 0 auto 40px auto;
    width: 65%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.heroLogo.visible {
    opacity: 1;
}

/* --- Hero Content Styles --- */
.heroContent {
    text-align: center;
    position: relative;
    z-index: 10;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.heroContent h1,
.heroContent p,
.heroContent button {
    opacity: 0;
    transition: all 0.4s ease-out;
}

.heroContent button {
    transform: scale(1);
}

.heroContent.visible button {
    animation: heroButtonFadeIn 0.5s ease-out 3.5s forwards;
}

.heroContent.visible p,
.heroContent.visible h1 {
    opacity: 1;
    transform: scale(1);
    transition-delay: 4s;
}

/* --- Text and Button Styles --- */
.heroContent h1 {
    color: #1A3E72;
    font-weight: 1000;
    font-size: 2.8rem;
    font-family: 'Roboto Serif', serif;
}

.heroContent p {
    color: #1A3E72;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
}

.heroContent button {
    background-color: #FF8C00;
    color: white;
    padding: 15px 30px;
    border: 1px;
    border-color: #1A3E72;
    border-radius: 15px;
    font-size: 2.5rem;
    cursor: pointer;
    margin-top: 20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
}

/* --- Services Section Styles --- */
.servicesSection {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    z-index: 998;
    overflow: hidden;
    background-image: url('../images/servicesBackground2.png');
    background-attachment: fixed;
    background-position: top right;
    background-repeat: no-repeat;
    background-size: relative;
}

.services-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 1.5s ease-in-out, transform 1.5s ease-in-out;
}

.services-content-wrapper {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 50px;
    width: 100%;
}

.services-grid-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.two-column-services {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.services-grid-container > .serviceCard {
    flex: none;
}

.services-heading,
.servicesGrid {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* --- Staggered Animation on Scroll --- */
.servicesSection.visible .services-background-image {
    opacity: 1;
    transform: scale(1);
}

.servicesSection.visible .services-heading {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

.services-heading {
    color: #1A3E72;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.servicesGrid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.serviceCard {
    background-color: rgba(26, 62, 114, 0.80);
    padding: 20px;
    border-radius: 2px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.9), inset 0 0 40px rgb(26, 62, 114, 1);
    flex: 1 0 300px;
    border: 1px solid rgb(26, 62, 114, 1);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out, max-width 0.5s ease-in-out;
    position: relative;
    padding-bottom: 90px;
    font-weight: normal;
    color: rgb(26, 62, 114, 1);
    line-height: 1.8;
    font-size: 1.1rem;
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 1.0s ease-out, transform 1.0s ease-out;
}

.serviceCard.visible {
    opacity: 1;
    transform: scale(1);
}

.serviceCard.is-expanded {
    max-width: 1024px;
}

.collapsible-content {
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
    position: relative;
    margin-bottom: 15px;
}

.card-actions {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    padding: 0px 20px 0px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    opacity: 1;
}

.read-more-btn {
    text-align: center;
    cursor: pointer;
    transition: color 0.3s ease;
    display: block;
    margin: 0 auto;
    color: #FF8C00;
}

.quote-link {
    background-color: #FF8C00;
    color: white;
    padding: 8px 15px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.quote-link:hover {
    background-color: #FF8C00;
    color: white;
}

.read-more-btn:hover {
    color: #FFFFFF;
}

.serviceCard:hover {
    transform: rotateX(150deg);
    transform: translateY(-20px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.9), inset 0 0 40px rgb(26, 62, 114, 1);
}

.service-icon {
    height: 60px;
    width: auto;
    margin-bottom: 20px;
}

.serviceCard h3 {
    color: #FF8C00;
    font-size: 1.5rem;
    margin-top: 0;
    font-weight: normal;
}

.serviceCard p {
    color: #D3D3D3;
    line-height: 1.8;
    font-size: 1.1rem;
    font-weight: normal;
}

.serviceCard a {
    color: #D3D3D3;
    line-height: 1.8;
    font-size: 1.1rem;
}

.serviceCard a:hover {
    color: #333333;
}

.serviceCard ul {
    color: #D3D3D3;
    line-height: 1.8;
    font-size: 1.1rem;
}

.serviceCard li {
    line-height: 1.8;
    font-size: 1.1rem;
}

.servicesSection.visible .gradient-overlay,
.servicesSection.visible .services-background-image {
    opacity: 1;
    transform: scale(1);
}

.main-header {
    background-color: #F5F5F5;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 0 0 15px 15px;
    opacity: 0;
    transform: translateY(-120%);
}

.main-header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 30px;
}

.header-logo img {
    height: 60px;
    width: auto;
    display: block;
}

.main-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 30px;
}

.main-nav a {
    text-decoration: none;
    color: #333333;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #FF8C00;
    font-style: normal;
}

.cta-button {
    background-color: #FF8C00;
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    margin-left: auto;
}

.cta-button:hover {
    background-color: #FF8C00;
    color: white;
}

.header-animated-entrance {
    animation: slideAndFadeIn 1.5s ease-out forwards;
    animation-delay: 0.2s;
}

@keyframes slideAndFadeIn {
    from {
        transform: translateY(-120%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.header-wrapper {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.cta-button,
.heroContent button {
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out, background-color 0.3s ease-out;
}

.heroContent button:hover {
    color: #1A3E72;
    transform: translateY(-5px);
    box-shadow: 10px 10px 10px rgba(74, 144, 226, 0.5);
    transition-delay: 0s;
}

.cta-button:hover {
    color: #1A3E72;
    transform: translateY(-2px) translateX(-2px);
    box-shadow: 2px 2px 6px rgba(74, 144, 226, 0.5);
    transition-delay: 0s;
}

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

.fixed-gradient-overlay {
    position: fixed;
    left: 0;
    right: 0;
    height: 150px;
    z-index: 999;
    pointer-events: none;
}

.fixed-gradient-overlay.top {
    top: 0;
    height: 125px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0) 100%);
}

.fixed-gradient-overlay.bottom {
    bottom: 0;
    height: 50px;
    background: linear-gradient(to top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

.main-footer {
    position: relative;
    width: 100%;
    min-height: 475px;
    padding: 60px 20px;
    box-sizing: border-box;
    background-color: transparent;
    background-image: url('../images/footerBackground.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    overflow: hidden;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
}

.main-footer.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.footer-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.footer-column {
    flex: 1;
    background-color: rgba(26, 62, 114, 0.7);
    padding: 20px;
    border-radius: 2px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 15px;
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-column p,
.footer-column a {
    color: #D3D3D3;
}

.footer-column.links ul {
    list-style: none;
    padding: 0;
}

.footer-column.links a {
    text-decoration: none;
    line-height: 2.2;
    transition: color 0.3s ease;
}

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

.footer-bottom-links {
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.7rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a {
    font-family: 'Roboto', sans-serif;
    text-decoration: none;
    color: #ff8c00;
    font-weight: 600;
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.footer-bottom {
    position: relative;
    left: 0;
    width: 100%;
    text-align: center;
    padding-top: 40px;
}

.footer-bottom h5 {
    font-family: 'Roboto', sans-serif;
    font-size: .75rem;
    line-height: 1.6;
    font-weight: 400;
}

/* --- About Us Section Styles --- */
.aboutSection {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 80px 20px;
    background-image: url('../images/ourStory.png');
    background-attachment: fixed;
    background-position: top right;
    background-repeat: no-repeat;
    background-size: relative;
}

.about-text-box p {
    color: #1A3E72;
}

.servicesSection::before,
.standard-service-section::before,
.aboutSection::before,
.contactSection::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 150px;
    z-index: 1;
    background: linear-gradient(to bottom, white 0%, rgba(255, 255, 255, 0) 100%);
}

.servicesSection::after,
.standard-service-section::after,
.aboutSection::after,
.contactSection::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    z-index: 1;
    background: linear-gradient(to top, white 0%, rgba(255, 255, 255, 0) 100%);
}

.about-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
}

.aboutSection.visible .about-background-image {
    opacity: 1;
    transform: scale(1);
}

.about-content {
    position: relative;
    z-index: 1;
}

.about-row {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto 60px auto;
    gap: 50px;
}

.about-row.reverse {
    flex-direction: row-reverse;
}

.about-text-box {
    flex: 1;
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.92);
    border-radius: 2px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.about-text-box h3 {
    font-family: 'Montserrat', sans-serif;
    color: #1A3E72;
    font-size: 1.5rem;
    font-weight: normal;
    margin-top: 0;
}

.about-image-box {
    flex: 1;
}

.about-image-box img {
    width: 80%;
    display: block;
    margin: 0 auto;
    opacity: 1;
    border-radius: 2px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}

.about-row .about-text-box,
.about-row .about-image-box {
    opacity: 0;
    transform: scale(1);
    transition: opacity 1.5s ease-out, transform 0.8s ease-out;
}

.aboutSection.visible .about-row .about-text-box,
.aboutSection.visible .about-row .about-image-box {
    opacity: 1;
    transform: scale(1);
}

.aboutSection.visible .about-row:nth-of-type(1) .about-image-box {
    transition-delay: 0.1s;
}

.aboutSection.visible .about-row:nth-of-type(1) .about-text-box {
    transition-delay: 0.1s;
}

.aboutSection.visible .about-row:nth-of-type(2) .about-text-box {
    transition-delay: 0.8s;
}

.aboutSection.visible .about-row:nth-of-type(2) .about-image-box {
    transition-delay: 0.8s;
}

/* --- Contact Us Section Styles (REVISED) --- */
.contactSection {
    min-height: 90vh;
    padding: 80px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    background-color: transparent;
}

.contact-container {
    display: flex;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    background-color: transparent;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-radius: 2px;
    align-items: stretch;
}

.contact-column {
    padding: 40px;
    box-sizing: border-box;
}

.contact-form-column {
    flex: 0 0 60%;
}

.contact-image-column {
    flex: 0 0 40%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.contact-form-column h2 {
    color: #1A3E72;
    font-size: 2.5rem;
    margin-top: 0;
}

.contact-form-column p {
    color: #1A3E72;
    margin-bottom: 30px;
}

/* --- MERGED FORM STYLES (UPDATED FROM QUOTE.CSS) --- */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #1A3E72;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #D3D3D3;
    border-radius: 8px;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    /* Added inner shadow from quote.css */
    box-shadow: inset 0 4px 8px rgba(0,0,0,0.06);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4A90E2;
    /* Added Orange Glow from quote.css */
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1), 0 0 8px rgba(255, 140, 0, 0.8);
}
/* ------------------------------------------------ */

.btn-submit {
    background-color: #FF8C00;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    cursor: pointer;
    font-weight: 800;
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out, background-color 0.3s ease-out;
}

.btn-submit:hover {
    background-color: #FF8C00;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.social-links {
    margin-top: 30px;
    text-align: center;
}

.social-links a {
    color: #333333;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #FF8C00;
}

.bird-image {
    max-width: 100%;
    height: auto;
}

.paper-plane-image {
    position: absolute;
    top: 40px;
    left: 20px;
    width: 100px;
    transform: rotate(15deg);
}

.contact-form-column,
.contact-image-column .paper-plane-image {
    opacity: 0;
}

.contact-image-column .bird-image {
    opacity: 1;
}

.contactSection.visible .contact-form-column {
    animation: formColumnFadeIn 1s ease-out 0.6s forwards;
}

@keyframes birdEntrance {
    from {
        transform: translate(800px, 0) scale(0.2);
        opacity: 0;
    }
    to {
        transform: translate(0, 0) scale(1);
        opacity: 0.9;
    }
}

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

@keyframes paperPlaneEntrance {
    from {
        transform: translateX(-300px) rotate(15deg);
        opacity: 0;
    }
    to {
        transform: translateX(0) rotate(15deg);
        opacity: 0.7;
    }
}

/* --- Why Us Section Styles --- */
.why-us-section {
    padding: 80px 20px;
    background-color: transparent;
    overflow: hidden;
}

.why-us-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.why-us-row {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 60px;
}

.why-us-row.reverse {
    flex-direction: row-reverse;
}

.why-us-image-box,
.why-us-text-box {
    flex: 1;
}

.why-us-image-box img {
    width: 100%;
    max-width: 500px;
    display: block;
    margin: 0 auto;
    border-radius: 2px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.why-us-text-box {
    padding: 30px;
}

.why-us-text-box h3 {
    color: #1A3E72;
    font-size: 2rem;
    margin-top: 0;
}

.why-us-text-box p {
    color: #333333;
    line-height: 1.6;
}

.why-us-row .why-us-image-box,
.why-us-row .why-us-text-box {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.why-us-row .why-us-image-box {
    transform: translateX(-50px);
}

.why-us-row.reverse .why-us-image-box {
    transform: translateX(50px);
}

.why-us-row .why-us-text-box {
    transform: translateX(50px);
}

.why-us-row.reverse .why-us-text-box {
    transform: translateX(-50px);
}

.why-us-row.visible .why-us-image-box,
.why-us-row.visible .why-us-text-box {
    opacity: 1;
    transform: translateX(0);
}

.why-us-row.visible .why-us-text-box {
    transition-delay: 0.2s;
}

.content-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

/* --- Accordion Button Styling --- */
.accordion-header {
    background-color: #F5F5F5;
    color: #1A3E72;
    cursor: pointer;
    padding: 18px 20px;
    width: 100%;
    border: none;
    border-bottom: 1px solid #D3D3D3;
    text-align: left;
    outline: none;
    font-size: 1.0rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    transition: background-color 0.3s ease;
    position: relative;
}

.accordion-item:first-of-type .accordion-header {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.accordion-item:last-of-type .accordion-header:not(.active) {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    border-bottom: none;
}

.accordion-header:hover {
    background-color: #e9e9e9;
}

.accordion-header.active {
    background-color: #e0e8f5;
}

.accordion-header::before,
.accordion-header::after {
    content: '';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 2px;
    background-color: #1A3E72;
    transition: transform 0.3s ease-out;
}

.accordion-header::after {
    transform: translateY(-50%) rotate(90deg);
}

.accordion-header.active::after {
    transform: translateY(-50%) rotate(0deg);
}

.accordion-content p,
.accordion-content ul,
.accordion-content li {
    font-family: 'Roboto', sans-serif;
}

/* --- Standard Service Section Styles --- */
.standard-service-section {
    padding: 80px 20px;
    background-color: transparent;
    position: relative;
    overflow: hidden;
    background-image: url('../images/corgiCareBackgroundMob.jpeg');
    background-attachment: fixed;
    background-position: bottom left;
    background-repeat: no-repeat;
    background-size: relative;
}

.standard-service-section.visible {
    opacity: 1;
    transform: scale(1);
}

.section-super-heading {
    font-size: 2.5rem;
    color: #1A3E72;
    margin-bottom: 12px;
    font-weight: 800;
}

.standard-service-subtitle {
    color: #FF8C00;
    line-height: 1.8;
    font-size: 1.1rem;
}

.service-panels-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.service-panel {
    display: flex;
    align-items: center;
    gap: 40px;
    background-color: rgba(255, 140, 0, 0.8);
    padding: 40px;
    border-radius: 2px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.9), inset 0 0 40px rgb(255, 255, 255);
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.service-panel.visible {
    opacity: 1;
    transform: scale(1);
}

.service-panel:hover {
    transform: translateY(-20px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.9), inset 0 0 40px rgb(255, 255, 255);
}

.service-panel.reverse {
    flex-direction: row-reverse;
}

.panel-image {
    flex: 0 0 25%;
}

.panel-image img {
    width: 100%;
    height: auto;
    max-height: 300px;
    border-radius: 2px;
}

.panel-text {
    flex: 1;
    text-align: left;
}

.panel-text h3 {
    color: #1A3E72;
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: normal;
}

.panel-text p {
    color: #1A3E72;
    line-height: 1.8;
    font-size: 1.1rem;
}

/* --- HAMBURGER MENU & MOBILE NAV STYLES --- */
.hamburger-menu {
    display: none;
    cursor: pointer;
    padding: 15px;
    z-index: 1001;
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #1A3E72;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 1000;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav li a {
    display: block;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    color: #1A3E72;
    font-weight: 600;
    border-bottom: 1px solid #F5F5F5;
}

.cta-button-mobile {
    background-color: #FF8C00;
    color: white !important;
    font-weight: 800;
}

/* ---------------------------------Mobile Section---------------------------------- */
@media (max-width: 1150px) {
    html, body {
        width: 100%;
        overflow-x: hidden;
    }

    .hamburger-menu {
        display: block;
    }

    .main-nav, .cta-button {
        display: none;
    }

    .heroContent {
        text-align: center;
        position: relative;
        z-index: 10;
    }

    .header-wrapper {
        position: fixed !important;
        width: 80%;
        max-width: 800px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 2000;
    }

    .heroContent h1 {
        font-size: 2.2rem;
        line-height: 1.5;
    }

    .heroContent button {
        font-size: 2.2rem;
        padding: 12px 24px;
    }

    .heroSection {
        padding-top: 175px;
        min-height: 100vh;
        height: auto;
    }

    .heroVideo {
        transform: scale(0.65);
        width: 100%;
        max-width: 900px;
    }

    .heroLogo {
        width: 70%;
    }

    .servicesSection,
    .standard-service-section,
    .aboutSection,
    .contactSection {
        padding: 60px 15px;
        background-attachment: scroll;
    }

    .service-panel,
    .service-panel.reverse,
    .about-row,
    .about-row.reverse,
    .contact-container,
    .footer-container {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .panel-image img {
        max-height: 200px;
    }

    .about-image-box img {
        width: 70%;
    }

    .contact-form-column,
    .contact-image-column {
        flex: 1 1 100%;
    }

    .main-footer {
        padding-top: 80px;
    }

    .servicesSection {
        background-size: 200%;
        background-position: center right;
        background-repeat: no-repeat;
    }

    .aboutSection {
        background-size: 200%;
        background-position: center right;
        background-repeat: no-repeat;
    }

    .standard-service-section {
        background-size: 200%;
        background-position: center left;
        background-repeat: no-repeat;
    }

    .main-footer {
        background-size: cover;
        background-position: center;
    }
}

/* ==========================================================================
 *  FINAL MERGED STYLES FOR QUOTE PAGE
 *  ========================================================================== */

/* --- 1. Quote Page Logo --- */
.quote-page-logo {
    display: block;
    margin: 0 auto 30px auto;
    height: 80px;
    width: auto;
}

/* --- 2. Quote Section Layout --- */
.quote-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    z-index: 998;
    background-color: #ffffff;
}

.quote-section .container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* --- 3. Typography (FIXED) --- */

/* 1. Main Heading (Ensures Visibility) */
.quote-heading {
    text-align: center;
    color: #1A3E72; /* Dark Blue */
    font-size: 2.5rem;
    margin-bottom: 24px;
    font-weight: 800;
    opacity: 1;
    transform: none;
}

/* 2. Subheading (Blue #1A3E72) */
.quote-subheading {
    text-align: center;
    margin-top: -10px;
    margin-bottom: 40px;
    color: #1A3E72; /* Corgi Blue */
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.5;
}

/* 3. The "Required fields" note (Smaller) */
.required-note {
    font-size: 0.9rem;  /* Significantly smaller */
    font-weight: normal; /* Less bold than the first line */
    display: inline-block;
    margin-top: 5px;
    color: #1A3E72;
}

/* --- 4. Form Container --- */
.quote-form {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
}

/* --- 5. Form Typography & Colors --- */
.quote-form legend {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1A3E72;
    margin-bottom: 20px;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
}

.form-group label {
    display: block;
    color: #1A3E72;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #D3D3D3;
    border-radius: 8px;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: #333333;
    background-color: #ffffff;
    box-shadow: inset 0 4px 8px rgba(0,0,0,0.06);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4A90E2;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1), 0 0 8px rgba(255, 140, 0, 0.8);
}

/* --- 6. Form Layout & Fieldsets --- */
.quote-form fieldset {
    border: none;
    padding: 0;
    margin: 0 0 30px 0;
    border-bottom: 1px solid #D3D3D3;
    padding-bottom: 30px;
    opacity: 0;
    animation: fallIn 1.0s ease-out forwards;
}

.quote-form fieldset:last-of-type {
    border-bottom: none;
}

.form-row {
    display: flex;
    gap: 30px;
}

.form-row .form-group {
    flex: 1;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.checkbox-group label {
    color: #1A3E72;
    font-weight: 600;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
}

/* --- 7. Submit Button (FIXED SIZE) --- */
.btn-submit {
    display: block;
    /* width: 100%;  <-- REMOVED THIS */
    width: auto;    /* Allow button to size to text */
    min-width: 250px; /* Ensure it's not too small */
    margin: 0 auto;   /* Centers the button */

    background-color: #FF8C00;
    color: white;
    padding: 15px 40px; /* More padding for a nice shape */
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    cursor: pointer;
    font-weight: 800;
    transition: all 0.3s ease;

    opacity: 0;
    animation: fallIn 1.0s ease-out forwards;
    animation-delay: 1.0s;
}

.btn-submit:hover {
    background-color: #e67e00;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* --- 8. Gradients --- */
.quote-section::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 125px;
    z-index: 999;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0) 100%);
}

.quote-section::after {
    content: '';
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 50px;
    z-index: 999;
    pointer-events: none;
    background: linear-gradient(to top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

/* --- 9. Animations & Mobile --- */
@keyframes fallIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.quote-form fieldset:nth-of-type(1) { animation-delay: 0.2s; }
.quote-form fieldset:nth-of-type(2) { animation-delay: 0.4s; }
.quote-form fieldset:nth-of-type(3) { animation-delay: 0.6s; }
.quote-form fieldset:nth-of-type(4) { animation-delay: 0.8s; }

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 20px;
    }
    .quote-form {
        padding: 20px;
    }
    /* Mobile tweaks */
    .quote-heading {
        font-size: 2rem;
    }
    .btn-submit {
        width: 100%; /* Full width is usually better on mobile phones */
    }
}

/* --- DESKTOP ONLY FIX (Version 3.001) --- */
/* Applies ONLY to screens wider than mobile (1151px+) */
@media (min-width: 1151px) {

    .heroContent {
        top: -10vh !important;
    }

    .heroContent h1 {
        font-size: 2.2rem !important; /* Reduced from default 2.8rem */
        margin-top: 10px !important;
        margin-bottom: 15px !important;
    }

    .heroContent p {
        font-size: 1.3rem !important;
        margin-bottom: 20px !important;
    }

    .heroLogo {
        width: auto !important;
        max-height: 55vh !important;
        max-width: 65% !important;
    }
}

.heroContent.instant-reveal h1,
.heroContent.instant-reveal p {
    transition-delay: 0.7s !important;
}

.heroContent.instant-reveal button {
    animation-delay: 0.5s !important;
}
