/* General Styling */
:root {
    /* Colors from Mahoon Media Logo */
    --primary-green-blue: #23A892; /* Lighter teal/green-blue from logo */
    --secondary-green-dark: #1A7067; /* Darker green-blue from logo */
    --background-dark: #010A1C; /* Dark blue from previous design, good contrast */
    --card-background: rgba(26, 112, 103, 0.2); /* Semi-transparent version of secondary-green-dark */
    --border-color: rgba(35, 168, 146, 0.3); /* Transparent version of primary-green-blue */
    --font-family: 'Vazirmatn', sans-serif;
}

body {
    font-family: var(--font-family);
    background-color: var(--background-dark);
    background-image: url('../assets/plexus-bg.jpg'); /* Local background image */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #f0f0f0;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

/* Header */
.bg-transparent-nav {
    background-color: rgba(1, 10, 28, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.navbar-logo {
    height: 40px; /* Adjust as needed for your logo size */
    width: auto;
    transition: transform 0.3s ease;
}

.navbar-logo:hover {
    transform: scale(1.05);
}

.nav-link {
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-green-blue) !important;
}

.btn-outline-primary-custom {
    border-color: var(--primary-green-blue);
    color: var(--primary-green-blue);
    transition: all 0.3s ease;
}
.btn-outline-primary-custom:hover {
    background-color: var(--primary-green-blue);
    color: #fff;
}

/* Hero Section */
.hero-section { padding: 100px 0; }
.hero-image {
    max-width: 300px;
    border-radius: 50%;
    /* The box-shadow is removed from here to allow for a better 3D effect */
}
.hero-image-wrapper {
    /* The shadow is applied here as a drop-shadow filter so it doesn't rotate with the image */
    filter: drop-shadow(0 0 35px rgba(35, 168, 146, 0.5));
}
.btn-primary-custom {
    background-color: var(--primary-green-blue);
    border-color: var(--primary-green-blue);
    padding: 12px 30px;
    font-weight: bold;
    transition: all 0.3s ease;
}
.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(35, 168, 146, 0.4);
}
.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Fancy Divider */
.fancy-divider {
    border: none;
    height: 2px;
    background: linear-gradient(to left, transparent, var(--primary-green-blue), transparent); /* Using primary color for divider */
    margin: 2rem auto;
}

/* Service Cards */
.service-card {
    background-color: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 30px 20px;
    transition: all 0.3s ease-in-out;
    backdrop-filter: blur(5px);
    height: 100%;
}
.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-green-blue);
    box-shadow: 0 0 25px rgba(35, 168, 146, 0.3);
}
.service-card .icon-wrapper { font-size: 2.5rem; color: var(--primary-green-blue); }
.service-card p { color: #ccc; font-size: 0.9rem; }
.btn-card-link { color: var(--primary-green-blue); text-decoration: none; font-weight: bold; }
.btn-card-link:hover { color: #fff; }

/* Course Showcase Section */
.course-card {
    background: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}
.course-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.course-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.course-content {
    padding: 20px;
}
.course-content h5 { color: #fff; font-weight: 700; }
.course-content p { color: #ccc; font-size: 0.9rem; margin-bottom: 20px; }

#courseCarousel .carousel-control-prev-icon,
#courseCarousel .carousel-control-next-icon {
    background-color: var(--primary-green-blue);
    border-radius: 50%;
}

/* Portfolio Section */
.portfolio-item {
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}
.portfolio-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.portfolio-item:hover {
    box-shadow: 0 0 25px rgba(35, 168, 146, 0.5);
    border-color: var(--primary-green-blue);
}
.portfolio-item:hover img {
    transform: scale(1.1);
}

/* Footer */
.footer-section { background-color: #010714; border-top: 1px solid var(--border-color); }
.btn-social { color: white; font-size: 1.5rem; margin: 0 5px; transition: color 0.3s ease; }
.btn-social:hover { color: var(--primary-green-blue); }