/* Homepage Redesign - V3 */

/* 1. Foundational Styles */
:root {
    --primary-blue: #1E40AF;
    --primary-blue-light: #3B82F6;
    --primary-blue-dark: #1e3a8a;
    --secondary-orange: #F97316;
    --secondary-orange-light: #FB923C;
    --text-dark: #1e293b;
    --text-light: #334155;
    --white: #ffffff;
    --light-gray: #f8fafc;
    --border-color: #e2e8f0;

    /* Typography */
    --font-sans: 'Inter', sans-serif;
}

body {
    font-family: var(--font-sans);
    color: var(--text-light);
    background-color: var(--white);
    line-height: 1.6;
}

h1, h2, h3 {
    color: var(--text-dark);
    font-weight: 700;
}

.container {
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-tagline {
    display: inline-block;
    color: var(--primary-blue);
    font-weight: 600;
    background-color: rgba(30, 64, 175, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-dark);
    line-height: 1.2;
}

.btn {
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--secondary-orange);
    color: var(--white);
    border: 2px solid var(--secondary-orange);
}

.btn-primary:hover {
    background-color: #FB923C;
    border-color: #FB923C;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-dark);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--light-gray);
    border-color: var(--light-gray);
}

/* 2. Hero Section */
.hero {
    position: relative;
    min-height: 85vh; /* Reduced from 100vh to reduce blank space */
    background: linear-gradient(125deg, #071e47 0%, #0a2b67 30%, #173b7f 70%, #1e4db0 100%);
    color: var(--white);
    padding: 70px 0; /* Reduced top/bottom padding */
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Background elements */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(30, 64, 175, 0.4) 0%, rgba(15, 23, 42, 0) 70%);
    background-size: 200% 200%;
    animation: gradientAnimation 15s ease infinite;
    z-index: 0;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(249, 115, 22, 0.15) 0%, rgba(15, 23, 42, 0) 60%);
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(30px);
}

.shape-1 {
    background: radial-gradient(circle, rgba(249, 115, 22, 0.4) 0%, rgba(249, 115, 22, 0) 70%);
    width: 500px;
    height: 500px;
    top: -10%;
    left: -5%;
    animation: float 20s infinite ease-in-out;
    z-index: 2;
}

.shape-2 {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
    width: 600px;
    height: 600px;
    bottom: -20%;
    right: -10%;
    animation: float 15s infinite ease-in-out reverse;
    z-index: 2;
}

.shape-3 {
    background: radial-gradient(circle, rgba(59, 130, 246, 0.3) 0%, rgba(59, 130, 246, 0) 70%);
    width: 400px;
    height: 400px;
    top: 40%;
    right: 15%;
    animation: float 25s infinite ease-in-out;
    z-index: 2;
}

