
:root {
    --primary-color: #060270;     /* Deep Indigo — bold and grounding */
    --accent-color: #FF6F61;      /* Coral Pink — adds warmth and contrast */
    --soft-color: #A9CFF4;        /* Mist Blue — airy, modern, and complementary */
    --light-accent: rgba(255, 111, 97, 0.1); /* Light version of accent for backgrounds */
    --light-primary: rgba(6, 2, 112, 0.05); /* Light version of primary for backgrounds */
    --text-color: #333;
    --light-text-color: #f8f8f8;
    --border-radius: 8px;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --dark-color: #261f50;        /* Added for navbar background */
}

/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f4f7f6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}



a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

section {
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

h1, h2, h3 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-weight: 700;
}

h1 { font-size: 3.5em; }
h2 { font-size: 2.8em; }
h3 { font-size: 2.2em; }

p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-text-color);
    padding: 12px 25px;
    border-radius: var(--border-radius);
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 600;
    margin-top: 20px;
}

.btn-primary:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.btn-submit {
    background-color: var(--accent-color);
    color: var(--light-text-color);
    padding: 12px 25px;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn-submit:hover {
    background-color: var(--primary-color);
}



/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--light-text-color);
    background: url('test/ana.jpg') center/cover no-repeat;
    position: relative;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.hero-content h1 {
    font-size: 4.5em;
    margin-bottom: 30px;
    font-weight: 900;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.3);
    min-height: 60px;
}

