/* Landing Page Styles - AT Institute - Modern Split Layout */

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

body {
    font-family: 'Cairo', sans-serif;
    direction: rtl;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Split Section */
.hero-split-section {
    min-height: 100vh;
    height: 100vh;
    background: #000;
    margin: 0;
    padding: 0;
}

.hero-split-container {
    display: flex;
    min-height: 100vh;
    height: 100vh;
    flex-direction: row;
    margin: 0;
    padding: 0;
}

/* Left Side - Form (33.33% like Bootstrap col-sm-4) */
.hero-form-side {
    background: #fff;
    padding: 15px 25px;
    overflow-y: hidden;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 33.333%;
    flex-shrink: 0;
}

.form-wrapper {
    max-width: 100%;
}

.form-header {
    text-align: center;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f0f0f0;
}

.form-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f2c52;
    margin-bottom: 3px;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.form-row .form-group {
    margin-bottom: 6px;
}

.form-group label {
    display: block;
    margin-bottom: 3px;
    font-weight: 600;
    color: #333;
    font-size: 11px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 6px 8px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-family: 'Cairo', sans-serif;
    font-size: 11px;
    transition: all 0.3s ease;
    background: #fff;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #f2672a;
    box-shadow: 0 0 0 3px rgba(242, 103, 42, 0.1);
}

.form-group input.error {
    border-color: #dc3545;
}

.error-message {
    display: block;
    color: #dc3545;
    font-size: 10px;
    margin-top: 2px;
    min-height: 12px;
    font-weight: 500;
}

.btn-submit-modern {
    width: 100%;
    padding: 8px;
    background: linear-gradient(135deg, #f2672a 0%, #e85a1f 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Cairo', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 4px;
}

.btn-submit-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(242, 103, 42, 0.4);
}

.btn-submit-modern:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Right Side - Hero Image (66.67% like Bootstrap col-sm-8) */
.hero-image-side {
    flex: 1;
    position: relative;
    overflow: hidden;
    background: #0a1628;
}

.hero-image-wrapper {
    width: 100%;
    height: 100%;
}

.hero-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(15, 44, 82, 0.6) 50%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

.hero-content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
}

.logo-section {
    margin-bottom: 40px;
}

.hero-logo {
    max-width: 250px;
    height: auto;
}

.hero-title-overlay {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 30px;
    line-height: 1.3;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    color: #fff;
    border: 3px solid #f2672a;
    padding: 15px 25px;
    display: inline-block;
    border-radius: 8px;
    background: rgba(242, 103, 42, 0.1);
}

.hero-description-overlay {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 25px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-description-overlay p {
    margin-bottom: 15px;
    color: #fff;
}

.hero-description-overlay ul {
    list-style: none;
    padding: 0;
}

.hero-description-overlay ul li {
    padding: 8px 0;
    padding-right: 25px;
    position: relative;
}

.hero-description-overlay ul li::before {
    content: "•";
    position: absolute;
    right: 0;
    color: #f2672a;
    font-size: 24px;
    font-weight: bold;
}

.hero-content-overlay-text {
    font-size: 16px;
    line-height: 1.8;
    margin-top: 20px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    border-right: 4px solid #f2672a;
}

.hero-content-overlay-text p {
    margin-bottom: 12px;
    color: #fff;
}

.hero-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: linear-gradient(135deg, #0f2c52 0%, #1a3a5c 100%);
    color: white;
    font-size: 24px;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f2c52 0%, #1a3a5c 100%);
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 44, 82, 0.9) 0%, rgba(26, 58, 92, 0.85) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 60px 20px;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease;
}

.hero-description {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #f2672a 0%, #e85a1f 100%);
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(242, 103, 42, 0.4);
    animation: fadeInUp 0.8s ease 0.4s both;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(242, 103, 42, 0.6);
}

.btn-cta i {
    font-size: 20px;
}

