/**
 * RoadGuard Interlock - City Template Styles
 * Based on v1.html design
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-blue: #3fa9f5f2;
    --primary-red: #ee3124;
    --dark-blue: #1e3a8a;
    --light-gray: #f8fafc;
    --medium-gray: #4c5a6d;
    --dark-gray: #191d22;
    --white: #ffffff;
    --border-color: #e2e8f0;
}

* {
    box-sizing: border-box;
}

.rg-page {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
}

.rg-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================================================
   BUTTONS
   ============================================================================ */

.rg-btn-primary {
    background: var(--primary-red);
    color: var(--white);
    border: none;
    padding: 15px 30px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.rg-btn-primary:hover {
    background: #d42c1f;
}

.rg-btn-secondary {
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
    display: inline-block;
}

.rg-btn-secondary:hover {
    background: #2563eb;
}

.rg-btn-outline-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--dark-gray);
    background-color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.rg-btn-outline-secondary:hover {
    background-color: var(--light-gray);
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

/* ============================================================================
   HERO SECTION
   ============================================================================ */

.rg-hero {
    position: relative;
    color: #fff;
    padding: 100px 0;
	    margin-top: 80px;
}

.rg-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.rg-hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.rg-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.rg-hero-form-container {
    background-color: var(--primary-blue);
    padding: 30px;
    border-radius: 10px;
}

.rg-hero-form h3 {
    color: #fff;
    margin-bottom: 20px;
}

.rg-hero-form .form-group {
    margin-bottom: 15px;
}

.rg-hero-form label {
    display: block;
    color: #fff;
    margin-bottom: 5px;
}

.rg-hero-form input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.rg-form-disclaimer {
    font-size: 12px;
    color: #fff;
    margin-top: 15px;
}

.rg-hero-text h1 {
    font-size: 48px;
    line-height: 1.2em;
    font-weight: 700;
    margin-bottom: 20px;
}

.rg-hero-text h2 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 20px;
}

.rg-hero-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.rg-hero-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.rg-hero-features li::before {
    content: '✔';
    color: var(--primary-blue);
    margin-right: 10px;
    font-size: 20px;
}

.rg-hero-actions {
    display: flex;
    align-items: center;
    margin-top: 30px;
    gap: 20px;
}

.rg-btn-hero-call {
    background-color: var(--primary-red);
    color: #fff;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
}

.rg-google-rating {
    background-color: #fff;
    color: #333;
    padding: 10px 15px;
    border-radius: 5px;
    text-align: center;
}

.rg-stars {
    color: #fbbc05;
}

/* ============================================================================
   TRUST BADGES
   ============================================================================ */

.rg-trust-badges {
    background-color: #eff2f6;
    padding: 20px 0;
}

.rg-badges-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.rg-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.rg-badge-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.rg-badge p {
    font-weight: 600;
    color: var(--dark-gray);
}

/* ============================================================================
   LOCATIONS SECTION
   ============================================================================ */

.rg-locations {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.rg-locations h2 {
    font-size: 36px;
    margin-bottom: 40px;
    text-align: center;
}

/* Grid container for location cards */
.rg-locations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.rg-location-card {
    background-color: #fff;
    border-left: 5px solid var(--primary-blue);
    border-radius: 10px;
    padding: 30px;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rg-location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.rg-location-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.rg-location-card p {
    margin-bottom: 10px;
    color: #555;
}

.rg-location-card p i {
    margin-right: 10px;
    color: #777;
}

.rg-learn-more {
    color: var(--primary-blue);
    text-decoration: none;
    display: block;
    margin-bottom: 20px;
}

.rg-locations-footer p {
    max-width: 700px;
    margin: 0 auto 20px;
    color: #555;
}

/* ============================================================================
   DEVICE SECTION new
   ============================================================================ */

.rg-device-section {
    padding: 80px 0;
    background-color: #fff;
}

.rg-device-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
}

.rg-device-card {
    background-color: var(--light-gray);
    border-radius: 15px;
    padding: 60px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
}

.rg-device-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
}

.rg-device-image img {
    max-width: 100%;
    max-height: auto;
    margin: 0 auto;
    display: block;
}

.rg-device-text {
    max-width: 800px;
    margin: 0 auto;
}

.rg-device-text p {
    margin-bottom: 20px;
    color: var(--medium-gray);
}

/* ============================================================================
   TRUSTED PROVIDER SECTION
   ============================================================================ */

.rg-trusted-provider {
    padding: 80px 0;
    text-align: center;
    background-color: var(--white);
}

.rg-trusted-provider h2 {
    font-size: 36px;
    margin-bottom: 20px;
	    font-weight: 600;
}

.rg-trusted-provider p {
    max-width: 800px;
    margin: 0 auto;
    color: var(--medium-gray);
}

/* ============================================================================
   STEPS SECTION
   ============================================================================ */

.rg-steps-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.rg-steps-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
	    font-weight: 600;
}

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

.rg-step-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.rg-step-number {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    width: 76px;
    height: 76px;
    background-color: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    border: 4px solid white;
}

.rg-step-icon {
    font-size: 48px;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.rg-step-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.rg-step-card p {
    color: var(--medium-gray);
}

/* ============================================================================
   WHY CHOOSE US SECTION
   ============================================================================ */

.rg-why-choose-us {
    padding: 80px 0;
    background-color: #fff;
}

.rg-why-choose-us h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
	    font-weight: 600;
}

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

