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

body {
    font-family: 'Roboto', sans-serif;
    background-color: #fafafa;
}

/* Include the same navbar styles from main page */
.navbar {
    background-color: #3a3a3a;
    padding: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.color-bar {
    height: 6px;
    display: flex;
}

.color-bar-segment {
    flex: 1;
}

.magenta {
    background-color: #E70D88;
}

.cyan {
    background-color: #2CABE2;
}

.yellow {
    background-color: #F1EC0E;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 2rem;
    min-height: 100px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 60px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2.5rem;
    margin: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.nav-link:hover {
    color: #2CABE2;
}

.dropdown-arrow {
    font-size: 10px;
    transition: transform 0.3s ease;
}

/* Desktop dropdown arrow rotation */
@media (min-width: 769px) {
    .nav-item:hover .dropdown-arrow {
        transform: rotate(180deg);
    }
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #2d2d2d;
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    margin-top: 0.5rem;
    border-top: 3px solid #2CABE2;
}

/* Desktop hover effect only */
@media (min-width: 769px) {
    .nav-item:hover .dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }
}

.dropdown-item {
    display: block;
    color: #ffffff;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    font-size: 14px;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

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

.dropdown-item:hover {
    background-color: #3a3a3a;
    color: #2CABE2;
    padding-left: 2rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    padding: 0.5rem;
}

/* Service Banner with Video Background */
.service-banner {
    position: relative;
    height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 100px;
}

/* Video Background */
.banner-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -2;
}

/* Dark overlay for text readability */
.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Adjust opacity as needed */
    z-index: -1;
}

/* If you want a gradient overlay instead */
.banner-overlay.gradient {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
}

/* Content styling remains the same but ensure proper z-index */
.service-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 2rem;
    max-width: 800px;
}

.service-banner h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease-out;
}

.service-banner p {
    font-size: 1.5rem;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease-out 0.2s both;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .service-banner {
        height: 300px;
    }
    
    .service-banner h1 {
        font-size: 2rem;
    }
    
    .service-banner p {
        font-size: 1.2rem;
    }
}

/* Performance optimization for mobile */
@media (max-width: 768px) and (hover: none) {
    .banner-video {
        /* On mobile devices, you might want to use a static image instead */
        display: none;
    }
    
    .service-banner {
        background-image: url('large-format-banner.jpg');
        background-size: cover;
        background-position: center;
    }
}

/* Content Section */
.content-section {
    padding: 5rem 2rem;
    background-color: white;
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.content-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Image Collage Grid */
.image-collage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
    height: 500px;
    overflow: hidden;
    border-radius: 10px;
}

.collage-item {
    position: relative;
    overflow: hidden;
    background-color: #f0f0f0;
}

.collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.collage-item:hover img {
    transform: scale(1.1);
}

/* Make first image larger for visual interest */
.collage-item:first-child {
    grid-column: span 1;
    grid-row: span 2;
}

.collage-item:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
}

.collage-item:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
}

.collage-item:nth-child(4) {
    display: none; /* Hidden in this layout */
}

/* Alternative 4-image grid layout */
.image-collage.grid-4 {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.image-collage.grid-4 .collage-item {
    grid-column: span 1;
    grid-row: span 1;
}

.image-collage.grid-4 .collage-item:nth-child(4) {
    display: block;
}

.content-text {
    padding: 2rem;
}

.content-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.content-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #E70D88, #2CABE2, #F1EC0E);
}

.content-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
    margin-bottom: 2rem;
}

.feature-list li {
    padding: 0.5rem 0;
    padding-left: 30px;
    position: relative;
    color: #666;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2CABE2;
    font-weight: 700;
    font-size: 1.2rem;
}

/* Contact Form Section */
.contact-section {
    padding: 5rem 2rem;
    background-color: #f8f9fa;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.contact-subtitle {
    font-size: 1.2rem;
    color: #666;
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2CABE2;
}

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

/* File Upload Styling */
.file-upload {
    position: relative;
    display: inline-block;
    cursor: pointer;
    width: 100%;
}

.file-upload input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-upload-label {
    display: block;
    padding: 1rem;
    border: 2px dashed #2CABE2;
    border-radius: 5px;
    text-align: center;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.file-upload:hover .file-upload-label {
    background-color: #e3f2fd;
    border-color: #E70D88;
}

.file-upload-text {
    color: #666;
    font-size: 1rem;
}

.file-upload-icon {
    font-size: 2rem;
    color: #2CABE2;
    margin-bottom: 0.5rem;
}

.submit-btn {
    background: linear-gradient(90deg, #E70D88, #2CABE2, #F1EC0E);
    background-size: 200% 100%;
    color: white;
    padding: 1.2rem 3rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    animation: gradientMove 3s ease infinite;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

/* Responsive Design */
@media (max-width: 968px) {
    .content-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .content-image {
        order: 2;
    }

    .content-text {
        order: 1;
    }

    .service-banner h1 {
        font-size: 2.5rem;
    }

    .service-banner p {
        font-size: 1.2rem;
    }

    .image-collage {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 112px;
        flex-direction: column;
        background-color: #3a3a3a;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        gap: 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        padding: 1rem;
        display: block;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        justify-content: center;
    }

    .mobile-menu-btn {
        display: block;
    }

    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: #232323;
        margin: 0;
        border-top: none;
        display: none;
    }

    .nav-item.active .dropdown {
        display: block;
    }

    .dropdown-item {
        padding-left: 3rem;
    }

    .service-banner {
        height: 300px;
    }

    .service-banner h1 {
        font-size: 2rem;
    }

    .content-title {
        font-size: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form {
        padding: 2rem;
    }
}

/* Footer Styles */
.footer {
    background-color: #2d2d2d;
    color: #ffffff;
    padding: 3rem 2rem 2rem;
    margin-top: 5rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #3a3a3a;
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #2CABE2;
    transform: translateY(-3px);
}

.social-link svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.footer-info {
    padding-top: 2rem;
    border-top: 1px solid #444;
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-info a {
    color: #2CABE2;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-info a:hover {
    color: #F1EC0E;
}

.footer-separator {
    color: #666;
    margin: 0 0.5rem;
}

@media (max-width: 768px) {
    .footer-info {
        font-size: 0.85rem;
        line-height: 2;
    }

    .footer-separator {
        display: block;
        visibility: hidden;
        height: 0;
    }

    .social-links {
        gap: 1.5rem;
    }

    .social-link {
        width: 45px;
        height: 45px;
    }
}