* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #134B70;
    --secondary-color: #3A4A55;
    --accent-color: #436378;
    --text-dark: #1E1E1E;
    --text-light: #5F5C5C;
    --white: #FFFFFF;
    --overlay: rgba(0, 0, 0, 0.25);
    --overlay-dark: rgba(30, 30, 30, 0.6);
}

body {
    font-family: 'Cairo', sans-serif;
    overflow-x: hidden;
    background: var(--white);
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Hero Section */
.hero-offers {
    position: relative;
    height: 780px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: heroZoom 35s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    0% {
        transform: scale(1) translateY(0) rotate(0deg);
    }
    33% {
        transform: scale(1.15) translateY(-3%) rotate(0.5deg);
    }
    66% {
        transform: scale(1.08) translateY(2%) rotate(-0.5deg);
    }
    100% {
        transform: scale(1.12) translateY(-2%) rotate(0deg);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-dark);
    z-index: 2;
}

/* Navigation */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    z-index: 100;
    animation: navSlideDown 1s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes navSlideDown {
    from {
        transform: translateY(-150%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.logo {
    height: 80px;
    animation: logoFloat 3s ease-in-out infinite;
    z-index: 1000;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.logo img {
    height: 100%;
    object-fit: contain;
    transition: all 0.4s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.logo:hover img {
    transform: scale(1.08) rotate(-3deg);
    filter: drop-shadow(0 8px 16px rgba(19, 75, 112, 0.3));
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1000;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 3px;
    background: var(--white);
    transition: all 0.3s ease;
    border-radius: 3px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    animation: menuFadeIn 1s ease-out 0.3s both;
}

@keyframes menuFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--white);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform: translateX(-50%);
}

.nav-link:hover::before {
    width: 100%;
}

.nav-link:hover {
    transform: translateY(-2px);
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.5);
}

.nav-link.active {
    color: var(--primary-color);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.9);
}

.nav-link.active::before {
    width: 100%;
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
}

.cta-button {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    padding: 16px 32px;
    border-radius: 10px;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    animation: ctaFloat 2s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

@keyframes ctaFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--white);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.4);
}

.cta-button span {
    position: relative;
    z-index: 1;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 100px;
}

.hero-description {
    font-size: 28px;
    font-weight: 600;
    color: var(--white);
    text-align: center;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.7);
    animation: heroTextRise 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.5s both;
    max-width: 1000px;
    padding: 0 20px;
}

@keyframes heroTextRise {
    from {
        opacity: 0;
        transform: translateY(80px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Offers Section */
.offers-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #F8F9FA 0%, #FFFFFF 100%);
}

.main-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-color);
    text-align: right;
    margin-bottom: 80px;
    animation: titleSlide 1s ease-out;
    position: relative;
    padding-right: 20px;
}

.main-title::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    width: 6px;
    height: 80%;
    background: linear-gradient(180deg, var(--primary-color), transparent);
    transform: translateY(-50%);
    animation: lineGrow 1s ease-out;
}

@keyframes titleSlide {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes lineGrow {
    from {
        height: 0;
    }
    to {
        height: 80%;
    }
}

/* Offer Item */
.offer-item {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 120px;
    opacity: 1;
    transform: translateX(60px);
    transition: all 1s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.offer-item.reverse {
    flex-direction: row-reverse;
    transform: translateX(-60px);
}

.offer-item.animate {
    opacity: 1;
    transform: translateX(0);
}

.offer-image {
    flex: 0 0 450px;
    height: 450px;
    border-radius: 50px 50px 50px 0;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
    position: relative;
    transition: all 0.6s ease;
}

.offer-item.reverse .offer-image {
    border-radius: 50px 50px 0 50px;
}

.offer-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(19, 75, 112, 0.3), transparent);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.offer-item:hover .offer-image::before {
    opacity: 1;
}

.offer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.offer-item:hover .offer-image {
    transform: scale(1.05) rotate(-2deg);
    box-shadow: 0 40px 100px rgba(19, 75, 112, 0.25);
}

.offer-item:hover .offer-image img {
    transform: scale(1.15) rotate(2deg);
}

.offer-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.offer-header {
    animation: fadeSlideIn 1s ease-out;
}

.offer-header h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.offer-header h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    transition: width 0.6s ease;
}

