/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header Styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
}

.logo-container {
    width: 150px;
}

.logo img {
    width: 100%;
    height: auto;
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    cursor: pointer;
    z-index: 1000;
}

.hamburger-icon {
    width: 30px;
    height: 20px;
    position: relative;
}

.hamburger-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #1a237e;
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.hamburger-icon span:nth-child(1) {
    top: 0px;
}

.hamburger-icon span:nth-child(2) {
    top: 8px;
}

.hamburger-icon span:nth-child(3) {
    top: 16px;
}

.hamburger-icon.open span:nth-child(1) {
    top: 8px;
    transform: rotate(135deg);
}

.hamburger-icon.open span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.hamburger-icon.open span:nth-child(3) {
    top: 8px;
    transform: rotate(-135deg);
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 2rem;
}

.nav-menu a {
    color: #1a237e;
    font-weight: bold;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #e91e63;
}

/* Hero Section */
.hero {
    position: relative;
    height: 500px;
    background-image: url('/images/background.png');
    background-size: cover;
    background-position: center;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 2rem;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #fff;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Industry Sections */
.industries {
    padding: 4rem 2rem;
    background-color: #f5f5f5;
}

.industries .section-header {
    max-width: 1200px;
    margin: 0 auto 3rem auto;
    text-align: center;
}

.industry-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.industry-card {
    flex-basis: calc(50% - 2rem);
    margin-bottom: 2rem;
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.industry-content {
    padding: 2rem;
}

.industry-title {
    font-size: 1.8rem;
    color: #1a237e;
    margin-bottom: 1rem;
}

.industry-description {
    color: #666;
}

/* Solutions Section */
.solutions {
    padding: 4rem 2rem;
    background-color: #1a237e;
    color: #fff;
}

.solutions-container {
    max-width: 1200px;
    margin: 0 auto;
}

.solutions-container h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.solutions-container > p {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.solution-card {
    margin-bottom: 2rem;
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #333;
}

.solution-content {
    padding: 2rem;
}

.solution-title {
    font-size: 1.5rem;
    color: #1a237e;
    margin-bottom: 1rem;
}

.solution-description {
    color: #666;
}

/* Contact Form */
.contact {
    padding: 4rem 2rem;
    background-color: #1a237e;
    color: #fff;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group.full-width {
    grid-column: 1 / 3;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.8rem;
    border: none;
    border-bottom: 2px solid #fff;
    background-color: transparent;
    color: #fff;
    font-size: 1rem;
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #e91e63;
}

.form-submit {
    grid-column: 2 / 3;
    justify-self: end;
    padding: 0.8rem 2rem;
    background-color: #fff;
    color: #1a237e;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.form-submit:hover {
    background-color: #e91e63;
    color: #fff;
}

/* reCAPTCHA Container */
.recaptcha-container {
    margin: 1.5rem 0;
    display: flex;
    justify-content: center;
}

/* For dark background forms */
.contact .recaptcha-container {
    justify-content: flex-start;
}

@media (max-width: 768px) {
    .contact .recaptcha-container {
        justify-content: center;
    }
}

/* Footer */
footer {
    padding: 2rem;
    background-color: #1a237e;
    color: #fff;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}


/* Why Choose Us Page */
.why-choose-us {
    padding: 4rem 2rem;
    background-color: #f5f5f5;
}

.why-choose-us-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h1 {
    font-size: 2.5rem;
    color: #1a237e;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.reason-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    transition: transform 0.3s ease;
}

.reason-card:hover {
    transform: translateY(-5px);
}

.reason-title {
    font-size: 1.5rem;
    color: #1a237e;
    margin-bottom: 1rem;
}

.reason-description {
    color: #666;
}

/* Testimonials */
.testimonials {
    margin-top: 4rem;
}

.testimonials-title {
    font-size: 2rem;
    color: #1a237e;
    text-align: center;
    margin-bottom: 2rem;
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin: 1rem;
    text-align: center;
    animation: testimonialRotate 15s infinite;
}

@keyframes testimonialRotate {
    0%, 33% {
        opacity: 1;
        transform: translateX(0);
    }
    37%, 63% {
        opacity: 0;
        transform: translateX(-100%);
    }
    67%, 97% {
        opacity: 1;
        transform: translateX(0);
    }
}

.testimonial-text {
    font-style: italic;
    color: #555;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.testimonial-author {
    margin-top: 1rem;
}

.author-name {
    font-weight: bold;
    color: #1a237e;
    margin-bottom: 0.2rem;
}

.author-position {
    color: #666;
    font-size: 0.9rem;
}

/* Contact Page */
.contact-page {
    padding: 4rem 2rem;
    background-color: #1a237e; /* Changed to match the contact class */
    color: #fff;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form-container {
    background-color: #1a237e;
    color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.contact-form-container h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

/* Make sure form inputs and labels have the same styling on both pages */
.contact-page .form-input,
.contact-page .form-textarea {
    border-bottom: 2px solid #fff;
    background-color: transparent;
    color: #fff;
}

.contact-page .form-label {
    color: #fff;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    text-align: center;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}

.close-modal:hover {
    color: #1a237e;
}

.modal h3 {
    color: #1a237e;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.modal p {
    color: #666;
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-direction: row;
        padding: 1rem;
    }
    
    .hamburger-menu {
        display: block;
        order: 3;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background-color: #fff;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 999;
        padding-top: 60px;
    }
    
    nav.open {
        right: 0;
    }
    
    .nav-menu {
        flex-direction: column;
        margin-top: 0;
        align-items: flex-start;
        padding: 1rem;
    }
    
    .nav-menu li {
        margin: 1rem 0;
        width: 100%;
    }
    
    .nav-menu a {
        display: block;
        padding: 0.5rem 0;
        width: 100%;
    }
    
    /* Overlay when menu is open */
    .menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 998;
    }
    
    .menu-overlay.open {
        display: block;
    }
    
    .hero-content {
        padding-top: 4rem; /* Add more padding at the top for mobile */
    }
    
    .hero-title {
        margin-top: 1.5rem; /* Add margin to the hero title on mobile */
        font-size: 2.5rem; /* Slightly smaller font size on mobile */
    }
    
    .industry-card,
    .solution-card {
        flex-basis: 100%;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width,
    .form-submit {
        grid-column: 1;
    }
    
    .form-submit {
        justify-self: center;
    }
}
