/* style.css */
:root {
    --primary: #1a3a6c;
    --secondary: #d4af37;
    --accent: #e31837;
    --light: #f8f9fa;
    --dark: #212529;
    --gray: #6c757d;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
    color: var(--primary);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

/* Logo placeholder styles */
.logo-placeholder {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    width: 50px;
    height: 50px;
    background-color: #1a3a6c;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    font-family: 'Playfair Display', serif;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: #1a3a6c;
}

.logo-text span {
    color: #d4af37;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    margin-right: 20px;
}

.lang-btn {
    background: none;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 5px 10px;
    cursor: pointer;
    transition: var(--transition);
}

.lang-btn:first-child {
    border-radius: 4px 0 0 4px;
}

.lang-btn:last-child {
    border-radius: 0 4px 4px 0;
}

.lang-btn.active {
    background-color: var(--primary);
    color: white;
}

.lang-btn:hover {
    background-color: var(--primary);
    color: white;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--secondary);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover:after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--dark);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(26, 58, 108, 0.8), rgba(26, 58, 108, 0.8)), url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-desc {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--secondary);
    color: var(--dark);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #c2992a;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Sections */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: var(--secondary);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-img {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.about-img:hover img {
    transform: scale(1.05);
}

.about-text {
    flex: 1;
}

/* Expertise Section */
.expertise {
    background-color: var(--light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Values Section */
.values-container {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.value-card {
    flex: 1;
    text-align: center;
    padding: 2rem;
    border-radius: 8px;
    background-color: var(--light);
    transition: var(--transition);
}

.value-card:hover {
    background-color: var(--primary);
    color: white;
}

.value-card:hover h3 {
    color: white;
}

.value-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

/* Team Section */
.team {
    background-color: var(--light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.team-member {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.member-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.member-info {
    padding: 1.5rem;
}

/* Contact Section */
.contact-container {
    display: flex;
    gap: 3rem;
}

.contact-info {
    flex: 1;
}

/* updated contact styling */
.contact-detail {
  display: flex;
  align-items: flex-start;   /* icon stays top-aligned */
  margin-bottom: 1.5rem;
}

.contact-icon {
  margin-right: 0.75rem;     /* space between icon and text */
  font-size: 1.2rem;
  color: #444;
}

.contact-content {
  display: flex;
  flex-direction: column;    /* stack multiple contacts vertically */
  gap: 0.25rem;              /* spacing between items */
}

.contact-content a {
  color: inherit;
  text-decoration: none;
}

.contact-content a:hover {
  text-decoration: underline;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--primary);
    margin-right: 1rem;
}

.contact-form {
    flex: 1;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(26, 58, 108, 0.2);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: var(--primary);
    color: white;
    padding: 3rem 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 3rem;
}

.footer-col {
    flex: 1;
}

.footer-title {
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-title:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: var(--secondary);
    bottom: -8px;
    left: 0;
}

.footer-links {
    list-style: none;
}

.footer-link {
    margin-bottom: 0.8rem;
}

.footer-link a {
    color: #ddd;
    text-decoration: none;
    transition: var(--transition);
}

.footer-link a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-content, .contact-container, .footer-container, .values-container {
        flex-direction: column;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .logo-img {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        gap: 0;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        padding: 1rem 0;
    }
    
    .nav-item {
        margin: 1rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .language-switcher {
        margin-right: 15px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
}

/* shared extra card styling */
.service-card-header{
    color:rgb(255, 255, 255);
}

.service-card-extra {
  position: relative;
  border-radius: 16px;
  padding: 2rem;
  color: #fff;
  overflow: hidden; /* keeps blur inside */
}

.service-card-extra::before {
  content: "";
  position: absolute;
  inset: 0;
  background: no-repeat center center;
  background-size: cover;
  filter: blur(3px);
  transform: scale(1.1);
  z-index: 0;
}

.service-card-extra > * {
  position: relative;
  z-index: 1; /* keep text/icon above blur */
}

/* individual backgrounds */
.service-card-ohada::before {
  background-image: url('images/ohada_pexels-mibernaa-28948052.jpg');
}

.service-card-public-private::before{
    background-image: url('images/public_private_pexels-jakubzerdzicki-16062965.jpg');
}

.service-card-telecom::before{
    background-image: url('images/telecom_pexels-orlovamaria-4916517.jpg');
}

.service-card-land-law::before{
    background-image: url('images/land_law_pexels-mikhail-nilov-8731042.jpg');
}

.service-card-labour::before{
    background-image: url('images/labour_law_pexels-pavel-danilyuk-8112172.jpg');
}

.service-card-tax-fiscal::before{
    background-image: url('images/tax_fiscal_pexels-n-voitkevich-6863193.jpg');
}

.service-card-energy::before{
    background-image: url('images/energy_pexels-jan-van-der-wolf-11680885-10911847.jpg');
}

.service-card-mining::before{
    background-image: url('images/mining_pexels-n-voitkevich-7173047.jpg');
}

.service-card-transportation::before{
    background-image: url('images/transportation_pexels-sie7e-19156504.jpg');
}