/* ========================================
   BMG CAPITAL - CSS REFERENCE FILE
   ======================================== */

/* ========================================
   RESET & BASE STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #ffffff;
    margin: 0;
    line-height: 1.6;
    color: #333;
}

/* ========================================
   COLOR PALETTE
   ======================================== */
:root {
    /* Primary Colors */
    --bmg-dark-blue: #0c1e3e;
    --bmg-blue: #254173;
    --bmg-light-blue: #4983C3;
    --bmg-accent-blue: #102A43;
    
    /* Neutral Colors */
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --gray: #666;
    --dark-gray: #333;
    
    /* Background Colors */
    --hero-bg: linear-gradient(180deg, #0c1e3e, #254173);
    --section-bg: #ffffff;
    --alt-section-bg: #f8f9fa;
    
    /* Text Colors */
    --text-white: #ffffff;
    --text-dark: #0c1e3e;
    --text-gray: #666;
    --text-light: #333;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1 {
    font-size: 3.5em;
    font-weight: bold;
    color: var(--text-white);
    margin-bottom: 30px;
    line-height: 1.2;
}

h2 {
    font-size: 2.5em;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: bold;
}

h3 {
    font-size: 1.8em;
    color: var(--bmg-blue);
    margin-bottom: 30px;
    font-weight: 600;
}

h4 {
    font-size: 1.4em;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: 600;
}

p {
    font-size: 1.2em;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 20px;
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    width: 100%;
    position: absolute;
    top: 0;
    z-index: 1000;
    background: var(--bmg-dark-blue);
}

.logo img {
    height: 60px;
}

/* Make icon.png 5 times smaller */
img[src*="icon.png"] {
    width: auto;
    height: 40px; /* Assuming original was around 200px, making it 5 times smaller */
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 45px;
}

.nav-menu li a {
    text-decoration: none;
    color: var(--text-white);
    font-weight: 300;
    font-size: 1em;
    transition: color 0.3s;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: var(--bmg-light-blue);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown > a::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 1px solid white;
    border-bottom: 1px solid white;
    transform: rotate(45deg);
    margin-left: 7px;
    position: absolute;
    top: 50%;
    transform: translateY(-60%) rotate(45deg);
    transition: transform 0.3s;
}

.dropdown:hover > a::after {
    transform: translateY(-50%) rotate(-135deg);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 5%;
    transform: translateX(-10%);
    background-color: var(--bmg-dark-blue);
    padding: 15px 0;
    border-radius: 4px;
    list-style: none;
    min-width: 200px;
    z-index: 10;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    padding: 12px 20px;
}

.dropdown-menu li a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 300;
}

.dropdown-menu li a:hover {
    color: var(--bmg-light-blue);
}

/* Mobile Navigation */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-left: 10px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-white);
    margin: 3px 0;
    transition: 0.3s;
}

/* ========================================
   HERO SECTIONS
   ======================================== */
.hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100vh;
    background: url('../assets/backgroundindex.png.webp') no-repeat center center/cover;
    color: var(--text-white);
    margin-top: -100px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 51, 0.3);
    z-index: 1;
}

.hero-section > * {
    position: relative;
    z-index: 2;
}

