/* --- S & K Enterprises Stylesheet --- */

/* 1. Global Settings & Variables */
:root {
    --primary-color: #ffce08; /* Yellow */
    --secondary-color: #07469b; /* Blue */
    --text-dark: #222222;
    --text-light: #555555;
    --bg-white: #ffffff;
    --bg-light: #f9f9f9;
    --border-color: #eeeeee;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 6px 16px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.25rem;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
}

/* 2. Buttons & Utility */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: #ffc107;
    border-color: #ffc107;
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-full {
    width: 100%;
}

/* 3. Navbar */
.navbar {
    background-color: var(--bg-white);
    box-shadow: var(--shadow);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--secondary-color);
}

.navbar-brand:hover {
    color: var(--secondary-color);
}

.navbar-nav {
    display: flex;
    align-items: center;
}

.navbar-links {
    display: flex;
    margin-right: 1.5rem;
}

.navbar-links li {
    margin-left: 1.5rem;
}

.navbar-links a {
    font-weight: 600;
    font-size: 1rem;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

.navbar-links a.active,
.navbar-links a:hover {
    color: var(--secondary-color);
    border-bottom-color: var(--primary-color);
}

.nav-call-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 10px 20px;
}

.nav-call-btn svg {
    color: var(--secondary-color);
}

.navbar-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--secondary-color);
}

/* 4. Hero Carousel */
.hero-carousel {
    position: relative;
    height: 500px;
    overflow: hidden;
    color: var(--bg-white);
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
}

.carousel-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide .container {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.carousel-slide h1 {
    font-size: 3rem;
    color: var(--bg-white);
    margin-bottom: 1rem;
}

.carousel-slide p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.carousel-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.carousel-nav button {
    background: rgba(255, 255, 255, 0.3);
    border: none;
    color: white;
    font-size: 1.5rem;
    padding: 5px 12px;
    cursor: pointer;
    margin: 0 5px;
    border-radius: 4px;
}

.carousel-nav button:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* 5. About 24/7 Section */
.about-247 {
    background-color: var(--bg-light);
    text-align: center;
}

.about-247 h2 {
    font-size: 2rem;
}

.about-247 > .container > p {
    max-width: 800px;
    margin: 0 auto 2rem auto;
    font-size: 1.1rem;
}

.fleet-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.fleet-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    flex: 1;
    min-width: 300px;
    max-width: 400px;
}

.fleet-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.fleet-card span {
    display: inline-block;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 5px 12px;
    border-radius: 20px;
    margin: 5px 5px 0 0;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-light);
}

.emergency-call {
    margin-top: 2rem;
}

.emergency-call p {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.call-link {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    display: block;
}

.call-link:hover {
    color: #053a85;
}

/* 6. Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background-color: var(--bg-white);
    padding: 2rem;
    text-align: center;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-card svg {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
}

/* 7. Solutions Section */
.solutions {
    background-color: var(--bg-light);
}

.solutions-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: center;
}

.solutions-list ul {
    list-style: none;
}

.solutions-list li {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-color);
    padding: 1rem 0 1rem 2.5rem;
    position: relative;
    border-bottom: 1px dashed var(--border-color);
}

.solutions-list li:first-child {
    border-top: 1px dashed var(--border-color);
}

.solutions-list li::before {
    content: '✔'; /* Checkmark */
    color: var(--primary-color);
    font-weight: 900;
    font-size: 1.2rem;
    position: absolute;
    left: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
}

.solutions-desc h2 {
    font-size: 2rem;
}

/* 8. Service Areas Section */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.area-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.area-card:hover {
    background-color: var(--secondary-color);
    color: var(--bg-white);
    border-color: var(--secondary-color);
}

