/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 100%;
    overflow-y: hidden;
}

.hero-backgrounds {
    position: absolute;
    top: 0;
    left: 0;
    width: 400%; /* 4 images side by side */
    height: 100%;
    z-index: 1;
    display: flex;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-bg {
    position: relative;
    width: 25%; /* Each image takes 1/4 of the container */
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

/* Sliding animation classes */
.hero-backgrounds.slide-0 {
    transform: translateX(0%);
}

.hero-backgrounds.slide-1 {
    transform: translateX(-25%);
}

.hero-backgrounds.slide-2 {
    transform: translateX(-50%);
}

.hero-backgrounds.slide-3 {
    transform: translateX(-75%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
    z-index: 2;
}

.hero-content-container {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
    width: 100%;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
}

.hero-content.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.hero-content:not(.active) {
    transform: translate(-50%, -50%) scale(0.95);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
    font-weight: 400;
}

.cta-button {
    background: #ff6b35;
    color: white;
    border: none;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    background: #e55a2b;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.3);
}

/* Background Navigation */
.bg-navigation {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 4;
}

.bg-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.bg-dot.active {
    background: #ff6b35;
    transform: scale(1.2);
}

.bg-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Navigation Arrows */
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-prev {
    left: 30px;
}

.nav-next {
    right: 30px;
}

.nav-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

/* Capabilities Section */
.capabilities-section {
    padding: 80px 0;
    background: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tagline {
    font-size: 14px;
    font-weight: 600;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #222;
    position: relative;
    padding-bottom: 20px;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #ff6b35;
}

.capabilities-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.capability-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    border: 1px solid #eef0f2;
}

.capability-card.reverse {
    grid-template-columns: 1fr 1fr;
}

.capability-card.reverse .capability-image {
    order: 2;
}

.capability-image img {
    width: 100%;
    border-radius: 15px;
}

.capability-text h3 {
    font-size: 32px;
    font-weight: 700;
    color: #222;
    margin-bottom: 20px;
}

.capabilities-footer {
    text-align: center;
    margin-top: 60px;
}

.cta-button-alt {
    background: #ff6b35;
    color: white;
    padding: 16px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button-alt:hover {
    background: #e55a2b;
    transform: translateY(-3px);
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 40px 0 80px;
    background: #fff;
}

.nav-logo .logo:hover {
    transform: scale(1.1);
    transition: all 0.3s ease;
}

.nav-logo img {
    width: 200px;
}

.why-choose-us-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.choice-card {
    background: white;
    border: 1px solid #eef0f2;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    flex: 1 1 300px;
    max-width: 350px;
}

.choice-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.1);
    border-color: #ff6b35;
}

.choice-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    margin-bottom: 15px;
}

.choice-card p {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.15);
}

.testimonial-content {
    margin-bottom: 25px;
}

.quote-icon {
    margin-bottom: 15px;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #666;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
}

.author-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.author-info span {
    font-size: 0.9rem;
    color: #666;
}

.stars {
    color: #ffc107;
    font-size: 1.2rem;
}

/* Contact Section */
.contact {
    padding: 60px 0 100px;
    background: #f8f9fa;
}

.contact-redesign .section-header {
    text-align: left;
    max-width: 900px;
}

.contact-redesign .section-header h2 {
    font-size: 3rem;
}

.contact-redesign .section-header p {
    max-width: 720px;
}

.contact-redesign-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr;
    gap: 40px;
    align-items: start;
}

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

.contact-form-redesign .form-group label {
    font-weight: 600;
    margin-bottom: 10px;
    color: #222;
}

.contact-form-redesign input,
.contact-form-redesign textarea {
    border-radius: 24px;
    border: 1.8px solid #e1e5e9;
    padding: 14px 18px;
}

.contact-form-redesign textarea {
    border-radius: 16px;
}

.contact-form-redesign .input-group {
    display: flex;
    align-items: center;
    border: 1.8px solid #e1e5e9;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
}

.contact-form-redesign .input-group input {
    color: #333;
}

.contact-form-redesign .input-group input::placeholder,
.contact-form-redesign input::placeholder,
.contact-form-redesign textarea::placeholder {
    color: #9aa3ad;
}

.contact-form-redesign .input-prefix {
    padding: 12px 14px;
    background: #f2f4f7;
    color: #333;
    font-weight: 600;
    border-right: 1px solid #e1e5e9;
}

.contact-form-redesign .input-group input {
    border: 0;
    outline: none;
    padding: 12px 16px;
    width: 100%;
}

.submit-btn.large {
    display: inline-block;
    margin-top: 10px;
    border-radius: 28px;
    padding: 16px 28px;
    font-size: 1.1rem;
    background: #ff7a3f;
}

.submit-btn.large:hover {
    background: #f06b32;
}

/* Right Side Contact Card */
.contact-side-card {
    background: #1f6aa2;
    color: #fff;
    border-radius: 24px;
    padding: 32px 26px;
    box-shadow: 0 15px 35px rgba(31,106,162,0.25);
}

.contact-side-card h3 {
    font-size: 1.4rem;
    line-height: 1.5;
    margin-bottom: 24px;
    font-weight: 700;
}

.contact-side-card .info-block {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255,255,255,0.12);
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 14px;
}

.contact-side-card .info-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.18);
    border-radius: 10px;
}

.contact-side-card .info-title {
    font-size: 0.95rem;
    opacity: 0.9;
}

.contact-side-card .info-value {
    font-weight: 600;
}

.contact-side-card .divider {
    height: 2px;
    background: rgba(255,255,255,0.35);
    margin: 18px 0 12px;
}

.contact-side-card .connect-title {
    font-weight: 600;
    margin-bottom: 10px;
}

.social-row {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 700;
}

.social-link:hover {
    background: rgba(255,255,255,0.3);
}

@media (max-width: 992px) {
    .contact-redesign-grid {
        grid-template-columns: 1fr;
    }
    .contact-redesign .section-header h2 {
        font-size: 2.2rem;
    }
}
