:root {
    --primary-blue: #1b2845;
    --accent-gold: #fad02c;
    --accent-gold-hover: #e5bc26;
    --text-dark: #1b1b1f;
    --text-light: #ffffff;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --glass: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 80px;
    /* Offset for sticky navbar */
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 10%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    height: 50px;
}

.nav-instagram {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-instagram i {
    font-size: 1.5rem;
    color: #E1306C;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(50px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.animate-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

/* Layout Parts */
section {
    padding: 80px 10%;
}

h1,
h2,
h3 {
    line-height: 1.2;
    margin-bottom: 20px;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    background-color: var(--accent-gold);
    color: var(--primary-blue);
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(250, 208, 44, 0.3);
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(250, 208, 44, 0.5);
    background-color: var(--accent-gold-hover);
}

/* Header/Hero */
.hero {
    min-height: 90vh;
    background: linear-gradient(rgba(27, 40, 69, 0.85), rgba(13, 19, 33, 0.95)), url('hero_banner_automotive_engineering.png');
    background-size: cover;
    background-position: center;
    color: var(--text-light);
    display: flex;
    align-items: center;
    position: relative;
    padding: 60px 10%;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.engineer-photo {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border: 5px solid rgba(255, 255, 255, 0.1);
}

.hero h1 {
    font-size: 3.5rem;
    max-width: 800px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Authority Section */
.authority-container {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1100px;
    margin: 0 auto;
}

.authority-text {
    flex: 2;
}

.authority-image {
    flex: 1;
}

.authority-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 5px solid white;
}

.subtitle {
    font-size: 1.3rem;
    color: var(--primary-blue);
    font-weight: 600;
    font-style: italic;
    margin-bottom: 20px;
}

.bio p {
    margin-bottom: 15px;
    line-height: 1.8;
}

/* Analysis Box */
.analysis-box {
    display: flex;
    gap: 40px;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    margin-top: 40px;
}

.analysis-content {
    flex: 1.2;
}

.analysis-image {
    flex: 0.8;
}

.check-list {
    list-style: none;
}

.check-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.check-list i {
    color: var(--accent-gold);
    font-size: 1.2rem;
    margin-top: 4px;
}

.warning-box {
    background: #fdfae6;
    border-left: 4px solid var(--accent-gold);
    padding: 25px;
    border-radius: 0 15px 15px 0;
}

.warning-box strong {
    display: block;
    margin-bottom: 10px;
    color: var(--primary-blue);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    transition: var(--transition);
}

.gallery-grid img:hover {
    transform: scale(1.05);
}

/* Clients */
.clients-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    opacity: 0.6;
    align-items: center;
}

.clients-grid img {
    max-width: 150px;
    filter: grayscale(100%);
    transition: var(--transition);
}

.clients-grid img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
    display: block;
}

/* Footer */
footer {
    background: var(--primary-blue);
    color: var(--text-light);
    padding: 60px 10% 20px;
    text-align: center;
}

.footer-links {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {

    .authority-container,
    .analysis-box,
    .hero-container {
        display: flex;
        flex-direction: column;
        text-align: center;
    }

    .hero-container {
        gap: 30px;
    }

    .nav-container {
        padding: 0 5%;
    }

    .nav-logo {
        height: 40px;
    }

    .check-list li {
        text-align: left;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    section {
        padding: 60px 5%;
    }

    .authority-image,
    .hero-media {
        order: -1;
        max-width: 300px;
        margin: 0 auto;
    }

    .engineer-photo {
        border-radius: 15px;
    }
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128c7e;
    color: #FFF;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
}