/* ===== GLOBAL THEME ===== */
:root {
    --primary: #3498db;       /* Main brand color */
    --secondary: #2c3e50;     /* Dark accent color */
    --accent: #2980b9;        /* Vibrant accent */
    --dark: #34495e;          /* Dark text/background */
    --light: #ecf0f1;         /* Light background */
    --gray: #bdc3c7;          /* Neutral gray */
    --success: #27ae60;       /* Success color */
    
    --transition: all 0.5s cubic-bezier(0.65, 0, 0.35, 1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
  }

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

    body {
        background-color: var(--light);
        color: var(--dark);
        overflow-x: hidden;
        cursor: none;
    }

    .cursor, .cursor-follower {
      position: fixed;
      pointer-events: none;
      transform: translate(-50%, -50%);
      z-index: 9999;
      display: none; /* Start hidden, JS will show them */
  }
  
  .cursor {
      width: 20px;
      height: 20px;
      border-radius: 50%;
      background-color: var(--primary);
      mix-blend-mode: multiply;
      transition: transform 0.1s ease;
  }
  
  .cursor-follower {
      width: 40px;
      height: 40px;
      border: 2px solid var(--secondary);
      border-radius: 50%;
      transition: transform 0.3s ease, width 0.3s ease, height 0.3s ease;
      z-index: 9998;
  }
  
  .cursor.active {
      transform: translate(-50%, -50%) scale(1.5);
      background-color: var(--accent);
  }
  
  .cursor-follower.active {
      width: 60px;
      height: 60px;
      border-color: var(--primary);
  }
  
  .cursor.click, .cursor-follower.click {
      transform: translate(-50%, -50%) scale(0.8);
  }
    /* Navbar */
    nav {
        background: white;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        position: fixed;
        width: 100%;
        z-index: 1000;
        padding: 1rem 2rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .logo {
        font-size: 1.8rem;
        font-weight: 700;
        color: var(--secondary);
        display: flex;
        align-items: center;
    }

    .logo span {
        color: var(--primary);
    }

    .nav-links {
        display: flex;
        gap: 2rem;
    }

    .nav-links a {
        text-decoration: none;
        color: var(--dark);
        font-weight: 500;
        position: relative;
        transition: color 0.3s ease;
    }

    .nav-links a:hover {
        color: var(--primary);
    }

    .nav-links a::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: -5px;
        left: 0;
        background-color: var(--primary);
        transition: width 0.3s ease;
    }

    .nav-links a:hover::after {
        width: 100%;
    }

    .mobile-menu-btn {
        display: none;
        font-size: 1.5rem;
        cursor: pointer;
    }

    /* Main Content */
    .trustfolio-section {
        padding: 6rem 2rem 4rem;
        background: linear-gradient(135deg, #f7fafc 0%, #ebf8ff 100%);
        position: relative;
        overflow: hidden;
    }

    .section-title {
        text-align: center;
        margin-bottom: 3rem;
        position: relative;
        animation: fadeInDown 1s ease;
    }

    .section-title h2 {
        font-size: 2.5rem;
        color: var(--dark);
        margin-bottom: 1rem;
        font-weight: 700;
    }

    .section-title p {
        font-size: 1.1rem;
        color: #4a5568;
        max-width: 700px;
        margin: 0 auto;
    }

    /* Trustfolio Cards */
    .trustfolio-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
        max-width: 1200px;
        margin: 0 auto;
    }

    .trust-card {
        background: white;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
        transition: all 0.3s ease;
        animation: fadeInUp 0.8s ease;
        animation-fill-mode: both;
    }

    .trust-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    }

    .trust-card:nth-child(1) { animation-delay: 0.2s; }
    .trust-card:nth-child(2) { animation-delay: 0.4s; }
    .trust-card:nth-child(3) { animation-delay: 0.6s; }

    .card-header {
        position: relative;
        height: 200px;
        overflow: hidden;
    }

    .card-header img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .trust-card:hover .card-header img {
        transform: scale(1.1);
    }