/* Content Section */
.content-section {
    padding: 80px 0;
    background: white;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.content-wrapper h2 {
    color: #0f2c52;
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 700;
}

.content-wrapper h3 {
    color: #0f2c52;
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.content-wrapper p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
    color: #555;
}

.content-wrapper ul {
    list-style: none;
    padding: 0;
}

.content-wrapper ul li {
    padding: 10px 0 10px 30px;
    position: relative;
    font-size: 16px;
    color: #555;
}

.content-wrapper ul li::before {
    content: "\f101";
    font-family: FontAwesome;
    position: absolute;
    right: 0;
    color: #f2672a;
    font-weight: bold;
}

/* Benefits Section */
.benefits-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.section-title {
    text-align: center;
    font-size: 36px;
    color: #0f2c52;
    margin-bottom: 50px;
    font-weight: 700;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #f2672a, #e85a1f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(242, 103, 42, 0.3);
}

.benefit-card h3 {
    font-size: 20px;
    color: #0f2c52;
    margin-bottom: 10px;
    font-weight: 700;
}

.benefit-card p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

/* Form Section */
.form-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0f2c52 0%, #1a3a5c 100%);
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.form-title {
    text-align: center;
    font-size: 32px;
    color: #0f2c52;
    margin-bottom: 10px;
    font-weight: 700;
}

.form-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-size: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #0f2c52;
    font-size: 14px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: 'Cairo', sans-serif;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #f2672a;
    box-shadow: 0 0 0 3px rgba(242, 103, 42, 0.1);
}

.form-group input.error {
    border-color: #dc3545;
}

.error-message {
    display: block;
    color: #dc3545;
    font-size: 13px;
    margin-top: 5px;
    min-height: 18px;
    font-weight: 500;
}

.btn-submit {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #f2672a 0%, #e85a1f 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 700;
    font-family: 'Cairo', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(242, 103, 42, 0.4);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Form Messages */
#formMessage {
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 8px;
    display: none;
    font-size: 14px;
    font-weight: 600;
}

#formMessage.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

#formMessage.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Footer */
.landing-footer {
    background: #0f2c52;
    color: white;
    padding: 20px 0;
    text-align: center;
    margin: 0;
}

.landing-footer p {
    margin: 0;
    opacity: 0.9;
    font-size: 14px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-split-container {
        grid-template-columns: 480px 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    
    .hero-content-overlay {
        padding: 40px;
    }
    
    .hero-title-overlay {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .hero-split-section {
        height: auto;
        min-height: 100vh;
    }
    
    .hero-split-container {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }
    
    .hero-form-side {
        order: 2;
        width: 100%;
        min-height: auto;
        padding: 20px 15px;
        overflow-y: visible;
    }
    
    .hero-image-side {
        order: 1;
        min-height: 100vh;
        height: 100vh;
        width: 100%;
    }
    
    .hero-image-wrapper {
        width: 100%;
        height: 100%;
    }
    
    .hero-main-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .hero-content-overlay {
        padding: 30px;
    }
    
    .hero-title-overlay {
        font-size: 28px;
        padding: 12px 20px;
    }
    
    .hero-description-overlay {
        font-size: 16px;
    }
    
    .hero-logo {
        max-width: 180px;
    }
    
    .form-title {
        font-size: 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .hero-image-side {
        min-height: 300px;
    }
    
    .hero-main-image {
        object-fit: cover;
    }
    
    .hero-content-overlay {
        padding: 20px;
    }
    
    .hero-title-overlay {
        font-size: 22px;
        padding: 10px 15px;
    }
    
    .hero-description-overlay {
        font-size: 14px;
    }
    
    .hero-logo {
        max-width: 150px;
    }
    
    .form-header {
        margin-bottom: 20px;
    }
    
    .form-title {
        font-size: 20px;
    }
    
    .form-group label {
        font-size: 13px;
    }
    
    .form-group input {
        padding: 10px 14px;
        font-size: 13px;
    }
    
    .btn-submit-modern {
        padding: 14px;
        font-size: 16px;
    }
}
