/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap');

body {
    font-family: 'Lato', sans-serif !important;
    background: #f7f7f7;
    color: #2b2b2b !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.8 !important;
}




.styled-link {
    display: inline-block;
    padding: 8px 12px;
    background-color: #2b456c; /* Blå bakgrund */
    color: #fff; /* Vit text */
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px; /* Rundade kanter */
    transition: background-color 0.3s ease;
}

.styled-link:hover {
    background-color: #20375a; /* Mörkare blå vid hover */
    text-decoration: underline;
}

/* Main Content Container (Transparent, Floating Effect) */
main {
    max-width: 880px;
    margin: 60px auto;
    padding: 45px;
    border-radius: 14px;
    backdrop-filter: blur(8px); /* Soft blur for a glass effect */
}

/* Section Headings */
#best-card-benefits,
#how-to-apply,
#apply-now {
    font-size: 2rem;
    font-weight: 700;
    color: #1c3d63;
    padding: 14px 20px;
    margin-top: 40px;
    line-height: 1.4;
    border-left: 6px solid #d88a10;
    background: rgba(247, 249, 252, 0.9); /* Light transparent background */
    border-radius: 6px;
    transition: all 0.3s ease-in-out;
}

#best-card-benefits:hover,
#how-to-apply:hover,
#apply-now:hover {
    background: rgba(238, 243, 252, 0.95);
    transform: translateX(5px);
}

/* List Styling */
ul#benefits-list, ol#application-steps {
    padding: 0;
    margin-top: 18px;
}

/* Benefits List */
ul#benefits-list li {
    list-style: none;
    font-size: 1.2rem;
    background: rgba(243, 246, 250, 0.9);
    padding: 16px 20px;
    margin-bottom: 12px;
    border-radius: 8px;
    border-left: 6px solid #d88a10;
    transition: 0.3s ease-in-out;
}

ul#benefits-list li:hover {
    background: rgba(252, 245, 232, 0.9);
    transform: translateX(5px);
}

/* Ordered List for Steps */
ol#application-steps {
    counter-reset: step-counter;
    padding-left: 0;
}

ol#application-steps li {
    counter-increment: step-counter;
    font-size: 1.2rem;
    padding: 16px 22px;
    background: #df7a3f;
    margin-bottom: 12px;
    border-radius: 8px;
    position: relative;
    transition: 0.3s;
}



ol#application-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: -34px;
    top: 50%;
    transform: translateY(-50%);
    background: #d88a10;
    color: white;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    font-weight: bold;
    border-radius: 50%;
    font-size: 1.1rem;
}

/* Call-to-Action */
#apply-call-to-action {
    font-size: 1.3rem;
    text-align: center;
    background: rgba(238, 244, 252, 0.85);
    padding: 18px;
    border-radius: 8px;
}

/* CTA Button */
.btn-primary {
    display: inline-block;
    text-decoration: none;
    background: linear-gradient(135deg, #1c3d63, #112a48);
    color: white;
    padding: 16px 26px;
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #112a48, #0b1a2d);
    transform: scale(1.07);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.25);
}

/* Hero Section */
#hero-section {
    text-align: center;
    padding: 50px 25px;
}

/* Main Title */
#Kortkategorier {
    font-size: 2.7rem;
    font-weight: 700;
    color: #1c3d63;
    margin-bottom: 15px;
}

/* Sub Title */
#kreditkort-namn {
    font-size: 1.9rem;
    font-weight: 600;
    color: #d88a10;
    margin-bottom: 25px;
}

/* Image Styling */
#kreditkort-bild {
    max-width: 32%;
    height: auto;
    border-radius: 14px;
    box-shadow: 0px 10px 22px rgba(0, 0, 0, 0.1);
    transition: 0.3s ease-in-out;
    cursor: pointer;
}

/* Image Styling */
#kreditkort-bild2 {
    max-width: 60%;
    height: auto;
    border-radius: 14px;
    box-shadow: 0px 10px 22px rgba(0, 0, 0, 0.1);
    transition: 0.3s ease-in-out;
    cursor: pointer;
}

#kreditkort-bild:hover {
    transform: scale(1.05);
    box-shadow: 0px 12px 25px rgba(0, 0, 0, 0.15);

}

/* --- NYA ELEMENT I HERO SECTION --- */
#hero-section {
    border-radius: 12px;
    margin-bottom: 30px;
}

