/* File: assets/css/style.css */
/* ============================================
   Freshwater Group of Companies - Main Stylesheet
   ============================================ */

:root {
    --primary-color: #1a4d8c;
    --primary-dark: #0e3a6b;
    --secondary-color: #e6a017;
    --secondary-dark: #c47d0a;
    --dark-color: #1a1a2e;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --success-color: #28a745;
    --white: #ffffff;
    --black: #000000;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    overflow-x: hidden;
    background-color: var(--white);
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--dark-color);
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
}

.text-center h2:after {
    left: 50%;
    transform: translateX(-50%);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    line-height: 1.6;
    color: var(--gray-color);
}

/* ============================================
   Text Logo Styles
   ============================================ */
.text-logo {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.logo-sub {
    font-size: 10px;
    font-weight: 500;
    color: var(--secondary-color);
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .logo-text {
        font-size: 20px;
    }
    .logo-sub {
        font-size: 8px;
    }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    padding: 12px 30px;
    font-weight: 500;
    border-radius: 5px;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
}

.btn-primary {
    background-color: var(--primary-color);
    border: 2px solid var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-secondary {
    background-color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    border-color: var(--secondary-dark);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    padding: 15px 0;
    transition: var(--transition);
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 5px;
    color: var(--dark-color);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--secondary-color);
}

.navbar-nav .nav-link i {
    margin-right: 5px;
    font-size: 14px;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 10px 0;
}

.dropdown-item {
    padding: 8px 20px;
    transition: var(--transition);
}

.dropdown-item:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* ============================================
   Hero Section with Background Image
   ============================================ */
.hero {
    position: relative;
    height: 85vh;
    min-height: 600px;
    background: linear-gradient(135deg, rgba(26, 77, 140, 0.85), rgba(14, 58, 107, 0.9)), url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1920&h=800&fit=crop');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    color: var(--white);
    font-size: 4rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero p {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
    animation-fill-mode: forwards;
}

.hero .btn {
    animation: fadeInUp 1s ease 0.4s forwards;
    opacity: 0;
    animation-fill-mode: forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Business Cards Section
   ============================================ */
.business-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.business-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px 25px;
    margin-bottom: 30px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.business-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--secondary-color);
    transform: scaleX(0);
    transition: var(--transition);
}

.business-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.business-card:hover:before {
    transform: scaleX(1);
}

.business-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: rgba(26, 77, 140, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.business-icon i {
    font-size: 40px;
    color: var(--primary-color);
}

.business-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.business-card p {
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.btn-learn {
    background: transparent;
    border: none;
    color: var(--secondary-color);
    font-weight: 600;
    transition: var(--transition);
}

.btn-learn:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* ============================================
   Stats Section
   ============================================ */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 60px 0;
    color: var(--white);
}

.stat-box {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0;
    color: rgba(255,255,255,0.9);
}

/* ============================================
   About Section
   ============================================ */
.about-section {
    padding: 80px 0;
}

.about-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.feature-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.feature-list li i {
    color: var(--secondary-color);
    margin-right: 10px;
    font-size: 18px;
}

/* ============================================
   Team Section
   ============================================ */
.team-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.team-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
    margin-bottom: 30px;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.team-image {
    position: relative;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-info {
    padding: 20px;
    text-align: center;
}

.team-info h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.team-info p {
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 10px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.team-social a {
    width: 35px;
    height: 35px;
    background: rgba(26, 77, 140, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: var(--transition);
}

.team-social a:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* ============================================
   Contact Form
   ============================================ */
.contact-section {
    padding: 80px 0;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
}

.form-control {
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(230, 160, 23, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-label {
    font-weight: 500;
    margin-bottom: 8px;
}

.contact-info-card {
    background: var(--light-color);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.contact-info-icon i {
    font-size: 20px;
    color: var(--white);
}

.contact-info-content h5 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.contact-info-content p {
    margin-bottom: 0;
    color: var(--gray-color);
}

/* ============================================
   Social Impact Section
   ============================================ */
.impact-section {
    padding: 80px 0;
}

.impact-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    transition: var(--transition);
}

.impact-card:hover {
    transform: translateY(-5px);
}

.impact-image {
    height: 250px;
    overflow: hidden;
}

.impact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.impact-card:hover .impact-image img {
    transform: scale(1.05);
}

.impact-content {
    padding: 25px;
}

.impact-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* ============================================
   WhatsApp Floating Button
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    line-height: 60px;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3);
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #20b859;
    color: white;
}

.whatsapp-tooltip {
    position: absolute;
    left: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--dark-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        line-height: 50px;
        font-size: 25px;
        bottom: 20px;
        left: 20px;
    }
    .whatsapp-tooltip {
        display: none;
    }
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--dark-color);
    padding: 60px 0 20px;
    color: rgba(255,255,255,0.7);
}

.footer h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer h4:after {
    display: none;
}

.footer-widget ul {
    list-style: none;
    padding: 0;
}

.footer-widget ul li {
    margin-bottom: 10px;
}

.footer-widget ul li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-widget ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-widget ul li i {
    margin-right: 8px;
    font-size: 12px;
}

.social-links {
    margin-top: 20px;
}

.social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    margin-right: 8px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-info li i {
    margin-right: 12px;
    margin-top: 3px;
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    margin-top: 40px;
}

/* ============================================
   Back to Top Button
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    z-index: 999;
    transition: all 0.3s ease;
}

.back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 991px) {
    h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 2rem;
    }
    .hero {
        height: auto;
        min-height: 500px;
        padding: 100px 0;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .stat-number {
        font-size: 2rem;
    }
    .contact-form {
        padding: 25px;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .business-card {
        margin-bottom: 20px;
    }
    .footer {
        text-align: center;
    }
    .contact-info li {
        justify-content: center;
    }
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* ============================================
   Animations
   ============================================ */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(230, 160, 23, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(230, 160, 23, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(230, 160, 23, 0);
    }
}

.btn-secondary {
    animation: pulse 2s infinite;
}

/* ============================================
   Alert Messages
   ============================================ */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: none;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
}

/* ============================================
   Breadcrumb
   ============================================ */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 0;
}

.breadcrumb-item a {
    color: var(--white);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--secondary-color);
}

/* ============================================
   Page Header
   ============================================ */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 60px 0;
}

/* Tablet & Small Laptop (max-width: 991px) */
@media (max-width: 991px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .hero { padding: 100px 0; min-height: 500px; }
    .hero h1 { font-size: 2.5rem; }
    .stat-number { font-size: 2rem; }
    .contact-form { padding: 25px; margin-bottom: 30px; }
}

/* Mobile Landscape & Tablets (max-width: 768px) */
@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1rem; }
    .business-card { margin-bottom: 20px; }
    .footer { text-align: center; }
    .contact-info li { justify-content: center; }
    .back-to-top { bottom: 20px; right: 20px; width: 40px; height: 40px; }
    .logo-text { font-size: 20px; }
    .logo-sub { font-size: 8px; }
}

/* Mobile Portrait (max-width: 576px) */
@media (max-width: 576px) {
    .hero h1 { font-size: 1.8rem; }
    .btn { padding: 10px 20px; font-size: 14px; }
}