/* Base Styles */
:where([class^="ri-"])::before { 
    content: "\f3c2"; 
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #1A1A1A;
    color: #FFFFFF;
    scroll-behavior: smooth;
}

/* Hero Section */
.hero-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.504)), url('../img/CBS.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Gold Underline */
.gold-underline {
    position: relative;
    display: inline-block;
}

.gold-underline::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #D4AF37;
}

/* Service Cards */
.service-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    border-color: #D4AF37;
    transform: translateY(-5px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 1;
}

/* Team Cards */
.team-card:hover img {
    transform: scale(1.05);
}

/* Project Cards */
.project-card:hover img {
    transform: scale(1.05);
}

/* Form Elements */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.custom-checkbox {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: transparent;
    border: 2px solid #D4AF37;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
}

.custom-checkbox:hover {
    background-color: rgba(212, 175, 55, 0.1);
}

.custom-checkbox.checked {
    background-color: #D4AF37;
}

.custom-checkbox.checked::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 6px;
    width: 6px;
    height: 12px;
    border: solid #2D2D2D;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Form Message */
#form-message.success {
    background-color: rgba(40, 167, 69, 0.2);
    border: 1px solid rgba(40, 167, 69, 0.3);
    color: #28a745;
}

#form-message.error {
    background-color: rgba(220, 53, 69, 0.2);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #dc3545;
}

/* Process Steps */
.process-step:hover .absolute div {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

/* Testimonial Cards */
.testimonial-card:hover {
    transform: translateY(-5px);
}

/* Mobile Menu */
#mobile-menu {
    max-height: 0;
    transition: max-height 0.3s ease-out, opacity 0.3s ease;
    opacity: 0;
    overflow: hidden;
}

#mobile-menu.open {
    max-height: 500px;
    opacity: 1;
}

/* Base Styles */
:where([class^="ri-"])::before { 
    content: "\f3c2"; 
}

/* Partner Card Images */
.partner-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}