@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(10px, 15px) rotate(5deg); }
    50% { transform: translate(5px, -10px) rotate(0deg); }
    75% { transform: translate(-10px, 5px) rotate(-5deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

/* Content layout */
.container {
    position: relative;
    z-index: 2;
    padding: 0 30px;
    max-width: 1140px;
    margin: 0 auto;
}

.hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-right: 20px;
    text-align: left;
    margin-top: 20px;
    max-width: 90%;
}

.hero-headline {
    margin-bottom: 0;
}

.hero-caption {
    display: inline-block;
    background: rgba(249, 115, 22, 0.1);
    color: #F97316;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 7px 15px;
    border-radius: 6px;
    margin-bottom: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(249, 115, 22, 0.2);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
    margin-bottom: 10px;
    background: linear-gradient(120deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    letter-spacing: -1px;
    width: 100%;
}

.hero-text p {
    font-size: 1.1rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
    margin-top: 0;
    max-width: 100%;
}

.hero-actions {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    align-items: center;
}

.btn-action {
    padding: 16px 30px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background-color: var(--secondary-orange);
    color: var(--white);
    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.35);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.btn-primary:hover {
    background-color: #f97e2b;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(249, 115, 22, 0.4);
}

.btn-primary:hover::after {
    left: 100%;
}

.btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

/* Stats section */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 12px;
    height: fit-content;
    margin-top: 0;
}

.stat-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 22px 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 5px;
    color: var(--secondary-orange);
    background: linear-gradient(90deg, #f97316, #fb923c);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Additional Animations */
.hero-content, .hero-stats {
    animation: fadeInUp 1s ease-out forwards;
}

.hero-stats {
    animation-delay: 0.3s;
}

.hero-caption {
    animation: fadeIn 0.8s ease-out forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.hero-title {
    animation: fadeIn 1s ease-out forwards;
    animation-delay: 0.5s;
    opacity: 0;
}

.hero-text p {
    animation: fadeIn 1.2s ease-out forwards;
    animation-delay: 0.7s;
    opacity: 0;
}

.hero-actions {
    animation: fadeIn 1.2s ease-out forwards;
    animation-delay: 0.9s;
    opacity: 0;
}

.stat-card:nth-child(1) {
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.5s;
    opacity: 0;
}

.stat-card:nth-child(2) {
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.7s;
    opacity: 0;
}

.stat-card:nth-child(3) {
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.9s;
    opacity: 0;
}

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

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

/* Responsive Styles for Hero */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3.2rem;
    }
    
    .hero-grid {
        grid-template-columns: 1fr 300px;
        gap: 40px;
    }
}

@media (max-width: 991px) {
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
        max-width: 700px;
    }
    
    .hero-content {
        padding-right: 0;
        align-items: center;
    }
    
    .hero-text p {
        max-width: 100%;
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        max-width: 600px;
        margin: 0 auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 0 60px;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .container {
        padding: 0 20px;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 60px 0 40px;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        max-width: 300px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-card {
        padding: 22px 18px;
    }
    
    .hero-caption {
        font-size: 0.8rem;
        padding: 6px 15px;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 16px;
    }
    
    .btn-action {
        width: 100%;
    }
}

/* 3. Why Choose Us Section */
.why-choose-us {
    background-color: var(--light-gray);
}

.why-choose-us .container {
    max-width: 1140px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-color: var(--primary-blue);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 25px;
    box-shadow: 0 10px 20px rgba(30, 64, 175, 0.15);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    background-color: var(--secondary-orange);
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-weight: 600;
}

.feature-description {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
    max-width: 90%;
    margin: 0 auto;
}

/* 4. Solutions Section */
.solutions {
    background-color: var(--white);
}

.solutions .container {
    max-width: 1140px;
    margin: 0 auto;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1080px;
    margin: 0 auto;
}

.solution-card {
    display: block;
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-light);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.solution-card:hover {
    background-color: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-color: var(--border-color);
}

.solution-icon {
    width: 50px;
    height: 50px;
    background-color: var(--secondary-orange);
    color: var(--white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.solution-title {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.solution-description {
    font-size: 0.95rem;
}

/* 5. How It Works Section */
.how-it-works {
    background-color: var(--light-gray);
}

.how-it-works .container {
    max-width: 1140px;
    margin: 0 auto;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 15%;
    right: 15%;
    height: 2px;
    background-color: var(--border-color);
    border-style: dashed;
    z-index: 0;
}

.process-step {
    position: relative;
    z-index: 1;
}

.step-number {
    width: 64px;
    height: 64px;
    background-color: var(--white);
    border: 2px solid var(--border-color);
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

.process-step:hover .step-number {
    background-color: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
    transform: scale(1.1);
}

.step-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.step-description {
    font-size: 1rem;
}

/* 6. Testimonials Section */
.testimonials {
    background-color: var(--white);
}

.testimonials .container {
    max-width: 1140px;
    margin: 0 auto;
}

.testimonial-card {
    max-width: 750px;
    margin: 0 auto;
    background-color: var(--light-gray);
    padding: 50px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
}

.testimonial-card::before {
    content: '\f10d';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 30px;
    left: 40px;
    font-size: 2.5rem;
    color: var(--border-color);
    z-index: 0;
}

.testimonial-quote {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

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

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-size: 1.1rem;
    font-weight: 700;
}

.author-title {
    font-size: 0.9rem;
}

/* 7. Final CTA Section */
.final-cta {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.final-cta .container {
    max-width: 1140px;
    margin: 0 auto;
}

.cta-content {
    max-width: 650px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.8rem;
    color: var(--white);
    margin-bottom: 15px;
}

.cta-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
}

.final-cta .btn-primary {
    padding: 14px 35px;
    font-size: 1.1rem;
}

/* 8. Responsive Styles */
@media (max-width: 991px) {
    .features-grid,
    .solutions-grid,
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

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

    .hero {
        padding: 100px 0;
    }

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

    .features-grid,
    .solutions-grid,
    .process-steps {
        grid-template-columns: 1fr;
    }

    .process-steps::before {
        display: none;
    }

    .process-step {
        text-align: left;
        display: flex;
        align-items: center;
        gap: 20px;
    }

    .step-number {
        margin: 0;
    }

    .cta-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 15px;
    }
}

/* Header styles moved to header.php as inline styles */

/* Footer Styles */
.site-footer-redesigned {
    background-color: #0f2555;
    color: rgba(255, 255, 255, 0.85);
    padding: 70px 0 30px;
}

.footer-content-redesigned {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.footer-column-redesigned h4 {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-column-redesigned h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--secondary-orange);
}

.footer-column-redesigned ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column-redesigned ul li {
    margin-bottom: 12px;
}

.footer-column-redesigned ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-column-redesigned ul li a:hover {
    color: var(--secondary-orange);
    padding-left: 5px;
}

.footer-column-redesigned address {
    font-style: normal;
    margin-bottom: 20px;
}

.footer-column-redesigned address p {
    margin-bottom: 10px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-column-redesigned address p i {
    color: var(--secondary-orange);
    min-width: 16px;
}

.social-icons-redesigned {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons-redesigned a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: all 0.3s ease;
}

.social-icons-redesigned a:hover {
    background-color: var(--secondary-orange);
    transform: translateY(-3px);
}

.newsletter-form-redesigned {
    display: flex;
    margin-top: 15px;
    position: relative;
}

.newsletter-form-redesigned input {
    width: 100%;
    padding: 12px 15px;
    border-radius: 6px;
    border: none;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    outline: none;
    font-size: 0.9rem;
}

.newsletter-form-redesigned input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form-redesigned button {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    padding: 0 15px;
    background-color: var(--secondary-orange);
    border: none;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form-redesigned button:hover {
    background-color: var(--secondary-orange-light);
}

.footer-bottom-redesigned {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    text-align: center;
    font-size: 0.9rem;
}

@media (max-width: 991px) {
    .footer-content-redesigned {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .footer-content-redesigned {
        grid-template-columns: 1fr;
    }
    
    .site-footer-redesigned {
        padding: 50px 0 20px;
    }
}
