/*
Theme Name: Swapnil Group
Theme URI: https://swapnilgroup.com
Author: TanvirGrow
Author URI: https://tanvirgrow.biz
Description: Official WordPress theme for Swapnil Group — Real Estate Development & Investment platform in Bangladesh.
Version: 1.0.0
License: Private
License URI: #
Text Domain: swapnil-group
Tags: real-estate, business, custom-background, custom-logo, full-width-template, one-page
*/

/* =============================================
   CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ============================================= */
:root {
    --primary:       #2EBB6F;
    --primary-dark:  #1F8B4F;
    --primary-light: rgba(46, 187, 111, 0.08);
    --accent:        #FF9E64;
    --accent-dark:   #E8884D;
    --accent-light:  #D4E157;
    --gray:          #888888;
    --gray-light:    #BBBBBB;
    --charcoal:      #2C3E50;
    --light-bg:      #F8FFFE;
    --white:         #FFFFFF;
    --border:        #e0e0e0;

    /* Typography */
    --font-display: 'Poppins', -apple-system, sans-serif;
    --font-body:    'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing Scale */
    --space-xs:  8px;
    --space-sm:  16px;
    --space-md:  24px;
    --space-lg:  40px;
    --space-xl:  60px;
    --space-2xl: 80px;
    --space-3xl: 120px;

    /* Borders */
    --radius-sm:  6px;
    --radius-md:  12px;
    --radius-lg:  16px;
    --radius-xl:  24px;
    --radius-pill: 50px;

    /* Shadows */
    --shadow-sm:   0 4px 12px rgba(0,0,0,0.06);
    --shadow-md:   0 8px 32px rgba(0,0,0,0.10);
    --shadow-lg:   0 20px 50px rgba(46,187,111,0.15);
    --shadow-xl:   0 30px 60px rgba(46,187,111,0.20);
    --shadow-nav:  0 10px 40px rgba(0,0,0,0.08);

    /* Transitions */
    --transition-fast:   0.2s ease;
    --transition-base:   0.3s ease;
    --transition-slow:   0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--charcoal);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
}

/* =============================================
   TYPOGRAPHY — GLOBAL
   ============================================= */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    line-height: 1.2;
    color: var(--charcoal);
}

p {
    line-height: 1.7;
}

/* =============================================
   UTILITY CLASSES
   ============================================= */
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--space-lg);
    padding-right: var(--space-lg);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: var(--charcoal);
    text-align: center;
    position: relative;
    margin-bottom: var(--space-2xl);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition-base);
    text-decoration: none;
    text-align: center;
    letter-spacing: 0.3px;
}

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

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 158, 100, 0.35);
    color: var(--white);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: transparent;
    color: var(--white);
    box-shadow: 0 10px 25px rgba(255,255,255,0.2);
}

.btn-green {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
}

.btn-green:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(46,187,111,0.35);
    color: var(--white);
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* =============================================
   ANIMATIONS — KEYFRAMES
   ============================================= */
@keyframes slideDown {
    from { transform: translateY(-20px) translateX(-50%); opacity: 0; }
    to   { transform: translateY(0)     translateX(-50%); opacity: 1; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulseGlow {
    0%, 100% { transform: scale(1);    opacity: 0.8; }
    50%       { transform: scale(1.15); opacity: 0.4; }
}

@keyframes ringPulse {
    0%   { transform: scale(1);   opacity: 0.6; }
    100% { transform: scale(2.5); opacity: 0; }
}

@keyframes gradientShift {
    0%   { background-position: 0%   50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0%   50%; }
}
