/* dhibiti_style.css: Improved Stylesheet */
/* Built by Technology Partners Ltd. */

/* Color Variables */
:root {
    --primary-blue: #000080; /* Deep Blue (Brand Color 1) */
    --secondary-green: #FCA10D; /* Corporate Tech Orange (Brand Color 2) */
    --accent-light: #FFDE59; /* Lighter shade of yellow for highlights */
    --text-dark: var(--primary-blue);
    --text-light: #FFFFFF;
    --background-light: #F8F9FA; /* Off-white for section separation */
    --shadow-color: rgba(26, 35, 126, 0.15); /* Primary blue with transparency */
    
    /* Fonts: Poppins (Clean, Modern Sans-Serif) */
    --font-family-primary: 'Poppins', 'Roboto', sans-serif;
}

/* Base Styles */
body {
    font-family: var(--font-family-primary);
    color: #495057; /* Slightly softer dark text for readability */
    background-color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--primary-blue);
}

.lead {
    font-weight: 400; /* Lighter weight for readability in large text */
}

/* Navigation */
.navbar {
    background-color: var(--text-light) !important; 
    box-shadow: 0 4px 15px var(--shadow-color); /* Deeper, brand-focused shadow */
    transition: all 0.3s ease;
}
.nav-link {
    color: var(--primary-blue) !important;
    font-weight: 600; /* Bolder links for impact */
    padding: 15px 12px !important; /* Larger click area */
    transition: color 0.3s ease, border-bottom 0.3s ease;
    border-bottom: 3px solid transparent;
}
.nav-link:hover, .nav-item .active {
    color: var(--secondary-green) !important;
    border-bottom: 3px solid var(--secondary-green);
}

/* Button Styles (Orange Primary, Blue Secondary) */
.btn-primary {
    background-color: var(--secondary-green);
    border-color: var(--secondary-green);
    color: var(--text-light);
    font-weight: 600;
    padding: 14px 30px; /* Slightly larger buttons */
    border-radius: 8px; /* Slightly rounded corners */
    transition: all 0.4s ease-out;
    box-shadow: 0 5px 15px rgba(252, 161, 13, 0.3); /* Orange shadow */
}
.btn-primary:hover, .btn-primary:focus {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    box-shadow: 0 8px 25px rgba(26, 35, 126, 0.4); /* Blue shadow on hover */
    transform: translateY(-3px); /* More noticeable lift */
}

.btn-outline-primary {
    background-color: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    font-weight: 600;
    padding: 14px 30px;
    border-radius: 8px;
    transition: all 0.3s ease;
}
.btn-outline-primary:hover {
    background-color: var(--primary-blue);
    color: var(--text-light);
    border-color: var(--primary-blue);
}

/* Section General */
section {
    padding: 120px 0; /* More padding for spacious, premium look */
    position: relative;
}
#about, #why-us {
    background-color: var(--background-light);
}

.section-title {
    font-size: 3rem; /* Slightly larger title */
    font-weight: 800;
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 20px;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100px; /* Wider underline */
    height: 5px; /* Thicker underline */
    background-color: var(--secondary-green);
    border-radius: 3px;
}

/* 1. Hero Section */
.hero {
    min-height: 90vh; /* Taller hero section */
    display: flex;
    align-items: center;
    /* More sophisticated gradient */
    background: linear-gradient(135deg, var(--primary-blue) 0%, #3F51B5 75%, #5C6BC0 100%); 
    color: var(--text-light);
}
.hero h1 {
    font-size: 4rem; /* Huge impact headline */
    font-weight: 900;
    line-height: 1.1;
    color: var(--text-light);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.hero p {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    font-weight: 300;
}
.hero-mockup {
    width: 100%;
    max-width: 550px; /* Slightly larger mockup */
    height: auto;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4); /* Deeper shadow for pop */
    animation: breathing 5s ease-in-out infinite alternate; /* Slower, more subtle animation */
}
@keyframes breathing {
    0% { transform: scale(1) translateY(0); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3); }
    100% { transform: scale(1.01) translateY(-5px); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5); }
}

/* 3. Features Cards */
.feature-card {
    background-color: var(--text-light);
    border-radius: 15px;
    padding: 35px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Smoother, more engaging transition */
    height: 100%;
    border: 2px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 5px 15px var(--shadow-color);
}

.feature-card:hover {
    box-shadow: 0 15px 50px rgba(252, 161, 13, 0.3); /* Orange glow on hover */
    transform: translateY(-10px) scale(1.02); /* More lift and slight scale */
    border-color: var(--primary-blue);
    z-index: 10;
}

