/* ===== CSS Variables ===== */
:root {
    --primary-blue: #0033CC;
    --primary-blue-dark: #002299;
    --accent-gold: #FFD700;
    --dark-bg: #0a0a14;
    --card-bg: #ffffff;
    --text-primary: #1a1a2e;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --border-color: #e5e7eb;
    --page-bg: #f0f4f8;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.08);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Public Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--page-bg);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ===== Container ===== */
.container {
    width: 100%;
    margin: 0 auto;
}

/* ===== Header ===== */
.header {
    background: linear-gradient(  to bottom,  #0033A0 0%,  #0044C8 50%,  #0033A0 100% );
    padding: 0 24px;
    position: relative;
    top: 16px;
    z-index: 1000;
    border-radius: 16px;
    margin: 16px auto 0;
    height: 77px;
    display: flex;
    align-items: center;
    max-width: calc(1440px - 96px);
    width: calc(100% - 96px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 28px;
    width: auto;
}

.nav-list {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-family: 'Public Sans', sans-serif;
    color: #ffffff;
    font-weight: 400;
    font-size: 16px;
    padding: 8px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-blue);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #ffffff;
    transition: var(--transition);
}
button.mobile-menu-btn.active {
    position: fixed;
    right: 20px;
    top: 20px;
}
main
 {
    max-width: 1440px;
    margin: 0 auto;
}
/* ===== Hero Section ===== */
.hero {
    background-color: var(--page-bg);
    padding: 24px 48px 0px;
    margin-top: 40px;
    padding-top: 0;
}

.hero-card {
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    min-height: 667px;
    position: relative;
    align-items: center;
}

.hero-content {
    width: 468px;
    min-width: 380px;
    min-height: 571px;
    padding: 48px 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 3;
    background: #fff;
    border-radius: 24px;
    margin-left: 72px;
}

.hero-content::before {
    position: absolute;
    top: 24px;
    left: 24px;
    width: calc(100% - 48px);
    height: calc(100% - 48px);
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    z-index: -1;
    box-shadow: var(--shadow-lg);
}

.hero-content h1 {
    font-family: 'Inter', sans-serif;
    color: #013FBB;
    font-size: 39px;
    font-weight: 600;
    line-height: 44px;
    letter-spacing: -1px;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-content p {
    font-family: 'Inter', sans-serif;
    color: #000000;
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    letter-spacing: -0.6px;
    margin-bottom: 28px;
    max-width: 404px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-image {
    flex: 1;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 1;
    border-radius: 32px;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    border-radius: 16px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(to bottom, #0033A0 0%, #0044C8 50%, #0033A0 100%);
    color: #ffffff;
    width: 211px;
    height: 61px;
    border-radius: 56px;
    font-weight: 700;
    font-size: 16px;
    margin-top: auto;
}

.btn-primary:hover {
    background-color: #1a1a2e;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-submit {
    font-family: 'Inter', sans-serif;
    width: 100%;
    background: linear-gradient(to bottom, #0033A0 0%, #0044C8 50%, #0033A0 100%); 
    color: #ffffff;
    padding: 16px 32px;
    height: 64px;
    font-weight: 600;
    font-size: 16px;
    border-radius: 16px;
}

.btn-submit:hover {
    background: linear-gradient(to bottom, #0033A0 0%, #0044C8 50%, #0033A0 100%);
}

.form-divider {
    margin: 8px 0 20px;
}

/* ===== Section Styles ===== */
.section {
    padding: 72px 48px 0;
}

.section-header {
    background: linear-gradient(180deg, #002880 0%, #0038A8 50%, #002880 100%);
    color: #ffffff;
    padding: 0 24px;
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 24px;
    height: 77px;
}

.section-header h2 {
    font-family: 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -1px;
    background: linear-gradient(180deg, #D4AF37 0%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.view-all {
    font-family: 'Public Sans', sans-serif;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: -0.312px;
    line-height: 24px;
}

.view-all:hover {
    opacity: 0.8;
}

/* ===== Cards Container (Flexbox) ===== */
.cards-container {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

/* ===== Card Styles ===== */
.card {
    flex: 1 1 calc(33.333% - 16px);
    min-width: min(100%, 300px);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

/* Card hover removed */

.card-image {
    position: relative;
    height: 390px;
    overflow: hidden;
    margin: 0;
    border-radius: 24px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Card image hover removed */

.card-body {
    padding: 16px 0 0;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.tag {
    font-family: 'Public Sans', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.tag-trending {
    background: linear-gradient(90deg, #F7BD01 0%, #FF9D3F 100%);
    color: var(--dark-bg);
}

.tag-popular {
    background: linear-gradient(90deg, #0137A8 0%, #0145C8 100%);
    color: var(--card-bg);
}

.read-time {
    font-family: 'Public Sans', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #68778E;
}

.card-body h3 {
    font-family: 'Public Sans', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 23.5px;
    letter-spacing: -0.5px;
    color: #000000;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-body p {
    font-family: 'Public Sans', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #000000;
    line-height: 23.5px;
    letter-spacing: -0.4px;
    margin-bottom: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    font-family: 'Public Sans', sans-serif;
    font-size: 16px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #013FBB;
    letter-spacing: -0.312px;
}

.read-more:hover {
    color: #D4AF37;
}

.read-more .arrow {
    transition: transform 0.3s ease;
    color: #D4AF37;
}

.read-more:hover .arrow {
    transform: translateX(4px);
}

/* ===== Contact Section ===== */
.contact-section {
    background-color: var(--page-bg);
    padding: 72px 48px 40px;
}

.contact-wrapper {
    display: flex;
    gap: 24px;
}

.contact-info {
    padding: 48px 32px;
    background: rgba(1, 63, 187, 0.1);
    border-radius: 32px;
    flex-basis: 50%;
}

.contact-label {
    font-family: 'Public Sans', sans-serif;
    color: #013FBB;
    font-size: 24px;
    font-weight: 500;
    line-height: 28.2px;
}

.contact-info h2 {
    font-family: 'Public Sans', sans-serif;
    font-size: 48px;
    font-weight: 700;
    margin: 20px 0 20px;
    line-height: 48px;
    letter-spacing: -0.96px;
    color: #013FBB;
}

.contact-desc {
    font-family: 'Public Sans', sans-serif;
    color: #013FBB;
    margin-bottom: 24px;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: -0.2px;
    line-height: 23.5px;
}

.contact-newsletter {
    font-family: 'Public Sans', sans-serif;
    font-size: 19px;
    font-weight: 400;
    color: #000000;
    line-height: 22px;
    letter-spacing: -0.312px;
    margin-bottom: 24px;
}

.contact-benefits {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-benefits li {
    font-family: 'Public Sans', sans-serif;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.9);
    letter-spacing: -0.312px;
    line-height: 24px;
}

/* ===== Contact Form ===== */
.contact-form {
    padding: 48px 54px;
    background: rgba(1, 63, 187, 0.1);
    border-radius: 32px;
    flex-basis: 50%;
}

.main-form {
    padding: 34px;
    background-color: #ffffff;
    border-radius: 24px;
    min-height: 608px;
}

.form-row {
    display: flex;
    gap: 16px;
}

.form-group {
    flex: 1;
    margin-bottom: 20px;
}

.form-group label {
    font-family: 'Public Sans', sans-serif;
    display: block;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 8px;
    color: #314158;
    letter-spacing: -0.312px;
    line-height: 24px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper svg {
    position: absolute;
    left: 14px;
    color: var(--text-light);
    pointer-events: none;
}

.input-wrapper input,
.input-wrapper textarea {
    font-family: 'Public Sans', sans-serif;
    width: 100%;
    padding: 16px 16px 16px 44px;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: -0.312px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition);
    background-color: #ffffff;
}

.input-wrapper input:focus,
.input-wrapper textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 51, 204, 0.1);
}

.input-wrapper input::placeholder,
.input-wrapper textarea::placeholder {
    color: rgba(10, 10, 10, 0.5);
}

.textarea-wrapper {
    align-items: flex-start;
}

.textarea-wrapper svg {
    top: 14px;
}

.textarea-wrapper textarea {
    resize: vertical;
    min-height: 120px;
}
.error {
        color: red;
        font-size: 12px;
    }

/* ===== Footer ===== */
.footer {
    background-color: #0133A1;
    padding: 48px 24px 48px;
    text-align: center;
    border-radius: 16px;
    margin: 0px auto 16px;
    max-width: calc(1440px - 96px);
    width: calc(100% - 96px);
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 29px;
    width: auto;
    margin: 0 auto;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 20px;
}
nav.footer-nav ul {
    display: flex;
    column-gap: 32px;
    flex-wrap: wrap;
    text-align: center;
    justify-content: center;
}

.footer-nav a {
    font-family: 'Inter', sans-serif;
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
    font-weight: 400;
    line-height: 20px;
    transition: var(--transition);
}

.footer-nav a:hover {
    color: #ffffff;
}

/* recaptcha CSS */
        @media screen and (max-width: 768px) {
            #recaptcha-container{
              transform: scale(0.78);
              transform-origin: 0 0;
            }
        }
        .g-recaptcha {
            margin: 0px;
        }
        #g-recaptcha-response {
            display: block !important;
            position: absolute;
            margin: -50px 0 0 0 !important;
            z-index: -999999;
            opacity: 0;
        }
/* ===== Responsive Styles ===== */
@media screen and (max-width: 1024px) {
   .contact-form{
    width: 50%;
   }
   .g-recaptcha {
    margin: 0px;
    margin-left: -59px;
}
.form-row{
    flex-direction: column;
    gap: 0;
   }


    
}
@media (max-width: 768px) {
    /* ===== Header ===== */
    .header {
        margin: 12px auto 0;
        padding: 0 16px;
        height: 64px;
        border-radius: 12px;
        max-width: calc(100% - 32px);
        width: auto;
    }

    .logo-img {
        height: 22px;
    }

    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 280px;
        height: 100vh;
        background: linear-gradient(to bottom, #0033A0 0%, #0044C8 50%, #0033A0 100%);
        flex-direction: column;
        justify-content: flex-start;
        padding: 80px 32px 32px;
        gap: 24px;
        transition: right 0.3s ease;
        z-index: 999;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
    }

    .nav-list.active {
        right: 0;
    }

    .nav-link {
        font-size: 16px;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
    }

    .mobile-menu-btn {
        display: flex;
        z-index: 1001;
        position: relative;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* ===== Hero Section ===== */
    .hero {
        padding: 16px 16px 32px;
        margin-top: -48px;
        padding-top: 64px;
    }

    .hero-card {
        border-radius: 20px;
        min-height: auto;
        flex-direction: column;
        margin-top: 20px;
    }

    .hero-image {
        position: relative;
        height: 158px;
        border-radius: 20px 20px 0 0;
        order: 1;
    }

    .hero-image img {
        object-position: center center;
    }

    .hero-content {
        width: 100%;
        min-width: 73%;
        padding: 24px 16px 32px;
        background: rgb(255 255 255);
        border-radius: 0 0 20px 20px;
        margin: auto;
        min-height: auto;
        order: 2;
    }

    .hero-content::before {
        display: none;
    }

    .hero-content h1 {
        font-size: 24px;
        margin-bottom: 12px;
        line-height: 34px;
    }

    .hero-content p {
        font-size: 14px;
        margin-bottom: 20px;
        max-width: 100%;
    }

    .btn-primary {
        width: 100%;
        max-width: 280px;
        height: 52px;
        font-size: 14px;
        border-radius: 50px;
    }

    /* ===== Section Styles ===== */
    .section {
        padding: 24px 16px;
    }

    .section-header {
        padding: 0 16px;
        height: 56px;
        border-radius: 12px;
        margin-bottom: 20px;
    }

    .section-header h2 {
        font-size: 18px;
        letter-spacing: -0.5px;
    }

    .view-all {
        font-size: 13px;
    }

    /* ===== Cards ===== */
    .cards-container {
        flex-direction: column;
        gap: 20px;
    }

    .card {
        max-width: 100%;
        min-width: 100%;
        border-radius: 16px;
    }

    .card-image {
        height: 200px;
        margin: 0;
        border-radius: 16px;
    }

    .card-body {
        padding: 16px;
    }

    .card-meta {
        gap: 10px;
        margin-bottom: 10px;
    }

    .tag {
        padding: 3px 8px;
        font-size: 10px;
    }

    .card-body h3 {
        font-size: 16px;
        margin-bottom: 8px;
        letter-spacing: -0.3px;
    }

    .card-body p {
        font-size: 14px;
        margin-bottom: 12px;
        line-height: 20px;
    }

    .read-more {
        font-size: 14px;
    }

    /* ===== Contact Section ===== */
    .contact-section {
        padding: 32px 16px;
    }

    .contact-section .container {
        padding: 0;
    }

    .contact-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .contact-info {
        padding: 28px 20px;
        border-radius: 16px;
    }

    .contact-label {
        font-size: 16px;
    }

    .contact-info h2 {
        font-size: 28px;
        line-height: 32px;
        margin: 12px 0 12px;
    }

    .contact-desc {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .contact-newsletter {
        font-size: 14px;
        line-height: 20px;
        margin-bottom: 20px;
    }

    .contact-benefits {
        gap: 10px;
    }

    .contact-benefits li {
        font-size: 14px;
        gap: 10px;
        line-height: 20px;
    }

    .contact-benefits li svg {
        flex-shrink: 0;
        width: 18px;
        height: 18px;
    }

    /* ===== Contact Form ===== */
    .contact-form {
        padding: 28px 20px;
        border-radius: 16px;
        width: 100% ;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-group {
        margin-bottom: 16px;
    }

    .form-group label {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .input-wrapper input,
    .input-wrapper textarea {
        padding: 14px 14px 14px 40px;
        font-size: 14px;
        border-radius: 10px;
    }

    .input-wrapper svg {
        left: 12px;
        width: 14px;
        height: 14px;
    }

    .textarea-wrapper textarea {
        min-height: 100px;
    }

    .btn-submit {
        height: 56px;
        font-size: 14px;
        border-radius: 12px;
    }
    
    .main-form{
        padding: 16px;
    }
    /* ===== Footer ===== */
    .footer {
        margin: 24px auto 16px;
        padding: 32px 20px 40px;
        border-radius: 12px;
        max-width: calc(100% - 32px);
        width: auto;
    }

    .footer-logo {
        margin-bottom: 16px;
    }

    .footer-logo-img {
        height: 24px;
    }

    .footer-nav {
        flex-direction: column;
        gap: 12px;
    }

    .footer-nav a {
        font-size: 12px;
        padding: 4px 0;
    }
    .g-recaptcha{
        margin-left: -10px;
    }
}
