/* domain - Custom Styles */

body {
    font-family: Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header Styles */
.hero-section {
    padding-top: 100px;
    padding-bottom: 80px;
}

.hero-section h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.hero-section .lead {
    color: #6c757d;
    font-size: 1.2rem;
}

/* Navigation */
header {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

header a:hover {
    color: #f8f9fa !important;
    text-decoration: underline !important;
}

/* Cards */
.card {
    border: none;
    transition: transform 0.2s ease-in-out;
}

.card:hover {
    transform: translateY(-5px);
}

.card-header {
    border-bottom: none;
}

/* Buttons */
.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
}

.btn-outline-light:hover {
    background-color: #fff;
    color: #333;
}

/* Sections */
section {
    scroll-margin-top: 80px;
}

.bg-light {
    background-color: #f8f9fa !important;
}

/* Calculator Styles */
#calculator .card {
    border: 2px solid #007bff;
}

#calculator .form-control,
#calculator .form-select {
    border: 2px solid #e9ecef;
    padding: 12px;
    font-size: 1rem;
}

#calculator .form-control:focus,
#calculator .form-select:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

#result {
    border: 2px solid #007bff;
    background-color: #e7f3ff;
    color: #0056b3;
}

/* Reviews Section */
#reviews .card-body img {
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

#reviews .text-warning i {
    font-size: 1.2rem;
}

/* Contact Section */
#contact i {
    color: #007bff;
}

/* Footer */
footer {
    background-color: #212529 !important;
}

footer h5,
footer h6 {
    color: #fff;
    font-weight: 600;
}

footer p {
    color: #adb5bd;
    margin-bottom: 0.5rem;
}

footer ul li {
    margin-bottom: 0.5rem;
}

footer a {
    color: #adb5bd;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #fff;
}

/* Cookie Consent */
#cookieConsent {
    background-color: rgba(33, 37, 41, 0.95) !important;
    backdrop-filter: blur(10px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 120px;
        text-align: center;
    }
    
    .hero-section h2 {
        font-size: 2rem;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    #calculator .col-md-6 {
        margin-bottom: 1rem;
    }
    
    .d-none.d-lg-flex {
        display: none !important;
    }
}

@media (max-width: 576px) {
    .hero-section h2 {
        font-size: 1.8rem;
    }
    
    .card-body {
        padding: 1.5rem !important;
    }
    
    #result .col-4 {
        margin-bottom: 1rem;
        border-bottom: 1px solid #007bff;
        padding-bottom: 0.5rem;
    }
    
    #result .col-4:last-child {
        border-bottom: none;
    }
}

/* Additional Utility Classes */
.shadow-sm {
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075) !important;
}

.text-primary {
    color: #007bff !important;
}

.bg-primary {
    background-color: #007bff !important;
}

/* Form Enhancements */
.form-control,
.form-select {
    border-radius: 8px;
}

.form-check-input:checked {
    background-color: #007bff;
    border-color: #007bff;
}

.form-check-label {
    color: #495057;
}

/* Icon Styling */
.bi {
    display: inline-block;
    vertical-align: middle;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.btn:active {
    transform: scale(0.98);
}

/* Custom Alert Styling */
.alert-info {
    background-color: #e7f3ff;
    border-color: #b8daff;
    color: #0c5460;
}

/* Performance Optimizations */
.img-fluid {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.rounded-circle {
    border-radius: 50% !important;
}