.feature-icon-wrapper {
    width: 70px; /* Larger icon */
    height: 70px;
    margin: 0 auto 25px;
    border-radius: 50%;
    background-color: var(--primary-blue); /* Default blue icon background */
    color: var(--secondary-green); /* Orange icon itself */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: all 0.4s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.feature-card:hover .feature-icon-wrapper {
    background-color: var(--secondary-green); /* Orange background on hover */
    color: var(--primary-blue); /* Blue icon on hover */
    transform: rotate(5deg) scale(1.1); /* Subtle rotation */
}

.feature-card h5 {
    font-weight: 700;
    margin-bottom: 12px;
}

/* 4. Industries Cards */
.industry-card {
    background-color: var(--text-light);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.4s ease-out;
    border: 3px solid var(--primary-blue); /* Thicker blue border */
    height: 100%;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px var(--shadow-color);
}
.industry-card:hover {
    background-color: var(--primary-blue); /* Blue background on hover */
    color: var(--text-light);
    transform: scale(1.05);
    border-color: var(--secondary-green); /* Orange border on hover */
    box-shadow: 0 10px 25px rgba(26, 35, 126, 0.4);
}

.industry-card:hover i {
    color: var(--secondary-green); /* Orange icon on hover */
}

.industry-card i {
    font-size: 3.5rem;
    margin-bottom: 15px;
    color: var(--primary-blue);
    transition: color 0.4s ease;
}
.industry-card h5 {
    font-weight: 700;
}
.industry-card:hover h5 {
    color: var(--text-light);
}

/* 5. Why Choose Dhibiti (Reasons and Counters) */
.reasons-list i {
    font-size: 1.6rem;
    color: var(--secondary-green);
    margin-right: 18px;
    animation: pulse-color 2s infinite alternate; /* Subtle breathing effect */
}
@keyframes pulse-color {
    0% { opacity: 0.8; }
    100% { opacity: 1; }
}
.reason-item {
    font-size: 1.2rem;
    margin-bottom: 18px;
    font-weight: 500;
    color: #343a40;
}

.counter-box {
    text-align: center;
    padding: 40px 20px;
    margin: 15px 0;
    border-radius: 15px;
    background-color: var(--text-light);
    box-shadow: 0 10px 30px var(--shadow-color);
    border-left: 5px solid var(--secondary-green); /* Orange accent line */
    height: 100%;
    transition: all 0.3s ease;
}
.counter-box:hover {
    box-shadow: 0 15px 40px rgba(252, 161, 13, 0.2);
}
.counter-value {
    font-size: 4.5rem;
    font-weight: 900;
    color: var(--secondary-green);
    line-height: 1;
    margin-bottom: 10px;
}
.counter-label {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 1.2rem;
}

/* 6. Get in Touch */
.contact-form {
    padding: 30px;
    background-color: var(--text-light);
    border-radius: 15px;
    box-shadow: 0 10px 40px var(--shadow-color);
    border-top: 5px solid var(--secondary-green); /* Orange line for focus */
}
.contact-info-block {
    text-align: left;
    padding: 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}
.contact-info-block:hover {
    background-color: var(--background-light);
}
.contact-info-block i {
    font-size: 1.8rem;
    color: var(--secondary-green);
    width: 35px;
}
.contact-info-block a, .contact-info-block span {
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 1.1rem;
}
.form-control {
    padding: 15px 20px;
    border-radius: 8px;
    border: 1px solid #ced4da;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-control:focus {
    border-color: var(--secondary-green);
    box-shadow: 0 0 0 0.25rem rgba(252, 161, 13, 0.25);
}


/* 7. Footer */
footer {
    background-color: var(--primary-blue);
    color: rgba(255, 255, 255, 0.8);
    padding: 40px 0;
    text-align: center;
    font-size: 1rem;
}
footer a {
    color: var(--accent-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}
footer a:hover {
    color: var(--secondary-green);
}

/* Mobile Responsiveness (Refined) */
@media (max-width: 991.98px) {
    section {
        padding: 80px 0;
    }
    .hero {
        text-align: center;
        padding: 100px 0 50px 0;
        min-height: auto;
    }
    .hero h1 {
        font-size: 3rem;
    }
    .hero p {
        font-size: 1.2rem;
    }
    .hero-mockup-col {
        margin-top: 50px;
    }
    .section-title {
        font-size: 2.5rem;
        text-align: center;
    }
    .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .feature-card, .industry-card, .counter-box {
        margin-bottom: 25px;
    }
    .btn-primary, .btn-outline-primary {
        width: 100%;
        margin-bottom: 10px;
    }
    .contact-info-block {
        text-align: center;
    }
    .navbar-toggler {
        border-color: var(--primary-blue);
    }
    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%231A237E' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    }
}