/* SPH Media Brand Colors */
:root {
    --sph-red: #D71920;
    --sph-blue:#0e3aa8;
    --sph-dark: #1a1a1a;
    --sph-gray: #4a4a4a;
    --sph-light-gray: #f5f5f5;
    --sph-white: #ffffff;
    --text-primary: #2d2d2d;
    --text-secondary: #6c757d;
    --border-color: #e0e0e0;
    --success-green: #28a745;
    --focus-shadow: rgba(215, 25, 32, 0.25);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-primary);
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    overflow-x: hidden;
    padding: 0px;
    margin: 0px;
}

/* Main Container */
.main-container {
    /* min-height: 100vh; */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px;
}

.content-wrapper {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    background: var(--sph-white);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Hero Section */
.hero-section {
    background: #0e3aa8;
    padding: 30px 60px;
    color: var(--sph-white);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    /* min-height: 100vh; */
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(215, 25, 32, 0.1) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { 
        transform: translate(0, 0) scale(1); 
    }
    50% { 
        transform: translate(-10px, -10px) scale(1.05); 
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}



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


.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInLeft 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s backwards;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.logo-containerwrapper {
    background: #fff;
    padding: 10px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.logo-containerwrapper img {
    max-width: 100%;
    width: 100px;
}

.hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    margin-bottom: 50px;
    animation: fadeInLeft 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s backwards;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation: fadeInLeft 1s cubic-bezier(0.16, 1, 0.3, 1) 0.6s backwards;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
}
.midd-footer-28 {
    background: #222;
}
.midd-footer-28 p, .midd-footer-28 a {
    color: #fff;
    text-decoration: none;
    margin: 0;
}

.feature-icon {
    color: var(--sph-white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* Form Section */
.form-section {
    padding: 30px 60px;
    background: var(--sph-white);
    display: flex;
    align-items: center;
    justify-content: center;
    /* min-height: 100vh; */
}

.form-container {
    max-width: 550px;
    width: 100%;
}

.form-header {
    animation: fadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s backwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.form-title {
    font-size: 2.5rem;
    color: var(--sph-dark);
    margin-bottom: 12px;
    font-weight: 700;
}

.form-description {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 0;
}

/* Form Groups with Animation */
.form-group-custom {
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.form-group-custom:nth-child(1) { animation-delay: 0.6s; }
.form-group-custom:nth-child(2) { animation-delay: 0.7s; }
.form-group-custom:nth-child(3) { animation-delay: 0.8s; }
.form-group-custom:nth-child(4) { animation-delay: 0.9s; }
.form-group-custom:nth-child(5) { animation-delay: 1s; }

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

/* Form Labels */
.form-label {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.95rem;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

/* Form Controls */
.form-control-custom {
    padding: 10px 20px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
    transition: all 0.3s ease;
    background: var(--sph-white);
}

.form-control-custom:focus {
    outline: none;
    border-color: var(--sph-blue);
    box-shadow: 0 0 0 4px var(--focus-shadow);
    transform: translateY(-2px);
}

.form-control-custom::placeholder {
    color: #b8b8b8;
}

.form-control-custom.is-invalid {
    border-color: #dc3545;
}

.form-control-custom.is-valid {
    border-color: var(--success-green);
}

/* Custom Checkbox */
.custom-checkbox {
    padding-left: 0;
}

.custom-checkbox .form-check-input {
    width: 24px;
    height: 24px;
    margin-top: 0;
    margin-right: 0px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.custom-checkbox .form-check-input:checked {
    background-color: var(--sph-blue);
    border-color: var(--sph-blue);
}

.custom-checkbox .form-check-input:focus {
    box-shadow: 0 0 0 4px var(--focus-shadow);
}
.flexform
{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
}

.custom-checkbox .form-check-label {
    color: var(--text-primary);
    font-size: 12px;
    line-height: 1.6;
    cursor: pointer;
    margin-left: 8px;
}

/* Submit Button */
.btn-submit {
    padding: 18px 32px;
    background: var(--sph-blue);
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Roboto', sans-serif;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 20px rgba(215, 25, 32, 0.3);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(215, 25, 32, 0.4);
    background: var(--sph-blue);
}

.btn-submit:active {
    transform: translateY(-1px);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Success Message */
.success-message {
    display: none;
    background: linear-gradient(135deg, var(--success-green) 0%, #218838 100%);
    border: none;
    border-radius: 12px;
    padding: 20px;
    animation: slideDown 0.5s ease;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}

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

.success-message.show {
    display: block;
}

.success-message i {
    color: var(--sph-white);
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .hero-section,
    .form-section {
        min-height: auto;
        padding: 40px 40px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .form-title {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {

    .content-wrapper {
        border-radius: 15px;
    }

    .hero-section {
        padding: 30px 30px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 40px;
    }

    

    .form-section {
        padding: 50px 30px;
    }

    .form-title {
        font-size: 1.75rem;
    }

    .feature-item {
        font-size: 0.95rem;
    }
}

@media (max-width: 575.98px) {
    .hero-section,
    .form-section {
        padding: 20px 25px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .form-title {
        font-size: 1.5rem;
    }

    .form-control-custom {
        padding: 14px 16px;
        font-size: 0.95rem;
    }

    .btn-submit {
        padding: 16px 24px;
        font-size: 1rem;
    }

  

    .feature-item {
        font-size: 0.9rem;
    }
}

/* Loading State */
.btn-submit .spinner-border {
    width: 1rem;
    height: 1rem;
    border-width: 2px;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus Visible */
*:focus-visible {
    outline: 2px solid var(--sph-blue);
    outline-offset: 2px;
}

