/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: #111827;
    background-color: #F9F9F7;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
}

h1 {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.2;
    color: #FFFFFF;
}

h2 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: #0D203D;
}

h3 {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.4;
    color: #0D203D;
}

h4 {
    font-size: 20px;
    font-weight: 600;
    color: #0D203D;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
    color: #4B5563;
}

/* Utility Classes */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 20px;
    color: #4B5563;
    max-width: 650px;
    margin: 0 auto;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(145deg, #EADCA3, #D4AF37);
    color: #111827;
    border: none;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 250ms ease-in-out;
    text-decoration: none;
    display: inline-block;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
    transform: scale(1.03);
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-secondary {
    background: #0D203D;
    color: #FFFFFF;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 200ms ease-in-out;
    text-decoration: none;
    display: inline-block;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary:hover {
    background: #1A3A69;
    transform: translateY(-2px);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(13, 32, 61, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 300ms ease-in-out;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-text {
    color: #FFFFFF;
    font-size: 28px;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 500;
    transition: color 250ms ease-in-out;
    position: relative;
}

.nav-link:hover {
    color: #D4AF37;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #D4AF37;
    transition: width 250ms ease-in-out;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #FFFFFF;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: #0D203D;
    min-height: 95vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(212,175,55,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 20px;
    color: #F9F9F7;
    margin-bottom: 3rem;
    max-width: 650px;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: #FFFFFF;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat h4 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #D4AF37;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #4B5563;
    font-weight: 500;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.placeholder-image {
    width: 300px;
    height: 300px;
    background: #E7EBF2;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: #F9F9F7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #FFFFFF;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(13, 32, 61, 0.08);
    transition: all 300ms cubic-bezier(0.25, 0.8, 0.25, 1);
    min-height: 280px;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(13, 32, 61, 0.12);
}

.service-icon {
    margin-bottom: 1.5rem;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 6rem 0;
    background: #FFFFFF;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.why-choose-card {
    background: #F9F9F7;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(13, 32, 61, 0.08);
    transition: all 300ms cubic-bezier(0.25, 0.8, 0.25, 1);
    text-align: center;
}

.why-choose-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(13, 32, 61, 0.12);
}

.why-choose-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: #F9F9F7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-item {
    background: #FFFFFF;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(13, 32, 61, 0.08);
    transition: all 300ms cubic-bezier(0.25, 0.8, 0.25, 1);
    text-align: center;
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(13, 32, 61, 0.12);
}

.feature-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.feature-item h3 {
    margin-bottom: 1rem;
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background: #FFFFFF;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: #F9F9F7;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(13, 32, 61, 0.08);
    transition: all 300ms cubic-bezier(0.25, 0.8, 0.25, 1);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(13, 32, 61, 0.12);
}

.stars {
    margin-bottom: 1rem;
}

.star {
    color: #D4AF37;
    font-size: 20px;
    margin-right: 2px;
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    color: #4B5563;
}

.testimonial-author {
    border-top: 1px solid #E7EBF2;
    padding-top: 1rem;
}

.author-info h4 {
    color: #0D203D;
    margin-bottom: 0.25rem;
}

.author-info p {
    color: #6B7280;
    font-size: 14px;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: #F9F9F7;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: #E7EBF2;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item h4 {
    color: #0D203D;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #4B5563;
}

/* Contact Form */
.contact-form-container {
    background: #FFFFFF;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(13, 32, 61, 0.08);
}

.contact-form h3 {
    margin-bottom: 2rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    height: 52px;
    padding: 14px 16px;
    border: 1px solid #E7EBF2;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    color: #111827;
    background: #FFFFFF;
    transition: border-color 250ms ease-in-out;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border: 2px solid #1A3A69;
}

.form-group textarea {
    height: auto;
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 14px;
    color: #4B5563;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    height: auto;
    margin: 0;
}

.confirmation-message {
    background: #ECFDF5;
    color: #10B981;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Footer */
.footer {
    background: #0D203D;
    color: #FFFFFF;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: #D4AF37;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #D1D5DB;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #D1D5DB;
    text-decoration: none;
    transition: color 250ms ease-in-out;
}

.footer-section ul li a:hover {
    color: #D4AF37;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: #D1D5DB;
    transition: color 250ms ease-in-out;
}

.social-links a:hover {
    color: #D4AF37;
}

.footer-bottom {
    border-top: 1px solid #1F2A44;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #D1D5DB;
    text-decoration: none;
    transition: color 250ms ease-in-out;
}

.footer-links a:hover {
    color: #D4AF37;
}

.footer-bottom p {
    color: #9CA3AF;
    margin: 0;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 32, 61, 0.6);
    animation: fadeIn 300ms ease-out;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background: #FFFFFF;
    border-radius: 16px;
    max-width: 640px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: scaleIn 300ms ease-out;
}

@keyframes scaleIn {
    from {
        transform: scale(0.98);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid #E7EBF2;
}

.modal-header h3 {
    color: #0D203D;
    margin: 0;
}

.close {
    font-size: 28px;
    font-weight: bold;
    color: #9CA3AF;
    cursor: pointer;
    transition: color 250ms ease-in-out;
}

.close:hover {
    color: #0D203D;
}

.modal-body {
    padding: 2rem;
}

.modal-scroll {
    max-height: 60vh;
    overflow-y: auto;
}

.modal-body h4 {
    color: #0D203D;
    margin: 1.5rem 0 1rem;
}

.modal-body h4:first-child {
    margin-top: 0;
}

.modal-body ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.modal-body li {
    margin-bottom: 0.5rem;
    color: #4B5563;
}

.modal-form {
    margin-top: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Typography adjustments */
    h1 {
        font-size: 40px;
    }
    
    h2 {
        font-size: 32px;
    }
    
    h3 {
        font-size: 20px;
    }
    
    body {
        font-size: 16px;
    }
    
    /* Container adjustments */
    .container {
        padding: 0 1rem;
    }
    
    /* Navigation */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: #0D203D;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 1rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    /* Hero section */
    .hero {
        min-height: 480px;
        text-align: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    /* About section */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Grid sections */
    .services-grid,
    .why-choose-grid,
    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    /* Contact section */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Footer */
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    /* Modal */
    .modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .modal-header,
    .modal-body {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 280px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus styles for accessibility */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
    outline: 2px solid #1A3A69;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .header,
    .nav,
    .footer,
    .modal {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3 {
        page-break-after: avoid;
    }
}