/* --- Global Styles & Variables --- */
:root {
    --primary-red: #DC2F2F;
    --red-gradient-start: #E63946;
    --red-gradient-end: #CC2936;
    --dark-coal: #282C34;
    --slate-grey: #4A4A4A;
    --light-grey: #F5F7FA;
    --off-white: #FFFFFF;
    --border-radius-base: 8px;
    --shadow-light: 0 4px 10px rgba(0,0,0,0.08);
    --shadow-medium: 0 8px 20px rgba(0,0,0,0.15);
    --shadow-dark: 0 10px 30px rgba(0,0,0,0.2);

    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

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

body {
    font-family: var(--font-body);
    line-height: 1.7; /* Slightly more spacious line height */
    color: var(--slate-grey);
    background-color: var(--light-grey);
    -webkit-font-smoothing: antialiased; /* Smoother fonts */
    scroll-behavior: smooth; /* Smooth scroll for anchor links */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px; /* Increased padding for more breathing room */
}

a {
    text-decoration: none;
    color: var(--primary-red);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--red-gradient-end);
    text-decoration: none; /* Remove underline on hover for modern look */
}

ul {
    list-style: none;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--dark-coal);
    margin-bottom: 20px;
    line-height: 1.2;
}

h1 {
    font-size: 3.8em; /* Larger hero heading */
    color: var(--off-white);
}

h2 {
    font-size: 2.8em;
}

h3 {
    font-size: 1.8em;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.8em;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-red);
    border-radius: 5px;
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: -40px auto 60px auto; /* Adjust margin to pull closer to title */
    font-size: 1.2em;
    line-height: 1.6;
    color: var(--slate-grey);
}

.btn {
    display: inline-flex; /* Use flex for icon alignment */
    align-items: center;
    gap: 10px;
    padding: 15px 35px; /* Larger buttons */
    border-radius: var(--border-radius-base);
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1.1em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-light);
}

.btn-primary {
    background: linear-gradient(to right, var(--red-gradient-start), var(--red-gradient-end));
    color: var(--off-white);
}

.btn-primary:hover {
    background: linear-gradient(to right, var(--red-gradient-end), var(--red-gradient-start)); /* Invert gradient on hover */
    box-shadow: var(--shadow-medium);
    transform: translateY(-2px);
    text-decoration: none;
    font-weight: 900;
    color: var(--dark-coal); /* Make text bolder on hover */
}

.btn-secondary {
    background-color: var(--dark-coal);
    color: var(--off-white);
    box-shadow: var(--shadow-light);
}

.btn-secondary:hover {
    background-color: var(--slate-grey);
    box-shadow: var(--shadow-medium);
    transform: translateY(-2px);
    text-decoration: none;
}

.text-center {
    text-align: center;
}

.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }

/* --- Header --- */
.main-header {
    background-color: var(--off-white);
    padding: 15px 0;
    box-shadow: var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: padding 0.3s ease, box-shadow 0.3s ease;
}

.main-header.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-medium);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 55px; /* Slightly larger logo */
    width: auto;
    transition: height 0.3s ease;
}

.main-header.scrolled .logo img {
    height: 45px;
}

.logo a {
    font-size: 1.6em; /* Company name is a link */
    font-weight: 700;
    color: var(--dark-coal);
    white-space: nowrap;
    transition: font-size 0.3s ease;
}

.main-header.scrolled .logo a {
    font-size: 1.4em;
}

.logo a:hover {
    color: var(--primary-red);
}

.main-nav .nav-links {
    display: flex;
    gap: 35px; /* More spacing */
}

.main-nav .nav-links a {
    color: var(--dark-coal);
    font-weight: 500;
    position: relative;
    padding-bottom: 5px; /* Space for underline effect */
}

.main-nav .nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary-red);
    transition: width 0.3s ease;
}

