/* Custom CSS for Softwave Ventures Website */

/* Global Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
    padding-top: 100px; /* Adjust based on your header height */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

/* Color Variables */
:root {
    --primary-color: #00394f; /* Or your desired color */
    --accent-color: #00A8C5;
    --light-color: #f8f9fa;
    --dark-color: #212529;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #002a3e;
    border-color: #002a3e;
}

.btn-accent {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

.btn-accent:hover {
    background-color: #0090a8;
    border-color: #0090a8;
    color: white;
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, 0.2));
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-color) !important;
}

.nav-link.active {
    color: var(--accent-color) !important;
    font-weight: 600;
}

/* Hero Section */
.hero-section {
    background-color: var(--primary-color, #024059);
    color: #fff;
    padding: 60px 0;
    min-height: 320px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(135deg, rgba(0, 58, 85, 0.9) 0%, rgba(0, 168, 197, 0.8) 100%);
    z-index: 1;
}

.hero-section .container {
    height: 100%;
}

.hero-section h1 {
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #fff;
}

.hero-section p.lead {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 0;
}

.hero-section img {
    max-width: 500px;
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Services Cards */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-card img {
    height: 200px;
    object-fit: cover;
}

.service-card .card-body {
    padding: 1.5rem;
}

/* Service Image */
.service-img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: contain !important;
    background: #f8f9fa;
    display: block;
    margin: 0 auto;
    border-radius: 0.5rem;
}

.card-img-top {
    width: 100%;
    height: auto;
    max-height: 220px;      /* Card ki height ke hisaab se adjust karein */
    object-fit: contain !important;
    background: #f8f9fa;    /* Optional: transparent image ke liye */
    border-radius: 0.5rem;
    display: block;
    margin: 0 auto;
}

/* About Section */
.about-img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Blog Cards */
.blog-card {
    margin-bottom: 30px;
    transition: transform 0.3s ease;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-img {
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

/* Contact Form */
.contact-form {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form label {
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
}

.contact-form input,
.contact-form textarea {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
    margin-bottom: 20px;
    width: 100%;
}

.contact-form textarea {
    min-height: 150px;
}

/* Footer */
footer a:hover {
    color: var(--accent-color) !important;
    text-decoration: underline !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
}

/* AOS Animation */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade"] {
    transition-duration: 0.5s;
}

[data-aos="fade-up"] {
    transform: translateY(10px);
}

[data-aos="fade-down"] {
    transform: translateY(-10px);
}

[data-aos="fade-left"] {
    transform: translateX(10px);
}

[data-aos="fade-right"] {
    transform: translateX(-10px);
}