/* Main CSS - AAA Partworn Tyres Clone */

:root {
    /* Colors */
    --primary-blue: #046bd2;
    --primary-dark-blue: #045cb4;
    --dark-slate: #1e293b;
    --dark-bg: #111111;
    --white: #ffffff;
    --light-grey: #f0f5fa;
    --accent-red: #d9241b;
    --accent-green: #25d366;
    /* WhatsApp color */

    /* Spacing */
    --container-width: 1200px;
    --header-height: 110px;
    --border-radius: 6px;

    /* Shadows */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.2);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark-slate);
    line-height: 1.6;
    background-color: var(--white);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

.text-center {
    text-align: center;
}

/* Header - Modern Design */
.site-header {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%);
    backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
    gap: 2rem;
}

.logo {
    flex-shrink: 0;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo img {
    height: 120px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.02);
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.main-nav ul {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-nav a {
    text-decoration: none;
    color: var(--dark-slate);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
    padding: 10px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.main-nav a:hover,
.main-nav li.has-submenu:hover>a {
    color: var(--accent-red);
    background: rgba(217, 36, 27, 0.08);
}

.main-nav li {
    position: relative;
}

.main-nav i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.main-nav li.has-submenu:hover i {
    transform: rotate(180deg);
}

.header-actions {
    flex-shrink: 0;
}

.header-actions .btn {
    font-size: 14px;
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(217, 36, 27, 0.3);
    transition: all 0.3s ease;
}

.header-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 36, 27, 0.4);
}

.mobile-menu-trigger {
    display: none;
    background: none;
    border: 2px solid var(--dark-slate);
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-trigger:hover {
    background: var(--dark-slate);
    color: white;
}

/* Dropdown Submenu */
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1001;
    border-radius: 4px;
    padding: 10px 0;
    list-style: none;
    /* Reset list style */
    display: block !important;
    /* Override flex from main nav */
    text-align: left;
}

.main-nav .submenu li {
    display: block;
    /* Stack items vertically */
    margin: 0;
}

.main-nav .submenu a {
    display: block;
    padding: 10px 20px;
    color: #333;
    font-size: 13px;
    font-weight: 500;
    border-bottom: 1px solid #f5f5f5;
    text-transform: uppercase;
    white-space: nowrap;
}

.main-nav .submenu a:hover {
    background: #f8fafc;
    color: var(--accent-red);
    padding-left: 25px;
    /* Slight movement on hover */
}

/* Show submenu on hover */
.main-nav li.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-menu-trigger {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark-blue);
}

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

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

/* Hero Section */
.hero-section {
    position: relative;
    /* Dark gradient background simulating the image if missing, or overlaying it */
    background: radial-gradient(circle at 80% 20%, #2a0a0a 0%, #0f172a 60%, #020617 100%);
    padding: 4rem 0;
    color: var(--white);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero/hero-bg.webp') center/cover no-repeat;
    opacity: 0.4;
    /* Blend image with gradient */
    z-index: 1;
}

.hero-overlay {
    /* Mesh gradient effect */
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(217, 36, 27, 0.15) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-features {
    margin-bottom: 2rem;
}

.hero-features li {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* Glassmorphism Form */
.glass-form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-lg);
    color: var(--dark-slate);
}

.glass-form h2 {
    color: var(--dark-slate);
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.form-group {
    flex: 1;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--dark-slate);
}

.form-group label .required {
    color: var(--accent-red);
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #cbd5e1;
    border-radius: var(--border-radius);
    background: #f8fafc;
    font-size: 0.9rem;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: var(--white);
}

.btn-submit {
    width: 100%;
    background: var(--dark-slate);
    color: var(--white);
    padding: 15px;
    font-size: 1.1rem;
    margin-top: 10px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.form-footer {
    text-align: center;
    margin-top: 1rem;
}

.form-footer p {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    color: #64748b;
}

.btn-register {
    background: var(--accent-red);
    color: var(--white);
    padding: 8px 16px;
    font-size: 0.9rem;
    border-radius: var(--border-radius);
}

/* Why Choose Section */
.why-choose {
    padding: 4rem 0;
    background: var(--white);
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.section-intro h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

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

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s;
    border: 1px solid #e2e8f0;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-card .icon {
    font-size: 2rem;
    color: var(--accent-red);
    margin-bottom: 1rem;
}

.feature-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: #64748b;
    font-size: 0.95rem;
}

/* Our Tyres Section */
.our-tyres-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.tyre-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-align: center;
}

.tyre-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
}

.tyre-card h4 {
    color: var(--primary-blue);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

/* Footer Section */
.site-footer {
    background: var(--dark-bg);
    color: #94a3b8;
    padding: 4rem 0 2rem;
    border-top: 4px solid var(--accent-red);
    font-size: 0.95rem;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    text-align: left;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.footer-col ul li {
    margin-bottom: 0.8rem;
}

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

.footer-col ul li a:hover {
    color: var(--accent-red);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 2rem;
    text-align: center;
}

/* Stats Section */
.stats-section {
    background: var(--primary-blue);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.stats-container {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.stat-item h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {

    .main-nav,
    .header-actions {
        display: none;
    }

    .mobile-menu-trigger {
        display: block;
    }

    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .form-row {
        flex-direction: column;
    }

    .stats-container {
        flex-direction: column;
        gap: 2rem;
    }
}

/* Elementor Compatibility Styles (Migrated Content) */
.elementor-icon-list-items {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.elementor-icon-list-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
}

.elementor-icon-list-icon {
    display: inline-flex;
    margin-right: 12px;
    align-items: center;
    color: var(--accent-red);
    /* Make icons red */
}

.elementor-icon-list-icon svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

.elementor-heading-title {
    margin-bottom: 1rem;
    margin-top: 2rem;
    font-size: 1.5rem;
    color: var(--primary-blue);
}

.elementor-widget-video {
    margin: 2rem 0;
}

/* Our Tyres Section - Modern Clean Design */
.our-tyres {
    background: #f8fafc;
    padding: 4rem 0;
}

.our-tyres .section-intro h2 {
    font-size: 2.2rem;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.our-tyres .section-intro p {
    color: #64748b;
    font-size: 1.1rem;
}

.our-tyres-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.tyre-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tyre-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.tyre-card img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    margin-bottom: 1rem;
    border-radius: 8px;
}

.tyre-card h4 {
    font-size: 1.15rem;
    color: #0f172a;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.tyre-card p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.tyre-card .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #dc2626;
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.tyre-card .btn:hover {
    background: #b91c1c;
}

@media (max-width: 992px) {
    .our-tyres-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .our-tyres-grid {
        grid-template-columns: 1fr;
    }
}