.offer-item:hover .offer-header h2::after {
    width: 100%;
}

.offer-intro {
    font-size: 20px;
    line-height: 1.8;
    color: var(--text-light);
    text-align: right;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature-box {
    background: var(--white);
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    padding: 24px;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(19, 75, 112, 0.05), transparent);
    transition: width 0.5s ease;
    z-index: 0;
}

.feature-box:hover::before {
    width: 100%;
}

.feature-box:hover {
    transform: translateY(-10px) translateX(-5px);
    box-shadow: 0 20px 50px rgba(19, 75, 112, 0.15);
    border-color: var(--primary-color);
}

.feature-box h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
    text-align: right;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.feature-box:hover h3 {
    transform: translateX(-5px);
}

.feature-box ul {
    list-style: none;
    text-align: right;
    position: relative;
    z-index: 1;
}

.feature-box li {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 8px;
    padding-right: 24px;
    position: relative;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.feature-box:hover li {
    color: var(--text-dark);
}

.feature-box li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--primary-color);
    font-weight: bold;
    transition: transform 0.3s ease;
}

.feature-box:hover li::before {
    transform: scale(1.3) rotate(360deg);
}

/* Footer */
.footer {
    position: relative;
    padding: 80px 0 30px;
    color: var(--white);
}

.footer-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.footer-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(67, 99, 120, 0.85);
    z-index: -1;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 0.5px solid var(--white);
}

.footer-logo {
    height: 110px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 100%;
    object-fit: contain;
}

.footer-slogan {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 24px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.social-links a {
    width: 48px;
    height: 48px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid #D9D9D9;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--white);
    transform: translateY(-5px) rotate(5deg);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.social-links img {
    width: 28px;
    height: 28px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.contact-phones {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 600;
}

.contact-item img {
    width: 24px;
    height: 24px;
}

.footer-section h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 34px;
    text-align: center;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 28px;
    align-items: center;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    transform: translateX(10px);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.newsletter h3 {
    margin-bottom: 56px;
}

.newsletter-form {
    display: flex;
    border: 0.5px solid #D9D9D9;
    border-radius: 20px;
    overflow: hidden;
}

.newsletter-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 15px 24px;
    color: var(--white);
    font-size: 20px;
    outline: none;
}

.newsletter-form input::placeholder {
    color: var(--white);
}

.newsletter-form button {
    background: var(--secondary-color);
    border: none;
    padding: 15px 30px;
    color: var(--white);
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
}

.footer-bottom p {
    font-size: 16px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-description {
        font-size: 22px;
    }
    
    .offer-item {
        flex-direction: column !important;
    }
    
    .offer-image {
        flex: none;
        width: 100%;
        height: 350px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }
    
    .hero-offers {
        height: 297px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 300px;
        background: var(--primary-color);
        flex-direction: column;
        padding: 120px 20px 40px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
        z-index: 999;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .cta-button {
        display: none;
    }
    
    .hero-content {
        padding-bottom: 30px;
    }
    
    .hero-description {
        font-size: 15px;
        max-width: 380px;
    }
    
    .main-title {
        font-size: 24px;
        margin-bottom: 40px;
    }
    
    .offer-item {
        margin-bottom: 60px;
        gap: 20px;
    }
    
    .offer-image {
        height: 294px;
        border-radius: 50px 50px 0 50px !important;
    }
    
    .offer-header h2 {
        font-size: 20px;
    }
    
    .offer-intro {
        font-size: 14px;
    }
    
    .features-grid {
        gap: 8px;
    }
    
    .feature-box {
        padding: 12px;
    }
    
    .feature-box h3 {
        font-size: 14px;
    }
    
    .feature-box li {
        font-size: 10px;
        padding-right: 16px;
    }
    
    .contact-phones {
        flex-direction: column;
    }
    
    .social-links {
        gap: 12px;
    }
}
