@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f8f9fa;
}

/* Header Styling */
header {
    background-color: white;
    padding: 15px 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid #ddd;
}

/* Navigation Container */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
}

/* Logo and Company Name */
.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.company-name {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

/* Navigation Links */
.nav-links ul {
    list-style: none;
    display: flex;
    gap: 40px;
}

.nav-links ul li {
    display: inline;
}

.nav-links ul li a {
    text-decoration: none;
    font-size: 16px;
    color: #333;
    transition: color 0.3s ease-in-out;
}

.nav-links ul li a:hover {
    color:#3b82f6; /* Socially theme color */
}

/* Authentication Buttons */
.auth-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.register-btn {
    font-size: 16px;
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.register-btn:hover {
    color: blue;
}

.download-btn {
    background: linear-gradient(to right, #3f37c9,#87CEEB);
    color: white;
    font-size: 14px;
    padding: 10px 18px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    transition: opacity 0.3s ease-in-out;
}

.download-btn:hover {
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        text-align: center;
    }

    .nav-links ul {
        flex-direction: column;
        gap: 10px;
    }

    .auth-buttons {
        margin-top:10px;
}
}
/* Hero Section */
/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)); /* Gradient overlay */
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease-in-out;
}

.hero-content .description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-in-out;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    animation: fadeInUp 1s ease-in-out;
}

.hero-buttons .btn {
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.hero-buttons .btn.download {
    background: linear-gradient(to right, #3f37c9, #87CEEB);
    color: #fff;
}

.hero-buttons .btn.download:hover {
    opacity: 0.9;
    transform: translateY(-3px);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content .description {
        font-size: 1rem;
    }

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

    .hero-buttons .btn {
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
    }
}

.conteiner {
    max-width: 1170px;
    margin: 0 auto;
    padding: 2rem;
}

.contact-wrapper {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    display: flex;
}

.contact-info {
    background: #3b82f6;
    color: white;
    padding: 2rem;
    border-radius: 15px 0 0 15px;
    flex: 1;
}

.contact-form {
    padding: 2rem;
    flex: 1.5;
}

.contact-info h2,
.contact-form h2 {
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
    
}

.info-item i {
    margin-right: 1rem;
    width: 30px;
    text-align: center;

}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #24268c;
}

button {
    background:#3b82f6;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease;
}

button:hover {
    background: #03045e;
}

.social-links {
    margin-top: 2rem;
    padding-top: 40px;
}

.social-links a {
    color: white;
    margin-right: 3rem;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #03045e;
}

@media (max-width: 768px) {
    .contact-wrapper {
        flex-direction: column;
    }

    .contact-info {
        border-radius: 15px 15px 0 0;
    }
}

/* Map Section */
.map {
    margin-top: 2rem;
    border-radius: 15px;
    overflow: hidden;
}

.map iframe {
    width: 100%;
    height: 300px;
    border: 0;
}
/* Scroll Feature Container */
.sf-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
}

/* Scroll Feature Card */
.sf-card {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
    margin: 40px 0;
    padding: 30px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

/* Visible State for Scroll Feature Card */
.sf-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll Feature Content */
.sf-content {
    padding: 20px;
}

/* Scroll Feature Image */
.sf-image {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    object-fit: cover;
}

/* Scroll Feature Title */
.sf-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

/* Scroll Feature Description */
.sf-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sf-card {
        grid-template-columns: 1fr;
    }

    .sf-title {
        font-size: 2rem;
    }
}
/* Features Section */
.features {
    padding: 80px 20px;
    background: linear-gradient(rgba(143, 188, 219, 0.1), rgba(33, 118, 174, 0.1));
    position: relative;
    overflow: hidden;
}

.features .container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: #2c3e50;
    position: relative;
    opacity: 0.9;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
}

.card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    opacity: 1;
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.card:hover img {
    opacity: 1;
}

.card h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
    opacity: 0.9;
}

.card p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.85;
}

.card-link {
    display: inline-block;
    color: #3f37c9;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.card-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #3f37c9;
    transition: width 0.3s ease;
}

