/* Reset and Base Styles */
* {
    margin: 0px;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #ffffff;
    color: #2980b9;
}

/* Navigation */
nav {
    position: relative;
    z-index: 1000; /* Add this */
    background-color: #ffffff;
    padding: 0.5rem 0.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1100px;
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;

}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #010e1b;
}

.nav-links a {
    margin-left: 2rem;
    text-decoration: none;
    color: #000000;
    font-weight: 500;
    transition: color 0.3s;
}
.nav-links a.active {
    color: #2980b9; /* e.g., #ff0000 */
    font-weight: bold;
    border-bottom: 2px solid #2980b9; /* optional underline */
}

.nav-links a:hover {
    color: #3498db;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.9));
    background-size: cover;
    text-align: center;
}

.hero-content {
    max-width: 768px;
    margin: 0 auto;
    align-self: center;
    margin-top: -60px;
}

h1 {
    font-size: 0.5rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #7f8c8d;
}

.subtitle strong {
    color: #3498db;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Services Page Styles */

.services-hero {
    background: #3b5269;
    color: white;
    text-align: center;
    padding: 3rem;
}

.services-hero h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}
/* Services Intro Styling */
.services-intro {
    margin-bottom: 3rem;
    text-align: center;
    color: #2980b9;
}

.services-intro h2 {
    font-size: 2.2rem;
    color: #2980b9;
    margin-bottom: 1.5rem;
}

.services-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2980b9;
    max-width: 1000px;
    margin: 0 auto;
    margin-bottom: 1.5rem;
}


.services-main {
    padding: 4rem 2rem;
    min-height: 60vh; 
}

.service-category {
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.service-card h3 {
    color: #3498db;
    margin-bottom: 1rem;
}

/* Unified Service Card Styling */
.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.service-card i {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.service-card p {
    color: #7f8c8d;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}


/* For mobile responsiveness */
@media (max-width: 768px) {
    .feature-image img {
        max-width: 100%; /* Full width on mobile */
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
    }
}


/*Services Grid /*/
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 2rem 0;
}

.service-card {
    background: #ffffff;
    padding: 2rem;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card i {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.highlight {
    background: #f8f9fa;
}


/*/ Service Category Section */
.service-category {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto 3rem;
}

.service-category h2 {
    font-size: 2.2rem; /* Increased from typical 2rem */
    margin-bottom: 2rem;
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem; /* Space between icon and text */
    margin-top: 2rem;
    max-width: 1000px;
}

.service-category h2 i {
    font-size: 2.2rem; /* Adjust icon size proportionally */
}

/* Fade-in animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(140px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-content, .service-card {
    animation: fadeIn 0.9s ease-out forwards;
    opacity: 0; /* Start hidden */
}

/* Stagger animations */
.service-card:nth-child(1) { animation-delay: 0.2s; }
.service-card:nth-child(2) { animation-delay: 0.4s; }
.service-card:nth-child(3) { animation-delay: 0.5s; }

.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}
@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr 1fr;
    }
}


@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-spinner {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    vertical-align: middle;
    margin-left: 8px;
}




/* Hero Image Styles */
.hero {
    background: 
        linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), /* Dark overlay */
        url('images/background.jpg') center/cover no-repeat; /* Your image */
    min-height: 100vh; /* Full-screen height */
    display: flex;
    align-items: center;
    position: relative;
    justify-content: center;
    text-align: center;
    color: white;

}

.hero-content {
    max-width: 1100px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 1.9px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}
/* Larger Header/Navigation Bar */
nav {
    background-color: #ffffff;
    padding: 0.5rem 0.5rem; /* Increase vertical padding (top/bottom) */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); /* Optional: Add shadow */
}

.logo {
    font-size: 2rem; /* Larger logo text */
    font-weight: bold;
    color: white; /* Match ReBound's style */
}

.nav-links a {
    font-size: 1.1rem; /* Slightly larger navigation links */
    margin-left: 2.5rem; /* More spacing between links */
    color: rgb(0, 0, 0); /* White text for contrast */
    padding: 0.5rem 1rem; /* Add padding for clickable area */
    transition: all 0.3s;
}

.nav-links a:hover {
    color: #3498db; /* Highlight color on hover */
    background-color: rgba(255,255,255,0.1); /* Subtle hover effect */
    border-radius: 3px;
}
/* Footer Styles */
footer {
    margin-top: auto;
    background-color: #ffffff;
    color: rgb(12, 0, 0);
    padding: 3rem 2rem;
    margin-top: 0 !important;
    padding: 1.5rem 1rem;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem 2rem;
    justify-content: center;

}

