@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;600;700&display=swap');

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 3px;
    height: 3px;
}

::-webkit-scrollbar-track {
    background: #ffffff;
    border-radius: 20px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #21aad4 0%, #21aad4 100%);
    border-radius: 20px;
    min-height: 40px;
}

::-webkit-scrollbar-corner {
    background: transparent;
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: #21aad4 transparent;
}

::-webkit-scrollbar-thumb:hover,
::-webkit-scrollbar-thumb:active {
    background: #21aad4;
}

/* Root variables */
:root {
    --primary-color: #003366;
    --secondary-color: #0056b3;
    --text-color: #333;
    --overlay-color: rgba(0, 0, 0, 0.5);
    --link-color: #fff;
}

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

body {
    font-family: 'Raleway', sans-serif;
    font-size: 20px;
    line-height: 1.5;
    color: var(--text-color);
    overflow-x: hidden;
    font-weight: 500;
}

/* Hero Section */
.hero {
    position: relative;
    height: 500px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: var(--secondary-color);
 }
 
 .hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
 }
 
 .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(33, 170, 212, 0.685),
        rgba(33, 170, 212, 0.281)
    );
    backdrop-filter: blur(2px);
 }
 
 .hero-content {
    position: relative;
    z-index: 2;
    color: white;
    padding: 0 20px;
    max-width: 800px;
 }
 
 .hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
 }
 
 .breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.1rem;
 }
 
 .breadcrumb a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
 }
 
 .breadcrumb a:hover {
    color: var(--primary-color);
 }

/* Container */
.container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* Grid layouts */
.services-grid,
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

/* Service items */
.service-item {
    display: flex;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-icon {
    width: 24px;
    height: 24px;
    margin-right: 1rem;
    background-size: contain;
    background-repeat: no-repeat;
}

.service-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.service-content p {
    color: var(--text-color);
    line-height: 1.6;
}

/* Images */
.services-image img,
.features-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}


.services-image img:hover,
.features-image img:hover {
    transform: scale(1.02);
}

/* Service icons */
.quality-icon {
    background-image: url('quality-icon.svg');
}

/* Headings */
h2 {
    text-align: center;
    color: #21aad4;
    font-size: 22px;
    font-weight: normal;
    margin-bottom: 1.5rem;
}

h2 + p {
    text-align: center;
    margin: 0 auto;
    max-width: 800px;
    margin-bottom: 2rem;
}
.header-blue {
    color: #003366;
    text-align: center;
    font-size: 26px; /* Default font size for larger screens */
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .header-blue {
        font-size: 24px; /* Slightly smaller font for medium screens */
    }
}

@media (max-width: 768px) {
    .header-blue {
        font-size: 20px; /* Smaller font for tablets */
    }
}

@media (max-width: 480px) {
    .header-blue {
        font-size: 18px; /* Even smaller font for mobile phones */
    }
}


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

.fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

/* Media Queries */
@media screen and (max-width: 1024px) {
    .container {
        padding: 3rem 1.5rem;
    }

    .services-grid,
    .features-grid {
        gap: 2rem;
    }

    .services-image img,
    .features-image img {
        height: 500px;
    }
}

@media screen and (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .services-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .services-image,
    .features-image {
        order: -1;
    }

    .services-image img,
    .features-image img {
        height: 300px;
    }

    h2 {
        font-size: 2rem;
    }
}

@media screen and (max-width: 480px) {
    .hero {
        height: 300px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .container {
        padding: 2rem 1rem;
    }

    .service-item {
        margin-bottom: 1.5rem;
    }

    body {
        font-size: 16px;
    }
}

/* Print styles */
@media print {
    .hero {
        height: auto;
        padding: 2rem 0;
    }

    .hero-overlay {
        display: none;
    }

    .hero-content {
        color: #000;
    }

    .services-image img,
    .features-image img {
        height: auto;
    }
}



/* for the extra details */

.service-details {
    margin-top: 0.75rem;
    padding-left: 0;
    counter-reset: list-counter;
    list-style: none;
}

.service-details li {
    margin-bottom: 0.4rem;
    line-height: 1.5;
    position: relative;
    padding-left: 2.5rem;
    color: var(--text-color);
    opacity: 0.9;
}

.service-details li::before {
    content: counter(list-counter) ".";
    counter-increment: list-counter;
    position: absolute;
    left: 0;
    top: 0;
    width: 2rem;
    text-align: right;
    color: var(--primary-color);
    font-weight: 600;
    margin-right: 0.5rem;
    opacity: 0.7;
}