/* Modern CSS Variables */
:root {
    --primary-color: #000000;
    --primary-dark: #000000;
    --primary-light: #333333;
    --secondary-color: #666666;
    --dark-color: #000000;
    --light-color: #fafafa;
    --success-color: #000000;
    --warning-color: #000000;
    --danger-color: #000000;
    --info-color: #000000;
    --border-radius: 8px;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --gradient-primary: linear-gradient(135deg, #000000 0%, #333333 100%);
    --gradient-secondary: linear-gradient(135deg, #f5f5f5 0%, #e5e5e5 100%);
    --gradient-dark: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: var(--dark-color);
    background-color: #ffffff;
}

/* Modern Navigation */
.navbar {
    background: rgba(0, 0, 0, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1rem 0;
    border-bottom: 1px solid #333333;
}

.navbar-brand {
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.02);
}

.navbar-brand img {
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
    height: 28px;
}

.navbar-brand:hover img {
    filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0 0.75rem;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.navbar-nav .nav-link:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

/* Modern Hero Section */
.hero-section {
    background: #ffffff;
    color: #000000;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: -0.025em;
    margin-bottom: 1.5rem;
    color: #000000;
}

.hero-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #666666;
}

.hero-section p {
    font-size: 1.25rem;
    color: #666666;
    margin-bottom: 2rem;
}

.hero-image {
    text-align: center;
    animation: float 8s ease-in-out infinite;
}

dotlottie-wc {
    display: block;
    margin: 0 auto;
    margin-left: 50px;
    opacity: 0.8;
    transition: all 0.3s ease;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

dotlottie-wc:hover {
    opacity: 1;
    transform: scale(1.02);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(2deg);
    }
}

/* Modern Service Cards */
.service-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    border: 1px solid #e5e5e5;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #000000;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: #d1d5db;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: #f5f5f5;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: #000000;
    font-size: 1.75rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.05);
    background: #000000;
    color: #ffffff;
}

.service-card h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-info {
    color: #666666;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.service-info:hover {
    opacity: 1;
    color: #000000;
}

.service-card p {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: 0.75rem 0;
    color: var(--secondary-color);
    position: relative;
    padding-left: 2rem;
    font-weight: 500;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
    font-size: 1.1rem;
    background: rgba(16, 185, 129, 0.1);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Modern Calculator Section */
.calculator-form {
    background: white;
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid #e5e7eb;
}

.service-group {
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}

.service-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.service-group h3 {
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.25rem;
    margin-right: 0.75rem;
    border: 2px solid #d1d5db;
    background-color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    display: block;
}

.form-check-input:checked {
    background-color: #000000;
    border-color: #000000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.form-check-input:focus {
    border-color: #000000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.2);
}

.form-check-input:hover {
    border-color: #000000;
}

.form-check-input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #f3f4f6;
    border-color: #d1d5db;
}

.form-check-input:disabled+.form-check-label {
    opacity: 0.6;
    cursor: not-allowed;
    color: #6b7280;
}

.form-check-label {
    font-weight: 500;
    color: var(--dark-color);
    cursor: pointer;
    font-size: 1.1rem;
    padding: 0.25rem 0;
    transition: all 0.3s ease;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.form-check-label:hover {
    color: var(--primary-color);
}

/* Modern Price Summary */
.price-summary {
    background: white;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-xl);
    position: sticky;
    top: 120px;
    border: 1px solid #e5e7eb;
}