.card-link:hover::after {
    width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cards {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .card {
        margin: 0 10px;
    }
}
  /* Hydrofleet Modern Register Form */
.hydrofleet-register-modern {
    max-width: 600px;
    margin: 3rem auto;
    padding: 2.5rem;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.hydrofleet-register-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #3b82f6, #6366f1);
    border-radius: 16px 16px 0 0;
}

.hydrofleet-register-modern .forms-title {
    color: #1a1a1a;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: -0.5px;
}

.hydrofleet-register-modern .form-grid,
.hydrofleet-register-modern .forms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.hydrofleet-register-modern .forms-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.hydrofleet-register-modern label {
    position: absolute;
    top: -10px;
    left: 12px;
    background: white;
    padding: 0 5px;
    font-size: 0.8rem;
    color: #4a4a4a;
    font-weight: 500;
}

.hydrofleet-register-modern input,
.hydrofleet-register-modern select {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
}

.hydrofleet-register-modern select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

.hydrofleet-register-modern input:focus,
.hydrofleet-register-modern select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    background-color: #ffffff;
}

.hydrofleet-register-modern .error-message {
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 0.3rem;
    display: block;
}

.hydrofleet-register-modern .alert-danger {
    background-color: #fee2e2;
    color: #b91c1c;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.hydrofleet-register-modern .alert-danger p {
    margin: 0.3rem 0;
}

.hydrofleet-register-modern .submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(to right, #3b82f6, #6366f1);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 1rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.hydrofleet-register-modern .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 14px rgba(0, 0, 0, 0.1);
}

.hydrofleet-register-modern .login-link {
    text-align: center;
    color: #6b7280;
    font-size: 0.9rem;
}

.hydrofleet-register-modern .login-link a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.hydrofleet-register-modern .login-link a:hover {
    color: #2563eb;
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .hydrofleet-register-modern {
        margin: 2rem 1rem;
        padding: 1.5rem;
    }
    
    .hydrofleet-register-modern .form-grid,
    .hydrofleet-register-modern .forms-grid {
        grid-template-columns: 1fr;
    }
}


  /* Osman Login Box Container - Only wraps the login section */
.osman-login-box {
    max-width: 440px;
    margin: 3rem auto;
    padding: 2.5rem;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Decorative top accent */
.osman-login-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background:#3b82f6;
    border-radius: 16px 16px 0 0;
}

.osman-login-box h2 {
    color: #1a1a1a;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: -0.5px;
}

.osman-login-box .form-group {
    margin-bottom: 1.5rem;
}

.osman-login-box label {
    display: block;
    margin-bottom: 0.5rem;
    color: #4a4a4a;
    font-size: 0.9rem;
    font-weight: 500;
}

.osman-login-box input {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
}

.osman-login-box input:focus {
    outline: none;
    border-color:#3b82f6;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    background-color: #ffffff;
}

.osman-login-box input::placeholder {
    color: #a1a1a1;
    opacity: 1;
}

.osman-login-box .submit-btn {
    width: 100%;
    padding: 1rem;
    background:#3b82f6;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.osman-login-box .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 14px rgba(0, 0, 0, 0.1);
}

.osman-login-box .submit-btn:active {
    transform: translateY(0);
}

.osman-login-box .register-link {
    text-align: center;
    margin-top: 1.5rem;
    color: #6b7280;
    font-size: 0.9rem;
}

.osman-login-box .register-link a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.osman-login-box .register-link a:hover {
    color: #4f46e5;
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .osman-login-box {
        margin: 2rem 1rem;
        padding: 1.5rem;
    }
}
:root {
    --hf-primary-blue: #1a73e8;
    --hf-dark-blue: #0d47a1;
    --hf-light-blue: #e8f0fe;
    --hf-accent-teal: #00bfa5;
    --hf-white: #ffffff;
    --hf-light-gray: #f5f5f5;
    --hf-medium-gray: #757575;
    --hf-dark-gray: #212121;
    --hf-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --hf-transition: all 0.3s ease;
}

/* Base Styles */
.hf-heros {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://cdn.zmescience.com/wp-content/uploads/2018/09/water-1330252_960_720.jpg');
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--hf-white);
    padding-top: 80px;
}

.hf-heros-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.hf-heros h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hf-heros p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hf-btn {
    display: inline-block;
    background: var(--hf-white);
    color: var(--hf-primary-blue);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--hf-transition);
    border: 2px solid var(--hf-white);
}

.hf-btn:hover {
    background: transparent;
    color: var(--hf-white);
}

.hf-btn-primary {
    background: var(--hf-primary-blue);
    color: var(--hf-white);
    margin-right: 1rem;
}

.hf-btn-primary:hover {
    background: transparent;
    border-color: var(--hf-white);
}

/* About Section */
.hf-section {
    padding: 6rem 0;
}

.hf-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hf-section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.hf-section-title h2 {
    font-size: 2.5rem;
    color: var(--hf-primary-blue);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.hf-section-title h2::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background: var(--hf-accent-teal);
    bottom: -10px;
    left: 25%;
}