.card-footer {
    padding: 1rem;
    text-align: center; /* Centers the button horizontally */
    margin-top: auto; /* Pushes footer to bottom */
}

/* Improved list styling */
.protection-list {
    margin-top: 1rem;
    padding-left: 1.2rem;
    color: #4a5568;
    list-style-type: none; /* Remove default bullets */
}

.protection-list li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.protection-list li::before {
    content: "•";
    color: var(--primary);
    font-weight: bold;
    position: absolute;
    left: 0;
}

    .card-badge {
        position: absolute;
        top: 15px;
        right: 15px;
        background: var(--secondary);
        color: white;
        padding: 5px 10px;
        border-radius: 20px;
        font-size: 0.8rem;
        font-weight: bold;
        animation: pulse 2s infinite;
    }

    .card-body {
        padding: 1.5rem;
    }

    .card-body h3 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
        color: var(--primary);
    }

    .card-body p {
        color: #4a5568;
        margin-bottom: 1.5rem;
    }

    .stats-container {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
        margin-top: 2rem;
    }

    .stat-item {
        flex: 1 1 120px;
        text-align: center;
        padding: 1rem;
        background: rgba(66, 153, 225, 0.1);
        border-radius: 8px;
        transition: all 0.3s ease;
    }

    .stat-item:hover {
        background: rgba(66, 153, 225, 0.2);
        transform: scale(1.05);
    }

    .stat-number {
        font-size: 1.8rem;
        font-weight: 700;
        color: var(--primary);
        margin-bottom: 0.5rem;
    }

    .stat-label {
        font-size: 0.9rem;
        color: #4a5568;
    }

    /* Case Study Modals */
    .case-study-modal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.8);
        z-index: 1000;
        overflow-y: auto;
        padding: 2rem;
        box-sizing: border-box;
    }

    .modal-content {
        background: white;
        max-width: 900px;
        margin: 2rem auto;
        border-radius: 12px;
        padding: 2rem;
        position: relative;
        animation: fadeInUp 0.5s ease;
    }

    .close-modal {
        position: absolute;
        top: 15px;
        right: 15px;
        font-size: 1.5rem;
        cursor: pointer;
        color: var(--primary);
    }

    .case-study-header {
        margin-bottom: 2rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid #eee;
    }

    .case-study-header h3 {
        font-size: 1.8rem;
        color: var(--primary);
        margin-bottom: 0.5rem;
    }

    .case-study-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
        margin-bottom: 1rem;
        color: #4a5568;
    }

    .meta-item {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .case-study-body {
        line-height: 1.7;
    }

    .case-study-body h4 {
        color: var(--primary);
        margin: 1.5rem 0 1rem;
        font-size: 1.3rem;
    }

    .case-study-body p {
        margin-bottom: 1rem;
    }

    .case-study-body ul {
        margin: 1rem 0;
        padding-left: 1.5rem;
    }

    .case-study-body li {
        margin-bottom: 0.5rem;
    }

    .case-study-images {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
        margin: 2rem 0;
    }

    .case-study-images img {
        width: 100%;
        border-radius: 8px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        transition: transform 0.3s ease;
    }

    
    .case-study-images img:hover {
        transform: scale(1.03);
    }

    .read-more-btn {
        display: inline-block;
        background: var(--accent);
        color: white;
        padding: 0.6rem 1.2rem;
        border-radius: 6px;
        text-decoration: none;
        font-weight: 600;
        margin-top: 1rem;
        transition: all 0.3s ease;
        border: none;
        cursor: pointer;
    }

    .read-more-btn:hover {
        background: var(--primary);
        transform: translateY(-2px);
    }

    .btn-container {
        display: flex;
        gap: 2rem;
        flex-wrap: wrap;
    }

    /* Testimonial Carousel */
    .testimonial-carousel {
        max-width: 800px;
        margin: 3rem auto;
        position: relative;
    }

    .testimonial {
        background: white;
        padding: 2rem;
        border-radius: 12px;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        text-align: center;
        opacity: 0;
        transition: opacity 0.5s ease;
        position: absolute;
        width: 100%;
    }

    .testimonial.active {
        opacity: 1;
    }

    .testimonial img {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        object-fit: cover;
        margin: 0 auto 1rem;
        border: 3px solid var(--secondary);
        animation: float 4s ease-in-out infinite;
    }

    .testimonial-content {
        font-style: italic;
        margin-bottom: 1rem;
        color: #4a5568;
    }

    .testimonial-author {
        font-weight: 700;
        color: var(--primary);
    }

    .testimonial-role {
        font-size: 0.9rem;
        color: #718096;
    }

    .carousel-nav {
        display: flex;
        justify-content: center;
        margin-top: 1rem;
        gap: 0.5rem;
    }

    .carousel-dot {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: #cbd5e0;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .carousel-dot.active {
        background: var(--secondary);
        transform: scale(1.2);
    }

    /* Partnership Badges */
    .partners-section {
        text-align: center;
        margin: 4rem 0;
    }

    .partners-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 2rem;
        margin-top: 2rem;
    }

    .partner-logo {
        height: 60px;
        filter: grayscale(100%);
        opacity: 0.7;
        transition: all 0.3s ease;
    }

    .partner-logo:hover {
        filter: grayscale(0%);
        opacity: 1;
        animation: pulse 0.5s ease;
    }

    /* Footer */