.rg-reason-card {
    background-color: var(--light-gray);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.rg-reason-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--primary-blue);
    color: var(--white);
    font-size: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.rg-reason-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.rg-reason-card p {
    color: var(--medium-gray);
}

/* ============================================================================
   VISIT US SECTION
   ============================================================================ */

.rg-visit-us {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.rg-visit-us h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
	    font-weight: 600;
}

.rg-visit-us-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.rg-visit-us-map {
    flex: 1;
}

.rg-visit-us-map img {
    width: 100%;
    border-radius: 10px;
}

.rg-visit-us-info {
    flex: 1;
}

.rg-visit-us-info h3 {
    font-size: 28px;
    margin-bottom: 30px;
}

.rg-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    gap: 15px;
}

.rg-info-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-blue);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.rg-info-content {
    flex: 1;
}

.rg-info-label {
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 5px;
    font-size: 16px;
}

.rg-info-text {
    color: var(--medium-gray);
    font-size: 16px;
    line-height: 1.5;
}

.rg-phone-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
}

.rg-phone-link:hover {
    text-decoration: underline;
}

/* ============================================================================
   LAWS SECTION
   ============================================================================ */

.rg-laws-section {
    padding: 80px 0;
    background-color: #fff;
}

.rg-laws-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
}

.rg-laws-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--medium-gray);
}

.rg-laws-table-container {
    max-width: 800px;
    margin: 0 auto 40px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    overflow: hidden;
}

.rg-laws-table {
    width: 100%;
}

.rg-table-header,
.rg-table-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.rg-table-header {
    background-color: #3FA9F5;
    color: var(--white);
    font-weight: 600;
}

.rg-table-row:not(:last-child) {
    border-bottom: 1px solid var(--border-color);
}

.rg-table-cell {
    padding: 18px 25px;
}

.rg-important-note {
    background-color: #F0F8FF;
    padding: 20px 25px;
    border-left: 4px solid var(--primary-blue);
    margin: 20px 0 0;
}

.rg-important-note p {
    margin: 0;
    color: var(--medium-gray);
    line-height: 1.6;
}

.rg-important-note strong {
    color: var(--dark-gray);
}

.rg-laws-footer {
    text-align: center;
}

/* ============================================================================
   FAQ SECTION
   ============================================================================ */

.rg-faq-section {
    padding: 80px 0;
    background-color: #F9FAFB;
}

.rg-faq-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
	    font-weight: 600;
}

.rg-faq-item {
    max-width: 800px;
    margin: 0 auto 15px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.rg-faq-question {
    background-color: transparent;
    padding: 20px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rg-faq-question i {
    color: var(--medium-gray);
    transition: transform 0.3s ease;
}

.rg-faq-answer {
    background-color: var(--white);
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.rg-faq-answer p {
    padding: 20px 0;
    color: var(--medium-gray);
    margin: 0;
}

.rg-faq-item.active .rg-faq-answer {
    max-height: 200px;
}

.rg-faq-item.active .rg-faq-question i {
    transform: rotate(180deg);
}

/* ============================================================================
   SERVING SECTION
   ============================================================================ */

.rg-serving-section {
    padding: 80px 0;
    text-align: center;
}

.rg-serving-section h2 {
    font-size: 36px;
    margin-bottom: 30px;
}

.rg-serving-section p {
    max-width: 800px;
    margin: 0 auto 20px;
    color: var(--medium-gray);
    line-height: 1.8;
}

/* ============================================================================
   CTA READY SECTION
   ============================================================================ */

.rg-cta-ready {
    background: var(--primary-blue);
    color: var(--white);
    padding: 72px 16px;
    text-align: center;
}

.rg-cta-title {
    font-weight: 800;
    letter-spacing: 0.2px;
    font-size: 42px;
    margin-bottom: 16px;
    font-weight: 600 !Important;
}

.rg-cta-subtext {
    max-width: 860px;
    margin: 0 auto 28px;
    font-size: 18px;
    line-height: 1.65;
    color: rgba(255,255,255,0.9);
}

.rg-cta-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.rg-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    color: #1467b9;
    text-decoration: none;
    padding: 14px 22px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset;
    font-weight: 700;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.rg-cta-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.15);
}

.rg-cta-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}

/* ============================================================================
   RESPONSIVE
   ============================================================================ */

@media (max-width: 1024px) {
    /* Tablet: 2 columns */
    .rg-locations-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .rg-hero-content {
        grid-template-columns: 1fr;
    }
    
    .rg-badges-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .rg-visit-us-content {
        flex-direction: column;
    }
    
    .rg-hero-text h1 {
        font-size: 32px;
    }
    
    .rg-cta-title {
        font-size: 34px;
    }
    
    /* Tablet: 2 columns for location cards */
    .rg-locations-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .rg-badges-grid {
        grid-template-columns: 1fr;
    }
    
    .rg-hero-actions {
        flex-direction: column;
    }
    
    .rg-cta-btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Mobile: 1 column for location cards */
    .rg-locations-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .rg-location-card {
        padding: 25px;
    }
    
    .rg-location-card h3 {
        font-size: 20px;
    }
}
.rg-locations-footer{text-align:center}