.hf-section-title p {
    color: var(--hf-medium-gray);
    max-width: 700px;
    margin: 0 auto;
}

.hf-about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hf-about-text {
    flex: 1;
}

.hf-about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--hf-dark-blue);
}

.hf-about-text p {
    margin-bottom: 1.5rem;
    color: var(--hf-medium-gray);
}

.hf-about-image {
    flex: 1;
    position: relative;
}

.hf-about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--hf-box-shadow);
    transition: var(--hf-transition);
}

.hf-about-image:hover img {
    transform: translateY(-10px);
}

/* Mission Section */
.hf-mission {
    background-color: var(--hf-light-blue);
    position: relative;
    overflow: hidden;
}

.hf-mission::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: var(--hf-accent-teal);
    border-radius: 50%;
    top: -100px;
    right: -100px;
    opacity: 0.2;
}

.hf-mission::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--hf-primary-blue);
    border-radius: 50%;
    bottom: -150px;
    left: -150px;
    opacity: 0.1;
}

.hf-mission-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.hf-mission-card {
    background: var(--hf-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--hf-box-shadow);
    transition: var(--hf-transition);
    text-align: center;
}

.hf-mission-card:hover {
    transform: translateY(-10px);
}

.hf-mission-card i {
    font-size: 3rem;
    color: var(--hf-primary-blue);
    margin-bottom: 1.5rem;
}

.hf-mission-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--hf-dark-blue);
}

/* How It Works Section */
.hf-steps {
    position: relative;
}

.hf-steps-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
}

.hf-step {
    display: flex;
    gap: 2rem;
    align-items: center;
    background: var(--hf-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--hf-box-shadow);
    position: relative;
    z-index: 1;
    transition: var(--hf-transition);
}

.hf-step:hover {
    transform: translateY(-5px);
}

.hf-step-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--hf-light-blue);
    min-width: 80px;
    text-align: center;
}

.hf-step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--hf-dark-blue);
}

.hf-step-content p {
    color: var(--hf-medium-gray);
}

.hf-steps-line {
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--hf-light-blue);
    z-index: 0;
}

/* Impact Section */
.hf-impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
    margin-top: 3rem;
}

.hf-stat-item {
    padding: 2rem;
    background: var(--hf-white);
    border-radius: 10px;
    box-shadow: var(--hf-box-shadow);
    transition: var(--hf-transition);
}

.hf-stat-item:hover {
    transform: translateY(-10px);
}

.hf-stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--hf-primary-blue);
    margin-bottom: 0.5rem;
}

.hf-stat-label {
    font-size: 1.2rem;
    color: var(--hf-medium-gray);
}

/* CTA Section */
.hf-cta {
    background: linear-gradient(135deg, var(--hf-primary-blue), var(--hf-accent-teal));
    color: var(--hf-white);
    text-align: center;
    padding: 6rem 0;
}

.hf-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.hf-cta p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.hf-btn-cta {
    background: var(--hf-white);
    color: var(--hf-primary-blue);
    padding: 1rem 3rem;
    font-size: 1.1rem;
}

.hf-btn-cta:hover {
    background: transparent;
    color: var(--hf-white);
}

/* Back to Top Button */
.hf-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--hf-primary-blue);
    color: var(--hf-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--hf-transition);
    z-index: 99;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hf-back-to-top.hf-active {
    opacity: 1;
    visibility: visible;
}

.hf-back-to-top:hover {
    background: var(--hf-dark-blue);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hf-about-content {
        flex-direction: column;
    }

    .hf-about-text, .hf-about-image {
        flex: none;
        width: 100%;
    }

    .hf-about-image {
        order: -1;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .hf-heros h1 {
        font-size: 2.5rem;
    }

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

    .hf-step {
        flex-direction: column;
        text-align: center;
    }

    .hf-step-number {
        margin-bottom: 1rem;
    }

    .hf-steps-line {
        display: none;
    }
}

@media (max-width: 576px) {
    .hf-heros h1 {
        font-size: 2rem;
    }

    .hf-heros p {
        font-size: 1rem;
    }

    .hf-btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }

    .hf-btn-primary {
        margin-right: 0;
    }

    .hf-section {
        padding: 4rem 0;
    }
}