.footer-section {
    margin-bottom: 1.5rem;
    margin: 0;
    padding: 0.5rem;
}

.logo-footer {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-section h4 {
    color: #3498db;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #3498db;
}

.copyright {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #4a8bb6;
    margin-top: 1rem;  /* Reduced from 2rem */
    padding-top: 1rem;  /* Reduced from 2rem */
    border-top: 1px solid #34495e;
}

/*__________Footer Edit________________*/

.no-bullets {
    list-style: none;
    padding-left: 0;
    margin: 0;
}


.logo-footer {
    margin-bottom: 0.5rem !important;
}

.tagline {
    margin: 0;
    font-size: 0.9rem;
}


/*LOGO in FOOTER/

/* Footer Logo Styles */
.footer-logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo {
    width: 90px; /* Adjust based on your logo size */
    height: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

/* For mobile responsiveness */
@media (max-width: 768px) {
    .footer-logo-container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-logo {
        width: 110px;
    }
}

/* Add hover effect*/
.footer-logo:hover {
    opacity: 0.9;
    transform: scale(1.02);
    transition: all 0.3s ease;
}




/* Contact Page Styles */
.contact-form-section {
    padding: 1rem 1rem;
    max-width: 900px;
}

.form-container h1 {
    font-size: 2.5rem;
    color: #547ba1;
    text-align: top;
}

.form-container p {
    font-size: 1rem;
    color: #7f8c8d;
}

.form-group {
    margin-bottom: 0.8rem;
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.1rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 500;
}

.input-group input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #bdc3c7;
    border-radius: 4px;
}

.checkbox-group label {
    display: block;
    margin: 0.5rem 0;
}

.privacy-check {
    display: block;
    margin: 1rem 0;
}


/* Feature Sections */
.feature-section {
    padding: 4rem 2rem;
    background: #000000;
}

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.feature-text h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.feature-text h2 i {
    color: #3498db;
    margin-right: 1rem;
}

.feature-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Quick Links */
.quick-links {
    padding: 4rem 2rem;
    background: #ecf0f1;
}

.solutions h3, .useful-links h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.solutions li, .useful-links li {
    margin-bottom: 1rem;
    padding: 0.8rem;
    background: white;
    border-radius: 5px;
}

.solutions i {
    color: #3498db;
    margin-right: 0.8rem;
}

.useful-links a {
    color: #2c3e50;
    text-decoration: none;
}

.useful-links a:hover {
    color: #3498db;
}

/* Contact Page Background (Same as Homepage) */
.contact-hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
                url('images/backcontact.jpg') center/cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    height: 100vh; /* Fixed height instead of min-height */
    overflow-y: auto; /* Allow scrolling if content exceeds height */
}

.contact-form-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 40vh;
    background: rgba(22, 22, 22, 0.6); /* Add semi-transparent overlay */
}

.contact-intro {
    text-align: center;
    margin: 3rem auto;
    padding: 2rem 1rem;
    max-width: 800px;
}

.contact-intro h1 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    color: #ffffff;
    position: relative;
    padding-bottom: 1rem;
}

