:root {
    --primary-color: #0f9fff;
    --primary-med-plus: hsl(204, 100%, 60%);
    --primary-med: hsl(204, 100%, 75%);
    --primary-light: #f0f8ff;
    --secondary-color: #333;
    --text-color: #333;
    --text-light: #666;
    --background-color: #fff;
    --background-light: #f9f9f9;
    --background-dark: #f5f5f5;
    --border-color: #ddd;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --hover-color: #0056b3;
  }

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

header {
    background-color: var(--secondary-color);
    color: var(--background-color);
    padding: 1em 0;
    text-align: center;
    position: relative;
}

header .logo {
    position: absolute;
    top: 10px;
    left: 10px;
    height: 132px;
    filter: drop-shadow(2px 2px 2px var(--background-color));
}

nav ul {
    list-style-type: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 1em;
}

nav ul li a {
    color: var(--primary-color);
    text-decoration: none;
}

footer a {
    color: var(--primary-color);
    text-decoration: none;
}

main {
    padding: 2em;
}

section {
    margin-bottom: 2em;
}


.section-title {
    text-align: center;
  }

/********************** Hero Section **********************/
.hero-section {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    color: var(--background-color);
    text-align: center;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.hero-section .gear-animation1 {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: rotate 30s linear infinite;
    opacity: 0.5;
    top: 50%;
    left: 50%;
}

.hero-section .gear-animation2 {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: rotate 30s linear infinite;
    animation-direction: reverse;
    top: 50%;
    left: -25%;
}


@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    color: var(--background-color);
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 3px 3px 0px rgba(0,0,0,0.2), 
                 5px 5px 0px rgba(255,255,255,0.1);
    margin-bottom: 20px;
    line-height: 1.2;
    -webkit-text-stroke: 2px var(--background-color);
}
.hero-section .tagline {
    font-size: 1.5rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-med-plus);
    color: var(--background-color);
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 4px 4px 6px var(--shadow-color);
}

.cta-button:hover {
    background-color: var(--primary-med);
    transform: translateY(-3px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}


/********************** About Section **********************/

.about-section {
    padding: 80px 0;
    background-color: var(--primary-light);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.about-item {
    background-color: var(--background-color);
    border-radius: 15px;
    padding: 30px;
    text-align: left;
    box-shadow: 0 6px 12px var(--shadow-color);
    transition: transform 0.3s ease;
    border-top: 5px solid var(--primary-color);
}

.about-item:hover {
    transform: translateY(-5px);
}

.about-icon {
    background-color: var(--primary-color);
    color: var(--background-color);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.about-icon i {
    font-size: 1.5rem;
}

.about-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.about-item p {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.6;
}

h2 {
    color: var(--primary-color);
    font-size: 2em;
}

/********************** Services Section **********************/

.services-section {
    background-color: var(--background-light);
    padding: 80px 0;
    text-align: left;
}

.services-section h3 {
    font-size: 32px;
    color: var(--text-color);
    margin-bottom: 30px;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
}

.services-section p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
    font-family: 'Open Sans', sans-serif;
}

.services-section ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    list-style-type: none;
    padding: 0;
}

.services-section li {
    background-color: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: 0 4px 10px var(--shadow-color);
    width: 280px;
    padding: 30px 20px;
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services-section li:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.services-section li strong {
    display: block;
    font-size: 22px;
    color: var(--text-color);
    margin-bottom: 15px;
    font-family: 'Roboto', sans-serif;
}

.services-section li p {
    font-size: 16px;
    color: var(--text-light);
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
}

.services-section li:last-child {
    width: 100%;
    max-width: 600px;
}

@media (max-width: 768px) {
    .services-section ul {
        flex-direction: column;
    }

    .services-section li {
        width: 100%;
    }
}


/********************** Services grid & itemstyles **********************/
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-item {
    background-color: var(--background-color);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 6px var(--shadow-color);
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-item h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.service-item p {
    font-size: 1rem;
    color: var(--text-light);
}


/********************** Contact Section **********************/
.contact-section form {
    display: grid;
    gap: 20px;
}
#contact {
    background-color: var(--background-dark);
    padding: 60px 20px;
}

#contact h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2em;
}

#contact-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--background-color);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--shadow-color);
}

#contact-form .form-group {
    margin-bottom: 20px;
}

#contact-form label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    color: var(--text-light);
}

#contact-form label i {
    margin-right: 8px;
    color: var(--primary-color);
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1em;
}

#contact-form input:focus,
#contact-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

#contact-form button[type="submit"] {
    background-color: var(--primary-color);
    color: var(--background-color);
    padding: 15px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1em;
    width: 100%;
    transition: background-color 0.3s ease;
}

#contact-form button[type="submit"]:hover {
    background-color: var(--hover-color);
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header styles */
.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--background-color);
    box-shadow: 0 2px 5px var(--shadow-color);
    z-index: 1000;
}



/********************** Footer **********************/

footer {
    background-color: var(--secondary-color);
    color: var(--background-color);
    text-align: center;
    padding: 5px 0;
    position: fixed;
    width: 100%;
    bottom: 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}


.subtle-footer {
    background-color: var(--background-color);
    color: var(--text-color-light);
    padding: 2px 0 2px;
    font-size: 0.9em;
    border-top: 1px solid var(--border-color);
  }
  
  .subtle-footer h4 {
    color: var(--text-color);
    font-size: 1em;
    margin: 0px;
  }
  
  .subtle-footer a {
    color: var(--text-color-light);
    text-decoration: none;
  }
  
  .subtle-footer a:hover {
    text-decoration: underline;
  }
  
  .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  
  .footer-section {
    flex: 1;
    margin-bottom: 0px;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;

  }
  
  .footer-bottom {
    text-align: center;
    margin-top: 0px;
    padding-top: 0px;
    border-top: 1px solid var(--border-color);
  }

  .footer-section h4,
.footer-section p,
.footer-section ul {
  text-align: center;
  width: 100%;
  margin-top: 0;
}


  .footer-section p,
.footer-section ul {
    font-size: 0.8em;
    line-height: 1.2;
    margin: 0;
}

.footer-section ul {
    list-style-type: none;
    padding: 0;
}

.footer-section ul li {
    display: inline;
    margin-right: 10px;
}