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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(20px);
}

/* Add subtle animation for navbar brand */
.navbar-brand::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    transition: width 0.3s ease;
}

.navbar-brand:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.75) 0%, rgba(118, 75, 162, 0.75) 100%), 
                url('nyc-skyline.jpg');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, rgba(29, 78, 216, 0.2) 100%);
    z-index: 1;
}

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

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.cta-button {
    display: inline-block;
    background: #fff;
    color: #2563eb;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: #f8fafc;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1e293b;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
}

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

.service-icon {
    font-size: 3rem;
    color: #2563eb;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.service-card p {
    color: #64748b;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.about-text p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.about-image {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    height: 400px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    text-align: center;
}

/* Contact Section */
.contact {
    padding: 4rem 0;
    background: #1e293b;
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.contact-info h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.2rem;
}

.contact-item i {
    font-size: 1.3rem;
    color: #2563eb;
    margin-right: 1rem;
    width: 25px;
    flex-shrink: 0;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.8rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: none;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.9);
    font-family: inherit;
    font-size: 0.95rem;
}

.form-group textarea {
    height: 100px;
    resize: vertical;
    min-height: 80px;
}

.submit-btn {
    background: #2563eb;
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
    font-size: 0.95rem;
}

.submit-btn:hover {
    background: #1d4ed8;
}

/* Footer */
footer {
    background: #0f172a;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

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

/* Bootstrap Overrides and Custom Styles */
.navbar {
    padding: 0.75rem 0;
    min-height: 70px;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.75rem;
    font-weight: 800;
    color: #2563eb !important;
    text-decoration: none;
    letter-spacing: -0.5px;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.navbar-brand:hover {
    color: #1d4ed8 !important;
    transform: scale(1.02);
}

.navbar-toggler {
    border: none;
    padding: 0.5rem 0.75rem;
    font-size: 1.1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
}

.navbar-toggler:hover {
    background-color: rgba(37, 99, 235, 0.1);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%232563eb' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 1.5em;
    height: 1.5em;
}

.navbar-collapse {
    background: transparent;
    border-radius: 0;
    margin-top: 0;
    padding: 10px 0;
    box-shadow: none;
    backdrop-filter: none;
    border: none;
}

.navbar-nav {
    text-align: center;
    gap: 0.5rem;
}

.navbar-nav .nav-link {
    color: #374151;
    font-weight: 600;
    padding: 12px 20px;
    margin: 4px 0;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-size: 1rem;
    position: relative;
    letter-spacing: 0.3px;
}

.navbar-nav .nav-link:hover {
    color: #2563eb;
    background-color: rgba(37, 99, 235, 0.1);
    transform: translateY(-1px);
}

.navbar-nav .nav-link:focus {
    color: #2563eb;
    background-color: rgba(37, 99, 235, 0.15);
}

.navbar-nav .nav-item:last-child .nav-link {
    margin-bottom: 0;
}

/* Mobile-specific improvements */
@media (max-width: 991.98px) {
    .navbar {
        padding: 0.5rem 0;
        min-height: 60px;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .navbar-collapse {
        margin-top: 5px;
        padding: 10px 0;
        border-radius: 0;
    }
    
    .navbar-nav .nav-link {
        font-size: 1rem;
        padding: 12px 16px;
        margin: 3px 0;
    }
    
    .navbar-toggler {
        padding: 0.4rem 0.6rem;
    }
}

/* Custom button styles */
.cta-button {
    border-radius: 50px !important;
    padding: 12px 30px !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.submit-btn {
    background: #2563eb !important;
    border: none !important;
    border-radius: 8px !important;
}

.submit-btn:hover {
    background: #1d4ed8 !important;
}

/* Form control overrides */
.form-control {
    background: rgba(255, 255, 255, 0.9) !important;
    border: none !important;
    border-radius: 8px !important;
}

.form-control:focus {
    background: rgba(255, 255, 255, 1) !important;
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25) !important;
}

/* Desktop-specific navbar optimizations */
@media (min-width: 992px) {
    .navbar {
        padding: 0.5rem 0;
        min-height: 65px;
    }
    
    .navbar-brand {
        font-size: 1.6rem;
    }
    
    .navbar-nav {
        gap: 0.25rem;
    }
    
    .navbar-nav .nav-link {
        padding: 8px 16px;
        font-size: 0.95rem;
        margin: 2px 0;
    }
    
    .navbar-nav .nav-link:hover {
        transform: translateY(-2px);
    }
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 991.98px) {
    .hero {
        background-attachment: scroll;
        background-position: center top;
    }
    
    .hero h1 {
        font-size: 2.8rem !important;
    }

    .hero p {
        font-size: 1.2rem !important;
    }

    .section-title {
        font-size: 2.2rem !important;
    }

    .about-image {
        height: 350px !important;
        margin-top: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form {
        margin-top: 1.5rem;
        padding: 1.5rem;
    }
    
    .service-card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero {
        background-position: center center;
        background-size: cover;
    }
    
    .hero h1 {
        font-size: 2.2rem !important;
    }

    .hero p {
        font-size: 1.1rem !important;
    }

    .section-title {
        font-size: 1.8rem !important;
    }

    .about-image {
        height: 300px !important;
    }
    
    .contact {
        padding: 3rem 0;
    }

    .contact-info h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .contact-item {
        margin-bottom: 1rem;
        align-items: flex-start;
    }
    
    .contact-item i {
        margin-right: 0.8rem;
        margin-top: 0.1rem;
    }

    .contact-form {
        padding: 1.3rem;
        margin-top: 1rem;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.7rem;
        font-size: 1rem;
    }

    .form-group textarea {
        height: 90px;
        min-height: 70px;
    }

    .submit-btn {
        padding: 0.7rem 1.2rem;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    /* Header improvements for small screens */
    .navbar {
        padding: 0.4rem 0;
        min-height: 55px;
    }
    
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .navbar-collapse {
        margin-top: 5px;
        padding: 8px 0;
        border-radius: 0;
    }
    
    .navbar-nav .nav-link {
        font-size: 0.95rem;
        padding: 10px 14px;
        margin: 2px 0;
    }
    
    .hero h1 {
        font-size: 1.8rem !important;
    }
    
    .hero p {
        font-size: 1rem !important;
    }
    
    .section-title {
        font-size: 1.6rem !important;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-icon {
        font-size: 2.5rem;
    }
    
    .about-image {
        height: 250px !important;
    }

    .contact {
        padding: 2.5rem 0;
    }

    .contact-info h2 {
        font-size: 1.6rem;
    }

    .contact-form {
        padding: 1.2rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.6rem;
        font-size: 0.95rem;
    }

    .form-group textarea {
        height: 80px;
        min-height: 60px;
    }

    .submit-btn {
        padding: 0.6rem 1rem;
        font-size: 0.95rem;
    }
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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