/* Custom Variables */
:root {
    --navy: #1e3a5f;
    --deep-navy: #162c47;
    --gold: #d4af37;
    --light-gray: #f8f9fa;
    --slate-gray: #64748b;
    --light-slate: #f1f5f9;
    --text-dark: #1a202c;
    --text-light-gray: #a0aec0;
}

/* Custom Bootstrap Colors */
.bg-navy { background-color: var(--navy) !important; }
.bg-deep-navy { background-color: var(--deep-navy) !important; }
.bg-light-slate { background-color: var(--light-slate) !important; }
.text-navy { color: var(--navy) !important; }
.text-gold { color: var(--gold) !important; }
.text-light-gray { color: var(--text-light-gray) !important; }

.btn-gold {
    background-color: var(--gold);
    border-color: var(--gold);
    color: #000;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-height: 44px;
    padding: 12px 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-gold:hover {
    background-color: #b8941f;
    border-color: #b8941f;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.btn-navy {
    background-color: var(--navy);
    border-color: var(--navy);
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-height: 44px;
    padding: 12px 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-navy:hover {
    background-color: var(--deep-navy);
    border-color: var(--deep-navy);
    color: white;
    transform: translateY(-2px);
}

.btn-outline-navy {
    border-color: var(--navy);
    color: var(--navy);
    font-weight: 600;
    white-space: nowrap;
    min-height: 44px;
    padding: 12px 24px;
}

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

.btn-outline-light {
    border-color: #ffffff;
    color: #ffffff;
    font-weight: 500;
    white-space: nowrap;
    min-height: 44px;
    padding: 12px 24px;
}

.btn-outline-light:hover {
    background-color: #ffffff;
    border-color: #ffffff;
    color: var(--navy);
}

/* Typography */
.section-title {
    color: var(--navy);
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--gold);
}

.hero-title {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.hero-subtitle {
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.8) 0%, rgba(22, 44, 71, 0.7) 100%);
    z-index: 2;
}

/* Page Header */
.page-header {
    margin-top: 76px;
    padding: 100px 0 60px;
}

/* Cards and Components */
.service-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: none;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(30, 58, 95, 0.2);
}

.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-content {
    padding: 25px;
}

.service-title {
    color: var(--navy);
    font-weight: 600;
    margin-bottom: 15px;
}

.service-description {
    color: var(--slate-gray);
    margin-bottom: 15px;
    line-height: 1.6;
}

.service-price {
    font-weight: 700;
    color: var(--gold);
    font-size: 1.2rem;
}

/* Service Detail Cards */
.service-detail-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.service-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(30, 58, 95, 0.15);
}

.service-detail-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.service-detail-content {
    padding: 30px;
}

.service-price-tag {
    background: linear-gradient(135deg, var(--gold) 0%, #b8941f 100%);
    color: #000;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 15px;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.service-features li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
    color: var(--slate-gray);
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
}

/* Benefit Cards */
.benefit-card {
    background: white;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(30, 58, 95, 0.2);
}

.benefit-card h4 {
    color: var(--navy);
    font-weight: 600;
    margin: 15px 0;
}

/* Contact Info Cards */
.contact-info-card {
    background: white;
    padding: 40px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-3px);
}

.contact-info-card h4 {
    color: var(--navy);
    margin: 15px 0 10px;
    font-weight: 600;
}

.contact-detail {
    color: var(--gold);
    font-weight: 600;
    margin: 0;
}

/* Team Cards */
.team-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(30, 58, 95, 0.2);
}

.team-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid var(--gold);
}

.team-info h4 {
    color: var(--navy);
    font-weight: 600;
    margin-bottom: 5px;
}

.team-role {
    font-weight: 600;
    margin-bottom: 15px;
}

/* Testimonials */
.testimonial-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(30, 58, 95, 0.15);
}

.testimonial-content {
    padding: 30px;
}

