/* ==========================================
   GoApptiv Modern Stylesheet
   Fonts: Poppins & Nunito Sans
   Primary Color: #FCB040 (Orange)
   ========================================== */

/* === ROOT VARIABLES === */
:root {
    --primary-orange: #FCB040;
    --primary-dark: #1B1C1E;
    --text-dark: #212529;
    --text-gray: #6c757d;
    --text-light: #E5E5E5;
    --bg-light: #F8F9FA;
    --gradient-1: linear-gradient(135deg, #FCB040 0%, #FF8C42 100%);
    --gradient-2: linear-gradient(135deg, #FFE5C5 0%, #FFEEDD 100%);
    --gradient-3: linear-gradient(135deg, rgba(252, 176, 64, 0.1) 0%, rgba(252, 176, 64, 0.05) 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
}

/* === GLOBAL STYLES === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

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

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

/* === MODERN NAVIGATION === */
.modern-nav {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.goapptiv-logo {
    max-height: 50px;
    transition: var(--transition);
}

.modern-nav .navbar-nav {
    gap: 0.5rem;
}

.modern-nav .nav-link {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 15px;
    padding: 0.6rem 1rem !important;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}

.modern-nav .nav-link:hover {
    color: var(--primary-orange);
    background: var(--gradient-3);
}

.modern-nav .nav-link.btn-contact {
    background: var(--gradient-1);
    color: white;
    font-weight: 600;
    padding: 0.6rem 1.5rem !important;
    margin-left: 0.5rem;
}

.modern-nav .nav-link.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.modern-dropdown {
    border: none;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.modern-dropdown .dropdown-item {
    padding: 0.7rem 1.5rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
}

.modern-dropdown .dropdown-item:hover {
    background: var(--gradient-3);
    color: var(--primary-orange);
    padding-left: 2rem;
}

.navbar-toggler {
    border: 2px solid var(--primary-orange);
    border-radius: 8px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(252, 176, 64, 0.25);
}

/* === HERO SECTION === */
.hero-section {
    margin-top: 80px;
    height: 85vh;
    min-height: 600px;
    position: relative;
}

.hero-section .carousel-item {
    height: 85vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.slide-1 {
    background-image: url("images/First.jpg");
}

.slide-2 {
    background-image: url("images/Second.jpg");
}

.slide-3 {
    background-image: url("images/Third.png");
}

.slide-4 {
    background-image: url("images/Fourth.png");
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(27, 28, 30, 0.85) 0%, rgba(27, 28, 30, 0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    line-height: 1.8;
    max-width: 900px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.carousel-indicators li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #9e9e9e;
    border: 2px solid white;
    margin: 0 6px;
    opacity: 0.7;
}

.carousel-indicators .active {
    background-color: var(--primary-orange);
    transform: scale(1.2);
    opacity: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: auto;
    opacity: 1;
}

.carousel-control-prev {
    left: 64px;
}

.carousel-control-next {
    right: 64px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 50px;
    height: 50px;
    background-color: transparent;
    background-size: 100% 100%;
    transition: var(--transition);
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 16 16'%3E%3Cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E");
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 16 16'%3E%3Cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    transform: scale(1.4);
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8));
}

/* Mobile responsive arrows */
@media (max-width: 767px) {
    .carousel-control-prev {
        left: 20px;
    }
    
    .carousel-control-next {
        right: 20px;
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 35px;
        height: 35px;
    }
}

/* === AWARDS SECTION === */
.awards-section {
    padding: 4rem 0;
    background: white;
    overflow: hidden;
}

.section-label {
    font-size: 1.2rem;
    letter-spacing: 8px;
    text-align: center;
    color: #B3B3B3;
    font-weight: 600;
    margin-bottom: 3rem;
}

.awards-carousel {
    position: relative;
    height: 120px;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    align-items: center;
    gap: 60px;
    animation: marquee var(--marquee-duration, 20s) linear infinite;
    width: calc(2 * var(--content-width));
}

.award-logo {
    height: 100px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition);
}

.award-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-1 * var(--content-width))); }
}

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

/* === SECTION STYLES === */
.section-padding {
    padding: 6rem 0;
}

.section-header {
    margin-bottom: 4rem;
}

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

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-gray);
    font-weight: 400;
}

.title-divider {
    width: 80px;
    height: 4px;
    background: var(--gradient-1);
    margin: 2rem auto 0;
    border-radius: 2px;
}

/* === EXPERTISE CARDS === */
.expertise-card {
    background: white;
    border-radius: 16px;
    padding: 3rem 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(252, 176, 64, 0.1);
    min-height: 320px;
}

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

.card-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-3);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.expertise-card:hover .card-icon {
    background: var(--gradient-1);
    transform: scale(1.1);
}

.expertise-card:hover .card-icon img {
    filter: brightness(0) invert(1);
}

