/* css/style.css */
:root {
    --primary-color: #0ea2bd;
    --secondary-color: #155bd5;
    --accent-color: #48c9b0;
    --text-dark: #2c3e50;
    --text-light: #777777;
    --white: #ffffff;
    --light-bg: #f9f9ff;
    --footer-bg: #0b1c2c;
    --transition: all 0.4s ease-in-out;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 15px 40px rgba(14, 162, 189, 0.2);
}

/* --- Global Reset & Typography --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-light);
    line-height: 1.7;
    overflow-x: hidden;
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 20px;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color);
}

ul {
    list-style: none;
    padding: 0;
}

/* --- Utilities --- */
.section-padding {
    padding: 80px 0;
}

.text-primary-custom {
    color: var(--primary-color) !important;
}

.bg-light-custom {
    background-color: var(--light-bg);
}

.btn-custom {
    padding: 12px 30px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 50px;
    border: none;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(14, 162, 189, 0.4);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--secondary-color);
    transition: var(--transition);
    z-index: -1;
}

.btn-custom:hover::before {
    width: 100%;
}

.btn-custom:hover {
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(21, 91, 213, 0.5);
}

/* --- Header & Navigation --- */
.header-top {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}

.navbar {
    padding: 15px 0;
    background: var(--white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.navbar-brand img {
    max-height: 60px; /* Control logo size */
    transition: var(--transition);
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 600;
    margin-left: 20px;
    position: relative;
    padding: 8px 0 !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.dropdown-menu {
    border: none;
    border-radius: 10px;
    box-shadow: var(--shadow-card);
    padding: 15px;
    margin-top: 15px;
    animation: fadeInUp 0.3s ease forwards;
}

.dropdown-item {
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 15px;
    color: var(--text-dark);
}

.dropdown-item:hover {
    background-color: rgba(14, 162, 189, 0.1);
    color: var(--primary-color);
    transform: translateX(5px);
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    background: url('../img/hero-bg.jpg') center center/cover no-repeat;
    height: 90vh;
    display: flex;
    align-items: center;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(11, 28, 44, 0.9) 0%, rgba(11, 28, 44, 0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(14, 162, 189, 0.2);
    border-radius: 50px;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(14, 162, 189, 0.5);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
}

.hero-title span {
    color: var(--primary-color);
}

/* --- About Section --- */
.about-img-wrapper {
    position: relative;
    padding: 30px;
    z-index: 1;
}

.about-img-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    height: 200px;
    background: url('data:image/svg+xml,...') no-repeat; /* Dot pattern placeholder */
    background-size: contain;
    z-index: -1;
    opacity: 0.1;
}

.about-img {
    border-radius: 20px;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.about-img:hover {
    transform: scale(1.02);
}

.feature-box {
    display: flex;
    align-items: start;
    margin-top: 30px;
}

.feature-icon {
    min-width: 60px;
    height: 60px;
    background: rgba(14, 162, 189, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-right: 20px;
    transition: var(--transition);
}

.feature-box:hover .feature-icon {
    background: var(--primary-color);
    color: var(--white);
    transform: rotateY(360deg);
}

/* --- Services Grid --- */
.service-card {
    background: var(--white);
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    border: 1px solid #f0f0f0;
    height: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: rgba(14, 162, 189, 0.05);
    border-radius: 100% 0 0 0;
    z-index: -1;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.service-card:hover::after {
    width: 150%;
    height: 150%;
    border-radius: 0;
    background: var(--primary-color);
}

.service-card:hover h4, 
.service-card:hover p, 
.service-card:hover .service-icon {
    color: var(--white);
    transition: var(--transition);
}

.service-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 25px;
}

/* --- Contact Page --- */
.contact-form-wrapper {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-card);
}

.form-control {
    padding: 15px 20px;
    border-radius: 50px;
    border: 1px solid #eee;
    background: #f9f9ff;
    margin-bottom: 20px;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color);
    background: var(--white);
}

textarea.form-control {
    border-radius: 20px;
}

/* --- Footer --- */
.footer-area {
    background-color: var(--footer-bg);
    color: #a0a0a0;
    position: relative;
}

.footer-widget h3 {
    color: var(--white);
    margin-bottom: 30px;
    font-size: 22px;
    position: relative;
    padding-bottom: 15px;
}

.footer-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #a0a0a0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.copyright-text {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    margin-top: 50px;
}

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive --- */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .nav-link {
        margin-left: 0;
        padding: 10px 0;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 50px 0;
    }
}
/* Styling for interactive footer links */
.footer-interactive-link {
    color: #a0a0a0; /* Match your footer text color */
    text-decoration: none;
    display: inline-block;
    position: relative;
    transition: color 0.3s ease;
}

/* Hover State - Color change */
.footer-interactive-link:hover {
    color: #0ea2bd; /* Your primary custom color */
}

/* The "Growing Underline" Animation */
.footer-interactive-link::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 1.5px;
    bottom: -2px;
    left: 0;
    background-color: #0ea2bd;
    transform-origin: bottom right;
    transition: transform 0.4s cubic-bezier(0.86, 0, 0.07, 1);
}

.footer-interactive-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Icon Animation when hovering parent li */
.contact-links li:hover i {
    transform: scale(1.2) rotate(10deg);
    color: #48c9b0 !important; /* Accent color change */
    transition: all 0.3s ease;
}

.contact-links i {
    transition: all 0.3s ease;
}

/* Spacing fix for better mobile tap targets */
.contact-links li {
    padding: 8px 0;
    display: flex;
    align-items: center;
}