#hero-section p {
    font-size: 1.25rem;  /* Lite större text för bättre läsbarhet */
    max-width: 750px;  /* Något bredare för bättre flöde */
    margin: 10px auto;  /* Lite mer luft mellan stycken */
    color: #2b2b2b;  /* Mörkare färg för bättre kontrast */
    line-height: 1.7;  /* Ökad radavstånd för läsbarhet */
    text-align: center;  /* Centrerad text för bättre estetik */
    font-weight: 400;  /* Lite kraftigare vikt för tydlighet */
}


/* --- GÖR BILDEN TILL EN LÄNK --- */
#kreditkort-bild {
    transition: transform 0.3s ease-in-out;
}

#kreditkort-bild:hover {
    transform: scale(1.05);
}

/* --- INTRODUKTIONSTEXTER --- */
#intro-text-1,
#intro-text-2,
#benefits-intro,
#benefits-summary,
#apply-intro,
#apply-summary {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #2b2b2b;
    margin-bottom: 15px;
}

/* --- NY LÄNK I ANSÖKNINGSPROCESSEN --- */
#apply-link-1 {
    color: #c98c00;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

#apply-link-1:hover {
    color: #a76e00;
    text-decoration: underline;
}

#rating-criteria {
    font-size: 1.9rem;
    font-weight: 700;
    color: #1d3557;
    padding: 12px 18px;
    margin-top: 35px;
    line-height: 1.4;
    border-left: 5px solid #c98c00;
    background: #f8f9fc;
    border-radius: 6px;
}

#rating-intro, #rating-summary {
    font-size: 1.2rem;
    max-width: 750px;
    margin: 10px auto;
    color: #2b2b2b;
    line-height: 1.7;
    text-align: center;
}

ul#rating-list {
    padding: 0;
    margin-top: 15px;
}

ul#rating-list li {
    list-style: none;
    font-size: 1.15rem;
    background: #f1f4f8;
    padding: 14px 18px;
    margin-bottom: 10px;
    border-radius: 6px;
    border-left: 5px solid #c98c00;
    transition: 0.3s ease-in-out;
}

ul#rating-list li:hover {
    background: #fef8ea;
    transform: translateX(5px);
}

#rating-intro {
    text-align: left;
}

/* --- RESPONSIVE DESIGN FOR SMALLER SCREENS --- */
@media (max-width: 1024px) {
    main {
        max-width: 95%;
        padding: 30px;
    }
    
    #hero-section {
        padding: 40px 15px;
    }
    
    #Kortkategorier {
        font-size: 2.3rem;
    }

    #kreditkort-namn {
        font-size: 1.7rem;
    }

    #articles-title {
        font-size: 2.1rem;
    }

    #articles-intro {
        font-size: 1.1rem;
        line-height: 1.6;
    }
    
    .article-content h3 {
        font-size: 1.4rem;
    }

    .article-content p {
        font-size: 0.95rem;
    }
}

/* MOBILE DESIGN */
@media (max-width: 768px) {
    #Kortkategorier {
        font-size: 2rem;
    }

    #kreditkort-namn {
        font-size: 1.5rem;
    }

    #kreditkort-bild {
        max-width: 50%;
    }

    #articles-title {
        font-size: 2rem;
    }

    #articles-intro {
        font-size: 1rem;
    }

    .article-card {
        max-width: 90%;
        margin: 0 auto;
    }

    .article-content h3 {
        font-size: 1.3rem;
    }

    .article-content p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    #hero-section {
        padding: 30px 10px;
    }

    #Kortkategorier {
        font-size: 1.8rem;
    }

    #kreditkort-namn {
        font-size: 1.3rem;
    }

    #kreditkort-bild {
        max-width: 60%;
        margin: 0 auto;
    }

    #articles-title {
        font-size: 1.8rem;
    }

    #articles-intro {
        font-size: 1rem;
        line-height: 1.5;
    }

    .article-card {
        max-width: 95%;
    }
}

#application-steps {
    padding-left: 0;
    margin: 0 auto; /* Centers it */
}

#application-steps li {
    font-size: 1.1rem;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.85);
    border-left: 5px solid #d88a10;
    margin-bottom: 12px;
    border-radius: 8px;
    position: relative;
    list-style: none;
}

/* Style step number */
#application-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    background: #d88a10;
    color: white;
    width: 28px;
    height: 28px;
    text-align: center;
    line-height: 28px;
    font-weight: bold;
    border-radius: 50%;
    font-size: 1rem;
}