.contact-intro h1::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #ffffff;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Button animations */
.btn-primary {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.contact-intro p {
    font-size: 1.2rem;
    line-height: 1.5;
    color: #bbb3b3;
    margin-bottom: -1rem;
    margin-top: -1.3rem;
}

/* Fade-in animation */
@keyframes formFadeIn {
    from {
        opacity: 0;
        transform: translateY(80px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-intro h1,
.contact-intro p,
.contact-form {
    opacity: 0;
    animation: formFadeIn 0.8s ease-out forwards;
    opacity: 0  ;

}

.contact-form {
    animation-delay: 0.3s;
}

/* Radio button alignment */
.form-radio-group .radio-options {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Left alignment for radio items */
    gap: 0.7rem;
    margin-bottom: -3rem;
}

/* Center the radio group title */
.form-radio-group > label {
    text-align: center !important;
    margin-bottom: 1rem;
}

.form-radio-group label {
    display: flex;
    align-items: center; /* Vertical center alignment */
    gap: 0.7rem;
    cursor: pointer;
}

.form-radio-group input[type="radio"] {
    margin: 0; /* Remove default margins */
    flex-shrink: 0; /* Prevent radio from shrinking */
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .contact-intro {
        margin: 1rem auto;
        padding: 1rem;
    }
    
    .contact-intro h1 {
        font-size: 1em;
        padding-bottom: 0.75rem;
    }
    
    .contact-intro p {
        font-size: 1.1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .input-group {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .contact-intro h1 {
        font-size: 1.75rem;
    }
    
    .contact-intro p {
        font-size: 1rem;
    }
}
/* Form Styling */

.contact-hero {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
    padding: 1rem 0;
}

.contact-form-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 1rem;
    margin-top: -4rem;
}

.contact-intro {
    margin-bottom: 1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
}

.form-row {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.input-group {
    flex: 1;
    max-width: 400px;
}
.privacy-agreement {
    color: #109c79;
    margin: 1.5rem 0;
    font-size: 0.8rem;

}

.btn-primary {
    margin: 0 auto;
    width: 200px;
}

/* Adjust existing CSS*/
.hero-overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.privacy-agreement a {
    color: #3498db;
    text-decoration: none;
}
/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 20px;
    align-items: center; /* Vertical alignment */
    justify-content: center; /* Horizontal alignment */
    margin: 2rem 0;
}

.btn-primary, .btn-secondary {
    padding: 12px 35px; 
    height: 45px; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-primary, .btn-secondary {
    padding: 15px 40px; 
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1.1rem; 
    width: 200px; 
    text-align: center;
}

/* Solid Button */
.btn-primary {
    background: #3498db;
    color: white;
    border: 2px solid #3498db;
}

/* Transparent Button */
.btn-secondary {
    background: transparent;
    border: 2px solid #3498db;
    color: #3498db;
    
}

/* Hover Effects */
/* Custom Hover Effects */
.btn-primary {
    position: relative;
    overflow: hidden;
    transition: color 0.4s ease;
    border: 2px solid #ffffff; 
    background: #3498db; 
    color: #ffffff; /* Blue text */
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: #ffffff; 
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.btn-primary:hover {
    color: #000000; /* Black text on hover */
    transform: translateX(4px);
}

.btn-primary:hover::before {
    left: 0;
}

.btn-secondary {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid #ffffff; /* Blue border */
    background: solid;
    color: #ffffff; /* Blue text */
    z-index: 1;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: #ffffff; /* Blue background */
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.btn-secondary:hover {
    transform: translateX(6px);
    color: #000000; /* White text on hover */
    border-color: #ffffff;
}

.btn-secondary:hover::before {
    left: 0;
}

@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
    }
    .btn-primary, .btn-secondary {
        width: 100%;
    }
}
@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
    }
    .btn-primary, .btn-secondary {
        width: 100%;
        width: auto !important;
        padding: 12px 40px !important;
        white-space: nowrap;
    }
}


@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-100px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(100px); }
    to { opacity: 1; transform: translateX(0); }
}

.feature-text {
    animation: slideInLeft 0.8s ease-out;
}

.feature-image {
    animation: slideInRight 0.8s ease-out;
}

/* Logo/Link Styling */
.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-decoration: none; /* Remove underline */
    transition: opacity 0.3s;
}

.logo:hover {
    opacity: 0.8; /* Subtle hover effect */
    color: white; /* Maintain color on hover */
}

/* Header Style Change */


.header-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-image {
    width: 90px;  /* Adjust based on your logo size */
    height: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #000000;
    letter-spacing: -0.5px;
}

.logo-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #3498db;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}


/* mobile responsiveness */

@media (max-width: 768px) {
    .nav-container {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 1.1rem;
        padding: 0.2rem 1rem;
        height: 160px;
    }

    .nav-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    .header-logo {
        text-align: center;
    }

    .nav-links a {
        margin: 0.5rem 0;
        padding: 0.8rem;
        border-bottom: 1px solid #eee;
    }

    .hero h1 {
        font-size: 1.7rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .contact-form-container {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
}



/* Privacy Policy Styles */
.privacy-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    
}
.privacy-container h1 {
    color: #000000;
    text-align: left;
    margin-bottom: auto;
    font-size: 2.2rem;
    font-weight: 700;
    border-bottom: 2px solid #3498db;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.privacy-container h2 {
    color: #000000;
    margin: 1.5rem 0 1rem;
   /* border-bottom: 2px solid #8fd1e2; */
    padding-bottom: 0.5rem;
}

.privacy-container ul {
    margin-left: 1.5rem;
    line-height: 1.6;
}

.privacy-container li {
    margin-bottom: 0.5rem;
}

.contact-info li {
    list-style: none;
    margin-left: 0;
}

.contact-info i {
    margin-right: 0.5rem;
    color: #3498db;
}

@keyframes titleEntrance {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Legal Pages Styling */
.legal-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.legal-container h1 {
    color: #000000;
    border-bottom: 2px solid #3498db;
    padding-bottom: 1rem;
    font-size: 2.5rem;
}

.legal-container h2 {
    color: #031520;
    margin: 2rem 0 1rem;
}

.legal-container ul {
    margin-left: 2rem;
    line-height: 1.6;
}

.contact-info li {
    list-style: none;
    margin-left: 0;
}



/* Loading Screen Styles */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

#loading-screen.hide {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/* Footer Structure Fixes */
footer {
    display: flex;
    flex-direction: column;
    position: relative;
    padding-bottom: 40px; /* Space for copyright */
}

.footer-container {
    order: 1;
    margin-bottom: auto;
}

.copyright {
    order: 3;
    position:center;
    bottom: 0;
    width: 100%;
    padding: 1rem;
    margin-top: 2rem !important;
}

.footer-disclaimer {
    order: 0;
    margin-bottom: 1.5rem;
}

/* Contact Page Specific Footer */
.contact-page footer {
    background: #ffffff;
    padding-top: 0;
}

.contact-page .footer-disclaimer {
    background: #f8f9fa;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #ecf0f1;
}

.contact-page .disclaimer-content {
    max-width: 1100px;
    margin: 0 auto;
    font-size: 0.8rem;
    color: #109c79;
}

.contact-page .disclaimer-content p {
    margin-bottom: 1rem;
    text-align: justify;
}



/* Slide Animations */
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-100px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(100px); }
    to { opacity: 1; transform: translateX(0); }
}

.slide-in-left { animation: slideInLeft 1s ease-out forwards; }
.slide-in-right { animation: slideInRight 1s ease-out forwards; }

.input-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
}

