:root {
    --primary: #1a1a2e;
    --secondary: #16213e;
    --accent: #d8a908;
    --light: #f1f1f1;
    --text: #333333;
    --text-light: #777777;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
header {
    background-color: rgba(255, 255, 255, 0.95);
    position: fixed;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

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

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    font-family: 'Playfair Display', serif;
}

.logo span {
    color: var(--accent);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--accent);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/cover.jpeg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: white;
    padding-top: 80px;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    width: 100%;
}

.hero-content {
    max-width: 600px;
    flex: 1;
}

.hero-image {
    flex: 1;
    max-width: 500px;
    display: flex;
    justify-content: flex-end;
}

.hero-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
    animation: float 6s ease-in-out infinite;
}

.hero h1 {
    font-size: 52px;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--accent);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s;
    border: 2px solid var(--accent);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn:hover {
    background-color: transparent;
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--accent);
    margin-left: 0;
}

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

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .hero-image {
        justify-content: center;
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 42px;
    }
    
    .hero-image img {
        max-height: 400px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-image img {
        max-height: 300px;
    }
}

/* Features Section */
.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--primary);
}

.section-title p {
    color: var(--text-light);
    max-width: 700px;
    margin: 15px auto 0;
}

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

.feature-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.feature-icon {
    font-size: 50px;
    color: var(--accent);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 22px;
}

/* Products Section */
.products {
    background-color: #f9f9f9;
}

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

.product-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.product-image {
    height: 250px;
    background-color: #eee;
    background-size: cover;
    background-position: center;
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.product-info p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.price {
    font-weight: 700;
    color: var(--accent);
    font-size: 20px;
    margin-bottom: 15px;
    display: block;
}

/* Technology Section */
.technology {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.technology .section-title h2,
.technology .section-title p {
    color: (--light);
}

.technology .section-title p {
    opacity: 0.8;
}

.tech-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.tech-image {
    background: url('../images/motor.png');
    background-size: cover;
    background-position: center;
    height: 500px;
    width: 500px;
    border-radius: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.tech-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.tech-text ul {
    list-style: none;
    margin-top: 20px;
}

.tech-text ul li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
}

.tech-text ul li:before {
    content: "✓";
    color: var(--accent);
    position: absolute;
    left: 0;
    font-weight: bold;
}

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

.testimonial-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #eee;
    margin-right: 15px;
    background-size: cover;
    background-position: center;
}

.author-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.author-info p {
    color: var(--text-light);
    font-size: 14px;
}

/* CTA Section */
.cta {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/cover.jpeg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 0;
}

.cta h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.cta p {
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
    font-size: 18px;
}

/* Footer */
footer {
    background-color: var(--primary);
    color: white;
    padding: 70px 0 30px;
}

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

.footer-col h3 {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent);
}

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

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

.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--accent);
}

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

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 42px;
    }
    
    .tech-content {
        grid-template-columns: 1fr;
    }
    
    .tech-image {
        height: 300px;
        width: 300px;
    }
    
    .btn-outline {
        margin-left: 0;
        margin-top: 15px;
        display: block;
    }
}

@media (max-width: 576px) {
    .header-container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    nav ul li {
        margin-left: 15px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title h2 {
        font-size: 30px;
    }
}

/* Header image */
/* Header Logo with Image */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px; /* Space between image and text */
}

.logo-img {
    height: 45px; /* Adjust based on your logo dimensions */
    width: auto; /* Maintain aspect ratio */
    transition: transform 0.3s ease;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    transition: color 0.3s;
}

.logo-text span {
    color: var(--accent);
}

/* Hover Effects */
.logo:hover .logo-img {
    transform: scale(1.05); /* Slight grow effect on hover */
}

.logo:hover .logo-text {
    color: var(--accent); /* Text color change on hover */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .logo-img {
        height: 38px; /* Slightly smaller for tablet */
    }
    .logo-text {
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .logo-img {
        height: 32px; /* Smaller for mobile */
    }
    .logo-text {
        font-size: 18px;
    }
    .logo {
        gap: 8px; /* Reduced gap for mobile */
    }
}
/* Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  
  .popup-overlay.active {
    opacity: 1;
    visibility: visible;
  }
  
  .popup-content {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    width: 100%;
    max-width: 500px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  }
  
  .popup-overlay.active .popup-content {
    transform: translateY(0);
  }
  
  .close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.3s;
  }
  
  .close-btn:hover {
    color: var(--accent);
  }
  
  .contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .form-group {
    position: relative;
  }
  
  .form-group input,
  .form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    transition: all 0.3s;
  }
  
  .form-group textarea {
    resize: vertical;
  }
  
  .form-group label {
    position: absolute;
    left: 15px;
    top: 15px;
    color: var(--text-light);
    transition: all 0.3s;
    pointer-events: none;
  }
  
  .form-group input:focus,
  .form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
  }
  
  .form-group input:focus + label,
  .form-group textarea:focus + label,
  .form-group input:valid + label,
  .form-group textarea:valid + label {
    top: -10px;
    left: 10px;
    font-size: 12px;
    background-color: white;
    padding: 0 5px;
    color: var(--accent);
  }