.data-hero-section {
    background: var(--hero-bg);
    color: var(--text-white);
    padding: 120px 0 80px;
    text-align: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content,
.data-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.hero-content h1,
.hero-content h2,
.data-hero-content h1,
.data-hero-content h2 {
    color: var(--text-white);
}

.hero-content p,
.data-hero-content p {
    font-size: 1.3em;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   BUTTONS
   ======================================== */
.consultation-button {
    background-color: var(--bmg-blue);
    color: var(--text-white);
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s;
    text-decoration: none;
    display: inline-block;
}

.consultation-button:hover {
    background-color: var(--bmg-accent-blue);
    color: var(--text-white);
}

.service-button {
    background-color: var(--bmg-blue);
    color: var(--text-white);
    padding: 8px 16px;
    border: none;
    border-radius: 20px;
    font-size: 0.8em;
    cursor: pointer;
    transition: background-color 0.3s;
}

.service-button:hover {
    background-color: var(--bmg-accent-blue);
}

/* ========================================
   SECTIONS
   ======================================== */
.section {
    padding: 80px 0;
}

.section-white {
    background: var(--section-bg);
}

.section-gray {
    background: var(--alt-section-bg);
}

.section-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    text-align: center;
}

.section-content h2 {
    font-size: 2.5em;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: bold;
}

.section-content > p {
    font-size: 1.2em;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   CARDS & GRIDS
   ======================================== */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--bmg-dark-blue), var(--bmg-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.card-icon i {
    font-size: 2em;
    color: var(--text-white);
}

.card h3 {
    font-size: 1.4em;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: 600;
}

.card p {
    font-size: 1em;
    line-height: 1.6;
    color: var(--text-gray);
}

/* ========================================
   INDUSTRY SECTIONS
   ======================================== */
.industry-section {
    display: flex;
    align-items: center;
    padding: 80px 0;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
}

.industry-section:nth-child(even) {
    flex-direction: row-reverse;
}

.text-content {
    flex: 1;
    padding: 0 30px;
}

.industry-title {
    font-size: 2.5em;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: bold;
}

.image-content {
    flex: 1;
    text-align: center;
}

.image-content img {
    max-width: 150px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* ========================================
   SERVICES GRID
   ======================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover img {
    transform: scale(1.05);
}

.service-card h4 {
    padding: 20px 20px 10px;
    font-size: 1.3em;
    color: var(--text-dark);
    font-weight: 600;
}

.explore-link {
    display: inline-block;
    padding: 10px 20px;
    margin: 0 20px 20px;
    color: var(--bmg-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.explore-link:hover {
    color: var(--bmg-accent-blue);
}

/* ========================================
   CLIENTS & LOGOS
   ======================================== */
.clients-section {
    padding: 80px 0;
}

.clients-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    text-align: center;
}

.clients-content h3 {
    font-size: 2em;
    color: var(--text-dark);
    margin-bottom: 50px;
    font-weight: bold;
}

.client-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 50px;
}

.client-logo {
    transition: transform 0.3s ease;
}

.client-logo:hover {
    transform: scale(1.1);
}

.client-logo img {
    height: 60px;
    width: auto;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.client-logo:hover img {
    filter: grayscale(0%);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background-color: #0c1e3e;
    color: white;
    padding: 40px 20px;
    font-family: Arial, sans-serif;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.footer-logo-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
}

.footer-logo {
    width: 100px;
    margin-bottom: 10px;
}

.footer-description {
    color: #AAB7C4;
    font-size: 1.1em;
    text-align: center;
    margin-top: 0;
    margin-bottom: 0;
    max-width: 220px;
}

.footer-links {
    display: flex;
    flex: 3;
    justify-content: space-between;
    gap: 20px;
}

.footer-column h4 {
    font-size: 1.1em;
    color: white;
    margin-bottom: 10px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 5px;
}

.footer-column ul li a {
    color: #AAB7C4;
    text-decoration: none;
}

.footer-column ul li a:hover {
    color: white;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    border-top: 1px solid #1F2E3E;
    padding-top: 20px;
}

.social-icons a {
    margin-right: 15px;
    font-size: 1.5em; 
    transition: color 0.3s;
    text-decoration: none;
}

.social-icons a:hover {
    color: #254173; 
}

.privacy-policy {
    color: #254173;
    margin-right: auto;
    text-decoration: none;
    font-size: 0.9em;
}

.privacy-policy:hover {
    text-decoration: underline;
}

/* Footer Responsiveness */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 20px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.bmg-white {
    color: var(--text-white) !important;
}

.blue-bg {
    background: var(--bmg-dark-blue);
}

.white-title {
    color: var(--text-white) !important;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
}

.mt-40 {
    margin-top: 40px;
}

.p-20 {
    padding: 20px;
}

.p-30 {
    padding: 30px;
}

.p-40 {
    padding: 40px;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        display: none;
        flex-direction: column;
        gap: 10px;
        background-color: rgba(0, 0, 0, 0.9);
        position: absolute;
        top: 60px;
        right: 30px;
        padding: 20px;
        border-radius: 10px;
    }

    .nav-menu.active {
        display: flex;
        animation: slideIn 0.3s forwards;
    }

    .hamburger {
        display: flex;
    }

    .navbar {
        padding: 10px 20px;
    }

    /* Dropdown */
    .dropdown-menu {
        position: static;
        background-color: rgba(0, 0, 0, 0.9);
        padding: 10px 0;
        border-radius: 10px;
    }

    /* Typography */
    h1 {
        font-size: 2.5em;
    }

    h2 {
        font-size: 2em;
    }

    p {
        font-size: 1.1em;
    }

    /* Hero */
    .hero-content h1,
    .data-hero-content h1 {
        font-size: 2.5em;
    }

    .hero-content p,
    .data-hero-content p {
        font-size: 1.1em;
    }

    /* Grids */
    .grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Industry Sections */
    .industry-section {
        flex-direction: column !important;
        gap: 40px;
        padding: 60px 0;
    }

    .text-content {
        padding: 0 20px;
    }

    /* Footer */
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 20px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    /* Typography */
    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.8em;
    }

    /* Hero */
    .hero-content h1,
    .data-hero-content h1 {
        font-size: 2em;
    }

    .hero-content p,
    .data-hero-content p {
        font-size: 1em;
    }

    /* Cards */
    .card {
        padding: 30px 20px;
    }

    /* Buttons */
    .consultation-button {
        font-size: 0.9em;
        padding: 8px 16px;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes slideIn {
    from {
        right: -100%;
    }
    to {
        right: 30px;
    }
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* ========================================
   FORM STYLES
   ======================================== */
.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--bmg-blue);
    box-shadow: 0 0 5px rgba(37, 65, 115, 0.3);
}

/* ========================================
   CAROUSEL STYLES
   ======================================== */
.carousel-container {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.carousel-slide {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* ========================================
   OVERLAY STYLES
   ======================================== */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(12, 30, 62, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--text-white);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.overlay:hover {
    opacity: 1;
}

.overlay h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.overlay p {
    font-size: 1em;
    text-align: center;
    padding: 0 20px;
}

/* ========================================
   SERVICE PAGE STYLES
   ======================================== */
.service-content {
    font-size: 1.1em;
    line-height: 1.7;
    color: var(--text-light);
}

.service-content h3 {
    font-size: 1.8em;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: 600;
}

.service-content h4 {
    font-size: 1.4em;
    color: var(--bmg-blue);
    margin: 30px 0 15px 0;
    font-weight: 600;
}

.service-content p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.service-content ul {
    margin: 20px 0;
    padding-left: 20px;
}

.service-content ul li {
    margin-bottom: 12px;
    line-height: 1.6;
}

.service-content strong {
    color: var(--text-dark);
    font-weight: 600;
}

.service-content br {
    margin-bottom: 8px;
}

/* Service page responsive adjustments */
@media (max-width: 768px) {
    .service-content {
        font-size: 1em;
    }
    
    .service-content h3 {
        font-size: 1.6em;
    }
    
    .service-content h4 {
        font-size: 1.3em;
    }
} 