.input-group textarea:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}


/* Car Shipping Costs Section */
.shipping-costs {
    padding: 4rem 2rem;
}

.shipping-costs h2 {
    text-align: center;
    font-size: 2.2rem;
    color: #2980b9;
}

.cost-table-container {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.cost-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

.cost-table th,
.cost-table td {
    padding: 1.2rem;
    text-align: center;
    border-bottom: 1px solid #ecf0f1;
}

.cost-table th {
    background-color: #3498db;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.cost-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.cost-table tr:hover {
    background-color: #f4f4f4;
}

.cost-notes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.note-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.note-card i {
    font-size: 1.8rem;
    color: #3498db;
    min-width: 40px;
}

.note-card h4 {
    color: #2c3e50;
    margin: 0;
    font-size: 1.1rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .cost-table-container {
        padding: 1rem;
        overflow-x: auto;
    }
    
    .cost-table {
        min-width: 600px;
    }
    
    .cost-notes {
        grid-template-columns: 1fr;
    }
    
    .shipping-costs h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .note-card {
        flex-direction: column;
        text-align: center;
    }
    
    .note-card i {
        margin-bottom: 0.5rem;
    }
    
    .cost-table th,
    .cost-table td {
        padding: 0.8rem;
    }
}

/* Contact Form Privacy Links */
.contact-hero form a {
    color: #3498db; /* Blue color matching your theme */
    text-decoration: none;
    transition: color 0.5s;
}

.contact-hero form a:hover {
    color: #5dade2; /* Lighter blue on hover */
    text-decoration: underline;
}

/* Specific target for the disclaimer text */
.contact-hero form .privacy-agreement a {
    color: #3498db !important; 
}


.service-buttons-bar {
    position: absolute;
    top: 2rem; /* Original positioning */
    z-index: 100;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin: 1rem 0;
    font-size: 1.55rem;
}

.service-buttons-bar {
    color: #ffffff !important;
}
.service-buttons-bar a:-webkit-any-link {
    text-decoration: none !important;
    color: inherit !important;
}
/* Hover effects */
.service-buttons-bar :hover {
    color: #3498db !important;
    text-decoration: underline;
}

/* Icon styling */
.service-buttons-bar i {
    margin-right: 8px;
    color: inherit !important;
}

@media (max-width: 768px) {
    .service-buttons-bar {
        position: relative;
        top: auto;
        left: 0;
        transform: none;
        width: 100%;
        padding: 0 1rem;
        margin: 2rem 0;
        flex-direction: column;
        align-items: center;
    }

    .service-buttons-bar {
        width: 90%;
        padding: 12px 15px !important;
        font-size: 1.3rem;
        margin: 0.5rem 0 !important;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .service-buttons-bar i {
        margin-right: 8px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .service-buttons-bar .btn-primary {
        font-size: 0.9rem;
        padding: 10px 12px !important;
    }
}


/* Mobile Optimization Additions */
@media (max-width: 768px) {
    .logo-title {
        font-size: 1.4rem;
    }
    
    .logo-subtitle {
        font-size: 0.7rem;
    }

    .hero h1 {
        font-size: 1.7rem;
        line-height: 1.1;
        padding: 0 1rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        padding: 0 1rem;
    }

    .hero-description {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .footer-section {
        text-align: center;
    }

    .footer-logo-container {
        justify-content: center;
    }

    .footer-section ul {
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .nav-links {
        gap: 0.5rem;
    }

    .nav-links a {
        font-size: 0.9rem;
        padding: 0.5rem;
    }

    .hero h1 {
        font-size: 1.7rem;
    }

    .service-buttons-bar .btn-primary {
        font-size: 1rem;
    }
}


@media (max-width: 768px) {
    .service-buttons-bar {
        position: absolute;
        top: 110px; /* Position below mobile header */
        left: 0;
        transform: none;
        width: 100%;
        padding: 0 1rem;
        margin: 0;
        flex-direction: column;
        gap: 0.5rem;
    }

    .service-buttons-bar .btn-primary {
        width: 100%;
        font-size: 1rem;
        padding: 12px 15px !important;
        margin: 0 !important;
        border: 1px solid #ffffff !important;
        border-radius: 4px !important;
    }

    .nav-container {
        height: auto;
        padding: 1rem 0;
    }

    .hero-content {
        margin-top: 100px; /* Make space for buttons */
    }
}

@media (max-width: 480px) {
    .service-buttons-bar {
        top: 100px; /* Adjust for smaller screens */
    }
    
    .hero h1 {
        font-size: 1.7rem;
        margin-top: 2.2rem;
    }
}
.contact-hero {
    position: relative; /* Add this */
    z-index: 1; /* Add this */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
    padding: 1rem 0;
}


/* Add to style.css */
/* Price Inquiry Section */
#price-options {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 15px 0;
    border-radius: 8px;
    padding: 0 20px;
}

#price-options.visible {
    max-height: 500px;
    opacity: 1;
    padding: 20px;
    margin: 20px 0;
}

.price-subgroup {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

#price-options label {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-weight: 500;
    font-size: 0.9rem;
}

#price-options input {
    margin-top: 1rem;
    width: 80%;
    padding: 12px 12px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.4s ease;
}

#price-options input:focus {
    border-color: #3498db;
    background: white;
    box-shadow: 0 3px 15px rgba(52, 152, 219, 0.2);
}

#price-options .fa {
    margin-right: 8px;
    opacity: 0.8;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .price-subgroup {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        margin-top: 2rem;
    }

    #price-options {
        margin: 10px 0;
        padding: 0 10px;
    }

    #price-options label {
        font-size: 0.85rem;
        margin-bottom: 5px;
    }

    #price-options input {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    #price-options .fa {
        font-size: 0.9em;
        margin-right: 5px;
    }
}

