/* Global Variables */
:root {
    --primary-red: #E31837;
    --primary-blue: #0047BB;
    --black: #1d1d1f;
    --white: #f5f5f7;
    --gray: #86868b;
    --light-background: #fbfbfd;
    --transition: all 0.3s ease;
}

/* Global Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', sans-serif;
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
    color: var(--black);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', sans-serif;
    font-weight: 600;
}

.section-title {
    font-size: 48px;
    line-height: 1.1;
    letter-spacing: -0.015em;
    margin-bottom: 2rem;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-nav {
    align-items: center;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-brand img {
    height: 40px;  
    width: auto;
}

.nav-link {
    font-size: 14px;
    color: var(--black) !important;
    padding: 0.5rem 1.5rem !important;
    opacity: 0.8;
    transition: var(--transition);
}

.nav-link:hover {
    opacity: 1;
    color: var(--primary-blue) !important;
}

.contact-btn {
    font-size: 14px;
    color: var(--primary-blue);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 980px;
    transition: var(--transition);
}

.contact-btn:hover {
    background: rgba(0, 71, 187, 0.1);
}

/* Hero Section Styles */
.hero-section {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 76px; /* Account for fixed navbar */
    background-color: #000;
}

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

.hero-background-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.8;
    transform: scale(1.02); /* Subtle scale for better edge coverage */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.6) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 24px;
    color: white;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
    font-size: 56px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-content h2 {
    font-size: 24px;
    font-weight: 400;
    opacity: 0.95;
    margin-bottom: 2rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

.hero-cta .btn {
    min-width: 160px;
    padding: 14px 32px;
    font-weight: 500;
    letter-spacing: 0.01em;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero-section {
        height: 90vh;
        padding-top: 60px;
    }

    .hero-content h1 {
        font-size: 40px;
        margin-bottom: 0.75rem;
    }

    .hero-content h2 {
        font-size: 20px;
        margin-bottom: 1.5rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 280px;
    }
}

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

/* Extra small devices */
@media (max-width: 576px) {
    .hero-section {
        height: 50vh;
        min-height: 350px;
        margin: 30px 0;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content h2 {
        font-size: 18px;
    }
}

/* Button Styles */
.btn {
    padding: 12px 24px;
    border-radius: 980px;
    font-size: 16px;
    transition: all 0.3s ease;
    text-shadow: none;
}

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

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background: white;
    color: var(--primary-blue);
    transform: translateY(-2px);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 40px;
    }

    .hero-content h2 {
        font-size: 24px;
    }

    .hero-cta {
        flex-direction: column;
        gap: 12px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

/* Loading Optimization */
.hero-background-img {
    transition: opacity 0.3s ease;
}

.hero-background-img.loading {
    opacity: 0;
}

.hero-background-img.loaded {
    opacity: 1;
}
/* Featured Products */
.product-card {
    height: 100vh;
    min-height: 580px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--black);
}

.product-content {
    max-width: 600px;
    margin: 0 auto;
}

.product-content h2 {
    font-size: 56px;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 28px;
    color: var(--gray);
    margin-bottom: 2rem;
}

.product-cta {
    display: flex;
    gap: 35px;
    justify-content: center;
    font-size: 21px;
}

.link-primary, .link-secondary {
    color: var(--primary-blue);
    text-decoration: none;
    position: relative;
}

.link-primary:after, .link-secondary:after {
    content: '>';
    margin-left: 6px;
    transition: var(--transition);
}

.link-primary:hover:after, .link-secondary:hover:after {
    margin-left: 10px;
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background: var(--light-background);
}

.service-tile {
    text-align: center;
    padding: 25px 15px;  /* reduced from 40px 20px */
    transition: var(--transition);
    border-radius: 18px;
}

.service-tile:hover {
    background: white;
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 100%;  /* changed from 56px */
    height: 100%; /* changed from 56px */
    margin: 0 auto 30px; /* changed from 20px */
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

.service-tile h3 {
    font-size: 20px;  /* reduced from 24px */
    margin-bottom: 0.5rem;  /* reduced from 1rem */
}

.service-tile p {
    color: var(--gray);
    margin-bottom: 0.8rem;  /* reduced from 1.5rem */
    font-size: 14px;  /* added to make text slightly smaller */
}

.learn-more {
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 14px;
}

.learn-more i {
    font-size: 12px;
    transition: var(--transition);
    margin-left: 4px;
}

.learn-more:hover i {
    margin-left: 8px;
}


/* About/Why Choose Us Section */
.about-section {
    padding: 70px 0;
    background: #fff;
    position: relative;
}

.section-title {
    font-size: 48px;
    line-height: 1.1;
    letter-spacing: -0.015em;
    margin-bottom: 100px;
    text-align: center;
    color: #1d1d1f;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);  /* Changed from auto-fit to fixed 4 columns */
    gap: 30px;  /* Reduced gap for better fit */
    max-width: 1400px;  /* Increased max-width to accommodate all items */
    margin: 0 auto;
    padding: 0 24px;
}

/* Update responsive design for features grid */
@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 576px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.feature-item {
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}

.feature-icon {
    margin-bottom: 24px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Custom icon styles */
.feature-icon i {
    font-size: 32px;
    background: linear-gradient(135deg, #0077ED, #00A0F3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    z-index: 2;
}

/* Unique background shapes for each icon */
.feature-icon::before {
    content: '';
    position: absolute;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 119, 237, 0.1), rgba(0, 160, 243, 0.1));
    z-index: 1;
    transition: transform 0.3s ease;
}

/* Different shapes for different items */
.feature-item:nth-child(2) .feature-icon::before {
    border-radius: 24px;
    transform: rotate(45deg);
}

.feature-item:nth-child(3) .feature-icon::before {
    border-radius: 16px;
}

.feature-item:nth-child(4) .feature-icon::before {
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.feature-title {
    font-size: 24px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.feature-description {
    font-size: 17px;
    line-height: 1.5;
    color: #86868b;
    max-width: 300px;
    margin: 0 auto;
}

/* Hover effects */
.feature-item:hover .feature-icon::before {
    transform: scale(1.1);
}

.feature-item:hover {
    transform: translateY(-5px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .about-section {
        padding: 80px 0;
    }

    .section-title {
        font-size: 40px;
        margin-bottom: 70px;
    }

    .features-grid {
        gap: 40px 24px;
    }

    .feature-title {
        font-size: 21px;
    }

    .feature-description {
        font-size: 15px;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 32px;
    }
}

/* Reviews Section Styles */
.reviews-section {
    padding: 60px 0;
    background: var(--light-background);
    overflow: hidden;
}

/* Reviews Section Styles */
.reviews-section {
    padding: 60px 0;
    background: var(--light-background);
    overflow: hidden;
}

/* Rating Overview */
.reviews-summary {
    text-align: center;
    margin-bottom: 40px;
}

.rating-overview {
    background: white;
    padding: 24px 32px;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.rating-score {
    display: flex;
    align-items: center;
    gap: 12px;
}

.score {
    font-size: 32px;
    font-weight: 600;
    line-height: 1;
    color: var(--black);
}

/* General Star Styles - Apply to both summary and reviews */
.rating-stars,
.review-stars {
    display: flex;
    gap: 4px;
}

.rating-stars .fa-star,
.review-stars .fa-star {
    font-size: 12px;
    color: #E1E1E1; /* Light gray for empty stars */
}

/* Active stars for both rating overview and individual reviews */
.rating-stars .fa-star.active,
.review-stars .fa-star.active {
    color: #FFD700; /* Golden yellow for active stars */
}

/* Summary Stars Size */
.rating-overview .rating-stars .fa-star {
    font-size: 14px;
}

.rating-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.rating-count {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray);
}

.rating-label {
    font-size: 12px;
    color: var(--gray);
}

/* Reviews Container */
.reviews-container {
    position: relative;
    margin: 0 -20px;
    padding: 0 20px;
}

.reviews-carousel {
    overflow: hidden;
    position: relative;
    padding: 10px 0;
}

.reviews-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
}

/* Review Cards */
.review-card {
    flex: 0 0 300px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Review Header */
.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.reviewer-initial {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
}

.reviewer-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.reviewer-info h4 {
    font-size: 13px;
    margin: 0;
    color: var(--black);
}

/* Review Content */
.review-text {
    font-size: 13px;
    line-height: 1.5;
    color: var(--gray);
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.review-date {
    font-size: 11px;
    color: #999;
}

/* Navigation Buttons */
.review-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: white;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 2;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
}

.review-nav-btn:hover {
    background: var(--primary-blue);
    color: white;
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

/* Write Review Button */
.write-review-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 20px;
    border-radius: 18px;
    background: var(--primary-blue);
    color: white;
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    margin-top: 40px;
}

.write-review-btn:hover {
    background: var(--primary-blue);
    opacity: 0.9;
    color: white;
}

/* Show More Reviews Button */
.show-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 20px;
    border-radius: 18px;
    background: transparent;
    color: var(--primary-blue);
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid var(--primary-blue);
    margin-top: 40px;
    margin-left: 12px;
}

.show-more-btn:hover {
    background-color: rgba(0, 71, 187, 0.1);
    color: var(--primary-blue);
    text-decoration: none;
}

/* Mobile responsiveness for review buttons */
@media (max-width: 768px) {
    .reviews-footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .show-more-btn {
        margin-left: 0;
        margin-top: 12px;
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .reviews-section {
        padding: 40px 0;
    }
    
    .rating-overview {
        padding: 16px 24px;
    }
    
    .score {
        font-size: 28px;
    }
    
    .rating-stars .fa-star {
        font-size: 11px;
    }
    
    .reviews-carousel {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        scrollbar-width: none;
    }
    
    .reviews-carousel::-webkit-scrollbar {
        display: none;
    }
    
    .review-nav-btn {
        display: none;
    }
    
    .review-card {
        flex: 0 0 260px;
    }
}

/* Animation for star hover effect */
@keyframes starPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.rating-stars .fa-star.active:hover,
.review-stars .fa-star.active:hover {
    animation: starPulse 0.3s ease-in-out;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-red));
    color: white;
}

.cta-section h2 {
    font-size: 48px;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 24px;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn {
    padding: 12px 24px;
    border-radius: 980px;
    font-size: 16px;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-blue);
}

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

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

/* Footer */
.site-footer {
    padding: 60px 0 30px;
    background: var(--light-background);
    font-size: 14px;
    line-height: 1.4;
}

/* Footer Brand */
.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.footer-logo {
    height: 40px;
    width: auto;
}

.footer-logo-text {
    height: 20px;
    width: auto;
}

.footer-description {
    color: var(--gray);
    margin-bottom: 2rem;
}

/* Footer Headings */
.footer-heading {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', sans-serif;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 1.2rem;
    color: var(--black);
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--primary-blue);
}

/* Social Media Links */
.social-links {
    display: flex;
    gap: 20px;
    margin-top: 16px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--gray);
    transition: all 0.3s ease;
}

.social-link i {
    font-size: 18px;
}

/* Brand-specific hover colors */
.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Instagram gradient */
.social-link.instagram:hover {
    background: #f09433;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

/* Facebook blue */
.social-link.facebook:hover {
    background-color: #1877f2;
    color: white;
}

/* TikTok */
.social-link.tiktok:hover {
    background-color: #000000;
    color: white;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .social-links {
        justify-content: center;
        margin-top: 12px;
    }
}

/* Footer Address */
.footer-address {
    font-style: normal;
    color: var(--gray);
}

.footer-address p {
    margin-bottom: 0.8rem;
}

.footer-tel {
    color: var(--gray);
    text-decoration: none;
    transition: var(--transition);
}

.footer-tel:hover {
    color: var(--primary-blue);
}

/* Footer Bottom */
.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    text-align: center;
    color: var(--gray);
    font-size: 12px;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .footer-brand {
        justify-content: flex-start;
    }
}

@media (max-width: 767.98px) {
    .site-footer {
        padding: 40px 0 20px;
    }

    .footer-logo {
        height: 32px;
    }

    .footer-logo-text {
        height: 16px;
    }

    .footer-heading {
        margin-top: 2rem;
    }

    .col-md-3:first-child .footer-heading {
        margin-top: 0;
    }
}