/*
Theme Name: Anant Trade Serve
Theme URI: http://www.ananttrade.com
Author: Antigravity
Description: A custom, lightweight premium theme for Anant Trade Serve.
Version: 1.2
*/

:root {
    --primary: #0a2540;     /* Deep Navy Blue */
    --secondary: #6366f1;   /* Indigo */
    --accent: #10b981;      /* Emerald Green */
    --bg-light: #f8fafc;    /* Very light slate */
    --text-main: #334155;   /* Slate 700 */
    --text-light: #64748b;  /* Slate 500 */
    
    font-family: 'Plus Jakarta Sans', sans-serif;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
}

header {
    background-color: #ffffff;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.text-logo {
    font-size: 1.8rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    letter-spacing: -0.5px;
}

.text-logo .logo-accent {
    color: var(--accent);
    margin-right: 6px;
}

.text-logo:hover {
    color: var(--primary); /* Maintain color on hover */
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

nav a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--secondary);
}

.hero {
    background: linear-gradient(135deg, var(--primary) 0%, #1e1b4b 100%);
    color: white;
    padding: 8rem 5%;
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    margin-bottom: 3rem;
}

.hero h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
    animation: fadeInDown 1s ease;
}

.hero p {
    font-size: 1.25rem;
    color: #e2e8f0;
    max-width: 650px;
    margin: 0 auto 2.5rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.btn {
    display: inline-block;
    background-color: var(--secondary);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 1s ease 0.4s both;
    box-shadow: 0 4px 14px 0 rgba(99, 102, 241, 0.39);
}

.btn:hover {
    background-color: #4f46e5;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
    color: white;
}

.section {
    padding: 5rem 5%;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 3.5rem;
    color: var(--primary);
    font-weight: 700;
}

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

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--accent);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.partners {
    background-color: white;
    padding: 6rem 5%;
}

.partners-container {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.partner-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 12px;
    min-width: 250px;
    box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.03);
}

.partner-item strong {
    display: block;
    margin-bottom: 1rem;
    color: var(--secondary);
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
}

.contact {
    background-color: var(--primary);
    color: white;
    border-radius: 24px;
    margin: 0 5% 4rem;
    padding: 5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: center;
    text-align: center;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    max-width: 700px;
}

.contact-info p {
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
    color: #cbd5e1;
}

.contact-info strong {
    color: white;
    font-weight: 600;
}

footer {
    background-color: #020617;
    color: #94a3b8;
    text-align: center;
    padding: 2rem;
    font-size: 0.95rem;
}

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

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    header { flex-direction: column; gap: 1.5rem; padding-bottom: 1.5rem; }
    nav ul { flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
    .hero { padding: 5rem 5%; clip-path: none; margin-bottom: 0; }
    .hero h2 { font-size: 2.5rem; }
    .section-title { font-size: 2.2rem; }
    .contact { margin: 0; border-radius: 0; padding: 3rem 5%; }
}