@media (max-width: 480px) {
    #price-options {
        margin: 8px 0;
    }

    #price-options input {
        padding: 8px 10px;
    }

    #price-options label {
        font-size: 0.8rem;
    }
}


/*Services Mobile Optimization SERVICESSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS */

/* Add these media queries at the end of your style.css */

@media (max-width: 768px) {
    /* Services Grid Adjustments */
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
        padding: 1rem 0;
    }

    .service-card {
        padding: 1.2rem;
        margin: 0.2rem;
    }

    .service-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }

    .service-card p {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    /* Service Icons */
    .service-icon {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }

    /* Service Category Titles */
    .service-category h2 {
        font-size: 1.6rem;
        margin: 1.5rem 0;
    }

    /* Hero Section */
    .services-hero {
        padding: 2rem 1rem;
    }

    .services-hero h1 {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }

    /* Cost Table Adjustments */
    .cost-table-container {
        padding: 1rem;
        margin: 0 -1rem;
        width: calc(100% + 2rem);
    }

    .cost-table th,
    .cost-table td {
        padding: 0.8rem;
        font-size: 0.85rem;
    }

    /* Footer Adjustments */
    .footer-section h4 {
        font-size: 1rem;
    }

    .footer-section li {
        font-size: 0.85rem;
    }

    /* Navigation Logo */
    .logo-image {
        width: 70px;
    }

    .logo-title {
        font-size: 1.4rem;
    }

    .logo-subtitle {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    /* Even More Compact Styles */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .service-card {
        padding: 1rem;
        margin: 0;
    }

    .service-card h3 {
        font-size: 1rem;
    }

    .service-card p {
        font-size: 0.85rem;
    }

    .service-icon {
        font-size: 1.6rem;
    }

    /* Service Category Header */
    .service-category h2 {
        font-size: 1.4rem;
        margin: 1rem 0;
    }

    /* Cost Table Mobile Optimization */
    .cost-table {
        min-width: 100%;
        display: block;
        overflow-x: visible;
    }

    .cost-table th,
    .cost-table td {
        padding: 0.6rem;
        font-size: 0.8rem;
    }

    /* Animation Adjustments */
    .service-icon {
        animation-duration: 1.2s !important;
    }

    /* Footer Logo */
    .footer-logo {
        width: 70px;
    }

    .logo-footer {
        font-size: 1.4rem;
    }
}

/* Add these general optimizations */
/* Service Card Content Alignment */
.service-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 180px; /* Fixed height for consistency */
}