.card-icon img {
    max-height: 45px;
    width: auto;
}

.expertise-card .card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.expertise-card .card-text {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.7;
}

/* === WHO WE ARE SECTION === */
.who-we-are-section {
    padding: 6rem 0;
    background: var(--gradient-3);
}

.lead-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.body-text {
    font-size: 1.05rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
}

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

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background: var(--gradient-1);
}

.stat-item:hover .stat-number {
    color: white;
}

.stat-item:hover .stat-label {
    color: white;
}

.stat-item:hover .stat-icon {
    filter: brightness(0) invert(1);
}

.stat-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-orange);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-gray);
    font-weight: 600;
    margin: 0;
}

.map-image {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

/* === SOLUTION SECTION === */
.bg-light {
    background: #FAFAFA !important;
}

.solution-image {
    max-width: 100%;
    max-height: 800px;
    height: auto;
    border-radius: 16px;
    box-shadow: none;
}

/* === PRODUCTS SECTION === */
.products-section {
    padding: 6rem 0;
    background: white;
}

.product-row {
    margin-bottom: 5rem;
}

.product-row:last-child {
    margin-bottom: 0;
}

.product-content {
    padding: 2rem 0;
}

.product-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.product-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-1);
    border-radius: 2px;
}

.product-description {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.product-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.product-features li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    color: var(--text-dark);
    position: relative;
    font-size: 1rem;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-orange);
    font-weight: bold;
    font-size: 1.3rem;
}

.product-features strong {
    color: var(--primary-orange);
}

.btn-learn-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    background: var(--gradient-1);
    color: white;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
}

.btn-learn-more:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
    color: white;
}

.product-image {
    max-width: 300px;
    transition: var(--transition);
}

.product-image:hover {
    transform: translateY(-15px);
}

/* === TEAM SECTION === */
.team-section {
    padding: 6rem 0;
    background: white;
}

.team-card {
    text-align: center;
    padding: 2rem 1rem;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(252, 176, 64, 0.1);
}

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

.team-photo {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--gradient-3);
    transition: var(--transition);
    position: relative;
}

.team-card:hover .team-photo {
    border-color: var(--primary-orange);
    transform: scale(1.05);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-card:hover .team-photo img {
    transform: scale(1.1);
}

.team-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-family: 'Poppins', sans-serif;
}

.team-designation {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin: 0;
    line-height: 1.5;
    min-height: 45px;
}

.team-card:hover .team-name {
    color: var(--primary-orange);
}

/* === TESTIMONIALS SECTION === */
.testimonials-section {
    padding: 6rem 0;
    background: var(--gradient-2);
}

.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border-left: 4px solid var(--primary-orange);
}

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

.testimonial-content {
    margin-bottom: 2rem;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.8;
    font-style: italic;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    font-size: 3rem;
    color: var(--primary-orange);
    opacity: 0.3;
    position: absolute;
    top: -10px;
    left: -10px;
}

.testimonial-author {
    border-top: 2px solid var(--bg-light);
    padding-top: 1rem;
}

.author-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-orange);
    margin-bottom: 0.25rem;
}

.author-company {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin: 0;
}

.client-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid rgba(252, 176, 64, 0.2);
}

.client-logo {
    max-height: 50px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition);
    padding: 0 1rem;
}

.client-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* === MODERN FOOTER === */
.modern-footer {
    background: var(--primary-dark);
    color: var(--text-light);
    padding: 4rem 0 0;
}

.footer-main {
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-heading {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-1);
    border-radius: 2px;
}

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

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-item i {
    color: var(--primary-orange);
    font-size: 1.2rem;
    margin-top: 0.25rem;
    min-width: 20px;
}

.contact-item p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-item a {
    color: var(--text-light);
}

.contact-item a:hover {
    color: var(--primary-orange);
}

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

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(252, 176, 64, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-orange);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--gradient-1);
    color: white;
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: var(--text-light);
    font-size: 0.95rem;
    transition: var(--transition);
    padding: 0.5rem 0;
}

.footer-links a:hover {
    color: var(--primary-orange);
    padding-left: 0.5rem;
}

.footer-bottom {
    padding: 2rem 0;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .product-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 767px) {
    .hero-section {
        height: 70vh;
        min-height: 500px;
    }
    
    .hero-section .carousel-item {
        height: 70vh;
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-padding {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .product-row {
        margin-bottom: 3rem;
    }
    
    .product-title {
        font-size: 1.5rem;
    }
    
    .product-image {
        max-width: 250px;
        margin-bottom: 2rem;
    }
    
    .client-logos {
        gap: 2rem;
    }
    
    .client-logo {
        max-height: 40px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .expertise-card {
        padding: 2rem 1.5rem;
    }
}

/* === UTILITY CLASSES === */
.text-gradient {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-gradient {
    background: var(--gradient-1);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

/* === ANIMATIONS === */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}