/* Fleet Fuel Cards - Professional Blue & Amber Design */

/* Color Palette:
   Primary: #0284C7 (Blue)
   Secondary: #7DD3FC (Light Blue)
   Accent: #F59E0B (Amber)
   Neutral: #F0F9FF (Pale Blue)
   Text: #0C4A6E (Navy)
*/

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #0C4A6E;
    background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
    background-attachment: fixed;
}

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

/* Header & Navigation */
header {
    background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
    color: white;
    padding: 1.2rem 0;
    box-shadow: 0 4px 20px rgba(2, 132, 199, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo .logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
    display: block;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    transition: all 0.3s;
    padding: 0.6rem 1.2rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.logo .logo-text:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

nav a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
    min-width: 250px;
    box-shadow: 0 12px 24px rgba(0,0,0,0.3);
    z-index: 1;
    border-radius: 8px;
    padding: 0.5rem 0;
    top: 100%;
    left: 0;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-content a {
    color: white;
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    transition: all 0.3s;
}

.dropdown-content a:hover {
    background: rgba(125, 211, 252, 0.2);
    transform: translateX(5px);
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0284C7 0%, #7DD3FC 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
    box-shadow: 0 10px 40px rgba(2, 132, 199, 0.3);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 800;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.2);
    position: relative;
    z-index: 1;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: white;
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
    position: relative;
    z-index: 1;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(245, 158, 11, 0.6);
    background: linear-gradient(135deg, #D97706 0%, #B45309 100%);
}

/* Main Content Sections */
section {
    padding: 4rem 0;
    background: white;
    margin: 2rem 0;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

section:nth-child(even) {
    background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

h3 {
    font-size: 1.8rem;
    margin: 2.5rem 0 1.5rem 0;
    color: #0284C7;
    font-weight: 700;
    position: relative;
    padding-left: 20px;
}

h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 80%;
    background: linear-gradient(180deg, #0284C7 0%, #7DD3FC 100%);
    border-radius: 3px;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #0C4A6E;
}

/* Card Items */
.card-item {
    background: linear-gradient(135deg, #ffffff 0%, #F0F9FF 100%);
    border: 2px solid transparent;
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 8px 30px rgba(2, 132, 199, 0.1);
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.card-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #0284C7 0%, #7DD3FC 50%, #F59E0B 100%);
}

.card-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(2, 132, 199, 0.2);
    border-color: #0284C7;
}

.card-item.alternative {
    background: linear-gradient(135deg, #F9FAFB 0%, #E5E7EB 100%);
    border-left: 6px solid #9CA3AF;
}

.card-item.alternative::before {
    background: linear-gradient(90deg, #9CA3AF 0%, #6B7280 100%);
}

.card-item h3 {
    margin-top: 0;
    color: #0284C7;
}

.card-item a {
    color: #F59E0B;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border-bottom: 2px solid transparent;
}

.card-item a:hover {
    color: #D97706;
    border-bottom-color: #D97706;
}

/* Comparison Section */
.comparison {
    background: linear-gradient(135deg, #E0F2FE 0%, #BAE6FD 100%);
}

/* FAQ Preview */
.faq-preview {
    background: white;
}

.faq-preview h3 {
    color: #0284C7;
    font-size: 1.5rem;
    margin-top: 2.5rem;
    padding-left: 25px;
}

.faq-preview h3::before {
    background: linear-gradient(180deg, #0284C7 0%, #7DD3FC 100%);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
    color: white;
    text-align: center;
    padding: 5rem 0;
    box-shadow: 0 10px 40px rgba(2, 132, 199, 0.4);
}

.cta-section h2 {
    color: white;
    -webkit-text-fill-color: white;
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: white;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #0C4A6E 0%, #075985 100%);
    color: white;
    padding: 3rem 0 2rem 0;
    margin-top: 4rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 1.5rem;
}

.footer-contact {
    margin-bottom: 0;
}

.footer-contact p {
    color: #E0F2FE;
    margin: 0.5rem 0;
}

.footer-contact strong {
    color: #F59E0B;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #E0F2FE;
    text-decoration: none;
    transition: all 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.footer-links a:hover {
    color: #F59E0B;
    background: rgba(245, 158, 11, 0.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
}

.footer-bottom p {
    color: #FFFFFF;
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Intro Section */
.intro {
    background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
    position: relative;
}

/* What-is Section */
.what-is {
    background: white;
}

/* Savings Section */
.savings {
    background: linear-gradient(135deg, #DBEAFE 0%, #BAE6FD 100%);
}

/* Use Cases Section */
.use-cases {
    background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
}

/* Choosing Section */
.choosing {
    background: white;
}

/* Contact Info Box */
.contact-info {
    background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
    padding: 2.5rem;
    border-radius: 16px;
    margin-bottom: 2.5rem;
    box-shadow: 0 10px 40px rgba(2, 132, 199, 0.3);
    color: white;
}

.contact-info h3 {
    margin-top: 0;
    color: white;
    -webkit-text-fill-color: white;
    background: none;
}

.contact-info h3::before {
    display: none;
}

.contact-info p {
    color: white;
    margin-bottom: 1rem;
}

.contact-info a {
    color: #F59E0B;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s;
}

.contact-info a:hover {
    border-bottom-color: #F59E0B;
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .dropdown-content {
        position: static;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    section {
        padding: 2rem 1rem;
    }
}

/* Loading Animation for Images */
img {
    transition: opacity 0.3s;
}

img:hover {
    opacity: 0.9;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 2rem;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background: #7DD3FC;
    color: #0C4A6E;
}

/* Accordion Styles */
.accordion {
    margin: 2rem 0;
}

.accordion-item {
    background: white;
    border: 2px solid #E0F2FE;
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s;
}

.accordion-item:hover {
    border-color: #0284C7;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.15);
}

.accordion-header {
    background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
    user-select: none;
}

.accordion-header:hover {
    background: linear-gradient(135deg, #E0F2FE 0%, #BAE6FD 100%);
}

.accordion-header h3 {
    margin: 0;
    color: #0284C7;
    font-size: 1.5rem;
    padding-left: 0;
}

.accordion-header h3::before {
    display: none;
}

.accordion-icon {
    font-size: 1.5rem;
    color: #0284C7;
    font-weight: bold;
    transition: transform 0.3s;
    min-width: 30px;
    text-align: center;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 2rem;
}

.accordion-item.active .accordion-content {
    max-height: 2000px;
    padding: 1.5rem 2rem 2rem 2rem;
    transition: max-height 0.5s ease-in, padding 0.3s ease-in;
}

.accordion-content p {
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .accordion-header {
        padding: 1rem 1.5rem;
    }
    
    .accordion-header h3 {
        font-size: 1.2rem;
    }
    
    .accordion-icon {
        font-size: 1.2rem;
    }
}