.testimonial-text {
    color: var(--slate-gray);
    font-style: italic;
    margin-bottom: 25px;
    line-height: 1.7;
}

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

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

/* Portfolio Cards */
.portfolio-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(30, 58, 95, 0.2);
}

.portfolio-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.portfolio-content {
    padding: 25px;
}

.portfolio-tags {
    margin-top: 15px;
}

.portfolio-tags .badge {
    font-size: 0.8rem;
    margin-right: 8px;
}

/* Achievement Stats */
.achievement-stat {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--navy);
    display: block;
}

.stat-label {
    color: var(--slate-gray);
    font-weight: 500;
    margin-top: 10px;
}

/* Process Steps */
.process-step {
    margin-bottom: 30px;
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--gold) 0%, #b8941f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 25px;
}

.step-number .number {
    color: #000;
    font-size: 1.5rem;
    font-weight: bold;
}

.step-content h4 {
    color: var(--navy);
    font-weight: 600;
    margin-bottom: 15px;
}

.process-benefit {
    padding: 30px 20px;
}

.process-benefit h5 {
    color: var(--navy);
    font-weight: 600;
    margin: 15px 0 10px;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

.form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

/* Map Container */
.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Business Hours */
.business-hours {
    background: white;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid var(--gold);
}

/* Office Address */
.office-address {
    background: white;
    padding: 15px;
    border-radius: 8px;
    border-left: 3px solid var(--navy);
}

.office-address p {
    color: var(--slate-gray);
    margin-bottom: 5px;
}

/* FAQ Styles */
.accordion-item {
    border: none;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 12px !important;
    overflow: hidden;
}

.accordion-button {
    background-color: white;
    color: var(--navy);
    font-weight: 600;
    padding: 20px 30px;
    border: none;
    font-size: 1.1rem;
}

.accordion-button:not(.collapsed) {
    background-color: var(--light-slate);
    color: var(--navy);
    border: none;
    box-shadow: none;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23d4af37'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 25px 30px;
    color: var(--slate-gray);
    line-height: 1.7;
}

/* Thank You Page */
.thank-you-content {
    padding: 60px 40px;
}

.next-steps-card {
    border-left: 4px solid var(--gold);
}

/* Legal Content */
.legal-content h3 {
    color: var(--navy);
    font-weight: 600;
    margin-top: 35px;
    margin-bottom: 20px;
}

.legal-content p {
    color: var(--slate-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Cookie Consent Banner */
.cookie-consent-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: var(--deep-navy);
    color: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    z-index: 9999;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    display: none;
}

.cookie-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-text {
    flex: 1;
}

.cookie-text p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

/* Stars */
.stars i {
    color: var(--gold);
    margin-right: 2px;
}

/* Footer */
.footer {
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-links a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold) !important;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: 90vh;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .page-header {
        padding: 80px 0 40px;
    }
    
    .service-detail-image,
    .portfolio-image {
        height: 200px;
    }
    
    .team-image {
        width: 100px;
        height: 100px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .cookie-consent-banner {
        bottom: 10px;
        left: 10px;
        right: 10px;
        padding: 15px;
    }
    
    .contact-form {
        padding: 25px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        margin-right: 15px;
    }
    
    .step-number .number {
        font-size: 1.2rem;
    }
}

/* Hover Effects */
.navbar-nav .nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

.navbar-nav .nav-link:hover {
    color: var(--gold) !important;
}

/* Form Success Message */
.form-success-message {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    display: none;
}

.form-success-message i {
    color: #28a745;
    margin-right: 10px;
}

/* Loading States */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    margin: auto;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Enhanced Interactive Elements */
.service-card,
.benefit-card,
.team-card,
.testimonial-card,
.portfolio-card,
.contact-info-card {
    cursor: pointer;
}

/* Improved Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

/* Improved Contrast */
.text-muted {
    color: var(--slate-gray) !important;
}

/* Navigation Active State */
.navbar-nav .nav-link.active {
    color: var(--gold) !important;
    font-weight: 600;
}