/* Sakkal Majalla Font - will be loaded via link tag in HTML */

:root {
      --primary-color: #1e3a8a;
      --secondary-color: #3b82f6;
      --accent-color: #ffd700;
      --text-color: #2c3e50;
      --bg-light: #f8fafc;
      --bg-dark: #ffffff;
      --success-color: #10b981;
      --warning-color: #f59e0b;
      --info-color: #3b82f6;
      --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
      --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
      --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
      --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
      --shadow-xl: 0 20px 25px rgba(0,0,0,0.15);
      --radius-sm: 0.375rem;
      --radius-md: 0.5rem;
      --radius-lg: 1rem;
      --radius-xl: 1.5rem;
      --transition-base: all 0.3s ease;
      --transition-smooth: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
    * { margin:0; padding:0; box-sizing:border-box; }
    html {
      scroll-behavior: smooth;
      scroll-padding-top: 80px;
    }
    body {
      font-family: 'Sakkal Majalla', 'Effra', 'Montserrat', 'Inter', 'Noto Sans Arabic', sans-serif;
      font-size: 16px;
      font-weight: 500;
      color: var(--text-color);
      background: var(--bg-light);
      line-height:1.6;
      visibility: visible;
      opacity: 1;
      white-space: normal;
    }
    
    /* Ensure line breaks work on all devices */
    br {
      display: block;
      content: "";
      margin-top: 0;
    }
    
    /* Ensure all text elements respect line breaks */
    h1, h2, h3, h4, h5, h6, p, span, div, a, li {
      white-space: normal;
    }
    
    /* Ensure all text elements use Sakkal Majalla */
    *, *::before, *::after {
      font-family: inherit;
    }
    
    body, p, h1, h2, h3, h4, h5, h6, span, div, a, li, td, th, input, textarea, select, button {
      font-family: 'Sakkal Majalla', 'Effra', 'Montserrat', 'Inter', 'Noto Sans Arabic', sans-serif;
    }
    
    /* Font size for regular text elements */
    p, span, div, li, td, th, a {
      font-size: 1em; /* 16px base */
      font-weight: 500;
    }
    
    /* Font size for headings proportionally */
    h1 { font-size: 2.5rem; font-weight: 700; }
    h2 { font-size: 2rem; font-weight: 700; }
    h3 { font-size: 1.625rem; font-weight: 600; }
    h4 { font-size: 1.375rem; font-weight: 600; }
    h5 { font-size: 1.125rem; font-weight: 600; }
    h6 { font-size: 1rem; font-weight: 500; }
    
    /* Ensure all page sections are visible */
    section, .staff-page, .clients-page, .partners-page {
      visibility: visible !important;
      opacity: 1 !important;
      display: block !important;
    }
    
    /* Navbar - Enhanced Design */
    .navbar {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%);
      backdrop-filter: blur(20px) saturate(180%);
      -webkit-backdrop-filter: blur(20px) saturate(180%);
      z-index: 1000;
      padding: 0.8rem 0;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
      transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      border-bottom: 1px solid rgba(59, 130, 246, 0.1);
    }
    
    .navbar::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 3px;
      background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
      background-size: 200% 100%;
      opacity: 0;
      transition: opacity 0.4s ease;
      animation: gradientShift 3s ease infinite;
    }
    
    @keyframes gradientShift {
      0%, 100% { background-position: 0% 50%; }
      50% { background-position: 100% 50%; }
    }
    
    .navbar.scrolled::before {
      opacity: 1;
    }
    
    .navbar.scrolled {
      padding: 0.5rem 0;
      box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.99) 0%, rgba(248, 250, 252, 0.99) 100%);
    }
    
    .navbar .container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 3rem;
      padding: 0 20px;
      position: relative;
    }
    
    .navbar .logo {
      display: flex;
      align-items: center;
      justify-content: center;
      transition: var(--transition-smooth);
      background: none;
      padding: 0;
      border: none;
      position: relative;
      z-index: 2;
    }
    
    .navbar .logo img {
      height: 85px;
      width: auto;
      object-fit: contain;
      transition: var(--transition-smooth);
      filter: drop-shadow(0 4px 8px rgba(30, 58, 138, 0.15));
    }
    
    .navbar .logo:hover img {
      transform: scale(1.08) translateY(-2px);
      filter: drop-shadow(0 6px 12px rgba(30, 58, 138, 0.25));
    }
    
    .navbar.scrolled .logo img {
      height: 70px;
    }
    
    .nav-links {
      display: flex;
      gap: 0.5rem;
      margin: 0;
      padding: 0;
      list-style: none;
      flex: 1;
      justify-content: center;
      align-items: center;
    }
    
    .nav-links li {
      position: relative;
    }
    
    .nav-links a {
      color: var(--text-color);
      text-decoration: none;
      font-weight: 600;
      font-size: 1.05rem;
      transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      position: relative;
      padding: 0.7rem 1.3rem;
      border-radius: 12px;
      display: inline-block;
      overflow: hidden;
    }
    
    .nav-links a::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(30, 58, 138, 0.1));
      border-radius: 12px;
      opacity: 0;
      transform: scale(0.8);
      transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      z-index: -1;
    }
    
    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: 8px;
      left: 50%;
      transform: translateX(-50%) scaleX(0);
      width: 60%;
      height: 3px;
      background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
      border-radius: 2px;
      transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      transform-origin: center;
    }
    
    .nav-links a:hover {
      color: var(--primary-color);
      transform: translateY(-2px);
    }
    
    .nav-links a:hover::before {
      opacity: 1;
      transform: scale(1);
    }
    
    .nav-links a:hover::after {
      transform: translateX(-50%) scaleX(1);
    }
    
    .nav-links a.active {
      color: var(--primary-color);
      background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(30, 58, 138, 0.12));
    }
    
    .nav-links a.active::after {
      transform: translateX(-50%) scaleX(1);
    }
    
    .nav-links a.active::before {
      opacity: 1;
      transform: scale(1);
    }
    .mobile-menu-btn {
      display: none;
      background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
      border: none;
      color: white;
      font-size: 1.5rem;
      cursor: pointer;
      width: 45px;
      height: 45px;
      border-radius: 12px;
      align-items: center;
      justify-content: center;
      transition: all 0.3s ease;
      box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    }
    
    .mobile-menu-btn:hover {
      transform: scale(1.1);
      box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
    }
    
    .mobile-menu-btn:active {
      transform: scale(0.95);
    }
    
    @media (max-width: 768px) {
      .navbar .container {
        flex-direction: row-reverse;
        justify-content: space-between;
        align-items: center;
      }
      
      .navbar .logo {
        order: 2;
      }
      
      .navbar .logo img {
        height: 60px;
      }
      
      .nav-links a {
        font-size: 1rem;
      }
      
      .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
        backdrop-filter: blur(20px);
        padding: 1.5rem;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        border-top: 1px solid rgba(59, 130, 246, 0.1);
      }
      
      .nav-links.active {
        display: flex;
      }
      
      .nav-links a {
        padding: 1rem 1.5rem;
        border-radius: 12px;
        width: 100%;
        display: block;
      }
      
      .mobile-menu-btn {
        display: flex;
        order: 1;
      }
    }

    /* Section Styles */
    .section-subtitle {
      color: var(--secondary-color);
      font-weight: 600;
      font-size: 1.1rem;
      margin-bottom: 1rem;
      display: block;
    }
    
    .section-title {
      font-size: 2.5rem;
      color: var(--primary-color);
      margin-bottom: 1.5rem;
      line-height: 1.2;
    }

    /* About Section */
    .about {
      padding: 6rem 0;
      background: var(--bg-light);
      position: relative;
      overflow: hidden;
    }
    
    .about::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(45deg, rgba(59,130,246,0.1) 0%, transparent 100%);
      z-index: 0;
    }
    
    .about-content {
      display: grid;
      grid-template-columns: 1.2fr 0.8fr;
      gap: 4rem;
      align-items: center;
      position: relative;
      z-index: 1;
    }
    
    .about-text p {
      font-size: 1.2rem;
      color: var(--text-color);
      margin-bottom: 2rem;
      line-height: 1.8;
    }
    
    .about-features {
      display: grid;
      gap: 2rem;
    }
    
    .about-feature {
      display: flex;
      gap: 1.5rem;
      align-items: flex-start;
      padding: 1.5rem;
      border-radius: 15px;
      background: white;
      box-shadow: 0 10px 30px rgba(0,0,0,0.05);
      transition: all 0.3s ease;
    }
    
    .about-feature:hover {
      transform: translateY(-5px);
      box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    }
    
    .feature-icon {
      width: 50px;
      height: 50px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: var(--primary-color);
      color: white;
      border-radius: 12px;
      font-size: 1.5rem;
    }
    
    .feature-text h3 {
      font-size: 1.2rem;
      color: var(--primary-color);
      margin-bottom: 0.5rem;
    }
    
    .feature-text p {
      font-size: 0.95rem;
      margin: 0;
      color: #6b7280;
    }
    
    /* Values grid like the provided example */
    .values-grid { display: grid; grid-template-columns: 1fr; gap: 1.2rem; margin-top: 1.25rem; }
    .value-card { position: relative; display:flex; flex-direction: row-reverse; align-items:center; gap: 1rem; padding: 1.35rem 1.5rem; background: rgba(255,255,255,0.85); border-radius: 18px; box-shadow: 0 14px 32px rgba(0,0,0,0.08); border: 1px solid rgba(255,255,255,0.5); backdrop-filter: blur(8px) saturate(140%); min-height: 100px; transition: transform .25s ease, box-shadow .25s ease; }
    .value-card::before { content:''; position:absolute; inset:0; padding:1px; border-radius:18px; background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity:.25; pointer-events:none; }
    .value-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(0,0,0,0.12); }
    .value-icon { width: 56px; height: 56px; border-radius: 14px; background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); color:#fff; display:flex; align-items:center; justify-content:center; font-size: 1.25rem; box-shadow: 0 10px 22px rgba(59,130,246,.25); flex: 0 0 56px; }
    .value-text { text-align: right; }
    .value-text h3 { margin: 0 0 .4rem; font-size: 1.25rem; font-weight: 800; color: var(--primary-color); }
    .value-text p { margin: 0; color:#374151; font-weight: 600; line-height: 1.8; }

    @media (min-width: 992px) {
      .values-grid { grid-template-columns: 1fr 1fr; }
    }

    /* Larger title for About only */
    .about .section-title { font-size: 3rem; }
    
    /* About values */
    .about-values { margin-top: 2.5rem; }
    .about-values .values-title {
      font-size: 1.2rem; color: var(--primary-color); margin-bottom: 1rem; display:flex; align-items:center; gap:.6rem;
    }
    .values-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
    .values-list li { display:flex; align-items:flex-start; gap:.8rem; background: #fff; border-radius: 12px; padding: .9rem 1rem; box-shadow: 0 8px 22px rgba(0,0,0,0.05); }
    .values-list li i { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); color:#fff; display:flex; align-items:center; justify-content:center; font-size: .95rem; flex: 0 0 34px; }
    .values-list li span { color:#4b5563; line-height:1.7; font-weight:500; }
    
    .about-image {
      position: relative;
    }
    
    .about-image img {
      width: 100%;
      border-radius: 20px;
      box-shadow: 0 20px 40px rgba(0,0,0,0.1);
      display: block;
    }
    
    .experience-badge {
      position: absolute;
      top: -60px;
      right: 30px;
      background: var(--accent-color);
      padding: 1.5rem;
      border-radius: 15px;
      text-align: center;
      box-shadow: 0 10px 25px rgba(255,215,0,0.3);
      z-index: 3;
      transform: translateY(30px);
      animation: badgeFloat 3s ease-in-out infinite;
    }
    
    @keyframes badgeFloat {
      0%, 100% {
        transform: translateY(30px);
      }
      50% {
        transform: translateY(25px);
      }
    }
    
    .partners-button-container {
      margin-top: 2.5rem;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      width: 100%;
      animation: fadeInUp 0.8s ease 0.3s both;
      position: relative;
      z-index: 2;
      gap: 2rem;
    }
    
    .partners-button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex-direction: row-reverse;
      gap: 1.2rem;
      padding: 1.4rem 2.8rem;
      background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #3b82f6 100%);
      color: white;
      text-decoration: none;
      border-radius: 60px;
      font-weight: 700;
      font-size: 1.15rem;
      box-shadow: 0 8px 25px rgba(30, 58, 138, 0.35), 
                  0 4px 12px rgba(30, 58, 138, 0.25),
                  inset 0 1px 0 rgba(255, 255, 255, 0.2);
      transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      position: relative;
      overflow: hidden;
      border: 2px solid rgba(255, 255, 255, 0.15);
      min-width: 280px;
      max-width: 400px;
      backdrop-filter: blur(10px);
      margin: 0 auto;
    }
    
    .partners-button::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
      transition: left 0.6s ease;
    }
    
    .partners-button:hover::before {
      left: 100%;
    }
    
    .partners-button::after {
      content: '';
      position: absolute;
      inset: -2px;
      border-radius: 60px;
      padding: 2px;
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
      -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      -webkit-mask-composite: xor;
      mask-composite: exclude;
      opacity: 0;
      transition: opacity 0.4s ease;
    }
    
    .partners-button:hover::after {
      opacity: 1;
    }
    
    .partners-button i:first-child {
      font-size: 1.1rem;
      transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      position: relative;
      z-index: 2;
      opacity: 0.9;
      order: 3;
    }
    
    .partners-button i:nth-child(2) {
      font-size: 1.4rem;
      transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      position: relative;
      z-index: 2;
      filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
      order: 2;
    }
    
    .partners-button span {
      position: relative;
      z-index: 2;
      letter-spacing: 0.5px;
      text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
      flex: 1;
      text-align: right;
      order: 1;
    }
    
    .partners-button:hover {
      transform: translateY(-6px) scale(1.03);
      box-shadow: 0 15px 45px rgba(30, 58, 138, 0.45), 
                  0 8px 20px rgba(30, 58, 138, 0.3),
                  inset 0 1px 0 rgba(255, 255, 255, 0.3);
      background: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #60a5fa 100%);
      border-color: rgba(255, 255, 255, 0.3);
    }
    
    .partners-button:hover i:first-child {
      transform: translateX(8px);
      opacity: 1;
    }
    
    .partners-button:hover i:nth-child(2) {
      transform: rotate(12deg) scale(1.15);
      filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    }
    
    .partners-button:active {
      transform: translateY(-3px) scale(1.01);
      box-shadow: 0 8px 25px rgba(30, 58, 138, 0.35);
    }
    
    /* About Organizations Section - Logos below partners button */
    .about-organizations {
      display: flex;
      flex-direction: row;
      justify-content: center;
      align-items: center;
      gap: 1.5rem;
      width: 100%;
      max-width: 600px;
      margin: 0 auto;
      padding: 0 1rem;
    }
    
    .about-organizations .org-image {
      flex: 1;
      max-width: 280px;
      min-width: 200px;
      background: rgba(255, 255, 255, 0.95);
      border-radius: 15px;
      padding: 1.2rem;
      transition: all 0.3s ease;
      border: 2px solid rgba(30, 58, 138, 0.1);
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
      backdrop-filter: blur(10px);
    }
    
    .about-organizations .org-image:hover {
      transform: translateY(-8px);
      background: rgba(255, 255, 255, 1);
      box-shadow: 0 12px 30px rgba(30, 58, 138, 0.2);
      border-color: rgba(59, 130, 246, 0.3);
    }
    
    .about-organizations .org-image img {
      width: 100%;
      height: auto;
      object-fit: contain;
      display: block;
      border-radius: 8px;
    }
    
    @media (max-width: 768px) {
      .about-organizations {
        flex-direction: column;
        gap: 1.2rem;
      }
      
      .about-organizations .org-image {
        max-width: 100%;
        min-width: auto;
        width: 100%;
      }
    }
    
    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
    
    .experience-badge .years {
      font-size: 2.5rem;
      font-weight: 700;
      color: var(--primary-color);
      line-height: 1;
      display: block;
    }
    
    .experience-badge .text {
      color: var(--primary-color);
      font-size: 0.9rem;
      font-weight: 600;
      white-space: normal;
      word-wrap: break-word;
      overflow-wrap: break-word;
    }

    /* Statistics Section */
    .stats {
      padding: 6rem 0;
      background: linear-gradient(120deg, #1e3a8a, #2563eb 60%, #3b82f6);
      color: white;
      position: relative;
      overflow: hidden;
    }
    
    .stats::before {
      content: '';
      position: absolute;
      top: -50%;
      left: -50%;
      width: 200%;
      height: 200%;
      background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
      animation: rotate 20s linear infinite;
    }
    
    .stats-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 2.2rem;
      position: relative;
      z-index: 1;
    }
    
    .stat-item {
      text-align: center;
      padding: 2.2rem 2rem;
      background: rgba(255,255,255,0.12);
      border-radius: 22px;
      backdrop-filter: blur(10px) saturate(140%);
      position: relative;
      overflow: hidden;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      box-shadow: 0 16px 34px rgba(0,0,0,0.18);
    }
    .stat-item::before{
      content:'';
      position:absolute; inset:0; padding:1px; border-radius:22px;
      background: linear-gradient(135deg, rgba(255,255,255,.7), rgba(255,255,255,.2));
      -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
              mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
      -webkit-mask-composite: xor;
              mask-composite: exclude;
      pointer-events: none;
      opacity:.7;
    }
    
    .stat-item:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 24px 48px rgba(0,0,0,0.22); }
    
    .stat-icon {
      width: 60px; height: 60px; margin: 0 auto 1rem; border-radius: 16px;
      display:flex; align-items:center; justify-content:center;
      background: rgba(255,255,255,0.15);
      color: #ffd60a; font-size: 1.8rem;
      box-shadow: inset 0 0 0 1px rgba(255,255,255,0.25), 0 12px 26px rgba(0,0,0,0.18);
    }
    
    .stat-number { font-size: 3.2rem; font-weight: 800; margin-bottom: 0.35rem; line-height: 1; letter-spacing: .5px; }
    
    .stat-title { font-size: 1.05rem; opacity: .95; font-weight: 700; }
    
    @media (max-width: 768px) {
      .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
      }
      .about-image {
        order: -1;
      }
      
      .experience-badge {
        top: -50px;
        right: 50%;
        transform: translateX(50%) translateY(30px);
        padding: 1.2rem;
      }
      
      .partners-button-container {
        margin-top: 2rem;
        justify-content: center;
        align-items: center;
        display: flex;
        width: 100%;
      }
      .partners-button {
        padding: 1.1rem 2rem;
        font-size: 1rem;
        gap: 1rem;
        min-width: 250px;
        max-width: 350px;
        width: auto;
        margin: 0 auto;
      }
      .partners-button i:first-child {
        font-size: 1rem;
      }
      .partners-button i:nth-child(2) {
        font-size: 1.2rem;
      }
      .stats-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }
    
    @media (max-width: 480px) {
      .stats-grid {
        grid-template-columns: 1fr;
      }
      .hero-staff-btn .cta-button.staff-button {
        max-width: 100%;
        font-size: 0.95rem;
        padding: 1rem 1.5rem;
      }
      .hero-cta .cta-button {
        max-width: 100%;
        font-size: 0.95rem;
        padding: 1rem 1.5rem;
      }
      .partners-button {
        max-width: 100%;
        width: auto;
        min-width: 200px;
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
      }
      .partners-button-container {
        width: 100%;
        justify-content: center;
      }
    }

    /* Service Activities Section - refreshed look */
    .service-activities {
      padding: 6rem 0;
      position: relative;
      overflow: hidden;
      background:
        radial-gradient(1200px 600px at 100% -10%, rgba(59,130,246,0.08), transparent 60%),
        radial-gradient(800px 400px at -10% 110%, rgba(30,58,138,0.08), transparent 60%),
        var(--bg-light);
    }

    .activities-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 2.2rem;
      margin-top: 3rem;
      perspective: 1000px;
    }

    .activity-card {
      --card-start: var(--primary-color);
      --card-end: var(--secondary-color);
      background: rgba(255,255,255,0.65);
      border-radius: 22px;
      padding: 2.25rem;
      position: relative;
      overflow: hidden;
      transition: var(--transition-smooth);
      box-shadow: 0 12px 35px rgba(0,0,0,0.08);
      border: 1px solid rgba(255,255,255,0.4);
      transform-style: preserve-3d;
      backdrop-filter: saturate(140%) blur(8px);
      text-decoration: none;
      color: inherit;
      display: block;
      cursor: pointer;
    }

    /* gradient border using mask */
    .activity-card::before {
      content: '';
      position: absolute;
      inset: 0;
      padding: 1px;
      border-radius: 22px;
      background: linear-gradient(135deg, var(--card-start), var(--card-end));
      -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
              mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
      -webkit-mask-composite: xor;
              mask-composite: exclude;
      pointer-events: none;
      opacity: 0.25;
    }

    .activity-card:hover {
      transform: translateY(-10px) scale(1.01);
      box-shadow: 0 20px 55px rgba(0,0,0,0.15);
    }

    .activity-icon {
      width: 68px;
      height: 68px;
      border-radius: 18px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 1rem;
      color: #fff;
      font-size: 1.9rem;
      box-shadow: 0 10px 22px rgba(59,130,246,0.25);
      transition: var(--transition-smooth);
      background: linear-gradient(135deg, var(--card-start), var(--card-end));
    }

    .activity-card:hover .activity-icon {
      transform: translateY(-3px) scale(1.06) rotate(2deg);
      box-shadow: 0 16px 30px rgba(59,130,246,0.33);
    }

    .activity-card h3 {
      font-size: 1.2rem;
      color: var(--primary-color);
      margin-bottom: 0.5rem;
      font-weight: 700;
      letter-spacing: 0.1px;
    }

    .activity-card p {
      color: #4b5563;
      margin: 0;
      line-height: 1.75;
      font-weight: 500;
    }

    /* subtle gradient underline on hover */
    .activity-card::after {
      content: '';
      position: absolute;
      left: 24px;
      right: 24px;
      bottom: 0;
      height: 3px;
      background: linear-gradient(90deg, transparent, var(--card-start), var(--card-end), transparent);
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .activity-card:hover::after {
      opacity: 0.6;
    }

    /* Per-card color accents */
    .activities-grid .activity-card:nth-child(1) { --card-start: #1e3a8a; --card-end: #3b82f6; }
    .activities-grid .activity-card:nth-child(2) { --card-start: #059669; --card-end: #10b981; }
    .activities-grid .activity-card:nth-child(3) { --card-start: #9333ea; --card-end: #3b82f6; }
    .activities-grid .activity-card:nth-child(4) { --card-start: #f59e0b; --card-end: #ef4444; }

    .activity-features {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .activity-features li {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      margin-bottom: 0.8rem;
      color: #4b5563;
    }

    .activity-features li i {
      color: var(--success-color);
      font-size: 1.1rem;
    }

    /* Technologies Section - refreshed */
    .technologies {
      padding: 6rem 0;
      background:
        radial-gradient(1200px 600px at 100% -10%, rgba(59,130,246,0.08), transparent 60%),
        radial-gradient(900px 500px at -10% 110%, rgba(30,58,138,0.08), transparent 60%),
        var(--bg-light);
      position: relative;
      overflow: hidden;
    }
    /* Center headings for technologies and FAQ */
    .technologies .section-subtitle,
    .technologies .section-title,
    .faq .section-subtitle,
    .faq .section-title { text-align: center; display: block; margin-left: auto; margin-right: auto; }

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

    .tech-card {
      --card-start: var(--secondary-color);
      --card-end: var(--primary-color);
      background: rgba(255,255,255,0.75);
      padding: 2.25rem;
      border-radius: 22px;
      text-align: center;
      transition: var(--transition-smooth);
      position: relative;
      overflow: hidden;
      box-shadow: 0 12px 35px rgba(0,0,0,0.08);
      border: 1px solid rgba(255,255,255,0.35);
      backdrop-filter: blur(8px) saturate(140%);
    }

    .tech-card::before {
      content: '';
      position: absolute;
      inset: 0;
      padding: 1px;
      border-radius: 22px;
      background: linear-gradient(135deg, var(--card-start), var(--card-end));
      -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
              mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
      -webkit-mask-composite: xor;
              mask-composite: exclude;
      pointer-events: none;
      opacity: 0.25;
      transition: opacity 0.3s ease;
      z-index: 1;
    }

    .tech-card:hover {
      transform: translateY(-10px) scale(1.01);
      box-shadow: 0 22px 55px rgba(0,0,0,0.15);
    }

    .tech-card:hover::before {
      opacity: 0.45;
    }

    .tech-icon {
      width: 72px;
      height: 72px;
      margin: 0 auto 1.25rem;
      display: flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(135deg, var(--card-start), var(--card-end));
      border-radius: 18px;
      font-size: 2rem;
      color: #fff;
      box-shadow: 0 12px 24px rgba(59,130,246,0.25);
      position: relative;
      z-index: 2;
    }

    .tech-card:hover .tech-icon { transform: translateY(-3px) scale(1.05); }

    @keyframes pulse {
      0% { transform: scale(1); }
      50% { transform: scale(1.05); }
      100% { transform: scale(1); }
    }

    .tech-card h3 {
      font-size: 1.15rem;
      color: var(--primary-color);
      margin-bottom: 0.5rem;
      font-weight: 700;
      position: relative;
      z-index: 2;
    }

    .tech-card p {
      color: #4b5563;
      font-size: 0.98rem;
      line-height: 1.7;
      position: relative;
      z-index: 2;
      font-weight: 500;
    }

    /* FAQ Section - refreshed */
    .faq {
      padding: 6rem 0;
      background:
        radial-gradient(1200px 600px at 100% -10%, rgba(59,130,246,0.08), transparent 60%),
        radial-gradient(900px 500px at -10% 110%, rgba(30,58,138,0.08), transparent 60%),
        var(--bg-dark);
      position: relative;
    }

    .faq-grid {
      display: grid;
      gap: 1rem;
      margin-top: 2rem;
      max-width: 900px;
      margin-left: auto;
      margin-right: auto;
    }

    .faq-item {
      background: rgba(255,255,255,0.9);
      border-radius: 16px;
      overflow: hidden;
      box-shadow: 0 10px 30px rgba(0,0,0,0.06);
      border: 1px solid rgba(255,255,255,0.35);
      backdrop-filter: blur(6px);
      transition: transform 0.25s ease, box-shadow 0.25s ease;
    }
    .faq-item:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(0,0,0,0.1); }

    .faq-question {
      padding: 1.2rem 1.5rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      cursor: pointer;
      transition: var(--transition-base);
    }

    .faq-question h3 {
      font-size: 1.05rem;
      color: var(--primary-color);
      margin: 0;
      font-weight: 700;
    }

    .faq-question i {
      color: var(--primary-color);
      transition: var(--transition-base);
    }

    .faq-item.active .faq-question {
      background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    }

    .faq-item.active .faq-question h3,
    .faq-item.active .faq-question i {
      color: white;
    }

    .faq-item.active .faq-question i {
      transform: rotate(180deg);
    }

    .faq-answer {
      padding: 0 1.5rem;
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.35s ease, padding 0.25s ease;
    }

    .faq-item.active .faq-answer {
      padding: 1.5rem;
      max-height: 1000px;
    }

    .faq-answer p {
      margin: 0;
      color: #6b7280;
      line-height: 1.6;
    }

    /* Testimonials Section */
    .testimonials {
      padding: 6rem 0;
      background: var(--bg-light);
      position: relative;
      overflow: hidden;
    }
    
    .testimonials::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(45deg, rgba(59,130,246,0.05) 0%, transparent 100%);
    }
    
    .testimonials .section-title,
    .testimonials .section-subtitle {
      text-align: center;
    }
    
    .testimonials-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 2rem;
      margin-top: 3rem;
    }
    
    .testimonial {
      background: white;
      border-radius: 20px;
      padding: 2rem;
      box-shadow: 0 10px 30px rgba(0,0,0,0.05);
      transition: all 0.3s ease;
    }
    
    .testimonial:hover {
      transform: translateY(-10px);
      box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    }
    
    .testimonial-content {
      margin-bottom: 1.5rem;
      position: relative;
    }
    
    .testimonial-content::before {
      content: '"';
      position: absolute;
      top: -20px;
      right: -10px;
      font-size: 4rem;
      color: var(--accent-color);
      opacity: 0.2;
      font-family: serif;
    }
    
    .testimonial-content p {
      font-size: 1.1rem;
      line-height: 1.6;
      color: var(--text-color);
    }
    
    .testimonial-author {
      display: flex;
      align-items: center;
      gap: 1rem;
    }
    
    .testimonial-author img {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      object-fit: cover;
    }
    
    .author-info h4 {
      color: var(--primary-color);
      font-size: 1.1rem;
      margin-bottom: 0.25rem;
    }
    
    .author-info p {
      color: #6b7280;
      font-size: 0.9rem;
    }

    /* Contact Section */
    .contact {
      padding: 6rem 0;
      background:
        radial-gradient(1200px 600px at 100% -10%, rgba(59,130,246,0.08), transparent 60%),
        radial-gradient(900px 500px at -10% 110%, rgba(30,58,138,0.08), transparent 60%),
        var(--bg-dark);
      position: relative;
    }
    /* widen container only in contact section */
    .contact .container { max-width: 1400px; }
    
    .contact-header {
      text-align: center;
      margin-bottom: 4rem;
    }
    
    .contact-content {
      display: grid;
      grid-template-columns: 1.1fr 0.9fr 1.6fr; /* visual | info | wider form */
      gap: 3.5rem;
      align-items: stretch;
    }
    
    .contact-info p {
      font-size: 1.1rem;
      color: var(--text-color);
      margin-bottom: 3.5rem;
      line-height: 1.8;
    }
    
    .contact-methods {
      display: grid;
      gap: 2.5rem;
      margin-bottom: 3.5rem;
    }
    
    .contact-method {
      display: flex;
      align-items: center;
      gap: 1.5rem;
    }
    
    .contact-method i {
      width: 50px;
      height: 50px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: var(--primary-color);
      color: white;
      border-radius: 12px;
      font-size: 1.5rem;
    }
    
    .contact-method i.fab.fa-whatsapp {
      background: linear-gradient(135deg, #25D366, #128C7E);
    }
    
    .contact-method h3 {
      font-size: 1.2rem;
      color: var(--primary-color);
      margin-bottom: 0.25rem;
    }
    
    .contact-method p {
      margin: 0;
      color: #6b7280;
    }
    
    .social-links {
      display: flex;
      gap: 1rem;
    }
    
    .social-link {
      width: 45px;
      height: 45px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: var(--primary-color);
      color: white;
      border-radius: 50%;
      font-size: 1.2rem;
      transition: all 0.3s ease;
    }
    
    .social-link:hover {
      transform: translateY(-5px);
      background: var(--secondary-color);
    }
    
    .contact-form {
      background: rgba(255,255,255,0.95);
      padding: 4rem 3.5rem;
      border-radius: 28px;
      box-shadow: 0 25px 60px rgba(0,0,0,0.12), 0 0 0 1px rgba(59,130,246,0.1);
      border: 1px solid rgba(255,255,255,0.4);
      backdrop-filter: blur(10px) saturate(140%);
      animation: cardFade 0.6s ease both;
      min-height: 650px;
    }

    @keyframes cardFade {
      from { opacity: 0; transform: translateY(12px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    
    .form-group {
      margin-bottom: 2rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
      width: 100%;
      padding: 1.4rem 1.2rem;
      border: 2.5px solid #e5e7eb;
      border-radius: 14px;
      font-size: 1.15rem;
      font-family: inherit;
      transition: all 0.3s ease;
      background: rgba(255,255,255,0.95);
    }
    
    .form-group textarea {
      min-height: 140px;
      resize: vertical;
      line-height: 1.6;
    }
    
    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
      outline: none;
      border-color: var(--secondary-color);
      box-shadow: 0 12px 32px rgba(59,130,246,0.2), 0 0 0 5px rgba(59,130,246,0.12);
      transform: translateY(-3px) scale(1.01);
      background: #ffffff;
    }
    
    .submit-button {
      width: 100%;
      padding: 1.6rem 2rem;
      background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
      color: white;
      border: none;
      border-radius: 14px;
      font-size: 1.25rem;
      font-weight: 700;
      cursor: pointer;
      transition: all 0.3s ease;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.75rem;
      box-shadow: 0 10px 25px rgba(59,130,246,0.2);
      letter-spacing: 0.5px;
    }
    
    .submit-button:hover {
      transform: translateY(-4px) scale(1.02);
      box-shadow: 0 20px 40px rgba(59,130,246,0.35);
    }

    .submit-button:disabled {
      opacity: 0.7;
      cursor: not-allowed;
    }

    #form-message {
      margin-top: 1rem;
      padding: 1rem;
      border-radius: 10px;
      display: none;
      animation: slideDown 0.3s ease;
      text-align: center;
    }

    #form-message i {
      margin-left: 0.5rem;
      font-size: 1.2rem;
    }

    @keyframes slideDown {
      from {
        opacity: 0;
        transform: translateY(-10px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* Floating Contact Buttons */
    .floating-contact-buttons {
      position: fixed;
      bottom: 30px;
      right: 30px;
      display: flex;
      flex-direction: column;
      gap: 15px;
      z-index: 1000;
      animation: slideUp 0.5s ease-out;
    }

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

    .floating-contact-buttons a {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 60px;
      height: 60px;
      border-radius: 50%;
      color: white;
      font-size: 28px;
      text-decoration: none;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
      transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      position: relative;
      overflow: hidden;
    }

    .floating-contact-buttons a::before {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      width: 0;
      height: 0;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.3);
      transform: translate(-50%, -50%);
      transition: width 0.6s, height 0.6s;
    }

    .floating-contact-buttons a:hover::before {
      width: 300px;
      height: 300px;
    }

    .floating-contact-buttons a i {
      position: relative;
      z-index: 1;
    }

    .floating-contact-buttons a:hover {
      transform: translateY(-8px) scale(1.1);
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    }

    .whatsapp-float {
      background: linear-gradient(135deg, #25D366, #128C7E);
    }

    .whatsapp-float:hover {
      background: linear-gradient(135deg, #128C7E, #25D366);
    }

    .phone-float {
      background: linear-gradient(135deg, #00B050, #0078D7);
    }

    .phone-float:hover {
      background: linear-gradient(135deg, #0078D7, #00B050);
    }

    /* Responsive adjustments */
    @media (max-width: 768px) {
      .floating-contact-buttons {
        bottom: 20px;
        right: 20px;
        gap: 12px;
      }

      .floating-contact-buttons a {
        width: 55px;
        height: 55px;
        font-size: 24px;
      }
    }

    @media (max-width: 480px) {
      .floating-contact-buttons {
        bottom: 20px;
        right: 20px;
        gap: 10px;
        z-index: 1001;
      }

      .floating-contact-buttons a {
        width: 50px;
        height: 50px;
        font-size: 22px;
      }
    }
    
    @media (max-width: 768px) {
      .contact-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
      }
      .contact-form {
        padding: 3rem 2rem;
        min-height: auto;
      }
      
      .form-group {
        margin-bottom: 1.75rem;
      }
      
      .form-group input,
      .form-group select,
      .form-group textarea {
        padding: 1.2rem 1rem;
        font-size: 1.05rem;
      }
      
      .form-group textarea {
        min-height: 120px;
      }
      
      .submit-button {
        padding: 1.4rem 1.8rem;
        font-size: 1.15rem;
      }
      .contact-visual {
        min-height: 400px;
        order: -1;
      }
      .contact-visual img {
        min-height: 400px;
      }
      .contact-info {
        margin-bottom: 1rem;
      }
      .contact-methods {
        gap: 2rem;
        margin-bottom: 2.5rem;
      }
    }

    /* Contact visual */
    .contact-visual {
      position: relative;
      border-radius: 24px;
      overflow: hidden;
      background: linear-gradient(135deg, rgba(255,255,255,0.15), rgba(255,255,255,0.05));
      border: 1px solid rgba(255,255,255,0.3);
      box-shadow: 0 25px 50px rgba(0,0,0,0.12);
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 550px;
      animation: floatIn 0.8s ease both;
    }

    .contact-visual img {
      width: 100%;
      height: 100%;
      min-height: 550px;
      object-fit: cover;
      transform: scale(1.05);
      animation: gentleFloat 6s ease-in-out infinite;
      transition: transform 0.5s ease;
    }

    .contact-visual:hover img {
      transform: scale(1.08);
    }

    @keyframes floatIn { from { opacity: 0; transform: translateX(-20px) translateY(16px); } to { opacity: 1; transform: translateX(0) translateY(0); } }
    @keyframes gentleFloat { 0%,100% { transform: scale(1.05) translateY(0); } 50% { transform: scale(1.07) translateY(-8px); } }
    
    /* Loading Animation */
    .loader {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: var(--bg-light);
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 10000;
      transition: opacity 0.5s, visibility 0.5s;
    }
    .loader.hidden {
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
    }
    
    /* Ensure loader doesn't block page content */
    body.loaded .loader {
      display: none;
    }
    .loader::after {
      content: '';
      width: 50px;
      height: 50px;
      border: 5px solid var(--bg-dark);
      border-top-color: var(--primary-color);
      border-radius: 50%;
      animation: loading 0.75s ease infinite;
    }
    @keyframes loading {
      from { transform: rotate(0turn) }
      to { transform: rotate(1turn) }
    }
    a { text-decoration:none; }
    .container { max-width:1200px; margin:0 auto; padding:0 20px; }

    /* Hero Section */
    .hero {
      padding: 8rem 0 4rem;
      min-height: 100vh;
      position: relative;
      display: flex;
      align-items: center;
      overflow: hidden;
      background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    }
    
    .hero-bg {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: url('https://img.freepik.com/free-vector/abstract-background-with-squares_23-2148995948.jpg');
      background-size: cover;
      background-position: center;
      opacity: 0.1;
      animation: zoom 20s infinite alternate;
    }
    
    @keyframes zoom {
      from { transform: scale(1); }
      to { transform: scale(1.1); }
    }
    
    .hero .container {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 4rem;
      align-items: center;
    }
    
    .hero-content {
      color: #fff;
    }
    
    .hero-title {
      font-size: 3.6rem;
      font-weight: 700;
      margin-bottom: 1.8 rem;
      
      line-height: 1.6;
      background: linear-gradient(135deg, #fff 0%, var(--accent-color) 50%, #fff 100%);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      text-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
      animation: gradient-shift 3s ease infinite;
      background-size: 200% 200%;
      white-space: normal;
      word-wrap: break-word;
      overflow-wrap: break-word;
    }
    
    @keyframes gradient-shift {
      0%, 100% { background-position: 0% 50%; }
      50% { background-position: 100% 50%; }
    }
    
    .hero-tagline {
      font-size: 1.4rem;
      margin-bottom: 2.5rem;
      opacity: 0.95;
      font-weight: 400;
      line-height: 1.6;
    }
    
    .hero-cta {
      display: flex;
      gap: 1rem;
      margin-bottom: 3rem;
    }
    
    .cta-button {
      padding: 1.3rem 2.8rem;
      border-radius: 50px;
      font-weight: 700;
      font-size: 1.05rem;
      transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      position: relative;
      overflow: hidden;
      display: inline-flex;
      align-items: center;
      gap: 0.8rem;
      text-decoration: none;
    }
    
    .cta-button.primary {
      background: linear-gradient(135deg, var(--accent-color), #ffed4e);
      color: var(--primary-color);
      box-shadow: 0 12px 30px rgba(255,215,0,0.35);
    }
    
    .cta-button.primary::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
      transition: left 0.5s;
    }
    
    .cta-button.primary:hover::before {
      left: 100%;
    }
    
    .cta-button.secondary {
      background: rgba(255,255,255,0.15);
      color: #fff;
      border: 2px solid rgba(255,255,255,0.3);
      backdrop-filter: blur(10px);
    }
    
    .cta-button:hover {
      transform: translateY(-7px) scale(1.02);
    }
    
    .cta-button.primary:hover {
      box-shadow: 0 18px 40px rgba(255,215,0,0.45);
    }
    
    .cta-button.secondary:hover {
      background: rgba(255,255,255,0.25);
      border-color: rgba(255,255,255,0.5);
    }
    
    .hero-features {
      display: flex;
      gap: 2rem;
      flex-wrap: wrap;
    }
    
    .feature {
      display: flex;
      align-items: center;
      gap: 0.8rem;
      color: #fff;
      font-size: 1.05rem;
      font-weight: 500;
      padding: 0.5rem 1rem;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 30px;
      backdrop-filter: blur(10px);
      transition: all 0.3s ease;
    }
    
    .feature:hover {
      background: rgba(255, 255, 255, 0.2);
      transform: translateX(-5px);
    }
    
    .feature i {
      color: var(--accent-color);
      font-size: 1.3rem;
    }

    .hero-staff-btn {
      margin-top: 2rem;
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
    }

    .cta-button.staff-button {
      background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #3b82f6 100%);
      color: #fff;
      border: 2px solid rgba(255, 255, 255, 0.15);
      backdrop-filter: blur(10px);
      box-shadow: 0 8px 25px rgba(30, 58, 138, 0.35), 
                  0 4px 12px rgba(30, 58, 138, 0.25),
                  inset 0 1px 0 rgba(255, 255, 255, 0.2);
      min-width: 200px;
      justify-content: center;
      position: relative;
      overflow: hidden;
    }
    
    .cta-button.staff-button::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
      transition: left 0.6s ease;
    }
    
    .cta-button.staff-button:hover::before {
      left: 100%;
    }
    
    .cta-button.staff-button::after {
      content: '';
      position: absolute;
      inset: -2px;
      border-radius: 50px;
      padding: 2px;
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
      -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      -webkit-mask-composite: xor;
      mask-composite: exclude;
      opacity: 0;
      transition: opacity 0.4s ease;
    }
    
    .cta-button.staff-button:hover::after {
      opacity: 1;
    }
    
    .cta-button.staff-button i {
      font-size: 1.3rem;
      transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      position: relative;
      z-index: 2;
      filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    }

    .cta-button.staff-button:hover {
      transform: translateY(-6px) scale(1.03);
      background: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #60a5fa 100%);
      border-color: rgba(255, 255, 255, 0.3);
      box-shadow: 0 15px 45px rgba(30, 58, 138, 0.45), 
                  0 8px 20px rgba(30, 58, 138, 0.3),
                  inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
    
    .cta-button.staff-button:hover i {
      transform: scale(1.2) rotate(5deg);
      filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    }
    
    .cta-button.staff-button:active {
      transform: translateY(-3px) scale(1.01);
      box-shadow: 0 8px 25px rgba(30, 58, 138, 0.35);
    }
    
    .hero-image {
      position: relative;
    }
    
    .hero-image img {
      width: 100%;
      border-radius: 20px;
      box-shadow: 0 30px 60px rgba(0,0,0,0.3);
      transform: perspective(1000px) rotateY(-10deg);
      transition: transform 0.5s ease;
    }
    
    .hero-image:hover img {
      transform: perspective(1000px) rotateY(0deg);
    }
    
    @media (max-width: 768px) {
      .hero {
        padding: 6rem 0 3rem;
      }
      .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
      }
      .hero-title {
        font-size: 2.5rem;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
      }
      .hero-tagline {
        font-size: 1.2rem;
      }
      .hero-cta {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
      }
      .hero-cta .cta-button {
        width: 100%;
        max-width: 280px;
        justify-content: center;
      }
      .hero-features {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
      }
      .hero-features .feature {
        width: 100%;
        max-width: 100%;
        justify-content: center;
        text-align: center;
      }
      .hero-staff-btn {
        justify-content: center !important;
        width: 100%;
        display: flex !important;
      }
      .hero-staff-btn .cta-button.staff-button {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
      }
      .hero-image {
        order: -1;
      }
      .hero-image img {
        transform: none;
      }
    }
    @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);
      }
    }

    /* Services - refreshed look to match activities */
    .services {
      background:
        radial-gradient(1200px 600px at 0% -20%, rgba(59,130,246,0.08), transparent 60%),
        radial-gradient(900px 500px at 110% 120%, rgba(30,58,138,0.08), transparent 60%),
        var(--bg-dark);
      padding: 6rem 0;
      position: relative;
      overflow: hidden;
    }
    .services::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 100px;
      background: linear-gradient(to bottom, var(--bg-light) 0%, var(--bg-dark) 100%);
    }
    .services h2 {
      color: var(--primary-color);
      text-align: center;
      font-size: 2.5rem;
      margin-bottom: 3rem;
      font-weight: 700;
      position: relative;
    }
    .services h2::after {
      content: '';
      display: block;
      width: 100px;
      height: 4px;
      background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
      margin: 1rem auto 0;
      border-radius: 2px;
    }
    .services .grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 2rem;
      padding: 1rem;
      perspective: 1000px;
    }
    .card {
      --card-start: var(--secondary-color);
      --card-end: var(--primary-color);
      background: rgba(255,255,255,0.7);
      border-radius: 22px;
      padding: 2.25rem 2rem;
      text-align: center;
      box-shadow: 0 12px 35px rgba(0,0,0,0.08);
      transition: var(--transition-smooth);
      position: relative;
      overflow: hidden;
      border: 1px solid rgba(255,255,255,0.35);
      transform-style: preserve-3d;
      backdrop-filter: saturate(140%) blur(8px);
    }
    .services .grid a.card { text-decoration: none; color: inherit; display: block; }
    /* gradient border mask */
    .card::before {
      content: '';
      position: absolute;
      inset: 0;
      padding: 1px;
      border-radius: 22px;
      background: linear-gradient(135deg, var(--card-start), var(--card-end));
      -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
              mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
      -webkit-mask-composite: xor;
              mask-composite: exclude;
      pointer-events: none;
      opacity: 0.25;
      transition: opacity 0.3s ease;
    }
    .card:hover {
      transform: translateY(-10px) scale(1.01);
      box-shadow: 0 22px 55px rgba(0,0,0,0.15);
    }
    .card:hover::before { opacity: 0.45; }
    .card i {
      font-size: 2.6rem;
      color: #fff;
      width: 68px;
      height: 68px;
      border-radius: 18px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(135deg, var(--card-start), var(--card-end));
      box-shadow: 0 12px 24px rgba(59,130,246,0.25);
      margin-bottom: 1rem;
      transition: var(--transition-smooth);
    }
    .card:hover i {
      transform: translateY(-3px) scale(1.06);
      box-shadow: 0 16px 28px rgba(59,130,246,0.33);
    }
    .card h3 {
      font-size: 1.2rem;
      color: var(--primary-color);
      margin-bottom: 0.5rem;
      font-weight: 700;
      position: relative;
      z-index: 1;
    }
    .card p {
      color: #4b5563;
      font-size: 0.98rem;
      line-height: 1.7;
      position: relative;
      z-index: 1;
      font-weight: 500;
    }

    /* per-card color accents */
    .services .grid .card:nth-child(1) { --card-start: #1e3a8a; --card-end: #3b82f6; }
    .services .grid .card:nth-child(2) { --card-start: #f59e0b; --card-end: #ef4444; }
    .services .grid .card:nth-child(3) { --card-start: #9333ea; --card-end: #3b82f6; }
    .services .grid .card:nth-child(4) { --card-start: #059669; --card-end: #10b981; }
    .services .grid .card:nth-child(5) { --card-start: #0ea5e9; --card-end: #6366f1; }
    .services .grid .card:nth-child(6) { --card-start: #ef4444; --card-end: #f59e0b; }

    /* Pricing */
    .pricing {
      padding: 6rem 0;
      background: linear-gradient(to bottom, var(--bg-dark), var(--bg-light));
    }
    .pricing h2 {
      color: var(--primary-color);
      text-align: center;
      font-size: 2.5rem;
      margin-bottom: 3rem;
      position: relative;
    }
    .pricing h2::after {
      content: '';
      display: block;
      width: 100px;
      height: 4px;
      background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
      margin: 1rem auto 0;
      border-radius: 2px;
    }
    .pricing .grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      gap: 2.5rem;
      padding: 1rem;
      perspective: 1000px;
    }
    .plan {
      background: #fff;
      border-radius: 20px;
      padding: 3rem 2.5rem;
      text-align: center;
      box-shadow: 0 20px 50px rgba(0,0,0,0.07);
      position: relative;
      transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      transform-style: preserve-3d;
      backface-visibility: hidden;
    }
    .plan:hover {
      transform: translateY(-10px) rotateY(5deg);
      box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    }
    .plan.featured {
      border: 2px solid var(--accent-color);
      transform: scale(1.05);
    }
    .plan.featured:hover {
      transform: scale(1.05) translateY(-10px) rotateY(5deg);
    }
    .plan.featured::before {
      content: 'الأكثر شعبية';
      position: absolute;
      top: 20px;
      right: -30px;
      background: var(--accent-color);
      color: var(--primary-color);
      padding: 0.5rem 2rem;
      transform: rotate(45deg);
      font-size: 0.85rem;
      font-weight: 600;
      box-shadow: 0 5px 15px rgba(255,215,0,0.2);
      z-index: 1;
    }
    .plan h3 {
      font-size: 1.75rem;
      margin-bottom: 1.5rem;
      color: var(--primary-color);
      position: relative;
      display: inline-block;
    }
    .plan h3::after {
      content: '';
      position: absolute;
      bottom: -5px;
      left: 0;
      right: 0;
      height: 2px;
      background: linear-gradient(to right, transparent, var(--secondary-color), transparent);
    }
    .plan .price {
      font-size: 3.5rem;
      background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      font-weight: 700;
      margin: 1rem 0;
    }
    .plan .period {
      font-size: 1.1rem;
      color: #6b7280;
      margin-bottom: 2rem;
      display: block;
    }
    .plan ul {
      list-style: none;
      margin-bottom: 2.5rem;
    }
    .plan ul li {
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 1rem 0;
      color: #4b5563;
      transition: transform 0.3s ease;
    }
    .plan ul li:hover {
      transform: translateX(-5px);
    }
    .plan ul li i {
      color: #10b981;
      margin-left: 0.75rem;
      font-size: 1.1rem;
    }
    .plan button,
    .plan-button {
      background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
      color: #fff;
      border: none;
      padding: 1.2rem 2rem;
      border-radius: 50px;
      font-size: 1.1rem;
      font-weight: 600;
      transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      cursor: pointer;
      position: relative;
      overflow: hidden;
      display: inline-block;
      text-decoration: none;
      text-align: center;
      width: 100%;
      box-sizing: border-box;
    }
    
    .plan button:hover,
    .plan-button:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 25px rgba(59,130,246,0.3);
      color: #fff;
      text-decoration: none;
    }
    
    .plan button::after,
    .plan-button::after {
      content: '';
      position: absolute;
      top: -50%;
      left: -50%;
      width: 200%;
      height: 200%;
      background: rgba(255,255,255,0.2);
      transform: rotate(45deg);
      transition: all 0.6s;
    }
    
    .plan button:hover::after,
    .plan-button:hover::after {
      transform: rotate(45deg) translate(50%, 50%);
    }

    /* Certificates Grid in Footer */
    .certificates-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1rem;
    }

    .cert-card {
      background: rgba(255, 255, 255, 0.05);
      border-radius: var(--radius-md);
      padding: 1.2rem;
      display: flex;
      align-items: center;
      gap: 1rem;
      transition: var(--transition-smooth);
      cursor: pointer;
      border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .cert-card:hover {
      background: rgba(255, 255, 255, 0.1);
      transform: translateY(-5px);
      border-color: var(--accent-color);
    }

    .cert-card .cert-icon {
      width: 40px;
      height: 40px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--accent-color);
      font-size: 1.2rem;
      transition: var(--transition-smooth);
    }

    .cert-card:hover .cert-icon {
      background: var(--accent-color);
      color: var(--primary-color);
      transform: rotate(15deg);
    }

    .cert-card span {
      font-size: 0.9rem;
      color: rgba(255, 255, 255, 0.9);
      transition: var(--transition-smooth);
    }

    .cert-card:hover span {
      color: var(--accent-color);
    }

    /* Footer */
    footer {
      background: linear-gradient(135deg, var(--primary-color) 0%, #0a1745 100%);
      color: #fff;
      position: relative;
      overflow: hidden;
      margin-top: 6rem;
      padding: 0 0 0;
      box-shadow: 0 -10px 30px rgba(0,0,0,0.1);
    }

    .footer-pattern {
      height: 100px;
      background-image: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><path d="M30 0L60 30L30 60L0 30L30 0Z" fill="rgba(255,255,255,0.05)"/></svg>');
      background-size: 30px 30px;
      animation: patternMove 20s linear infinite;
      opacity: 0.5;
    }

    @keyframes patternMove {
      0% { background-position: 0 0; }
      100% { background-position: 60px 60px; }
    }

    .footer-branding {
      text-align: center;
      padding: 3rem 0;
      max-width: 600px;
      margin: 0 auto 3rem;
      border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .footer-logo {
      height: 80px;
      margin-bottom: 1.5rem;
      filter: brightness(0) invert(1);
      transition: transform 0.3s ease;
    }

    .footer-logo:hover {
      transform: scale(1.05);
    }

    .footer-description {
      color: rgba(255,255,255,0.8);
      line-height: 1.8;
      margin-bottom: 2rem;
      font-size: 1.1rem;
    }

    .social-media {
      display: flex;
      justify-content: center;
      gap: 1.5rem;
      margin-bottom: 2rem;
    }

    .social-link {
      width: 45px;
      height: 45px;
      background: rgba(255,255,255,0.1);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 1.2rem;
      transition: all 0.3s ease;
      position: relative;
    }

    .social-link:hover {
      background: var(--accent-color);
      color: var(--primary-color);
      transform: translateY(-5px);
    }

    .social-link[data-tooltip]:before {
      content: attr(data-tooltip);
      position: absolute;
      bottom: 100%;
      right: 50%;
      transform: translateX(50%);
      padding: 0.5rem 1rem;
      background: rgba(0,0,0,0.8);
      color: white;
      font-size: 0.8rem;
      border-radius: 5px;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
      white-space: nowrap;
      margin-bottom: 5px;
    }

    .social-link:hover[data-tooltip]:before {
      opacity: 1;
      visibility: visible;
    }

    footer::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 5px;
      background: linear-gradient(to right, var(--accent-color), var(--secondary-color));
    }

    .footer-wave {
      position: absolute;
      top: -100px;
      left: 0;
      width: 100%;
      height: 100px;
      color: var(--primary-color);
    }

    .footer-wave svg {
      display: block;
      width: 100%;
      height: 100%;
    }

    .footer-main {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 40px;
      margin-bottom: 60px;
      padding: 0 20px;
      position: relative;
      z-index: 2;
    }

    .footer-section {
      position: relative;
    }
    
    .footer-organizations {
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
      align-items: flex-start;
    }
    
    .org-image {
      width: 100%;
      max-width: 280px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 15px;
      padding: 1rem;
      transition: all 0.3s ease;
      border: 1px solid rgba(255, 255, 255, 0.15);
      backdrop-filter: blur(10px);
    }
    
    .org-image:hover {
      transform: translateY(-5px);
      background: rgba(255, 255, 255, 0.15);
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    }
    
    .org-image img {
      width: 100%;
      height: auto;
      object-fit: contain;
      display: block;
      border-radius: 10px;
    }

    .footer-section h3 {
      color: var(--accent-color);
      font-size: 1.4rem;
      margin-bottom: 1.8rem;
      position: relative;
      padding-bottom: 0.8rem;
      font-weight: 600;
      letter-spacing: 0.5px;
      display: inline-block;
      text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    .footer-section h3::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      height: 2px;
      background: linear-gradient(to right, var(--accent-color), transparent);
      border-radius: 2px;
    }

    .footer-section h3::after {
      content: '';
      position: absolute;
      bottom: 0;
      right: 0;
      width: 50px;
      height: 2px;
      background: var(--accent-color);
    }

    .footer-logo {
      display: flex;
      align-items: center;
      gap: 1rem;
      margin-bottom: 1.5rem;
    }

    .footer-logo img {
      height: 50px;
      filter: brightness(0) invert(1);
    }

    .footer-logo h3 {
      margin: 0;
      padding: 0;
    }

    .footer-logo h3::after {
      display: none;
    }

    .footer-description {
      color: rgba(255,255,255,0.8);
      line-height: 1.6;
      margin-bottom: 1.5rem;
    }

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

    .social-btn {
      width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(255,255,255,0.1);
      color: #fff;
      border-radius: 50%;
      transition: var(--transition-base);
    }

    .social-btn:hover {
      background: var(--accent-color);
      color: var(--primary-color);
      transform: translateY(-3px);
    }

    .footer-section.links ul,
    .footer-section.contact ul {
      list-style: none;
      padding: 0;
    }

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

    .footer-section.links a {
      color: rgba(255,255,255,0.8);
      text-decoration: none;
      transition: var(--transition-base);
      display: inline-block;
    }

    .footer-section.links a:hover {
      color: var(--accent-color);
      transform: translateX(-5px);
    }

    /* Footer color refresh: make all texts white */
    footer p,
    footer li,
    footer a,
    footer span,
    footer .contact-text,
    footer .footer-description,
    footer .copyright p { color: #ffffff !important; }
    footer a { text-decoration: none; }
    footer a:hover { color: var(--accent-color) !important; }
    .contact-info { display: grid; gap: .8rem; }
    .contact-item { display:flex; align-items:center; gap:.8rem; background: rgba(255,255,255,0.08); border:1px solid rgba(255,255,255,0.15); padding:.8rem 1rem; border-radius:12px; }
    .contact-icon { width: 36px; height:36px; display:flex; align-items:center; justify-content:center; color:#ffd60a; background: rgba(255,255,255,0.12); border-radius:10px; }
    .contact-text { font-weight:700; color:#fff; direction:ltr; }
    .cert-card { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.18); }
    .cert-card span { color: #ffffff !important; }
    .footer-bottom { border-top-color: rgba(255,255,255,0.2); }
    .bottom-links a, .footer-extra-links a { color:#ffffff !important; }

    /* Remove text selection highlight and focus outlines in footer contact */
    footer ::selection { background: transparent; color: inherit; }
    footer .contact-info, footer .contact-info * { -webkit-tap-highlight-color: transparent; outline: none; user-select: none; }

    .footer-section.contact li {
      display: flex;
      align-items: center;
      gap: 1rem;
      margin-bottom: 1rem;
      color: rgba(255,255,255,0.8);
    }

    .footer-section.contact .icon {
      width: 35px;
      height: 35px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(255,255,255,0.1);
      border-radius: var(--radius-md);
      color: var(--accent-color);
    }

    .cert-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1rem;
    }

    .cert-item {
      background: rgba(255,255,255,0.1);
      padding: 1rem;
      border-radius: var(--radius-md);
      text-align: center;
      cursor: pointer;
      transition: var(--transition-base);
    }

    .cert-item:hover {
      background: rgba(255,255,255,0.2);
      transform: translateY(-3px);
    }

    .cert-item i {
      font-size: 1.5rem;
      color: var(--accent-color);
      margin-bottom: 0.5rem;
      display: block;
    }

    .cert-item span {
      font-size: 0.9rem;
      color: rgba(255,255,255,0.9);
    }

    .footer-bottom {
      border-top: 1px solid rgba(255,255,255,0.1);
      padding: 2rem 0;
      display: flex;
      justify-content: space-between;
      align-items: center;
      position: relative;
      z-index: 2;
    }

    .copyright p {
      color: rgba(255,255,255,0.8);
      margin: 0;
    }

    .footer-extra-links {
      display: flex;
      align-items: center;
      gap: 1rem;
    }

    .footer-extra-links a {
      color: rgba(255,255,255,0.8);
      text-decoration: none;
      transition: var(--transition-base);
    }

    .footer-extra-links a:hover {
      color: var(--accent-color);
    }

    .separator {
      color: rgba(255,255,255,0.3);
    }

    .footer-overlay {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: radial-gradient(circle at top right, var(--secondary-color) 0%, transparent 60%);
      opacity: 0.4;
    }

    @media (max-width: 1024px) {
      .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
      }
    }

    @media (max-width: 768px) {
      .footer-wave {
        top: -50px;
        height: 50px;
      }
      
      footer {
        padding-bottom: 120px !important; /* Add space for floating buttons */
      }
      
      .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
      }

      .footer-logo {
        justify-content: center;
      }

      .footer-section h3::after {
        right: 50%;
        transform: translateX(50%);
      }
      
      .footer-organizations {
        align-items: center;
      }
      
      .org-image {
        max-width: 250px;
      }

      .footer-social {
        justify-content: center;
      }

      .footer-section.contact li {
        justify-content: center;
      }

      .cert-grid {
        max-width: 300px;
        margin: 0 auto;
      }

      /* Certificates Grid Mobile Styles */
      .certificates-grid {
        grid-template-columns: 1fr !important;
        gap: 0.8rem;
        padding-bottom: 0;
        margin-bottom: 1rem;
      }
      
      .footer-section {
        margin-bottom: 1.5rem;
      }
      
      .footer-section:last-of-type {
        margin-bottom: 2rem;
      }

      .cert-card {
        padding: 0.9rem !important;
        gap: 0.8rem !important;
        flex-direction: row;
        align-items: flex-start;
      }

      .cert-card .cert-icon {
        width: 32px !important;
        height: 32px !important;
        font-size: 1rem !important;
        flex-shrink: 0;
      }

      .cert-card span {
        font-size: 0.75rem !important;
        line-height: 1.4;
        text-align: right;
      }

      .footer-section h3 {
        font-size: 1.3rem;
        margin-bottom: 1.2rem;
      }

      .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 1.5rem 0;
      }
    }
    
    @media (max-width: 480px) {
      footer {
        padding-bottom: 110px !important;
      }
      
      .certificates-grid {
        gap: 0.7rem;
      }

      .cert-card {
        padding: 0.75rem !important;
        gap: 0.7rem !important;
      }

      .cert-card .cert-icon {
        width: 28px !important;
        height: 28px !important;
        font-size: 0.9rem !important;
      }

      .cert-card span {
        font-size: 0.7rem !important;
        line-height: 1.35;
      }

      .footer-section h3 {
        font-size: 1.15rem;
        margin-bottom: 1rem;
      }
    }

    /* Responsive Design */
    @media (max-width: 768px) {
      header { padding: 2.5rem 0; }
      header .logo { font-size: 2rem; }
      header .logo img { height: 50px; }
      header .tagline { font-size: 1rem; }
      .plan.featured { transform: none; }
      .plan.featured:hover { transform: translateY(-10px) rotateY(5deg); }
      .services .grid,
      .pricing .grid {
        grid-template-columns: 1fr;
        padding: 0.5rem;
      }
      .card { padding: 2rem 1.5rem; }
      .plan { padding: 2rem 1.5rem; }
      .plan .price { font-size: 3rem; }
    }

    /* Animations for AOS Library */
    [data-aos] {
      opacity: 0;
      transition-property: transform, opacity;
    }
    [data-aos].aos-animate {
      opacity: 1;
    }