﻿<style>
    body {
        margin: 0;
        background-color: #222222;
        font-family: Arial, sans-serif;
    }

    .auto-style1 {
        text-align: center;
        color: #FFFFFF;
        margin-top: 0;        
    	padding-top: 0;  
    }
        
    @media (max-width: 600px) {
    .auto-style1 img {
        max-width: 150px;
        height: auto;
    }
}
    
	@media (max-width: 600px) {
    .navbar img {
        max-width: 150px;
        height: auto;
    }
}

	@media (max-width: 600px) {
    .auto-style1 {
        font-size: 1rem;          /* slightly smaller */
        white-space: nowrap;      /* forces one line */
        overflow: hidden;         /* prevents spillover */
    }
}



/* ============================
   MAIN NAVBAR WRAPPER
   ============================ */
   
.navbar {
    width: 100%;
    background: #0d0d0d;
    padding: 1rem 0;
    border-bottom: 1px solid #222;
}

/* Container for centering nav items */

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    position: relative; /* anchors dropdowns */
}

/* ============================
   TOP-LEVEL NAV LINKS
   ============================ */

a {
    text-decoration: none;
    color: #fff;
}
   
.nav-menu {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    padding: 0;
    margin: 0;
}

.nav-menu li {
    position: relative; /* required for dropdown positioning */
}

.nav-menu > li > a {
    color: #e6e6e6;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 0.6rem 1.2rem;
    display: block;
    transition: color 0.25s ease, transform 0.25s ease;
}

.nav-menu > li > a:hover {
    color: #00aaff;
    transform: translateY(-2px);
}

/* ============================
   DROPDOWN MENU
   ============================ */
   
.dropdown-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 100%; /* directly under parent link */
    left: 0;
    background: #111;
    border: 1px solid #222;
    border-radius: 6px;
    min-width: 220px;
    display: none; /* hidden until hover */
    z-index: 1000;
}

/* Dropdown items */

.dropdown-menu li a {
    padding: 0.75rem 1rem;
    color: #00aaff;
    text-decoration: none;
    display: block;
    transition: background 0.3s ease, color 0.3s ease;
}

.dropdown-menu li a:hover {
    background: #0066cc;
    color: #fff;
}

/* Show dropdown on hover */

.dropdown:hover .dropdown-menu {
    display: block;
}
/* Optional active page highlight */

.nav-link.active {
    color: #00aaff;
    font-weight: 600;
}

/* Mobile layout */

@media (max-width: 600px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        text-align: center;
    }
    .nav-menu li {
        width: 100%;
    }
}      

@media (max-width: 600px) {
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        padding: 0;
        margin: 0;
        text-align: center;
    }
}
    .c2c {
        text-align: center;
        color: #FFFFFF;
        font-size: 16px;
        }
            
    .contact-form {
        text-align: center;
        color: #FFFFFF;
        font-size: 12px;
        }

/* Idex (Home Page) Style */


/* HERO SECTION */


.hero {
    background: url('images/hero-bg.jpg') center/cover no-repeat;
    padding: 6rem 2rem;
    text-align: center;
    color: #fff; /* White text */
    margin-top: 0;
    padding-top: 0;

}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 0.8rem 1.4rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.btn-primary {
    background: #0066cc;
    color: #fff;
}

.btn-primary:hover {
    background: #004c99;
}

.btn-secondary {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.3);
}


/* CAROUSEL SECTION */

.carousel-section {
    margin: 3rem auto;
    max-width: 1100px;
}

.carousel-container {
    display: flex;
    overflow: hidden;
    border-radius: 10px;
}

.carousel-slide img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

/* SERVICES SUMMARY */

.services-hover-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    padding: 2rem 0;
}

.service-box {
    flex: 1 1 calc(50% - 2rem); /* Two per row */
    max-width: 400px;
    background: #111;
    color: #fff;
    padding: 2rem 1.5rem;
    border-radius: 10px;
    text-align: center;
    position: relative;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.service-box:hover {
    background: #0066cc;
    transform: translateY(-5px);
}

.service-box h3 {
    font-size: 1.3rem;
    margin: 0;
    font-weight: 600;
}

/* Hidden description */
.service-desc {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, max-height 0.3s ease;
    margin-top: 1rem;
    font-size: 0.95rem;
}

/* Reveal on hover */
.service-box:hover .service-desc {
    opacity: 1;
    max-height: 200px;
}

.services-cta {
    display: flex;
    justify-content: center;
    margin-top: 2rem;

}

.btn-primary {
    display: inline-block;
    padding: 0.7rem 1.2rem;
    background: #0066cc;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background: #004c99;
}

/* TESTIMONIALS */

.testimonials {
    padding: 3rem 1rem;
    background: #f7f7f7;
    text-align: center;
}

.testimonials h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.testimonial-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.testimonial {
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    width: 300px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.testimonial .quote {
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial .author {
    font-weight: 600;
    color: #333;
}

/* RESPONSIVE */

@media (max-width: 900px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .carousel-slide img {
        height: 250px;
    }

    .service-item {
        width: 100%;
        max-width: 350px;
    }

    .testimonial {
        width: 100%;
        max-width: 350px;
    }
}




/* About Us Style */

.about-section, .team-section {
	color: #FFFFFF;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.team-grid {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.team-member {
    flex: 1 1 45%;
    max-width: 400px;
    text-align: center;
}

.team-member img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1rem;
}




/* Services Styles */

.services-section {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    padding: 2rem 0;
}

.service-card {
    flex: 1 1 calc 45%;
    min-width: 250px;
    max-width: 500px;
    background: #ffffff;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: center;
}

.service-card img {
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: contain;
    image-rendering: auto;
    display:block;
    border-radius: 8px;
    margin: 0 auto 1rem auto;
}

.service-card h3 {
    margin: 0.5rem 0;
    font-size: 1.4rem;
}

.service-card h3 a {
    text-decoration: none;
    color: #333;
}

.service-card p {
    font-size: 1rem;
    margin-bottom: 1.2rem;
}

.service-btn {
    display: inline-block;
    padding: 0.7rem 1.2rem;
    background: #0066cc;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.service-btn:hover {
    background: #004c99;
}

/* Responsive */
@media (max-width: 900px) {
    .service-card {
        flex: 1 1 100%;
    }
}




/* Footer Styles */

.site-footer {
    width: 100%;
}

/* LEFT — NAV LINKS */

.footer-links ul {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: flex-start;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
}

/* MIDDLE — CONTACT INFO */

.footer-contact {
    text-align: center;
    font-size: 12px;
    color: #FFFFFF;
}

/* RIGHT — SOCIAL ICONS */

.footer-social {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    align-items: center; /* keeps icons vertically aligned */
}

.social-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    transition: 0.3s ease;
}

.social-icon:hover .social-img {
    transform: scale(1.1);
}

/* FLEX LAYOUT FOR THE THREE SECTIONS */

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center; /* THIS is the magic line */
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.footer-links,
.footer-contact,
.footer-social {
    flex: 1;
}

/*Mobile Phone Layout*/

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-links ul {
    flex-direction: column;
    gap: 10px;
    justify-content: center;
  }

  .footer-links,
  .footer-contact,
  .footer-social {
    flex: none;
    width: 100%;
    margin-bottom: 20px;
  }

  .footer-social {
    justify-content: center;
  }
}

</style>