/* Base Link Styles */
.link {
    color: #2b456c; /* Elegant golden color, adjust to match your theme */
    text-decoration: none;
    font-weight: 500;
    border-bottom: 2px solid transparent; /* To maintain layout */
    padding-bottom: 2px; /* Adds space between text and border */
    transition: all 0.3s ease-in-out; /* Smooth transition for hover effects */
    display: inline-block; /* Allow for padding and margin manipulations */
  }
  
  /* Hover Effect */
  .link:hover {
    color: #ac7a06; /* Slightly darker golden color on hover */
    border-bottom: 2px solid #ac7a06; /* Adds underline on hover */
    text-decoration: none; /* Ensures no default underline */
  }
  
  /* Responsive Design */
  @media screen and (max-width: 768px) {
    .link {
        font-size: 20px; /* Slightly smaller font on mobile for better readability */
    }
  } 
  
  @media screen and (max-width: 480px) {
    .link {
        font-size: 28px; /* Further reduce font size for very small screens */
        padding-bottom: 1px; /* Reduce padding for compact view */
    }
  }

/* Tips Box */
.tip-box {
    background-color: #df7a3f; /* Clean white background */
    padding: 20px 25px; /* More padding for better readability */
    margin-top: 25px;
    font-size: 1.1em;
    color: #333;
    border-radius: 10px; /* Rounded corners for a modern look */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08); /* Softer shadow for depth */
    text-align: left;
  }
  
  .tip-box h4 {
    font-size: 1.3em;
    margin-bottom: 10px;
    color: #333;
    font-weight: 600;
  }
  
  .tip-box p {
    font-size: 1.1em;
    line-height: 1.7; /* Better spacing for readability */
    color: #555; /* Slightly softer text color */
    text-align: left;
  }

.article-date {
    display: block;
    font-size: 0.9rem;
    color: #777;
    margin-top: 10px;
    font-style: italic;
  }

/* Fix alignment on smaller screens */
@media (max-width: 768px) {
    #application-steps {
        padding: 0 10px; /* adds breathing room on small screens */
        overflow-x: hidden; /* prevents right-side overflow */
    }

    #application-steps li {
        display: flex;
        flex-direction: column; /* stack image above text */
        align-items: flex-start; /* align to left */
        font-size: 1rem;
        padding: 10px 0;
        margin-bottom: 20px;
        box-sizing: border-box;
        width: 100%;
        word-wrap: break-word;
    }

    #application-steps li a {
        display: flex;
        flex-direction: column; /* stack contents */
        align-items: flex-start;
        text-decoration: none;
        color: inherit;
        width: 100%;
    }

    #application-steps li img {
        width: 100%;         /* image fills container width */
        min-width: 150px;    /* prevent it from getting *too* big */
        height: auto;
        margin: 0 0 10px 0;
        border-radius: 3px;  /* optional: smoother look */
    }

    #application-steps li div p {
        margin: 0;
        color: #333;
        line-height: 1.4;
        white-space: normal; /* allow text wrapping */
    }

    #application-steps li::before {
       display: none;
    }
}




#faq-section {
    max-width: 800px;
    margin: 50px auto;
    padding: 25px;
    border-radius: 16px;
    transition: all 0.3s ease-in-out;
}

#faq-section h2 {
    text-align: center;
    font-size: 28px;
    color: #333;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.faq-item {
    background: #f7f7f7;
    margin-bottom: 12px;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: #f7f7f7;
    border: none;
    font-size: 18px;
    font-weight: bold;
    padding: 18px 22px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #333;
    transition: all 0.3s ease-in-out;
    border-radius: 10px;
    border: #333;
}

.faq-question:hover {
    background-color: #2b456c;;
    box-shadow: 0px 4px 12px rgba(201, 140, 0, 0.3);
    
}

.faq-question::after {
    content: "\002B"; /* Plus icon */
    font-size: 22px;
    font-weight: bold;
    color: #333;
    transition: transform 0.3s ease-in-out;
}



.faq-item.active .faq-question::after {
    content: "\2212"; /* Minus icon */
    color: #fff;
}

.faq-answer {
    display: none;
    padding: 18px 22px;
    font-size: 17px;
    color: #333;
    background: #f7f7f7;
    border-top: 2px solid #c98c00;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    display: block;
    animation: fadeIn 0.4s ease-in-out;
}

/* Fade-in effect */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive tweaks */
@media (max-width: 768px) {
    #faq-section {
        padding: 20px;
    }
    .faq-question {
        font-size: 16px;
        padding: 14px 18px;
    }
    .faq-answer {
        font-size: 15px;
    }
}