/* Animation Classes */
.hf-fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hf-fade-in.hf-visible {
    opacity: 1;
    transform: translateY(0);
}
/* Footer Styles */
footer {
    background-color: #1a365d; /* Deep ocean blue */
    color: #ffffff;
    padding: 4rem 0 0;
    font-family: 'Arial', sans-serif;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-col {
    padding: 1rem;
}

.footer-col h3 {
    color: #7ec8e3; /* Light ocean blue */
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #2c5282;
    text-transform: uppercase;
}

.footer-col p {
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #cbd5e0;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: #7ec8e3;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #ffffff;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #7ec8e3;
}

.footer-col i {
    margin-right: 0.5rem;
    color: #7ec8e3;
    width: 20px;
}

.footer-bottom {
    background-color: #2c5282; /* Darker ocean blue */
    margin-top: 3rem;
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: #cbd5e0;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .footer-col h3 {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-container {
        padding: 0 10px;
    }

    .footer-col {
        padding: 1rem 0;
    }
}
:root {
    --primary:#3b82f6;
    --accent: #3b82f6;
    --dark: #1A3247;
    --light: #F5F9FC;
}


.heroz {
    background: linear-gradient(45deg, var(--primary), var(--accent));
    color: white;
    padding: 8rem 2rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.heroz h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s forwards;
}

.heroz p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s 0.2s forwards;
}

.wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 150px;
    fill: var(--light);
}

.steps-container {
    display: flex;
    justify-content: center;
    gap: 4rem;
    padding: 4rem 2rem;
    position: relative;
}

.step-card {
    background: white;
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 300px;
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    z-index: 1;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: -40px auto 1.5rem;
    font-size: 1.2rem;
}

.step-card h3 {
    color: var(--dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.step-card p {
    color: #666;
    line-height: 1.6;
}

.timeline {
    position: absolute;
    height: 4px;
    background: var(--accent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    z-index: 0;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .steps-container {
        flex-direction: column;
        align-items: center;
        padding: 2rem 1rem;
    }

    .timeline {
        display: none;
    }

    .step-card {
        margin-bottom: 3rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}

.cta-button {
    background: linear-gradient(45deg, var(--accent), #2dd8e5);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(51,193,205,0.4);
}

.step-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}
/* Existing CSS remains the same */

/* ===================== */
/* Enhanced Responsiveness */
/* ===================== */

/* Viewport Meta Tag (should be in HTML) */
/* <meta name="viewport" content="width=device-width, initial-scale=1.0"> */

/* Breakpoints:
- Phone: < 480px
- Tablet: 481-768px
- Laptop: 769-1024px
- Desktop: > 1025px
*/

/* Global Responsive Adjustments */
@media (max-width: 1024px) {
    .nav-links ul {
        gap: 25px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .sf-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    /* Header/Nav Adjustments */
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-links ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    /* Hero Section */
    .hero {
        height: auto;
        padding: 100px 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    /* Features Grid */
    .cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Contact Section */
    .contact-wrapper {
        flex-direction: column;
    }
    
    .contact-info {
        border-radius: 15px 15px 0 0;
    }
}

@media (max-width: 480px) {
    /* Base Adjustments */
    html {
        font-size: 14px;
    }
    
    /* Header/Nav */
    .company-name {
        font-size: 1.1rem;
    }
    
    .nav-links ul {
        gap: 15px;
    }
    
    .auth-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .download-btn {
        width: 100%;
        text-align: center;
    }
    
    /* Hero Section */
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .hero-content .description {
        font-size: 1rem;
    }
    
    /* Features Grid */
    .cards {
        grid-template-columns: 1fr;
    }
    
    /* Forms */
    .hydrofleet-register-modern,
    .osman-login-box {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    /* Contact Form */
    .info-item {
        margin-bottom: 2rem;
    }
    
    /* Footer */
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Tablet Landscape Optimization */
@media (min-width: 769px) and (max-width: 1024px) and (orientation: landscape) {
    .hero {
        height: auto;
        padding: 120px 0;
    }
    
    .sf-card {
        grid-template-columns: 1fr;
    }
}

/* Mobile Landscape Adjustments */
@media (max-width: 850px) and (orientation: landscape) {
    .hero {
        height: auto;
        padding: 80px 0;
    }
    
    .nav-links ul {
        gap: 15px;
    }
}

/* High-density Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo {
        background-image: url('logo@2x.png');
        background-size: contain;
    }
}

/* Print Styles */
@media print {
    header,
    footer,
    .hero-buttons {
        display: none !important;
    }
    
    body {
        background: white !important;
        font-size: 12pt;
    }
    
    .hero-content {
        color: black !important;
        padding: 0 !important;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    body {
        background: #121212;
        color: #ffffff;
    }
    
    header {
        background: #1e1e1e;
        border-bottom-color: #333;
    }
    
    .company-name,
    .nav-links ul li a,
    .register-btn {
        color: #e0e0e0;
    }
    
    .card {
        background: #2e2e2e;
        color: #ffffff;
    }
}