.area-card svg {
    color: var(--primary-color);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.area-card:hover svg {
    color: var(--bg-white);
}

.area-card span {
    font-weight: 600;
}

/* 9. Reviews Section */
.reviews {
    background-color: var(--bg-light);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.review-card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-card::before {
    content: '“';
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: -1rem;
}

.review-text {
    font-style: italic;
    color: var(--text-light);
    flex-grow: 1;
}

.review-author {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.author-name {
    display: block;
    font-weight: 700;
    color: var(--secondary-color);
}

.review-stars {
    color: #f39c12; /* Star color */
}

/* 10. Footer */
.footer {
    background-color: var(--secondary-color);
    color: #e0e0e0;
    padding-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 2.5rem;
    padding-bottom: 40px;
}

.footer-col h3 {
    color: var(--bg-white);
    margin-bottom: 1.5rem;
}

.footer-col p {
    color: #c0c0c0;
    margin-bottom: 0.5rem;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: #e0e0e0;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-col svg {
    margin-right: 0.5rem;
    color: var(--primary-color);
    vertical-align: middle;
}

.footer-col a {
    color: #e0e0e0;
}

.footer-col a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #1a5daa;
}

.footer-bottom p {
    margin: 0;
    color: #c0c0c0;
    font-size: 0.9rem;
}

/* 11. About Page */
.page-header {
    background-color: var(--secondary-color);
    color: var(--bg-white);
    padding: 40px 0;
    text-align: center;
}

.page-header h1 {
    color: var(--bg-white);
    font-size: 2.5rem;
}

.page-header p {
    color: #e0e0e0;
    font-size: 1.2rem;
    margin: 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2.5rem;
}

.fleet-list {
    margin-top: 1.5rem;
    padding-left: 1rem;
}

.fleet-list li {
    list-style-type: disc;
    margin-left: 1rem;
    margin-bottom: 0.5rem;
}

.license-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    border-left: 5px solid var(--primary-color);
}

.license-card h3 {
    margin-bottom: 1rem;
}

.license-list {
    margin-top: 1rem;
}

.license-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.license-list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    top: 0;
}

.why-choose-us {
    background: var(--bg-light);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.why-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.why-card h4 {
    font-size: 1.2rem;
    color: var(--secondary-color);
}

/* 12. Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: flex-start;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
}

.info-card svg {
    color: var(--secondary-color);
    flex-shrink: 0;
    margin-top: 5px;
}

.info-card h4 {
    margin-bottom: 0.25rem;
    color: var(--secondary-color);
}

.info-card p, .info-card a {
    margin: 0;
    color: var(--text-light);
    font-weight: 500;
}

.info-card a:hover {
    color: var(--secondary-color);
}

.contact-form {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
}

.contact-form h3 {
    text-align: center;
    font-size: 1.75rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(7, 70, 155, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.radio-group {
    display: flex;
    gap: 1.5rem;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

/* 13. Responsive Design */
@media (max-width: 992px) {
    .container {
        padding: 0 1rem;
    }
    .navbar-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 73px; /* Adjust based on navbar height */
        left: 0;
        width: 100%;
        background-color: var(--bg-white);
        box-shadow: var(--shadow);
    }
    .navbar-links.active {
        display: flex;
    }
    .navbar-links li {
        margin: 0;
        width: 100%;
    }
    .navbar-links a {
        display: block;
        padding: 1rem;
        text-align: center;
        border-bottom: 1px solid var(--border-color);
    }
    .navbar-links a:hover,
    .navbar-links a.active {
        background-color: var(--bg-light);
        border-bottom-color: var(--border-color);
    }
    .navbar-nav {
        flex-grow: 1;
        justify-content: flex-end;
    }
    .nav-call-btn {
        display: none; /* Hide button in nav, shown in mobile menu */
    }
    .navbar-toggle {
        display: block;
    }
    .solutions-grid,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .solutions-list {
        order: 2;
    }
    .solutions-desc {
        order: 1;
        text-align: center;
    }
    .about-sidebar {
        margin-top: 2rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-col p, .footer-col ul {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .carousel-slide h1 {
        font-size: 2.25rem;
    }
    .carousel-slide p {
        font-size: 1.1rem;
    }
    .fleet-info {
        flex-direction: column;
        align-items: center;
    }
    .fleet-card {
        width: 100%;
        max-width: 100%;
    }
    .call-link {
        font-size: 2rem;
    }
    .areas-grid {
        grid-template-columns: 1fr 1fr;
    }
}