/* Star Agro Trading - Global Styles */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0e1a;
    --bg-secondary: #0d1117;
    --bg-card: #111827;
    --bg-card-hover: #1a2233;
    --bg-input: #1a1d23;
    --border-color: #2d3748;
    --border-light: #374151;
    --accent-orange: #e87511;
    --accent-orange-hover: #f0801a;
    --text-white: #ffffff;
    --text-gray: #9ca3af;
    --text-gray-light: #d1d5db;
    --text-muted: #6b7280;
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-primary);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(45, 55, 72, 0.5);
    padding: 8px 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(17, 24, 39, 0.85);
    border: 1px solid rgba(45, 55, 72, 0.6);
    border-radius: 12px;
    padding: 8px 24px;
    min-width: 180px;
    transition: all 0.3s ease;
}

.nav-logo:hover {
    background: rgba(17, 24, 39, 0.95);
    border-color: rgba(232, 117, 17, 0.4);
}

.nav-logo img {
    height: 85px;
    width: auto;
    opacity: 0.95;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
    transition: all 0.3s ease;
}

.nav-logo:hover img {
    opacity: 1;
    filter: drop-shadow(0 2px 4px rgba(232, 117, 17, 0.2));
}

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

.nav-links a {
    color: var(--text-white);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.nav-links a:hover {
    color: var(--accent-orange);
}

.nav-links a.active {
    color: var(--accent-orange);
}

.nav-links .btn-contact {
    background: var(--accent-orange);
    color: var(--text-white);
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-links .btn-contact:hover {
    background: var(--accent-orange-hover);
    color: var(--text-white);
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-white);
    border-radius: 2px;
}

/* Section Label */
.section-label {
    color: var(--accent-orange);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    display: inline-block;
}

/* Section Title */
.section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 16px;
}

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

.section-subtitle {
    color: var(--text-gray);
    font-size: 15px;
    max-width: 700px;
    line-height: 1.7;
}

.text-center {
    text-align: center;
}

.text-center .section-subtitle {
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

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

.btn-primary:hover {
    background: var(--accent-orange-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--text-white);
}

.btn-outline:hover {
    background: var(--text-white);
    color: var(--bg-primary);
}

.btn-dark {
    background: var(--bg-card);
    color: var(--text-white);
    border: 1px solid var(--border-color);
}

.btn-dark:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-orange);
}

/* Cards */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 24px;
    transition: all 0.3s ease;
}

.card:hover {
    border-color: var(--accent-orange);
    transform: translateY(-4px);
}

/* Icon Box */
.icon-box {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 20px;
}

.icon-box.orange {
    background: rgba(232, 117, 17, 0.15);
    color: var(--accent-orange);
}

.icon-box.blue {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.icon-box.green {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.icon-box.purple {
    background: rgba(168, 85, 247, 0.15);
    color: #a855f7;
}

.icon-box.yellow {
    background: rgba(234, 179, 8, 0.15);
    color: #eab308;
}

.icon-box.pink {
    background: rgba(236, 72, 153, 0.15);
    color: #ec4899;
}

.icon-box.teal {
    background: rgba(20, 184, 166, 0.15);
    color: #14b8a6;
}

/* Progress Bar */
.progress-bar {
    margin-bottom: 20px;
}

.progress-bar-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.progress-bar-header .label {
    color: var(--text-white);
    font-weight: 500;
}

.progress-bar-header .value {
    color: var(--accent-orange);
    font-weight: 700;
}

.progress-track {
    height: 8px;
    background: var(--bg-input);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-orange), #f0801a);
    border-radius: 4px;
    transition: width 1.5s ease;
}

/* Feature Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.feature-card {
    text-align: center;
    padding: 32px 24px;
}

.feature-card .icon-box {
    margin: 0 auto 16px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
}

/* Product Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 40px;
}

.product-image-card {
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.product-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.product-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 24px;
    transition: all 0.3s ease;
}

.product-info-card:hover {
    border-color: var(--accent-orange);
}

.product-info-card h3 {
    color: var(--accent-orange);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.product-info-card p {
    color: var(--text-gray);
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.product-info-card .view-details {
    color: var(--accent-orange);
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.stat-card {
    text-align: center;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.stat-card .stat-icon {
    font-size: 28px;
    margin-bottom: 8px;
}

.stat-card .stat-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--accent-orange);
    margin-bottom: 4px;
}

.stat-card .stat-label {
    font-size: 13px;
    color: var(--text-gray);
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(232, 117, 17, 0.05) 100%);
    border-top: 1px solid var(--border-color);
}

.cta-section h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-section p {
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto 24px;
    font-size: 15px;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.2fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--text-gray);
    font-size: 14px;
    margin-top: 12px;
    line-height: 1.6;
}

.footer-column h4 {
    color: var(--accent-orange);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

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

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: var(--text-gray);
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--accent-orange);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 13px;
}

.footer-bottom .built-with {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 13px;
}

.footer-bottom .built-with span {
    font-weight: 700;
    color: var(--text-white);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(10, 14, 26, 0.95) 0%, rgba(10, 14, 26, 0.7) 50%, rgba(10, 14, 26, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 80px 0;
}

.hero-text .section-label {
    margin-bottom: 16px;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-text h1 span {
    color: var(--accent-orange);
}

.hero-text p {
    color: var(--text-gray);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 500px;
}

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

.hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.stat-item {
    text-align: center;
    padding: 24px;
    background: rgba(17, 24, 39, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.stat-item .stat-icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.stat-item .stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent-orange);
}

.stat-item .stat-label {
    font-size: 13px;
    color: var(--text-gray);
    margin-top: 4px;
}

/* Section Spacing */
.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

/* Page Header */
.page-header {
    padding: 140px 0 60px;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 12px;
}

.page-header h1 span {
    color: var(--accent-orange);
}

.page-header p {
    color: var(--text-gray);
    font-size: 16px;
}

/* Two Column Layout */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

/* Check List */
.check-list {
    list-style: none;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--text-gray-light);
    font-size: 14px;
}

