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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

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

a {
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    color: #270370;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #ff3131;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #270370;
    color: #fff;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    position: relative;
    min-height: 48px;
}

.btn:hover {
    background-color: #1a0250;
}

.btn .spinner {
    margin-left: 10px;
}

.btn:disabled {
    background-color: #9e9e9e;
    cursor: not-allowed;
}

section {
    padding: 80px 0;
}

/* Header Styles */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo img {
    max-height: 60px;
    width: auto;
    border-radius: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.company-name {
    font-family: Arial, sans-serif;
    font-size: 28px;
    font-weight: bold;
    color: #270370;
    line-height: 1.1;
}

.tagline {
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #ff3131;
    line-height: 1.2;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-weight: 500;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ff3131;
    transition: width 0.3s ease;
}

nav ul li a:hover {
    color: #ff3131;
}

nav ul li a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(39, 3, 112, 1), rgba(39, 3, 112, 0.8)), url('images/hero-bg.svg');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 180px 0 100px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Process Section */
.process {
    background-color: #fff;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.process-item {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.process-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.process-item .icon {
    font-size: 2.5rem;
    color: #ff3131;
    margin-bottom: 20px;
}

.process-item h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #270370;
}

/* Products Section */
.products {
    background-color: #f9f9f9;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-item {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-item a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.product-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.product-item h3 {
    padding: 20px 20px 10px;
    font-size: 1.3rem;
    color: #270370;
}

.product-item p {
    padding: 0 20px 10px;
    color: #666;
}

.btn-small {
    display: inline-block;
    background-color: #ff3131;
    color: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.9rem;
    margin: 0 20px 20px;
    transition: all 0.3s ease;
}

.btn-small:hover {
    background-color: #270370;
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

/* Why Choose Us Section */
.why-choose {
    background-color: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-item .icon {
    font-size: 2.5rem;
    color: #ff3131;
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #270370;
}

.feature-item p {
    color: #666;
}

/* Highlights Section */
.highlights {
    background-color: #f9f9f9;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.stat-item h3 {
    font-size: 2.5rem;
    color: #ff3131;
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 1.1rem;
    color: #270370;
    font-weight: 500;
}

.partnership {
    text-align: center;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.partnership p {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.8;
}

/* About Section */
.about {
    background-color: #fff;
}

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

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #333;
    line-height: 1.8;
}

.about-text ul {
    margin-top: 20px;
}

.about-text ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    font-size: 1.1rem;
}

.about-text ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ff3131;
    font-weight: bold;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Contact Section */
.contact {
    background-color: #f9f9f9;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.contact-info {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-item i {
    font-size: 1.5rem;
    color: #ff3131;
    margin-right: 15px;
    margin-top: 5px;
}



.contact-form {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Form success and error messages */
.success-message, .error-message {
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    display: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.success-message {
    background-color: #e8f5e9;
    border: 1px solid #4caf50;
    color: #2e7d32;
}

.error-message {
    background-color: #ffebee;
    border: 1px solid #f44336;
    color: #c62828;
}

.success-message i, .error-message i {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.success-message h3, .error-message h3 {
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 600;
}

.success-message p, .error-message p {
    margin-bottom: 8px;
    line-height: 1.5;
}

.error-details {
    font-size: 0.9em;
    opacity: 0.8;
    margin-top: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #ff3131;
    outline: none;
    box-shadow: 0 0 10px rgba(255, 49, 49, 0.1);
}

.form-group textarea {
    height: 150px;
    resize: none;
}

.map {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Footer Section */
footer {
    background-color: #270370;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    max-height: 60px;
    width: auto;
    border-radius: 0;
    filter: brightness(0) invert(1);
    margin-bottom: 10px;
}

.footer-logo .logo-text {
    display: flex;
    flex-direction: column;
}

.footer-logo .company-name {
    color: #ffffff;
    font-size: 24px;
}

.footer-logo .tagline {
    color: #ffffff;
    font-size: 12px;
}

.footer-links h3,
.footer-products h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after,
.footer-products h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #ff3131;
}

.footer-links ul li,
.footer-products ul li {
    margin-bottom: 10px;
}

.footer-links ul li a,
.footer-products ul li a {
    color: #fff;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-links ul li a:hover,
.footer-products ul li a:hover {
    opacity: 1;
    color: #ff3131;
    padding-left: 5px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    header .container {
        padding: 15px 20px;
    }
}

@media screen and (max-width: 768px) {
    nav {
        display: none;
    }
    
    nav.active {
        display: block;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px;
        z-index: 1000;
    }
    
    nav.active ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav.active ul li {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }
    
    .mobile-menu-btn {
        display: block;
        z-index: 1001;
    }
    
    .hero {
        padding: 150px 0 80px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .process-grid,
    .products-grid,
    .features-grid,
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .process-item, 
    .feature-item {
        padding: 20px;
    }
}

@media screen and (max-width: 576px) {
    .hero {
        padding: 150px 0 80px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}