.hero-content p {
    font-size: 1.5em;
    font-weight: 300;
    color: #fff;
text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);

 opacity: 0.9;
}

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Animated Traffic Icons</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        .rotating-icons {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 30px;
            padding: 20px;
            background-color: #f5f5f5;
            border-radius: 10px;
            margin: 50px auto;
            max-width: 500px;
        }

        .icon-item {
            font-size: 2.5rem;
            color: #333;
        }

        /* Traffic Light Animation */
        .traffic-light {
            animation: trafficChange 3s infinite;
        }

        @keyframes trafficChange {
            0%, 33% { color: #ff0000; }    /* Red */
            34%, 66% { color: #ffff00; }  /* Yellow */
            67%, 100% { color: #00cc00; } /* Green */
        }

        /* Car Movement Animation */
        .car {
            animation: carMove 5s linear infinite;
        }

        @keyframes carMove {
            0% { transform: translateX(-20px) rotate(0deg); }
            25% { transform: translateX(0) rotate(5deg); }
            50% { transform: translateX(20px) rotate(0deg); }
            75% { transform: translateX(0) rotate(-5deg); }
            100% { transform: translateX(-20px) rotate(0deg); }
        }

        /* Steering Wheel Rotation */
        .steering-wheel {
            animation: wheelRotate 2s linear infinite;
        }

        @keyframes wheelRotate {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }
    </style>
</head>
<body>
    <div class="rotating-icons">
        <i class="fas fa-traffic-light icon-item traffic-light"></i>
        <i class="fas fa-car icon-item car"></i>
        <i class="fas fa-steering-wheel icon-item steering-wheel"></i>
    </div>
</body>
</html>

.icon-item {
    font-size: 4em;
    color: var(--accent-color);
    animation: rotateIcon 10s linear infinite;
    display: inline-block;
    transform-origin: center;
}

@keyframes rotateIcon {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* About Section */
.about-section {
    background-color: var(--soft-color);
    color: var(--primary-color);
    padding: 100px 0;
}

.about-section h2 {
    color: var(--primary-color);
}

.about-section p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1em;
}

/* Services Section */
.services-section {
    background-color: #f8f8f8;
    padding: 80px 0 100px 0;
}

.services-slider-container {
    overflow: hidden;
    margin-top: 40px;
    padding: 20px;
}

.services-slider {
    display: flex;
    transition: transform 0.8s ease-in-out;
    will-change: transform;
}

.service-card {
    flex: 0 0 calc(33.333% - 40px);
    margin: 0 20px;
    padding: 30px;
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 280px;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.service-card i {
    font-size: 3.5em;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.service-card h3 {
    color: var(--primary-color);
    font-size: 1.6em;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 1em;
    color: var(--text-color);
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--light-primary);
    padding: 100px 0;
}

.testimonials-section h2 {
    margin-bottom: 20px;
}

.steering-wheel-icon-large {
    font-size: 12em;
    color: var(--accent-color);
    margin: 40px auto;
    display: block;
    position: relative;
    width: fit-content;
    animation: rotateSteeringWheel 15s linear infinite;
    opacity: 0.7;
}

@keyframes rotateSteeringWheel {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.section-description {
    font-size: 1.3em;
    margin-bottom: 50px;
    color: var(--primary-color);
    font-weight: 500;
}

.testimonial-display {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
    margin-bottom: 80px;
}

.testimonial-item {
    background-color: #fff;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--text-color);
}

.testimonial-author {
    font-weight: 600;
    color: var(--accent-color);
    text-align: right;
    font-size: 1em;
}

.no-testimonials {
    font-size: 1.2em;
    color: var(--primary-color);
    grid-column: 1 / -1;
    padding: 30px;
    background-color: var(--light-accent);
    border-radius: var(--border-radius);
}

.testimonial-form-container {
    background-color: var(--light-accent);
    padding: 40px;
    border-radius: var(--border-radius);
    max-width: 700px;
    margin: 50px auto 0 auto;
    text-align: left;
}

.testimonial-form-container h3 {
    text-align: center;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--light-text-color);
    text-align: center;
    padding: 20px 0;
    margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 20px;
    }
    
    .navbar-logo {
        padding-left: 0;
        margin-bottom: 10px;
    }
    
    .nav-links {
        flex-direction: column;
        width: 100%;
        padding-right: 0;
        text-align: center;
    }
    
    .nav-links li {
        margin: 10px 0;
        width: 100%;
    }
    
    .nav-links a {
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .hero-content h1 {
        font-size: 2.5em;
    }
    
    .hero-content p {
        font-size: 1.2em;
    }
    
    .rotating-icons .icon-item {
        font-size: 2.5em;
        margin: 0 10px;
    }
    
    .about-section h2 {
        font-size: 2em;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2em;
    }
    
    .hero-content p {
        font-size: 1em;
    }
    
    .rotating-icons .icon-item {
        font-size: 2em;
    }
    
    .about-section h2 {
        font-size: 1.8em;
    }
} 


/* Base styles */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #333;
  color: white;
  position: relative;
}

.navbar-logo {
  font-size: 1.5rem;
  font-weight: bold;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
}

.nav-toggle-label span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: white;
  border-radius: 3px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

.nav-toggle-label span:nth-child(1) {
  top: 0px;
}

.nav-toggle-label span:nth-child(2) {
  top: 8px;
}

.nav-toggle-label span:nth-child(3) {
  top: 16px;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  margin-left: 1.5rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  padding: 0.5rem;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #4CAF50;
}

/* Mobile styles */
@media (max-width: 768px) {
  .nav-toggle-label {
    display: block;
  }

  .nav-toggle:checked + .nav-toggle-label span:nth-child(1) {
    top: 8px;
    transform: rotate(135deg);
  }

  .nav-toggle:checked + .nav-toggle-label span:nth-child(2) {
    opacity: 0;
    left: -60px;
  }

  .nav-toggle:checked + .nav-toggle-label span:nth-child(3) {
    top: 8px;
    transform: rotate(-135deg);
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #333;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 1000;
  }

  .nav-toggle:checked ~ .nav-links {
    display: flex;
  }

  .nav-links li {
    margin: 0.5rem 0;
    text-align: center;
  }

  .navbar {
    padding: 1rem;
  }
}

/* Desktop styles */
@media (min-width: 769px) {
  .nav-toggle-label {
    display: none;
  }
  
  .nav-links {
    display: flex !important;
  }
}



        @keyframes typing {
            from { max-width: 0; }
            to { max-width: 300px; }
        }

        .nav-toggle {
            display: none;
        }

        .nav-toggle-label {
            display: none;
            cursor: pointer;
            width: 30px;
            height: 20px;
            position: relative;
        }

        .nav-toggle-label span {
            display: block;
            position: absolute;
            height: 3px;
            width: 100%;
            background: white;
            border-radius: 3px;
            opacity: 1;
            left: 0;
            transform: rotate(0deg);
            transition: .25s ease-in-out;
        }

        .nav-toggle-label span:nth-child(1) {
            top: 0px;
        }

        .nav-toggle-label span:nth-child(2) {
            top: 8px;
        }

        .nav-toggle-label span:nth-child(3) {
            top: 16px;
        }

        .nav-links {
            display: flex;
            list-style: none;
            margin: 0;
            padding: 0;
        }

        .nav-links li {
            margin-left: 1.5rem;
        }

        .nav-links a {
            color: white;
            text-decoration: none;
            padding: 0.5rem;
            display: flex;
            align-items: center;
            transition: color 0.3s;
        }

        .nav-links a:hover {
            color: #4CAF50;
        }

        .nav-links a i {
            margin-right: 8px;
            font-size: 1.2rem;
        }

        /* Mobile styles */
        @media (max-width: 768px) {
            .nav-toggle-label {
                display: block;
            }

            .nav-toggle:checked + .nav-toggle-label span:nth-child(1) {
                top: 8px;
                transform: rotate(135deg);
            }

            .nav-toggle:checked + .nav-toggle-label span:nth-child(2) {
                opacity: 0;
                left: -60px;
            }

            .nav-toggle:checked + .nav-toggle-label span:nth-child(3) {
                top: 8px;
                transform: rotate(-135deg);
            }

            .nav-links {
                display: none;
                flex-direction: column;
                width: 100%;
                position: absolute;
                top: 100%;
                left: 0;
                background-color: #333;
                padding: 1rem 0;
                box-shadow: 0 2px 5px rgba(0,0,0,0.2);
                z-index: 1000;
            }

            .nav-toggle:checked ~ .nav-links {
                display: flex;
            }

            .nav-links li {
                margin: 0.5rem 0;
                text-align: center;
            }

            .navbar {
                padding: 1rem;
            }
            
            .navbar-logo {
                animation: typing 2s steps(20) 0.5s forwards;
            }
        }

        /* Desktop styles */
        @media (min-width: 769px) {
            .nav-toggle-label {
                display: none;
            }
        }


        @keyframes typing {
            from { max-width: 0; }
            to { max-width: 300px; }
        }

        .nav-toggle {
            display: none;
        }

        .nav-toggle-label {
            display: none;
            cursor: pointer;
            width: 30px;
            height: 20px;
            position: relative;
        }

        .nav-toggle-label span {
            display: block;
            position: absolute;
            height: 3px;
            width: 100%;
            background: white;
            border-radius: 3px;
            opacity: 1;
            left: 0;
            transform: rotate(0deg);
            transition: .25s ease-in-out;
        }

        .nav-toggle-label span:nth-child(1) {
            top: 0px;
        }

        .nav-toggle-label span:nth-child(2) {
            top: 8px;
        }

        .nav-toggle-label span:nth-child(3) {
            top: 16px;
        }

        .nav-links {
            display: flex;
            list-style: none;
            margin: 0;
            padding: 0;
        }

        .nav-links li {
            margin-left: 1.5rem;
        }

        .nav-links a {
            color: white;
            text-decoration: none;
            padding: 0.5rem;
            display: flex;
            align-items: center;
            transition: color 0.3s;
        }

        .nav-links a:hover {
            color: #4CAF50;
        }

        .nav-links a i {
            margin-right: 8px;
            font-size: 1.2rem;
        }

        /* Mobile styles */
        @media (max-width: 768px) {
            .nav-toggle-label {
                display: block;
            }

            .nav-toggle:checked + .nav-toggle-label span:nth-child(1) {
                top: 8px;
                transform: rotate(135deg);
            }

            .nav-toggle:checked + .nav-toggle-label span:nth-child(2) {
                opacity: 0;
                left: -60px;
            }

            .nav-toggle:checked + .nav-toggle-label span:nth-child(3) {
                top: 8px;
                transform: rotate(-135deg);
            }

            .nav-links {
                display: none;
                flex-direction: column;
                width: 100%;
                position: absolute;
                top: 100%;
                left: 0;
                background-color: #333;
                padding: 1rem 0;
                box-shadow: 0 2px 5px rgba(0,0,0,0.2);
                z-index: 1000;
            }

            .nav-toggle:checked ~ .nav-links {
                display: flex;
            }

            .nav-links li {
                margin: 0.5rem 0;
                text-align: center;
            }

            .navbar {
                padding: 1rem;
            }
            
            /* Ensure auto-typing works on mobile */
            .navbar-logo {
                animation: typing 2s steps(20) 0.5s forwards;
                max-width: 200px; /* Adjust for mobile screens */
            }
        }

        /* Desktop styles */
        @media (min-width: 769px) {
            .nav-toggle-label {
                display: none;
            }
        }
  