footer {
    background-color: var(--secondary);
    color: white;
    padding: 5rem 2rem 2rem;
  }
  
  .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
  }
  
  .footer-logo {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
  }
  
  .footer-logo span {
    color: var(--primary);
  }
  
  .footer-about {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    opacity: 0.8;
  }
  
  .footer-links h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    color: white;
  }
  
  .footer-links h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary);
  }
  
  .footer-links ul {
    list-style: none;
  }
  
  .footer-links li {
    margin-bottom: 0.8rem;
    color: white;
  }
  
  .footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
    position: relative;
  }
  
  .footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary);
    transition: var(--transition);
  }
  
  .footer-links a:hover {
    opacity: 1;
    color: var(--primary);
  }
  
  .footer-links a:hover::after {
    width: 100%;
  }
  
  .social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
  }
  
  .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    color: white;
    transition: var(--transition);
  }
  
  .social-links a:hover {
    background-color: var(--primary);
    color: var(--secondary);
    transform: translateY(-3px);
  }
  
  .footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    opacity: 0.6;
    font-size: 0.9rem;
  }
  .phone-link {
    text-decoration: none;
    color: inherit;
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .phone-link:hover {
    background: var(--primary);
        transform: translateY(-2px);
  }
  
    /* Animation Keyframes */
    @keyframes fadeInDown {
        from {
            opacity: 0;
            transform: translateY(-30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes float {
        0% {
            transform: translateY(0px);
        }
        50% {
            transform: translateY(-15px);
        }
        100% {
            transform: translateY(0px);
        }
    }

    @keyframes pulse {
        0% {
            transform: scale(1);
        }
        50% {
            transform: scale(1.05);
        }
        100% {
            transform: scale(1);
        }
    }

    /* Responsive Adjustments */
    @media (max-width: 768px) {
        .trustfolio-grid {
            grid-template-columns: 1fr;
        }
        
        .section-title h2 {
            font-size: 2rem;
        }
        
        .modal-content {
            padding: 1.5rem;
        }
        
        .case-study-header h3 {
            font-size: 1.5rem;
        }
        
        .btn-container {
            flex-direction: column;
            gap: 0.5rem;
        }
        
        .nav-links {
            display: none;
            flex-direction: column;
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            background: white;
            padding: 1rem;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        }
        
        .mobile-menu-btn {
            display: block;
        }
        
        .nav-links.active {
            display: flex;
        }
    }