/* Stil för tabell med avgifter och räntor */
#fees-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    background-color: #f9f9f9;
}

#fees-table th, #fees-table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

#fees-table th {
    background-color: #2b456c;
    color: white;
    font-weight: bold;
}

#fees-table tr:nth-child(even) {
    background-color: #f2f2f2;
}

#fees-table tr:hover {
    background-color: #e0f7fa;
}

#flexibility {
    font-size: 2rem;
    color: #2b456c;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}

#flexibility-intro, #flexibility-summary {
    font-size: 1.2rem;
    color: #444;
    line-height: 1.8;
    text-align: center;
    max-width: 850px;
    margin: 0 auto 25px;
}

#flexibility-list {
    list-style: none;
    padding: 0;
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#flexibility-list li {
    background: linear-gradient(135deg, #f8fafc, #eef3f9);
    padding: 16px 22px;
    border-radius: 10px;
    font-size: 1.2rem;
    color: #2b456c;
    font-weight: 600;
    display: flex;
    align-items: flex-start; /* Ensures top alignment for multi-line text */
    gap: 14px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    text-align: left;
}

#flexibility-list li::before {
    content: "✓";
    color: #c98c00;
    font-weight: bold;
    font-size: 1.5rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px; /* Ensures consistent spacing */
    height: 30px; 
    background: rgba(201, 140, 0, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
}

#flexibility-list li span {
    flex: 1; /* Ensures text takes the remaining space */
    display: block;
}

#flexibility-list li:hover {
    background: #2b456c;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

#flexibility-list li:hover::before {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
}

/* Ensuring better alignment on smaller screens */
@media (max-width: 768px) {
    #flexibility-list {
        padding: 0 15px;
    }
}





/* Image Styling */
#kreditkort-bild-artikel {
    width: 760px;    
    border-radius: 8px;
    box-shadow: 0px 10px 22px rgba(0, 0, 0, 0.1);
    transition: 0.3s ease-in-out;
    cursor: pointer;


}

.blue{
   color:#2b456c;

}

.orange {
    color: #c98c00; 
  }

  #articlesection {
    padding: 0px;
    border-radius: 12px;
    max-width: 750px;
    margin: 0px auto;
  }
  
  #articlesection ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
  }


  #articlesection li {
    position: relative;
    margin-bottom: 16px;
    font-size: 1.125rem;
    line-height: 1.5;
    color: #333;
    font-weight: 500;
    text-align: left;
    padding-left: 30px;
    margin-left: 10px;

  }
  
  #articlesection li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 10px;
    height: 10px;
    background-color: #2b456c;
  }

  #withoutbullet li::before {
    content: none !important;
  }

  #withoutbullet {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  #withoutbullet li {
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
  }
  
  #withoutbullet a {
    display: flex;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
    width: 100%;
    gap: 15px;
  }
  
  #withoutbullet img {
    width: 70px;
    height: auto;
    flex-shrink: 0;
    border-radius: 8px;
    object-fit: contain;
    background: #f9f9f9;
    padding: 5px;
  }
  
  #withoutbullet strong {
    font-size: 18px;
    color: #333;
    margin-bottom: 6px;
    display: block;
  }
  
  #withoutbullet p {
    margin: 0;
    color: #555;
    font-size: 14px;
    line-height: 1.5;
  }
  
  /* Mobilanpassning */
  @media (max-width: 480px) {
    #withoutbullet a {
      flex-direction: column;
      align-items: flex-start;
    }
    
    #withoutbullet img {
      width: 100%;
      max-width: 200px;
      margin-bottom: 10px;
    }
    
    #withoutbullet strong {
      font-size: 16px;
    }
  
    #withoutbullet p {
      font-size: 13px;
    }
  }
  
  
  

#articlesection {
    text-align: center;
    padding: 50px 10px;
}

#articlesection p {
    font-size: 1.25rem;  /* Lite större text för bättre läsbarhet */
    max-width: 810px;  /* Något bredare för bättre flöde */
    margin: 10px auto;  /* Lite mer luft mellan stycken */
    color: #2b2b2b;  /* Mörkare färg för bättre kontrast */
    line-height: 1.7;  /* Ökad radavstånd för läsbarhet */
    font-weight: 400;  /* Lite kraftigare vikt för tydlighet */
    text-align: left;
    padding: 10px;


}