.main-nav .nav-links a:hover::after {
    width: 100%;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone-link {
    font-size: 1.3em;
    font-weight: 600;
    color: var(--primary-red);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

.phone-link:hover {
    color: var(--dark-coal);
    text-decoration: none;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2em;
    color: var(--dark-coal);
    cursor: pointer;
    padding: 5px;
    line-height: 1; /* Keep icon vertically centered */
}

/* Mobile Navigation Overlay */
.main-nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--off-white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 20px 0;
    gap: 15px;
    animation: slideDown 0.3s ease-out forwards;
}

.main-nav.active .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.main-nav.active .nav-links a {
    font-size: 1.2em;
    padding: 10px 0;
    width: 100%;
    text-align: center;
}
.main-nav.active .nav-links a::after {
    left: 50%;
    transform: translateX(-50%);
}

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

/* --- Hero Section --- */
.hero-section {
    /* The linear-gradient creates a dark overlay for text readability */
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/789FBBE2-6B4F-49A6-8E94-8FB25FB61ABE.JPG.jpeg') no-repeat center center/cover;
    color: var(--off-white);
    text-align: center;
    padding: 120px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    animation: fadeIn 1s ease-out forwards;
}

.hero-content .tagline {
    font-size: 1.3em;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-content h1 {
    font-size: 4.5em; /* Even larger for impact */
    margin-bottom: 25px;
    font-weight: 700;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.3);
}

.hero-content .subtitle {
    font-size: 1.6em;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

.hero-btn {
    padding: 18px 45px;
    font-size: 1.4em;
    box-shadow: var(--shadow-dark);
}

.hero-features {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    font-size: 1.2em;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.hero-features i {
    margin-right: 10px;
    color: var(--primary-red);
}

/* --- Services Overview Section (New) --- */
.services-overview-section {
    background-color: var(--off-white);
    padding: 80px 0;
    text-align: center;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.overview-item {
    background-color: var(--light-grey);
    padding: 30px;
    border-radius: var(--border-radius-base);
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.overview-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.overview-item i {
    font-size: 3em;
    color: var(--primary-red);
    margin-bottom: 15px;
}

.overview-item h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: var(--dark-coal);
}

.overview-item p {
    font-size: 1.05em;
    color: var(--slate-grey);
}


/* --- Services Section --- */
.services-section {
    background: linear-gradient(rgba(40,44,52,0.8), rgba(40,44,52,0.8)), url('../images/IMG_0045.png') no-repeat center center/cover;
    background-attachment: fixed; /* Parallax effect */
    padding: 100px 0;
    color: var(--off-white);
}

.services-section .section-title {
    color: var(--off-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: rgba(255,255,255,0.95); /* Slightly transparent white card */
    padding: 30px;
    border-radius: var(--border-radius-base);
    text-align: center;
    box-shadow: var(--shadow-medium);
    transition: transform 0.3s ease, background-color 0.3s ease;
    color: var(--slate-grey); /* Text color for card */
    border-top: 5px solid var(--primary-red); /* Accent border */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card:hover {
    transform: translateY(-10px);
    background-color: var(--off-white);
    box-shadow: var(--shadow-dark);
}

.service-card .icon-wrapper {
    background-color: var(--primary-red);
    color: var(--off-white);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.8em;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.service-card h3 {
    font-size: 1.7em;
    margin-bottom: 15px;
    color: var(--dark-coal);
}

.service-card p {
    font-size: 1.05em;
    flex-grow: 1; /* Ensure paragraphs take up equal space */
}

/* --- Why Choose Us Section --- */
.why-choose-us-section {
    background-color: var(--light-grey);
    padding: 80px 0;
    text-align: center;
}

.why-choose-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-item {
    background-color: var(--off-white);
    padding: 30px;
    border-radius: var(--border-radius-base);
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    border-bottom: 5px solid var(--dark-coal);
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.feature-item .feature-icon {
    font-size: 3em;
    color: var(--dark-coal);
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 1.6em;
    margin-bottom: 10px;
    color: var(--dark-coal);
}

.feature-item p {
    font-size: 1.05em;
    color: var(--slate-grey);
}

.final-cta-text {
    font-size: 1.5em;
    font-weight: 500;
    color: var(--dark-coal);
    margin-bottom: 30px;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.big-btn {
    padding: 20px 50px;
    font-size: 1.5em;
}

/* --- Contact Section --- */
.contact-section {
    background-color: var(--dark-coal);
    color: var(--off-white);
    padding: 100px 0;
}

.contact-section .section-title {
    color: var(--off-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 50px;
    align-items: start; /* Align content to the top */
}

.contact-info-block {
    background-color: rgba(255,255,255,0.08); /* Slightly transparent background */
    padding: 40px;
    border-radius: var(--border-radius-base);
    box-shadow: var(--shadow-dark);
    line-height: 2;
}

.contact-info-block h3 {
    color: var(--off-white);
    margin-bottom: 25px;
    font-size: 2em;
}

.contact-info-block p {
    font-size: 1.15em;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: rgba(255,255,255,0.9);
}

.contact-info-block p i {
    color: var(--primary-red);
    font-size: 1.4em;
    width: 25px; /* Fixed width for icons */
    text-align: center;
}

.contact-info-block a {
    color: var(--off-white);
    font-weight: 500;
}
.contact-info-block a:hover {
    color: var(--primary-red);
}

.contact-info-block .note {
    font-style: italic;
    font-size: 1em;
    margin-top: 30px;
    border-top: 1px dashed rgba(255,255,255,0.2);
    padding-top: 20px;
    color: rgba(255,255,255,0.7);
}

.contact-form-block {
    background-color: var(--off-white);
    padding: 40px;
    border-radius: var(--border-radius-base);
    box-shadow: var(--shadow-dark);
    color: var(--dark-coal); /* Text color for form */
}

.contact-form-block h3 {
    color: var(--dark-coal);
    margin-bottom: 25px;
    font-size: 2em;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--slate-grey);
    font-size: 1.05em;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 1em;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(var(--primary-red), 0.2);
    outline: none;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .form-submit-btn {
    width: 100%;
    padding: 15px;
    font-size: 1.2em;
}

/* --- Footer --- */
.main-footer {
    background-color: var(--dark-coal);
    color: rgba(255,255,255,0.7);
    padding: 25px 0;
    text-align: center;
    font-size: 0.9em;
    border-top: 5px solid var(--primary-red); /* Accent border */
}

.main-footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.main-footer p {
    margin: 0;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    margin-left: 20px;
}

.footer-links a:hover {
    color: var(--off-white);
    text-decoration: underline;
}

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

.animate-fade-in {
    animation: fadeIn 1s ease-out forwards;
    animation-delay: 0.5s; /* Delay for hero elements */
    opacity: 0; /* Hide initially */
}

/* For delayed items in hero */
.hero-btn { animation-delay: 1s; }
.hero-features { animation-delay: 1.2s; }

/* Optional: Bounce in animation for big-btn */
@keyframes bounceIn {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.05); opacity: 1; }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); }
}

.animate-bounce-in {
    animation: bounceIn 1s ease-out forwards;
    opacity: 0;
    animation-delay: 0.5s;
}

/* --- Responsive Design (Media Queries) --- */

/* For screens smaller than 1024px (laptops, large tablets) */
@media (max-width: 1024px) {
    h1 { font-size: 3.2em; }
    .hero-content .subtitle { font-size: 1.4em; }
    .hero-btn { padding: 15px 30px; font-size: 1.3em; }

    .main-nav .nav-links { gap: 25px; }
    .section-title { font-size: 2.5em; margin-bottom: 50px; }
    .section-description { margin-bottom: 50px; }

    .service-card .icon-wrapper { width: 70px; height: 70px; font-size: 2.5em; }
    .service-card h3 { font-size: 1.5em; }
}

/* For screens smaller than 768px (tablets, large phones) */
@media (max-width: 768px) {
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .logo {
        flex-grow: 1;
        justify-content: flex-start;
    }

    .logo img { height: 45px; }
    .main-header.scrolled .logo img { height: 38px; }

    .logo a { font-size: 1.4em; }
    .main-header.scrolled .logo a { font-size: 1.2em; }

    .phone-link {
        display: none; /* Hide phone number in header for smaller screens, rely on hero/footer */
    }

    .main-nav {
        display: none;
        width: 100%;
        order: 3;
        padding-top: 10px;
    }
    .menu-toggle { display: block; }

    .hero-section {
        padding: 90px 15px;
        min-height: 60vh;
    }
    .hero-content h1 { font-size: 2.8em; }
    .hero-content .subtitle { font-size: 1.2em; }
    .hero-btn { padding: 12px 25px; font-size: 1.1em; }
    .hero-features {
        flex-direction: column;
        gap: 20px;
        font-size: 1.1em;
    }

    .section-title { font-size: 2em; margin-bottom: 40px; }
    .section-description { font-size: 1.05em; margin-bottom: 40px;}

    .services-overview-section, .services-section, .why-choose-us-section, .contact-section {
        padding: 60px 0;
    }

    .overview-grid, .services-grid, .why-choose-us-grid, .contact-grid {
        grid-template-columns: 1fr; /* Single column layout */
        gap: 25px;
    }

    .service-card, .feature-item, .contact-info-block, .contact-form-block {
        padding: 30px;
    }

    .contact-info-block h3, .contact-form-block h3 {
        font-size: 1.8em;
    }

    .final-cta-text {
        font-size: 1.3em;
    }
    .big-btn {
        padding: 15px 30px;
        font-size: 1.2em;
    }

    .main-footer .container {
        flex-direction: column;
        gap: 15px;
    }
    .footer-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    .footer-links a {
        margin: 0; /* Remove left margin for better wrapping */
    }
}

/* For screens smaller than 480px (small phones) */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .logo img { height: 40px; }
    .main-header.scrolled .logo img { height: 35px; }
    .logo a { font-size: 1.2em; }
    .main-header.scrolled .logo a { font-size: 1.1em; }

    .hero-content h1 { font-size: 2.2em; }
    .hero-content .subtitle { font-size: 1em; margin-bottom: 30px;}
    .hero-btn { padding: 10px 20px; font-size: 1em; }
    .hero-features { font-size: 1em; }

    .section-title { font-size: 1.8em; margin-bottom: 30px; }
    .section-description { font-size: 0.95em; margin-bottom: 30px;}

    .service-card h3 { font-size: 1.4em; }
    .feature-item h3 { font-size: 1.3em; }

    .contact-info-block h3, .contact-form-block h3 {
        font-size: 1.6em;
    }
    .contact-info-block p {
        font-size: 1.05em;
        gap: 10px;
    }
    .contact-info-block p i {
        font-size: 1.2em;
    }

    .final-cta-text { font-size: 1.1em; }
    .big-btn { padding: 12px 25px; font-size: 1.1em; }

    .contact-form input, .contact-form textarea { padding: 10px; font-size: 0.95em; }
    .contact-form .form-submit-btn { font-size: 1.1em; padding: 12px; }
}