/* Global Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;700;800&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

:root {
    --primary-color: #0d47a1;
    --primary-light: #1565c0;
    --primary-dark: #002171;
    --secondary-color: #fbc02d;
    --dark-color: #0f172a;
    --light-color: #f1f5f9;
    --white: #ffffff;
    --text-color: #334155;
    --text-light: #64748b;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    background-color: var(--light-color);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.section-title span {
    color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(13, 71, 161, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(13, 71, 161, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #fbc02d, #fdd835);
    color: var(--dark-color);
    box-shadow: 0 4px 15px rgba(251, 192, 45, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(251, 192, 45, 0.4);
}

/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

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

.logo h1 {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links li a {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 1.05rem;
    color: var(--text-color);
    position: relative;
    padding: 5px 0;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links li a:hover {
    color: var(--primary-color);
}

.nav-links li a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--dark-color);
    border-radius: 3px;
}

/* Page Header (Inner Pages) */
.page-header {
    background: linear-gradient(to right, rgba(13, 71, 161, 0.9), rgba(15, 23, 42, 0.9)), url('images/hero_bg.jpg') center/cover;
    padding: 100px 0 80px;
    text-align: center;
    color: var(--white);
}

.page-header h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.8);
}

/* Hero Section (Index) */
.hero {
    background: linear-gradient(to right, rgba(15, 23, 42, 0.9) 0%, rgba(13, 71, 161, 0.7) 100%), url('images/hero_bg.jpg') center/cover;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, var(--light-color), transparent);
}

.hero-content {
    color: var(--white);
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 4.5rem;
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* Cards & Grids */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

/* Products Section */
.product-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.card:hover .product-img {
    transform: scale(1.05);
}

.product-info {
    padding: 30px;
    text-align: left;
}

.product-info h3 {
    margin-bottom: 12px;
    font-size: 1.4rem;
}

.product-info p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Brands Section */
.brands-section {
    background-color: var(--white);
}

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

.brand-card {
    background: var(--white);
    padding: 40px 20px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.brand-card:hover {
    border-color: rgba(13, 71, 161, 0.3);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.brand-card h3 {
    color: var(--text-color);
    font-size: 1.2rem;
    margin: 0;
}

.brand-card:hover h3 {
    color: var(--primary-color);
}

/* Industries Section */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.industry-card {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 50px 30px;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.industry-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition);
}

.industry-card:hover::before {
    opacity: 1;
}

.industry-card h3 {
    color: var(--white);
    position: relative;
    z-index: 1;
    font-size: 1.5rem;
}

.industry-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(13, 71, 161, 0.3);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    position: relative;
    border-top: 4px solid var(--secondary-color);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 4rem;
    color: var(--light-color);
    font-family: serif;
    line-height: 1;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 24px;
    color: var(--text-color);
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Contact Section */
.contact-section {
    background-color: var(--white);
    position: relative;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: stretch;
}

.contact-info {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 50px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.contact-info h3 {
    color: var(--white);
    margin-bottom: 24px;
    font-size: 2rem;
}

.contact-info p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
}

.contact-form-container {
    background: var(--white);
    padding: 50px;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(0,0,0,0.05);
}

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

.form-control {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--light-color);
    background-color: var(--light-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    color: var(--text-color);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(13, 71, 161, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 30px;
    font-size: 0.95rem;
    color: var(--text-light);
}

.checkbox-group input[type="checkbox"] {
    margin-top: 5px;
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.error-message {
    color: #ef4444;
    font-size: 0.9rem;
    display: none;
    margin-top: 8px;
    font-weight: 500;
}

/* Footer */
footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 80px 0 24px;
    position: relative;
}

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

.footer-col h4 {
    color: var(--white);
    margin-bottom: 24px;
    font-size: 1.4rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
}

/* About Layout Customization */
.about-flex {
    display: flex;
    gap: 60px;
    align-items: center;
    flex-wrap: wrap;
}

.about-img-container {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.about-img-container::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    background-color: var(--secondary-color);
    border-radius: 16px;
    z-index: -1;
}

.about-img-container img {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
}

.about-content {
    flex: 1;
    min-width: 300px;
}

.about-content h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.about-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-light);
}

/* Responsive */
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    .hero-content h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        left: -100%;
        top: 76px; /* Adjust based on navbar height */
        flex-direction: column;
        background-color: rgba(255,255,255,0.98);
        backdrop-filter: blur(10px);
        width: 100%;
        height: calc(100vh - 76px);
        text-align: center;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 40px 0;
        box-shadow: var(--shadow-lg);
    }
    
    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 10px 0;
    }
    
    .nav-links li a {
        font-size: 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2.2rem;
    }

    .page-header {
        padding: 80px 0 60px;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
}
