:root {
    --primary-color: #0a263e;
    --secondary-color: #15436b;
    --accent-color: #d4af37;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

.navbar {
    padding: 10px 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    background-color: #0a263e;
}

.navbar.scrolled {
    padding: 8px 0;
    background-color: #0a263e !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.navbar-brand img {
    height: 80px;
    width: auto;
    filter: brightness(1.1) contrast(1.05);
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 8px 15px !important;
    transition: var(--transition);
    position: relative;
}

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

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

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 10px 25px;
    font-weight: 500;
    border-radius: 5px;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(10, 38, 62, 0.4);
}

.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(10, 38, 62, 0.95), rgba(21, 67, 107, 0.85)),
                url('hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding-top: 80px;
    display: flex;
    align-items: center;
}

.hero-section h1 {
    animation: fadeInUp 1s ease;
}

.hero-section .lead {
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-section .btn {
    animation: fadeInUp 1s ease 0.4s both;
}

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

.service-card {
    transition: var(--transition);
    border-radius: 10px;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.service-card .card-body {
    padding: 30px;
}

.service-card ul li {
    padding: 5px 0;
}

.card {
    border-radius: 10px;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
}

#about img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.why-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.booking-section {
    background: linear-gradient(135deg, var(--bg-light) 0%, #e9ecef 100%);
}

#booking .btn-primary {
    padding: 15px 40px;
    font-size: 1.1rem;
}

#contact .card {
    border-radius: 15px;
}

#contact form .form-control {
    border-radius: 8px;
    padding: 12px 15px;
    border: 1px solid #ddd;
    transition: var(--transition);
}

#contact form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 82, 118, 0.1);
}

.contact-info-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

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

.contact-info-item i {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

footer {
    background-color: #0a263e;
}

footer img {
    filter: brightness(1.1) contrast(1.05);
}

footer a {
    text-decoration: none;
    transition: var(--transition);
}

footer a:hover {
    color: var(--accent-color) !important;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: none;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.back-to-top.show {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 0.5s ease;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

#langToggle {
    border-radius: 20px;
    padding: 5px 15px;
    font-size: 0.9rem;
}

#langToggle:hover {
    background: rgba(255,255,255,0.2);
}

/* Responsive Styles */
@media (max-width: 1199px) {
    .hero-section {
        min-height: auto;
        padding: 120px 0 80px;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 991px) {
    .navbar-collapse {
        background: var(--primary-color);
        padding: 20px;
        border-radius: 10px;
        margin-top: 15px;
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .navbar-nav .nav-link::after {
        display: none;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero-section h1 {
        font-size: 2.2rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    #about .row {
        flex-direction: column-reverse;
    }
    
    #about img {
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding: 100px 0 60px;
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .hero-section .btn-lg {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .btn {
        padding: 8px 20px;
    }
    
    .service-card .card-body {
        padding: 20px;
    }
    
    .service-card h4 {
        font-size: 1.2rem;
    }
    
    .service-card ul {
        padding-left: 0;
    }
    
    .service-card ul li {
        font-size: 0.9rem;
    }
    
    #contact .col-md-6:first-child {
        margin-bottom: 30px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    footer {
        text-align: center;
    }
    
    footer .col-md-4 {
        margin-bottom: 30px;
    }
    
    footer .list-unstyled {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    footer .list-unstyled li {
        margin: 0 10px;
    }
}

@media (max-width: 575px) {
    .hero-section h1 {
        font-size: 1.5rem;
    }
    
    .hero-section .lead {
        font-size: 0.9rem;
    }
    
    section {
        padding: 50px 0;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .service-card {
        margin-bottom: 20px;
    }
    
    .card-body {
        padding: 15px;
    }
    
    #booking .d-flex {
        flex-direction: column;
        gap: 15px !important;
    }
    
    #booking .btn {
        width: 100%;
    }
    
    .calendly-inline-widget {
        min-width: 100% !important;
        height: 600px !important;
    }
    
    #contact form {
        padding: 20px;
    }
    
    .contact-info-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-info-item i {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

/* Extra small devices */
@media (max-width: 400px) {
    .navbar-brand span {
        font-size: 1rem;
    }
    
    .hero-section h1 {
        font-size: 1.3rem;
    }
    
    .btn-primary, .btn-outline-primary, .btn-outline-light {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
}

/* Smooth scrolling for older browsers */
@supports not (scroll-behavior: smooth) {
    html {
        scroll-behavior: auto;
    }
}

/* Print styles */
@media print {
    .navbar, .back-to-top, .btn {
        display: none !important;
    }
    
    .hero-section {
        background: none !important;
        color: #000 !important;
        padding: 20px 0;
    }
    
    section {
        padding: 20px 0;
    }
}

/* Animation on scroll */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading animation */
.loader {
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

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

/* Focus states for accessibility */
a:focus, button:focus, input:focus, textarea:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Modal Styles */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.show {
    display: flex;
}

.modal-dialog {
    background: white;
    border-radius: 10px;
    max-width: 700px;
    width: 100%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.modal-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #dee2e6;
}

.modal-header .modal-title {
    margin: 0;
    color: var(--primary-color);
}

.modal-header .btn-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    padding: 0;
    line-height: 1;
}

.modal-header .btn-close:hover {
    color: #333;
}

.modal-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.modal-body h6 {
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.modal-body h6:first-child {
    margin-top: 0;
}

.modal-body ul, .modal-body ol {
    padding-left: 1.5rem;
    margin: 0.5rem 0;
}

.modal-footer {
    padding: 15px 20px;
    border-top: 1px solid #dee2e6;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.modal.fade {
    opacity: 0;
}

.modal.show {
    opacity: 1;
}