/* ================================
   INDUSTALENT - MAIN STYLESHEET
   ================================ */

/* -------- Root Variables -------- */
:root {
    --primary-color: #1e40af;
    --secondary-color: #3b82f6;
    --accent-color: #0ea5e9;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-sm: 0 5px 15px rgba(0, 0, 0, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

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

/* -------- Typography -------- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

h1 {
    font-size: 48px;
    line-height: 1.2;
}

h2 {
    font-size: 36px;
    line-height: 1.3;
    margin-bottom: 30px;
}

h3 {
    font-size: 24px;
}

h4 {
    font-size: 20px;
}

p {
    color: var(--text-light);
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

/* -------- Navigation Bar -------- */
.navbar {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
}

.logo svg {
    width: 40px;
    height: 40px;
}

/* -------- Menu -------- */
.menu {
    display: flex;
    list-style: none;
    gap: 5px;
    align-items: center;
}

.menu > li > a {
    padding: 12px 18px;
    color: var(--text-dark);
    font-weight: 500;
    display: block;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.menu > li > a:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

/* -------- Dropdown Menu -------- */
.dropdown {
    position: relative;
}

.arrow {
    font-size: 12px;
    margin-left: 5px;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-white);
    list-style: none;
    min-width: 250px;
    box-shadow: var(--shadow);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    padding: 10px 0;
    margin-top: 5px;
}

.dropdown:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li {
    padding: 0;
}

.submenu a {
    padding: 12px 20px;
    display: block;
    color: var(--text-dark);
    font-size: 14px;
}

.submenu a:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

/* -------- Nested Submenu -------- */
.dropdown-inner {
    position: relative;
}

.submenu-inner {
    position: absolute;
    top: 0;
    left: 100%;
    background-color: var(--bg-white);
    list-style: none;
    min-width: 220px;
    box-shadow: var(--shadow);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    padding: 10px 0;
    margin-left: 5px;
}

.dropdown-inner:hover .submenu-inner {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.submenu-inner a {
    padding: 10px 20px;
    display: block;
    font-size: 13px;
}

/* -------- CTA Button in Menu -------- */
.btn-cta {
    background-color: var(--primary-color);
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 5px;
    font-weight: 600;
}

.btn-cta:hover {
    background-color: var(--accent-color);
}

/* -------- Hamburger Menu -------- */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* -------- Hero Section -------- */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 120px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    max-width: 700px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    color: white;
    margin-bottom: 20px;
    font-size: 52px;
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    margin-bottom: 30px;
}

/* -------- Buttons -------- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    margin: 10px;
    text-align: center;
}

.btn-primary {
    background-color: var(--accent-color);
    color: white;
}

.btn-primary:hover {
    background-color: #06b6d4;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(6, 182, 212, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--primary-color);
}

.btn-large {
    padding: 15px 40px;
    font-size: 16px;
}

/* -------- Stats Section -------- */
.stats {
    background-color: var(--bg-light);
    padding: 60px 20px;
}

.stats .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-box h3 {
    color: var(--primary-color);
    font-size: 42px;
    margin-bottom: 10px;
}

.stat-box p {
    color: var(--text-light);
    font-weight: 500;
}

/* -------- Services Overview -------- */
.services-overview {
    padding: 80px 20px;
    background-color: var(--bg-white);
}

.services-overview h2 {
    text-align: center;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 50px;
}

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

.service-card {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

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

.service-icon {
    margin-bottom: 20px;
    display: inline-block;
}

.service-icon svg {
    width: 60px;
    height: 60px;
}

.service-card h3 {
    color: var(--text-dark);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.8;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--accent-color);
    margin-right: 5px;
}

/* -------- Why Choose Us -------- */
.why-choose-us {
    background-color: var(--bg-light);
    padding: 80px 20px;
}

.why-choose-us h2 {
    text-align: center;
}

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

.feature {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.feature:hover {
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}

.feature h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 18px;
}

.feature p {
    color: var(--text-light);
    font-size: 14px;
}

/* -------- CTA Section -------- */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.cta-section h2 {
    color: white;
    font-size: 42px;
    margin-bottom: 15px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    margin-bottom: 30px;
}

/* -------- Footer -------- */
.footer {
    background-color: var(--text-dark);
    color: white;
    padding: 60px 20px 20px;
}

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

.footer-section h4 {
    color: white;
    margin-bottom: 15px;
    font-size: 16px;
}

.footer-section p {
    color: #d1d5db;
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    color: #d1d5db;
    font-size: 14px;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #374151;
    color: #9ca3af;
    font-size: 14px;
}

/* -------- Utility Classes -------- */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-40 {
    margin-top: 40px;
}

.mb-40 {
    margin-bottom: 40px;
}

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

.service-card {
    animation: fadeInUp 0.6s ease-out;
}

.service-card:nth-child(2) {
    animation-delay: 0.1s;
}

.service-card:nth-child(3) {
    animation-delay: 0.2s;
}

.service-card:nth-child(4) {
    animation-delay: 0.3s;
}