.check-list li::before {
    content: "✓";
    color: var(--accent-orange);
    font-weight: 700;
    font-size: 14px;
}

/* Map Section */
.map-section {
    position: relative;
    padding: 60px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.map-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 40px auto 0;
}

.map-container img {
    width: 100%;
    border-radius: 8px;
    opacity: 0.7;
}

.map-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--accent-orange);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(232, 117, 17, 0.3), 0 0 0 8px rgba(232, 117, 17, 0.1);
    animation: pulse 2s infinite;
}

.map-dot.qatar {
    top: 42%;
    left: 53%;
}

.map-dot.uk {
    top: 28%;
    left: 47%;
}

.map-dot.india {
    top: 48%;
    left: 66%;
}

.map-dot.malaysia {
    top: 58%;
    left: 75%;
}

.map-dot.georgia {
    top: 32%;
    left: 58%;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

/* Partner Cards */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.partner-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 24px;
    transition: all 0.3s ease;
}

.partner-card:hover {
    border-color: var(--accent-orange);
    transform: translateY(-4px);
}

.partner-card .partner-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.partner-card .partner-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.partner-card h3 {
    font-size: 16px;
    font-weight: 600;
}

.partner-card .partner-location {
    font-size: 12px;
    color: var(--accent-orange);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.partner-card p {
    color: var(--text-gray);
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.partner-card .partner-tag {
    display: inline-block;
    background: rgba(232, 117, 17, 0.1);
    color: var(--accent-orange);
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 4px;
}

/* Team Cards */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.team-card {
    text-align: center;
}

.team-card .team-image {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 16px;
    border: 1px solid var(--border-color);
}

.team-card .team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.team-card .role {
    color: var(--accent-orange);
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 4px;
}

.team-card .bio {
    color: var(--text-gray);
    font-size: 12px;
    line-height: 1.5;
}

/* Values Cards */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.value-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 28px;
    transition: all 0.3s ease;
}

.value-card:hover {
    border-color: var(--accent-orange);
}

.value-card .icon-box {
    margin-bottom: 16px;
}

.value-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.value-card p {
    color: var(--text-gray);
    font-size: 13px;
    line-height: 1.6;
}

/* Contact Form */
.contact-form-section {
    padding: 60px 0;
}

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    max-width: 900px;
    margin: 0 auto;
}

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

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

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-white);
}

.form-group label .required {
    color: #ef4444;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-white);
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-orange);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239CA3AF' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.form-group select option {
    background: var(--bg-input);
    color: var(--text-white);
}

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

.form-submit {
    text-align: center;
    margin-top: 8px;
}

/* Contact Info Cards */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.contact-info-card {
    text-align: center;
    padding: 32px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.contact-info-card .icon-box {
    margin: 0 auto 16px;
}

.contact-info-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-info-card p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
}

.contact-info-card a {
    color: var(--accent-orange);
    font-size: 14px;
    transition: color 0.3s ease;
}

.contact-info-card a:hover {
    color: var(--text-white);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .two-column {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid,
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        border-top: 1px solid var(--border-color);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero-text h1 {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid,
    .product-info-grid,
    .partners-grid,
    .stats-grid,
    .values-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .section {
        padding: 60px 0;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-orange);
}
