/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary: #0a5c8c;
    --primary-dark: #084770;
    --secondary: #17a2b8;
    --accent: #28a745;
    --light: #f8f9fa;
    --dark: #343a40;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --border-radius: 8px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

body {
    color: #333;
    line-height: 1.6;
    background-color: #fefefe;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4 {
    color: var(--dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 {
    font-size: 2.8rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

h2:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--secondary);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--gray);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 7px 15px rgba(10, 92, 140, 0.2);
}

.btn-secondary {
    background-color: var(--secondary);
}

.btn-secondary:hover {
    background-color: #138496;
}

.btn-accent {
    background-color: var(--accent);
}

.btn-accent:hover {
    background-color: #218838;
}

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

.section-title {
    margin-bottom: 3rem;
}

/* Header Styles */
.header-top {
    background-color: var(--primary);
    color: white;
    padding: 10px 0;
    font-size: 0.9rem;
}

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

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

.contact-info span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-header {
    position: sticky;
    top: 0;
    background-color: white;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
}

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

.logo {
    display: flex;
    flex-direction: column;
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 0;
}

.logo span {
    font-size: 0.9rem;
    color: var(--gray);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    transition: var(--transition);
    padding: 5px 0;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary);
    bottom: 0;
    left: 0;
    transition: var(--transition);
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.8)), url('https://images.unsplash.com/photo-1579684385127-1ef15d508118?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
}

.hero-slider {
    position: relative;
    overflow: hidden;

}

.slide {
    display: none;
    padding: 80px 60px;
  
}

.slide.active {
    display: block;
    animation: fadeIn 1s;
}

@keyframes fadeIn {
    from { opacity: 0.7; }
    to { opacity: 1; }
}

.slide h1 {
    color: var(--primary);
    margin-bottom: 20px;
}

.slide p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--light-gray);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background-color: var(--primary);
}

/* Quick Info Dashboard */
.info-dashboard {
    background-color: var(--light);
    padding: 60px 0;
}

.info-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.info-box {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.info-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.info-box i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.info-box h3 {
    margin-bottom: 15px;
}

.info-box .btn {
    margin-top: 15px;
    padding: 8px 20px;
    font-size: 0.9rem;
}

.emergency-box {
    border-top: 4px solid #dc3545;
}

.emergency-box i {
    color: #dc3545;
}

/* Differentiators Section */
.differentiators {
    background-color: white;
}

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

.diff-item {
    text-align: center;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.diff-icon {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

/* Achievements Counter */
.achievements {
    background: linear-gradient(to right, var(--primary), var(--primary-dark));
    color: white;
    text-align: center;
    padding: 80px 0;
}

.achievements h2 {
    color: white;
}

.achievements h2:after {
    background-color: var(--secondary);
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.counter-item {
    padding: 20px;
}

.counter {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--secondary);
}

.counter-text {
    font-size: 1.2rem;
    color: white;
}

/* Services Section */
.services {
    background-color: var(--light);
}

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

.service-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    height: 150px;
    background-color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.service-content {
    padding: 25px;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

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

.team-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: var(--light-gray);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--primary);
    overflow: hidden;
}

/* Testimonials */
.testimonials {
    background-color: var(--light);
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial {
    background-color: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    margin-bottom: 30px;
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary);
}

/* Priority Banner */
.priority-banner {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    padding: 60px 0;
    text-align: center;
}

.priority-banner h2 {
    color: white;
    margin-bottom: 20px;
}

.priority-banner h2:after {
    display: none;
}

.priority-banner p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Blog Preview */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.blog-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image {
    height: 200px;
    background-color: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 2rem;
}

.blog-content {
    padding: 25px;
}

.blog-content h3 {
    margin-bottom: 15px;
}

/* Contact Section */
.contact {
    background-color: var(--light);
}

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

.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-icon {
    background-color: var(--primary);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-form {
    background-color: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(10, 92, 140, 0.1);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
.footer {
    background-color: var(--dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h2 {
    color: white;
    text-align: left;
    margin-bottom: 15px;
}

.footer-logo h2:after {
    display: none;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.3rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -300px;
        width: 250px;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        padding: 80px 30px 30px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        font-size: 1.1rem;
        padding: 10px 0;
        border-bottom: 1px solid #eee;
    }
    
    .nav-links a:after {
        display: none;
    }
    
    .header-top .container {
        flex-direction: column;
        gap: 10px;
    }
    
    .slide {
        padding: 50px 30px;
    }
    
    .slide h1 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 10px 20px;
    }
    
    .slide {
        padding: 40px 20px;
    }
    
    .info-box, .diff-item, .service-card, .contact-form {
        padding: 25px;
    }
    
    .counter {
        font-size: 2.5rem;
    }
}


/* Add these new CSS rules to your style.css file */

/* Logo styles */
.logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

.logo-image {
    height: 70px;
    width: auto;
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 0;
}

.logo span {
    font-size: 0.9rem;
    color: var(--gray);
}

/* Achievement section with background image */
.achievements {
    background: 
        linear-gradient(rgba(10, 92, 140, 0.85), rgba(8, 71, 112, 0.9)),
        url('../images/track.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
    padding: 80px 0;
}

/* Service icons to images */
.service-icon {
    height: 150px;
    background-color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    background-size: cover;
    background-position: center;
    position: relative;
}

.service-icon i {
    display: none; /* Hide Font Awesome icons when using images */
}

/* Specific service images */
.service-card:nth-child(1) .service-icon {
    background-image: url('../images/service-01.jpg');
}

.service-card:nth-child(2) .service-icon {
    background-image: url('../images/service-02.jpg');
}

.service-card:nth-child(3) .service-icon {
    background-image: url('../images/service-03.jpg');
}

.service-card:nth-child(4) .service-icon {
    background-image: url('../images/service-04.jpg');
}

.service-card:nth-child(5) .service-icon {
    background-image: url('../images/service-05.jpg');
}

.service-card:nth-child(6) .service-icon {
    background-image: url('../images/service-06.jpg');
}

/* Testimonial section with background image */
.testimonials {
    background: 
        linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.9)),
        url('../images/testemonial.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Priority banner with background image */
.priority-banner {
    background: 
        linear-gradient(rgba(10, 92, 140, 0.8), rgba(23, 162, 184, 0.8)),
        url('../images/PriorityBanner.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 60px 0;
    text-align: center;
}

/* Blog images */
.blog-image {
    height: 200px;
    background-color: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 2rem;
    background-size: cover;
    background-position: center;
    position: relative;
}

.blog-image i {
    display: none; /* Hide Font Awesome icons when using images */
}

/* Specific blog images */
.blog-card:nth-child(1) .blog-image {
    background-image: url('../images/blog-01.jpg');
}

.blog-card:nth-child(2) .blog-image {
    background-image: url('../images/blog-02.jpg');
}

.blog-card:nth-child(3) .blog-image {
    background-image: url('../images/blog-03.jpg');
}

/* Overlay for better text readability on images */
.service-icon::before,
.blog-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.service-icon i,
.blog-image i {
    position: relative;
    z-index: 2;
    color: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .logo-image {
        height: 60px;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .achievements,
    .testimonials,
    .priority-banner {
        background-attachment: scroll; /* Disable parallax on mobile for better performance */
    }
}

@media (max-width: 576px) {
    .logo-image {
        height: 50px;
    }
    
    .logo {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .logo h1 {
        font-size: 1.3rem;
    }
    
    .logo span {
        font-size: 0.8rem;
    }
}
