/* File: assets/css/style.css */
/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

/* Import CSS Modules */
@import url('modules/_hero.css');
@import url('modules/_services.css');
@import url('modules/_portfolio.css');
@import url('modules/_testimonials.css');

/* CSS Variables for Branding */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #f8f9fa;
    --dark-color: #212529;
    --light-color: #ffffff;
    --font-family: 'Poppins', sans-serif;
}

/* Base & Typography */
body {
    font-family: var(--font-family);
    line-height: 1.7;
    color: #555;
    background-color: var(--light-color);
    cursor: none; /* Hide default cursor for custom one */
}

h1, h2, h3, h4, h5, h6 {
    color: var(--dark-color);
    font-weight: 600;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    color: var(--light-color) !important; /* Ensure text is always white */
}

.btn-primary:hover {
    background-color: #0b5ed7;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(13, 110, 253, 0.3);
}

/* Glassmorphism Navbar */
.navbar {
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.nav-link {
    font-weight: 600;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: #fff;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}
.spinner {
    width: 50px; height: 50px;
    border: 5px solid #eee;
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Custom Cursor */
.cursor-dot, .cursor-circle {
    pointer-events: none;
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    transition: transform 0.2s ease-out, opacity 0.2s ease-out, width 0.2s ease-out, height 0.2s ease-out;
}
.cursor-dot { width: 6px; height: 6px; background-color: var(--primary-color); }
.cursor-circle { width: 40px; height: 40px; border: 2px solid var(--primary-color); }
.cursor-circle.hovered { transform: scale(1.5); opacity: 0.5; }

/* File: assets/css/style.css (Add this code) */
/* Contact Section Enhancement */
.contact-info-box {
    background: var(--light-color);
    padding: 30px;
    border-radius: 10px;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.contact-info-box h3 {
    font-weight: 700;
    color: var(--primary-color);
}
.contact-info-box .info-item {
    display: flex;
    align-items: flex-start;
    margin-top: 20px;
}
.contact-info-box .info-item i {
    font-size: 20px;
    color: var(--primary-color);
    margin-right: 15px;
    width: 20px;
    text-align: center;
}
.contact-info-box .info-item p {
    margin-bottom: 0;
}
.contact-form {
    background: var(--light-color);
    padding: 30px;
    border-radius: 10px;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* File: assets/css/style.css (Add this code to the bottom) */

/* --- Footer Text Visibility Fix --- */
footer h5 {
    color: var(--light-color); /* Ensures all footer headings are white */
}

footer p {
    color: rgba(255, 255, 255, 0.8); /* Makes paragraph text a slightly softer white for better contrast */
}