.total-price {
    text-align: center;
    margin: 2rem 0;
    padding: 2.5rem;
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    color: white;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.total-price::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.price-amount {
    font-size: 3.5rem;
    font-weight: 900;
    display: block;
    position: relative;
    z-index: 2;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.price-breakdown {
    margin-top: 2rem;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #e5e7eb;
    font-weight: 500;
}

.price-item:last-child {
    border-bottom: none;
}

.price-item-name {
    font-weight: 600;
    color: var(--dark-color);
}

.price-item-value {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Modern Contact Section */
.contact-info {
    background: white;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-xl);
    height: 100%;
    border: 1px solid #e5e7eb;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--light-color);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: #d1d5db;
}

.contact-item i {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-right: 1.5rem;
    margin-top: 0.25rem;
    background: rgba(99, 102, 241, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

.contact-form {
    background: white;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-xl);
    height: 100%;
    border: 1px solid #e5e7eb;
}

.contact-form h3 {
    margin-bottom: 2rem;
    color: var(--dark-color);
    font-weight: 700;
    font-size: 1.5rem;
}

/* Modern Footer */
.footer {
    background: var(--gradient-dark);
    color: white;
    padding: 3rem 0;
}

.footer h5 {
    color: white;
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: 1.5rem;
}

.footer img {
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.footer img:hover {
    filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
    transform: scale(1.05);
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer a:hover {
    color: white;
    text-decoration: none;
}

/* Modern Buttons */
.btn {
    border-radius: 6px;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: #000000;
    color: #ffffff;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: #333333;
}

.btn-outline-light {
    border: 1px solid #e5e5e5;
    background: #ffffff;
    color: #000000;
}

.btn-outline-light:hover {
    transform: translateY(-2px);
    background: #f5f5f5;
    border-color: #d1d5db;
}

.btn-outline-primary {
    border: 1px solid #000000;
    color: #000000;
    background: transparent;
}

.btn-outline-primary:hover {
    background: #000000;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Modern Modals */
.modal-content {
    border-radius: var(--border-radius);
    border: none;
    box-shadow: var(--shadow-xl);
}

.modal-header {
    border-bottom: 1px solid #e2e8f0;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    padding: 1.5rem 2rem;
}

.modal-body {
    padding: 2rem;
}

.modal-title {
    font-weight: 700;
    color: var(--dark-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding-top: 120px;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-image {
        margin-top: 2rem;
    }

    .service-card {
        margin-bottom: 2rem;
        padding: 2rem;
    }

    .price-summary {
        margin-top: 2rem;
        position: static;
    }

    .contact-info {
        margin-bottom: 2rem;
    }

    .calculator-form {
        padding: 2rem;
    }

    .price-summary {
        padding: 2rem;
    }
}

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

/* Loading Animation */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Success Message */
.success-message {
    background: var(--success-color);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin: 1rem 0;
    text-align: center;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

/* Error Message */
.error-message {
    background: var(--danger-color);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin: 1rem 0;
    text-align: center;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

/* Additional Animations */
.fade-in {
    animation: fadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Form Controls */
.form-control {
    border-radius: 6px;
    border: 1px solid #e5e5e5;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-control:focus {
    border-color: #000000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
    background: white;
    outline: none;
}

.form-control::placeholder {
    color: #999999;
}

/* Pricing Info Icons */
.pricing-info {
    color: #666666;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    opacity: 0.7;
    margin-left: 0.5rem;
}

.pricing-info:hover {
    opacity: 1;
    transform: scale(1.1);
    color: #000000;
}

/* Service Info Modal Styling */
.service-info-modal .modal-body {
    line-height: 1.8;
}

.service-info-modal h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-info-modal ul {
    padding-left: 1.5rem;
}

.service-info-modal li {
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

/* Profile Photo */
.profile-photo {
    margin-bottom: 2rem;
}

.profile-photo img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border: 4px solid #ffffff;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.profile-photo img:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

/* About Me Section */
.about-content h3 {
    color: #000000;
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-content .lead {
    color: #666666;
    font-size: 1.25rem;
    font-weight: 500;
}

.about-content p {
    color: #666666;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.experience-highlight,
.expertise-highlight {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: var(--border-radius);
    border-left: 4px solid #000000;
    margin-bottom: 2rem;
}

.experience-highlight h4,
.expertise-highlight h4 {
    color: #000000;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.experience-highlight p,
.expertise-highlight p {
    color: #666666;
    margin-bottom: 0;
}

.experience-card {
    background: #000000;
    color: #ffffff;
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-lg);
}

.experience-number {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.experience-text {
    font-size: 1.25rem;
    font-weight: 600;
    opacity: 0.9;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.stat-item {
    background: #ffffff;
    padding: 2rem 1rem;
    border-radius: var(--border-radius);
    border: 1px solid #e5e5e5;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: #000000;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: #000000;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #666666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive adjustments for About section */
@media (max-width: 768px) {
    .about-content h3 {
        font-size: 2rem;
    }

    .experience-card {
        padding: 2rem 1.5rem;
    }

    .experience-number {
        font-size: 3rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-item {
        padding: 1.5rem 1rem;
    }
}

/* Form message styles */
.alert {
    border-radius: var(--border-radius);
    border: none;
    font-weight: 500;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.alert-dismissible .btn-close {
    padding: 0.75rem 1rem;
}

/* Form loading states */
.btn-loading {
    display: inline-flex;
    align-items: center;
}

.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Form validation styles */
.form-control.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.form-control.is-valid {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #dc3545;
}

.valid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #28a745;
}

/* Modal success/error messages */
.modal-body .alert {
    margin-bottom: 1rem;
    border-radius: 8px;
    font-weight: 500;
    animation: slideInDown 0.3s ease-out;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-body .alert-success {
    background-color: #d1edff;
    border-color: #bee5eb;
    color: #0c5460;
}

.modal-body .alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.modal-body .alert .btn-close {
    font-size: 0.8rem;
    opacity: 0.7;
}

.modal-body .alert .btn-close:hover {
    opacity: 1;
}