/* 
    Vanashri Shipping Agency Services LLP 
    Design System & Styles 
*/

:root {
    --primary: #0068B3;
    --primary-dark: #003D72;
    --accent: #E68A00;
    --accent-light: #FBB03B;
    --secondary: #001D3D;
    --text-dark: #1A202C;
    --text-gray: #4A5568;
    --light: #F8FAFC;
    --white: #FFFFFF;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, .section-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

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

.section-padding {
    padding: 100px 0;
}

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

ul {
    list-style: none;
}

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

.bg-light { background-color: var(--light); }
.bg-dark { background-color: var(--secondary); color: var(--white); }
.text-white { color: var(--white); }
.text-gray { color: #A0AEC0; }
.text-center { text-align: center; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 104, 179, 0.3);
}

.btn-outline {
    border-color: var(--white);
    color: var(--white);
}

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

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-block {
    display: block;
    width: 100%;
}

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

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 50px;
    width: auto;
}

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

.nav-links li a {
    font-weight: 500;
    color: var(--text-dark);
}

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

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

/* Hero Section */
.hero {
    height: 100vh;
    background: url('hero.png') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 29, 61, 0.8), rgba(0, 29, 61, 0.2));
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-text {
    max-width: 700px;
}

.badge {
    display: inline-block;
    background-color: var(--accent);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
}

.text-gradient {
    color: var(--accent-light);
}

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

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

/* Stats */
.stats {
    background-color: var(--primary);
    color: var(--white);
    padding: 40px 0;
    margin-top: -60px;
    position: relative;
    z-index: 2;
    border-radius: 12px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    box-shadow: var(--shadow);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
}

.stat-item i {
    font-size: 2rem;
    color: var(--accent-light);
}

.stat-info h3 {
    font-size: 1.8rem;
    line-height: 1;
}

.stat-info p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* About Section */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.img-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.img-wrapper img {
    transition: transform 0.5s ease;
}

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

.section-title {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.subtitle {
    color: var(--accent);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.check-list {
    margin: 30px 0;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-weight: 500;
}

.check-list li i {
    color: var(--primary);
    font-size: 1.2rem;
}

/* Services */
.section-sub {
    max-width: 600px;
    margin: 0 auto 60px;
    color: var(--text-gray);
}

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

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
    text-align: left;
    border-bottom: 4px solid transparent;
}

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

.icon-box {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 104, 179, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.service-card h4 {
    margin-bottom: 15px;
    font-size: 1.35rem;
}

/* Ports Served */
.ports-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.port-tag {
    background: var(--light);
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 600;
    color: var(--primary-dark);
    border: 1px solid #E2E8F0;
}

.map-placeholder {
    background: var(--light);
    height: 350px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 2px dashed #CBD5E0;
    flex-direction: column;
}

.port-marker {
    position: absolute;
    width: 15px;
    height: 15px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.p1 { top: 30%; left: 20%; }
.p2 { top: 25%; left: 25%; }
.p3 { top: 70%; left: 35%; }

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(230, 138, 0, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(230, 138, 0, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(230, 138, 0, 0); }
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.info-item i {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent-light);
}

.info-item h5 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    color: var(--text-dark);
}

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

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 104, 179, 0.1);
}

/* Footer */
.footer {
    padding: 50px 0;
    background: #000F1F;
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
}

.credit {
    margin-left: 10px;
    font-size: 0.9rem;
    opacity: 0.7;
}

.credit a:hover {
    text-decoration: underline;
}


.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    font-size: 1.2rem;
    opacity: 0.7;
}

.social-links a:hover {
    opacity: 1;
    color: var(--accent-light);
}

/* Scroll Animations */
[class*="animate-"] {
    opacity: 0;
    transition: all 0.8s ease-out;
}

.animate-up { transform: translateY(50px); }
.animate-left { transform: translateX(-50px); }
.animate-right { transform: translateX(50px); }

.appear {
    opacity: 1 !important;
    transform: translate(0, 0) !important;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .hero h1 { font-size: 3rem; }
    .grid-2, .contact-grid { gap: 40px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        padding: 40px 20px;
        transition: 0.4s;
        box-shadow: 0 10px 10px rgba(0,0,0,0.05);
    }

    .nav-links.active {
        left: 0;
    }

    .menu-btn { display: block; }

    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1.1rem; }
    .hero-btns { flex-direction: column; }

    .grid-2, .contact-grid { grid-template-columns: 1fr; }
    .section-padding { padding: 60px 0; }
    
    .stats { width: 100%; border-radius: 0; margin-top: 0; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    
    .section-title { font-size: 2rem; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .stat-item { justify-content: flex-start; padding-left: 20px; }
    .hero h1 { font-size: 2.2rem; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
}