/* Reduce Vertical Spacing */
.service-category {
    margin-bottom: 1.5rem;
}

.services-intro p {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* Compact Table Styles */
.cost-table th {
    font-size: 0.9rem;
    padding: 0.8rem;
}

.cost-table td {
    font-size: 0.9rem;
}

/* Mobile Navigation Adjustments */
@media (max-width: 768px) {
    .nav-container {
        padding: 0.5rem 1rem;
        height: auto;
        gap: 0.8rem;
    }

    .nav-links {
        gap: 0.5rem;
    }

    .nav-links a {
        font-size: 0.9rem;
        padding: 0.4rem 0.6rem;
    }
}

/* Price Notes Compact Layout */
.cost-notes {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
}

.note-card {
    padding: 1rem;
    gap: 0.8rem;
}

.note-card i {
    font-size: 1.4rem;
}

.note-card h4 {
    font-size: 0.95rem;
}






/* Additional Animations */
@keyframes swing {
    0% { transform: rotate(-15deg); }
    50% { transform: rotate(15deg); }
    100% { transform: rotate(-15deg); }
}

@keyframes slide {
    0% { transform: translateX(-10px); }
    50% { transform: translateX(10px); }
    100% { transform: translateX(-10px); }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes sparkle {
    0% { filter: drop-shadow(0 0 2px gold); }
    50% { filter: drop-shadow(0 0 8px gold); }
    100% { filter: drop-shadow(0 0 2px gold); }
}

/* Add animation classes */
.swing { animation: swing 2s ease-in-out infinite; }
.slide { animation: slide 3s ease-in-out infinite; }
.blink { animation: blink 1.5s ease-in-out infinite; }
.sparkle { animation: sparkle 2s linear infinite; }
.rotate { animation: spin 8s linear infinite; }

.service-card:hover .service-icon {
    transform: scale(1.1);
    transition: all 0.3s ease;
}



/* Animation Classes */
.service-icon {
    font-size: 2.2rem;
    margin-bottom: 15px;
    display: block;
    transition: all 0.3s ease;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes slide {
    0% { transform: translateX(-8px); }
    50% { transform: translateX(8px); }
    100% { transform: translateX(-8px); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes sparkle {
    0% { filter: brightness(1); }
    50% { filter: brightness(1.5); }
    100% { filter: brightness(1); }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@keyframes swing {
    0% { transform: rotate(-15deg); }
    50% { transform: rotate(15deg); }
    100% { transform: rotate(-15deg); }
}

.spin { animation: spin 4s linear infinite; }
.pulse { animation: pulse 2s ease-in-out infinite; }
.bounce { animation: bounce 2s ease-in-out infinite; }
.rotate { animation: rotate 6s linear infinite; }
.slide { animation: slide 3s ease-in-out infinite; }
.float { animation: float 3s ease-in-out infinite; }
.sparkle { animation: sparkle 1.5s linear infinite; }
.blink { animation: blink 1.2s ease-in-out infinite; }
.swing { animation: swing 2.5s ease-in-out infinite; }

/* Hover Effects */
.service-card:hover .service-icon {
    transform: scale(1.15);
    color: #2c3e50; /* Change to your brand color */
}