:root {
    --primary-red: #213C75;
    --dark-gray: #2D2D2D;
    --light-bg: #FFF5F5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", sans-serif;
    overflow-x: hidden;
}

/* Navbar Styles */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.navbar-brand img {
    height: 40px;
}

.nav-link {
    color: var(--dark-gray) !important;
    font-weight: 500;
    margin: 0 15px;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary-red) !important;
}

/* Button Styles */
.btn-primary {
    background: var(--primary-red);
    border: none;
    padding: 10px 30px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: #213C75;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(33, 60, 99, 117.1);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #FFF5F5 0%, #FFFFFF 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(227, 30, 36, 0.15) 0%, transparent 70%);
    right: -100px;
    top: -100px;
    border-radius: 50%;
}

/* Sparkle Styles */
.sparkle {
    position: absolute;
    width: 32px;
    height: 32px;
    z-index: 10;
    opacity: 0.9;
    animation: sparkle-anim 1.2s infinite alternate;
    pointer-events: none;
}

.sparkle-left {
    left: -40px;
    top: 40px;
}

.sparkle-right {
    right: -40px;
    top: 80px;
}

@keyframes sparkle-anim {
    0% {
        transform: scale(1) rotate(0deg);
        opacity: 0.8;
        filter: blur(0px);
    }
    50% {
        transform: scale(1.3) rotate(20deg);
        opacity: 1;
        filter: blur(2px);
    }
    100% {
        transform: scale(1) rotate(-20deg);
        opacity: 0.7;
        filter: blur(0px);
    }
}

.badge-custom {
    background: var(--primary-red);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    display: inline-block;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
}

.text-red {
    color: var(--primary-red);
}

.hero-image {
    position: relative;
    z-index: 2;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
}

/* Section Styles */
.section-badge {
    background: var(--primary-red);
    color: white;
    padding: 6px 18px;
    border-radius: 15px;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 15px;
    font-weight: 600;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark-gray);
}

/* Mission Section */
.mission-section {
    padding: 80px 0;
    background: white;
}

.mission-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 400px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.mission-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(45, 45, 45, 0.9);
    padding: 40px;
    color: white;
}

.aboutImgMission {
    background-image: url(Assets/Group\ 32.png);
    height: 60vh;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    position: relative;
}

.aboutImgMission .mission-box {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 30px;
    border-radius: 20px 0;
    max-width: 600px;
    margin-left: auto;
    position: absolute;
    bottom: 0;
    right: 0;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 20px;
    border-left: 4px solid var(--primary-red);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-number {
    color: var(--primary-red);
    font-weight: 700;
    font-size: 1.2rem;
}

/* Values Section */
.values-section {
    padding: 80px 0;
    background: white;
}

.value-card {
    text-align: center;
    padding: 30px 20px;
    transition: transform 0.3s;
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-icon {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 20px;
}

/* Collaborations Section */
.collaborations-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #213C75 0%, #213C75 100%);
    color: white;
    text-align: center;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 46px;
    margin-top: 50px;
}

.partner-logo {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.partner-logo img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 30px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-red);
}

.social-icons a {
    color: white;
    font-size: 1.5rem;
    margin: 0 5px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--primary-red);
}

/* Utility Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.phone-link {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.phone-icon {
    background: white;
    color: var(--primary-red);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* GR Section */
.gr-section {
    position: relative;
    min-height: 54vh;
    background: url('Assets/bg-business.jpg') center/cover no-repeat;
    overflow: hidden;
    padding: 60px 0;
}

.gr-section .gr-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(33, 60, 99, 117.1), rgba(255, 255, 255, 0.95));
    z-index: 1;
}

.gr-section .gr-content {
    position: relative;
    z-index: 2;
    color: #333;
    text-align: center;
}

.gr-section .gr-title {
    font-weight: 600;
}

.gr-section .gr-text {
    font-size: 1.1rem;
    color: #444;
}

.gr-section .gr-btn {
    background-color: #e63946;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    transition: background-color 0.3s;
}

.gr-section .gr-btn:hover {
    background-color: #d62828;
}

/* Expertise Grid */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    position: relative;
}

.expertise-item {
    text-align: center;
    position: relative;
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 0px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-wrapper svg {
    width: 60px;
    height: 60px;
}

.title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 30px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.3;
}

.timeline {
    position: absolute;
    top: 135px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e0e0e0;
    z-index: 0;
}

.timeline-dot {
    position: absolute;
    top: 129px;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 14px;
    background: #213C75;
    border-radius: 50%;
    z-index: 1;
}

.description {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    font-weight: 500;
    margin-top: 25px;
}
.footer-bottom {
    display: flex;
    justify-content: space-between; /* pushes left/right sides apart */
    align-items: center;
    flex-wrap: wrap; /* keeps it responsive on small screens */
    color: #666;
    font-size: 0.85rem;
  }
  
  .footer-bottom a {
    color: #666;
    text-decoration: none;
    margin: 0 5px;
    transition: color 0.3s;
  }
  
  .footer-bottom a:hover {
    color: #ccc;
  }

/* Modal overlay */
.modal {
    display: none;
    position: fixed;
    z-index: 9999; /* ensure it's above the header */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    overflow: hidden; /* prevents background scroll */
  }
  
  /* Modal box */
  .modal-content {
    background: #fff;
    padding: 25px 30px;
    border-radius: 8px;
    width: 80%;              /* smaller width */
    max-width: 600px;        /* max width on large screens */
    max-height: 80vh;        /* limit height to 80% of viewport */
    overflow-y: auto;        /* scrolls inside modal if content too long */
    position: relative;
    color: #333;
    text-align: left;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  }
  
  /* Scrollbar styling (optional, modern look) */
  .modal-content::-webkit-scrollbar {
    width: 8px;
  }
  .modal-content::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
  }
  .modal-content::-webkit-scrollbar-thumb:hover {
    background: #555;
  }
  
  
  /* Close button */
  .close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    color: #666;
    cursor: pointer;
  }
  
  .close:hover {
    color: #000;
  }
  

/* ============================================
   MEDIA QUERIES
   ============================================ */

/* Mobile Devices (max-width: 480px) */
@media (max-width: 480px) {
    .expertise-grid {
        grid-template-columns: 1fr !important;
        gap: 40px;
    }
}

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .hero-section {
        padding: 60px 0;
    }

    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .timeline {
        display: none;
    }
    
    .timeline-dot {
        display: none;
    }

    .gr-section {
        min-height: auto;
        padding: 40px 0;
    }
    
    .gr-section .gr-content h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem !important;
    }
    
    .gr-section .gr-content p {
        font-size: 0.9rem;
        margin-bottom: 2rem !important;
    }
    
    .partner-logo {
        padding: 15px;
        border-radius: 8px;
    }
}

/* Tablet Devices (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .gr-section {
        min-height: 50vh;
        padding: 50px 0;
    }
    
    .gr-section .gr-content h2 {
        font-size: 1.75rem;
    }
    
    .partner-logo {
        padding: 18px;
    }
}

/* Desktop (992px - 1024px) */
@media (min-width: 992px) {
    .gr-section .gr-content {
        top: 40%;
        transform: translateY(-40%);
        margin-top: 160px;
    }
}

/* Large Tablet and Small Desktop (max-width: 1024px) */
@media (max-width: 1024px) {
    .expertise-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}