/* ============================================
   Link Group - Modern Corporate Website
   Pure HTML/CSS Standalone Version
   ============================================ */

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

:root {
    --navy-blue: #0044CC;
    --navy-dark: #083F88;
    --navy-light: #125eba;
    --red: #DC143C;
    --red-bright: #ff0000;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --bg-light: #F5F5F5;
    --white: #ffffff;
    --border-color: #E0E0E0;
}

body {
    font-family: 'Baloo Bhaijaan 2', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

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

@media (min-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo-link {
    color: var(--navy-dark);
}

.logo-group {
    color: var(--red-bright);
}

.nav-links {
    display: none;
    gap: 2rem;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--red);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    text-decoration: none;
    color: var(--navy-blue);
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--red);
}

/* ============================================
   HERO SECTION WITH CAROUSEL
   ============================================ */

.hero {
    margin-top: 80px;
    position: relative;
    height: 600px;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.carousel-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    width: 90%;
    max-width: 800px;
    z-index: 2;
}

.carousel-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

@media (min-width: 768px) {
    .carousel-content h1 {
        font-size: 3.5rem;
    }
}

.carousel-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 68, 204, 0.3);
    color: var(--white);
    border: none;
    padding: 12px 16px;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background-color: rgba(0, 68, 204, 0.5);
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    width: 32px;
    border-radius: 6px;
    background-color: var(--red);
}

.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.1), transparent);
    padding: 2rem 0;
    z-index: 5;
}

.hero-text {
    text-align: center;
    color: var(--white);
}

.hero-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.divider {
    width: 80px;
    height: 4px;
    background-color: var(--red);
    margin: 1rem auto;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-description {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-family: 'Baloo Bhaijaan 2', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

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

.btn-primary:hover {
    background-color: var(--red-bright);
    transform: scale(1.05);
}

.btn-secondary {
    background-color: var(--red-bright);
    color: var(--white);
}

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

/* ============================================
   ABOUT SECTION
   ============================================ */

.about {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    color: var(--navy-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.divider-center {
    width: 80px;
    height: 4px;
    background-color: var(--red);
    margin: 0 auto 3rem;
}

.about-content {
    width: 100%;
    margin: 0 auto 3rem;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark);
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* ============================================
   COMPANIES SECTION
   ============================================ */

.companies {
    padding: 80px 0;
    background-color: var(--white);
}

.companies-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .companies-grid {
        grid-template-columns: 1fr;
    }
}

.company-card {
    background-color: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.company-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-color: var(--red);
}

.company-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.company-icon {
    font-size: 2.5rem;
    min-width: 60px;
    text-align: center;
}

.company-info h3 {
    font-size: 1.3rem;
    color: var(--navy-light);
    margin-bottom: 0.3rem;
    font-weight: 700;
}

.company-tagline {
    font-size: 0.85rem;
    color: var(--text-light);
}

.company-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.key-feature {
    background-color: #f0f0f0;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.key-feature strong {
    color: var(--red);
}

.btn-expand {
    background-color: transparent;
    border: 1px solid var(--navy-dark);
    color: var(--navy-dark);
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Baloo Bhaijaan 2', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    margin-bottom: 1rem;
}

.btn-expand:hover {
    background-color: var(--navy-dark);
    color: var(--white);
}

.services-list {
    margin-bottom: 1rem;
    padding: 1rem;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.services-list ul {
    list-style: none;
}

.services-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.services-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--red);
    font-weight: bold;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .contact-info {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.contact-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    font-size: 1.1rem;
    color: var(--navy-dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.contact-card p {
    font-size: 0.95rem;
    color: var(--text-light);
}

.contact-card a {
    color: var(--navy-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: var(--red);
}

.contact-form-wrapper {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact-form-wrapper h3 {
    font-size: 1.3rem;
    color: var(--navy-dark);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: 'Baloo Bhaijaan 2', sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--navy-dark);
    box-shadow: 0 0 0 3px rgba(0, 68, 204, 0.1);
}

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

.contact-form .btn-primary {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
}

.form-note {
    text-align: center;
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background-color: var(--navy-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--white);
}

.footer-section p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

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

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .carousel-content h1 {
        font-size: 1.8rem;
    }

    .carousel-content p {
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .hero-text h2 {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 0.85rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .contact-info .contact-card {
        padding: 1rem;
    }

    .contact-card h3 {
        font-size: 0.9rem;
    }

    .contact-card p {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .carousel-content h1 {
        font-size: 1.3rem;
    }

    .carousel-content p {
        font-size: 0.8rem;
    }

    .carousel-btn {
        padding: 8px 12px;
        font-size: 1.2rem;
    }

    .carousel-btn.prev {
        left: 10px;
    }

    .carousel-btn.next {
        right: 10px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .companies-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}