#articlesection h3 {
    font-size: 1.6rem;  /* Lite större text för bättre läsbarhet */
    max-width: 810px;  /* Något bredare för bättre flöde */
    margin: 10px auto;  /* Lite mer luft mellan stycken */
    color: #333;  /* Mörkare färg för bättre kontrast */
    line-height: 1.7;  /* Ökad radavstånd för läsbarhet */
    font-weight: 600;  /* Lite kraftigare vikt för tydlighet */
    margin-top: 50px;
    text-align: left;
    padding: 10px;
}

#articlesection h2 {
    font-size: 2rem;  /* Lite större text för bättre läsbarhet */
    max-width: 810px;  /* Något bredare för bättre flöde */
    margin: 10px auto;  /* Lite mer luft mellan stycken */
    color: #333;  /* Mörkare färg för bättre kontrast */
    line-height: 1.7;  /* Ökad radavstånd för läsbarhet */
    font-weight: 600;  /* Lite kraftigare vikt för tydlighet */
    margin-top: 50px;
    text-align: left;
    padding: 10px;
}

#articlesection h1 {
    font-size: 3.5rem;  /* Lite större text för bättre läsbarhet */
    max-width: 1000px;  /* Något bredare för bättre flöde */
    margin: 10px auto;  /* Lite mer luft mellan stycken */
    color: #333;  /* Mörkare färg för bättre kontrast */
    line-height: 1.7;  /* Ökad radavstånd för läsbarhet */
    font-weight: 800;  /* Lite kraftigare vikt för tydlighet */
}




  

/* Responsive styles */
@media (max-width: 1024px) {
    #articlesection h1 {
        font-size: 2.8rem;
    }

    #articlesection h2 {
        font-size: 1.75rem;
    }

    #articlesection p {
        font-size: 1.1rem;
        min-width: 400px;       /* Full width */

    }
}

@media (max-width: 768px) {
    #articlesection h1 {
        font-size: 2.3rem;
    }

    #articlesection h2 {
        font-size: 1.5rem;
    }

    #articlesection p {
        font-size: 1rem;
        line-height: 1.5;
        min-width: 300px;       /* Full width */
        padding: 0 10px;       /* Add some padding so text isn't edge-to-edge */
        box-sizing: border-box;

        



    }
    /* Image Styling */
#kreditkort-bild-artikel {
    width: 400px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0px 10px 22px rgba(0, 0, 0, 0.1);
    transition: 0.3s ease-in-out;
    cursor: pointer;
}
}

#linkunderline_small {
    text-decoration: none;
    color: #2b456c;
    font-weight: 400;
    position: relative;
    transition: color 0.3s ease;
    font-size: 1em;
  }
  
  #linkunderline_small::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px; /* Adjust as needed */
    width: 100%;
    height: 2px;
    background-color: #2b456c;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
  }
  
  #linkunderline_small:hover {
    color: #243a5c;
  }
  
  #linkunderline_small:hover::after {
    transform: scaleX(1);
  }

  .converter {
    padding: 2rem 2.5rem;
    border-radius: 16px;
    width: 640px;
    text-align: center;
  }


  label {
    display: block;
    margin: 1rem 0 0.4rem;
    font-weight: 600;
    color: #555;
    text-align: left;
    font-size: 0.9rem;
  }

  input[type="number"] {
    width: 100%;
    padding: 12px 16px;
    border: 1.8px solid #ddd;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
    transition: border-color 0.3s ease;
  }

  input[type="number"]:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 8px rgba(0,123,255,0.3);
  }

  .exchange-rate {
    margin-top: 1.5rem;
    font-size: 1.2rem;
    color: #007bff;
    font-weight: 600;
    min-height: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .spinner {
    width: 20px;
    height: 20px;
    border: 3px solid #007bff;
    border-top: 3px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 0.6rem;
  }

  @keyframes spin {
    to { transform: rotate(360deg); }
  }

  .error {
    color: #e03e3e;
  }
  
  .footer_sgd {
    margin-top: 1.8rem;
    font-size: 0.8rem;
    color: #888;
    user-select: none;
  }

  .card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
  }

  .card {
    text-align: center;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 16px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.06);
    background-color: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

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

  .card i {
    font-size: 32px;
    color: #2b456c;
    margin-bottom: 10px;
  }

  .card h4 {
    color: #2b456c;
    margin: 10px 0 5px;
    font-size: 1.1em;
  }

  .card p {
    color: #666;
    font-size: 0.95em;
  }

  @media (max-width: 600px) {
    .card-grid {
      grid-template-columns: 1fr;
    }
  }